Class HTMLBlock

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

public class HTMLBlock extends Object
  • Constructor Details

    • HTMLBlock

      public HTMLBlock(String hText, int height)
  • Method Details

    • setText

      public void setText(String t)
    • getText

      public 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 String getFirstFileName(String prefix)
      Helper method for generating the first file name of a multi-page export
    • getPreviousFileName

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

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

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

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