Class RTFStackTable
java.lang.Object
com.nomagic.magicreport.format.html.StackTable
com.nomagic.magicreport.format.html.RTFStackTable
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 Summary
ConstructorsConstructorDescriptionRTFStackTable(String tag) Constructor.RTFStackTable(String tag, StringBuilder paragraphStyle) Constructor.RTFStackTable(String tag, String value, int pos) Constructor for tag and its position.RTFStackTable(String tag, String value, int pos, String[] attributeValueList) Constructor for tag, its position and attributeList.RTFStackTable(String tag, String value, int pos, String[] attributeValueList, StringBuilder paragraphStyle) Constructor for tag, its position and attributeList.RTFStackTable(String tag, String value, int pos, StringBuilder paragraphStyle) Constructor for tag and its position. -
Method Summary
Modifier and TypeMethodDescriptionGet paragraphStyle.voidsetParagraphStyle(StringBuilder paragraphStyle) Set paragraphStyle.Methods inherited from class com.nomagic.magicreport.format.html.StackTable
getAttributeValueList, getPos, getTag, getValue, setAttributeValueList, setPos, setTag, setValue
-
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 namevalue- attribute valuepos- position in stackattributeValueList- Array of tag attributeparagraphStyle- paragraph style (for paragraph tag such as p, div etc.)
-
RTFStackTable
Constructor for tag and its position.- Parameters:
tag- html tag name or attribute namevalue- attribute valuepos- position in stackparagraphStyle- paragraph style (for paragraph tag such as p, div etc.)
-
RTFStackTable
Constructor.- Parameters:
tag- attribute name of html tagparagraphStyle- paragraph style (for paragraph tag such as p, div etc.)
-
RTFStackTable
Constructor for tag, its position and attributeList.- Parameters:
tag- html tag name or attribute namevalue- attribute valuepos- position in stackattributeValueList- Array of tag attribute
-
RTFStackTable
Constructor for tag and its position.- Parameters:
tag- html tag name or attribute namevalue- attribute valuepos- position in stack
-
RTFStackTable
Constructor.- Parameters:
tag- attribute name of html tag
-
-
Method Details
-
getParagraphStyle
Get paragraphStyle.- Returns:
- paragraphStyle
-
setParagraphStyle
Set paragraphStyle.- Parameters:
paragraphStyle- paragraphStyle
-