Package com.scroogexhtml.converter
Class ParagraphProperties
java.lang.Object
com.scroogexhtml.converter.ParagraphProperties
The ParagraphProperties class is used to save current state data of the
Writer.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumThis enum defines available paragraph border attributes. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final bytestatic final intValue ofgetItap()when the paragraph has no\itapN. -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ParagraphProperties(ParagraphProperties another) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()intintintgetItap()intintintintintbooleanbooleanvoidvoidsetBGColor(String newValue) voidsetBorder(ParagraphProperties.Border newValue) voidsetBorderColor(String newValue) voidsetBorderStyle(BorderStyle borderStyle) voidsetBorderWidth(int newValue) voidsetFirstIndent(int newValue) voidsetInTable(boolean newValue) voidsetItap(int newValue) voidsetLeftIndent(int newValue) voidsetNumberingLevel(NumberingLevel newValue) voidsetRightIndent(int newValue) voidsetRightToLeftPar(boolean newValue) voidsetSpaceAfter(int newValue) voidsetSpaceBefore(int newValue)
-
Field Details
-
DEF_ITAP
public static final byte DEF_ITAP- See Also:
-
ITAP_NOT_SET
public static final int ITAP_NOT_SETValue ofgetItap()when the paragraph has no\itapN.- See Also:
-
-
Constructor Details
-
ParagraphProperties
Copy constructor.- Parameters:
another- the instance to be copied
-
ParagraphProperties
public ParagraphProperties()Default constructor.
-
-
Method Details
-
getItap
public int getItap()- Returns:
- the paragraph's explicit
\itapN, orITAP_NOT_SET
-
setItap
public void setItap(int newValue) - Parameters:
newValue- the paragraph's explicit\itapN, orITAP_NOT_SET
-
getNestingLevel
public int getNestingLevel()- Returns:
- the paragraph's nesting level ("0 is the main document, 1 is a
table cell, 2 is a nested table cell"): its
\itapN; without one, 1 (the RTF default) for a table paragraph (\intbl), else 0
-
isInTable
public boolean isInTable() -
setInTable
public void setInTable(boolean newValue) -
getAlign
-
setAlign
-
getNumberingLevel
-
setNumberingLevel
-
getLeftIndent
public int getLeftIndent() -
setLeftIndent
public void setLeftIndent(int newValue) -
getRightIndent
public int getRightIndent() -
setRightIndent
public void setRightIndent(int newValue) -
getFirstIndent
public int getFirstIndent() -
setFirstIndent
public void setFirstIndent(int newValue) -
isRightToLeftPar
public boolean isRightToLeftPar() -
setRightToLeftPar
public void setRightToLeftPar(boolean newValue) -
getSpaceBefore
public int getSpaceBefore() -
setSpaceBefore
public void setSpaceBefore(int newValue) -
getSpaceAfter
public int getSpaceAfter() -
setSpaceAfter
public void setSpaceAfter(int newValue) -
getBorder
-
setBorder
-
getBorderStyle
-
setBorderStyle
-
getBGColor
-
setBGColor
-
getBorderColor
-
setBorderColor
-
getBorderWidth
public int getBorderWidth() -
setBorderWidth
public void setBorderWidth(int newValue)
-