EspressReport 6.6

quadbase.reportdesigner.util
Class HTMLBlock

java.lang.Object
  extended by quadbase.reportdesigner.util.HTMLBlock

public class HTMLBlock
extends java.lang.Object


Constructor Summary
HTMLBlock(java.lang.String hText, int height)
           
 
Method Summary
static java.lang.String getCurrentFileName(int cPage, int tPage, java.lang.String prefix)
          Helper method for generating the current file name of a multi-page export
static java.lang.String getFirstFileName(java.lang.String prefix)
          Helper method for generating the first file name of a multi-page export
 int getHeight()
          Get the height of this block.
static java.lang.String getLastFileName(java.lang.String prefix)
          Helper method for generating the last file name of a multi-page export
static java.lang.String getNextFileName(int cPage, int tPage, java.lang.String prefix)
          Helper method for generating the next file name of a multi-page export
static java.lang.String getPreviousFileName(int cPage, int tPage, java.lang.String prefix)
          Helper method for generating the previous file name of a multi-page export
 java.lang.String getText()
          Get the HTML/DHTML text that should be written in this block.
 void setHeight(int height)
          Set the height of this block.
 void setText(java.lang.String t)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HTMLBlock

public HTMLBlock(java.lang.String hText,
                 int height)
Method Detail

setText

public void setText(java.lang.String t)

getText

public java.lang.String getText()
Get the HTML/DHTML text that should be written in this block.


setHeight

public void setHeight(int height)
Set the height of this block.

Parameters:
height - Height of this block specified in pixels.

getHeight

public int getHeight()
Get the height of this block. This method is only used by DHTML export because absolute position is used and a fixed space must be allocated for the block.


getFirstFileName

public static final java.lang.String getFirstFileName(java.lang.String prefix)
Helper method for generating the first file name of a multi-page export


getPreviousFileName

public static final java.lang.String getPreviousFileName(int cPage,
                                                         int tPage,
                                                         java.lang.String prefix)
Helper method for generating the previous file name of a multi-page export


getCurrentFileName

public static final java.lang.String getCurrentFileName(int cPage,
                                                        int tPage,
                                                        java.lang.String prefix)
Helper method for generating the current file name of a multi-page export


getNextFileName

public static final java.lang.String getNextFileName(int cPage,
                                                     int tPage,
                                                     java.lang.String prefix)
Helper method for generating the next file name of a multi-page export


getLastFileName

public static final java.lang.String getLastFileName(java.lang.String prefix)
Helper method for generating the last file name of a multi-page export


EspressReport 6.6