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 enum
This enum defines available paragraph border attributes. -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor.ParagraphProperties
(ParagraphProperties another) Copy constructor. -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()
int
int
int
int
int
int
boolean
boolean
void
void
setBGColor
(String newValue) void
setBorder
(ParagraphProperties.Border newValue) void
setBorderColor
(String newValue) void
setBorderStyle
(BorderStyle borderStyle) void
setBorderWidth
(int newValue) void
setFirstIndent
(int newValue) void
setInTable
(boolean newValue) void
setLeftIndent
(int newValue) void
setNumberingLevel
(NumberingLevel newValue) void
setRightIndent
(int newValue) void
setRightToLeftPar
(boolean newValue) void
setSpaceAfter
(int newValue) void
setSpaceBefore
(int newValue)
-
Field Details
-
DEF_ITAP
public static final byte DEF_ITAP- See Also:
-
-
Constructor Details
-
ParagraphProperties
Copy constructor.- Parameters:
another
- the instance to be copied
-
ParagraphProperties
public ParagraphProperties()Default constructor.
-
-
Method Details
-
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)
-