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 TypeMethodDescriptionvoidsetBGColor(String value) Sets the background color for the character properties.voidsetBold(boolean value) Sets the bold attribute.voidsetFontCharSet(int value) Sets the font character set for the character properties.voidsetFontColor(String value) Sets the font color for the character properties.voidsetFontName(String value) Sets the font name for the character properties.voidsetFontSize(int value) Sets the font size in half-points for the character properties.voidsetHidden(boolean value) Sets the hidden attribute of the character properties.voidsetHLColor(String value) Sets the highlight color for the character properties.voidsetItalic(boolean value) Sets the italic attribute of the character properties.voidsetLanguage(String value) Sets the language for the character properties.voidsetRightToLeftChar(boolean value) Sets the right-to-left character property.voidsetStrike(boolean value) Sets the strike attribute of the character properties.voidSets the subscript attribute of the character properties.voidsetSubscript(boolean value) Sets the subscript attribute of the character properties.voidSets the superscript attribute of the character properties.voidsetSuperscript(boolean value) Sets the superscript attribute of the character properties.voidsetUnderline(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.
-