Package com.scroogexhtml.converter
Interface CharacterPropertiesWriter
- All Known Subinterfaces:
Writer
- All Known Implementing Classes:
AbstractWriter
,XMLDOMWriter
public interface CharacterPropertiesWriter
A writer interface for setting character properties.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
setBGColor
(String value) Sets the background color for the character properties.void
setBold
(boolean value) Sets the bold attribute.void
setFontCharSet
(int value) Sets the font character set for the character properties.void
setFontColor
(String value) Sets the font color for the character properties.void
setFontName
(String value) Sets the font name for the character properties.void
setFontSize
(int value) Sets the font size in half-points for the character properties.void
setHidden
(boolean value) Sets the hidden attribute of the character properties.void
setHLColor
(String value) Sets the highlight color for the character properties.void
setItalic
(boolean value) Sets the italic attribute of the character properties.void
setLanguage
(String value) Sets the language for the character properties.void
setRightToLeftChar
(boolean value) Sets the right-to-left character property.void
setStrike
(boolean value) Sets the strike attribute of the character properties.void
Sets the subscript attribute of the character properties.void
setSubscript
(boolean value) Sets the subscript attribute of the character properties.void
Sets the superscript attribute of the character properties.void
setSuperscript
(boolean value) Sets the superscript attribute of the character properties.void
setUnderline
(boolean value) Sets the underline attribute of the character properties.
-
Method Details
-
setBold
void setBold(boolean value) Sets the bold attribute.- Parameters:
value
- the new value for the bold attribute
-
setRightToLeftChar
void setRightToLeftChar(boolean value) Sets the right-to-left character property.- Parameters:
value
- the new value for the right-to-left character property
-
setLanguage
Sets the language for the character properties.- Parameters:
value
- the new language value
-
setItalic
void setItalic(boolean value) Sets the italic attribute of the character properties.- Parameters:
value
- true to set the character properties as italic, false otherwise
-
setStrike
void setStrike(boolean value) Sets the strike attribute of the character properties.- Parameters:
value
- true to set the character properties as strike-through, false otherwise
-
setUnderline
void setUnderline(boolean value) Sets the underline attribute of the character properties.- Parameters:
value
- true to set the character properties as underline, false otherwise
-
setFontName
Sets the font name for the character properties.- Parameters:
value
- the new font name
-
setFontCharSet
void setFontCharSet(int value) Sets the font character set for the character properties.- Parameters:
value
- the new font character set
-
setFontColor
Sets the font color for the character properties.- Parameters:
value
- the new font color value
-
setBGColor
Sets the background color for the character properties.- Parameters:
value
- the new background color value
-
setHidden
void setHidden(boolean value) Sets the hidden attribute of the character properties.- Parameters:
value
- the new hidden attribute value
-
setHLColor
Sets the highlight color for the character properties.- Parameters:
value
- the new highlight color value
-
setFontSize
void setFontSize(int value) Sets the font size in half-points for the character properties.- Parameters:
value
- the new font size value to set
-
setSubscript
void setSubscript(boolean value) Sets the subscript attribute of the character properties.- Parameters:
value
- true to set the character properties as subscript, false otherwise
-
setSuperscript
void setSuperscript(boolean value) Sets the superscript attribute of the character properties.- Parameters:
value
- true to set the character properties as superscript, false otherwise
-
setSubscript
void setSubscript()Sets the subscript attribute of the character properties. -
setSuperscript
void setSuperscript()Sets the superscript attribute of the character properties.
-