Class RTFStackTable

java.lang.Object
com.nomagic.magicreport.format.html.StackTable
com.nomagic.magicreport.format.html.RTFStackTable

@OpenApiAll public final class RTFStackTable extends StackTable
Class for keeping value of tag and its position in stack or keeping value of table attribute. This class is used for RTF creator
Since:
Mar 5, 2012
  • Constructor Details

    • RTFStackTable

      public RTFStackTable(String tag, String value, int pos, String[] attributeValueList, StringBuilder paragraphStyle)
      Constructor for tag, its position and attributeList.
      Parameters:
      tag - html tag name or attribute name
      value - attribute value
      pos - position in stack
      attributeValueList - Array of tag attribute
      paragraphStyle - paragraph style (for paragraph tag such as p, div etc.)
    • RTFStackTable

      public RTFStackTable(String tag, String value, int pos, StringBuilder paragraphStyle)
      Constructor for tag and its position.
      Parameters:
      tag - html tag name or attribute name
      value - attribute value
      pos - position in stack
      paragraphStyle - paragraph style (for paragraph tag such as p, div etc.)
    • RTFStackTable

      public RTFStackTable(String tag, StringBuilder paragraphStyle)
      Constructor.
      Parameters:
      tag - attribute name of html tag
      paragraphStyle - paragraph style (for paragraph tag such as p, div etc.)
    • RTFStackTable

      public RTFStackTable(String tag, String value, int pos, String[] attributeValueList)
      Constructor for tag, its position and attributeList.
      Parameters:
      tag - html tag name or attribute name
      value - attribute value
      pos - position in stack
      attributeValueList - Array of tag attribute
    • RTFStackTable

      public RTFStackTable(String tag, String value, int pos)
      Constructor for tag and its position.
      Parameters:
      tag - html tag name or attribute name
      value - attribute value
      pos - position in stack
    • RTFStackTable

      public RTFStackTable(String tag)
      Constructor.
      Parameters:
      tag - attribute name of html tag
  • Method Details

    • getParagraphStyle

      public StringBuilder getParagraphStyle()
      Get paragraphStyle.
      Returns:
      paragraphStyle
    • setParagraphStyle

      public void setParagraphStyle(StringBuilder paragraphStyle)
      Set paragraphStyle.
      Parameters:
      paragraphStyle - paragraphStyle