|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Writer
Writer interface.
| Method Summary | |
|---|---|
void |
applyTextProperties()
Apply current character properties to current FormattedText object. |
CharacterProperties |
getCharacterProperties()
|
java.lang.String |
getDefaultFontName()
Get the default font name. |
Document |
getDocument()
Returns the document. |
java.lang.StringBuffer |
getHtml()
Get HTML code for the document. |
ParagraphProperties |
getParagraphProperties()
|
java.lang.StringBuffer |
getPlainText()
Get plain text for the document. |
boolean |
isNumberingStyle()
Get the numbered flag. |
void |
popCharacterProperties(CharacterProperties newValue)
|
void |
popParagraphProperties(ParagraphProperties newValue)
|
void |
resetCharacterAttributes()
Reset all character attributes to default values. |
void |
resetParagraphAttributes()
Reset paragraph attributes to default values. |
void |
setAlignment(int newValue)
Set paragraph property 'alignment'. |
void |
setBGColor(java.lang.String newValue)
Set character property 'bg color'. |
void |
setBold(boolean newValue)
Set character property 'bold'. |
void |
setDefaultFontName(java.lang.String newValue)
Set the default font name. |
void |
setFirstIndent(int newValue)
Set paragraph property 'first line indent'. |
void |
setFontCharSet(int newValue)
Set character property 'character set'. |
void |
setFontColor(java.lang.String newValue)
Set character property 'font color'. |
void |
setFontName(java.lang.String newValue)
Set character property 'font name'. |
void |
setFontSize(int newValue)
Set character property 'font size'. |
void |
setHLColor(java.lang.String newValue)
Set character property 'hl color'. |
void |
setItalic(boolean newValue)
Set character property 'italic'. |
void |
setLanguage(java.lang.String newValue)
Set character property 'language'. |
void |
setLeftIndent(int newValue)
Set paragraph property 'left indent'. |
void |
setNumbered(boolean newValue)
Set paragraph property 'numbered'. |
void |
setNumberingLevel(int newValue)
Set paragraph property 'numbering level'. |
void |
setNumberingStyle(boolean newValue)
Set the numbered flag. |
void |
setRightIndent(int newValue)
Set paragraph property 'right indent'. |
void |
setRightToLeftChar(boolean newValue)
Set character property 'ltr'. |
void |
setRightToLeftPar(boolean newValue)
Set paragraph property 'rtl'. |
void |
setStrike(boolean newValue)
Set character property 'strike'. |
void |
setSubscript(boolean newValue)
Set character property 'subscript'. |
void |
setSuperscript(boolean newValue)
Set character property 'superscript'. |
void |
setUnderline(boolean newValue)
Set character property 'underline'. |
void |
writeChar(char ch)
Append a character. |
| Method Detail |
|---|
Document getDocument()
CharacterProperties getCharacterProperties()
ParagraphProperties getParagraphProperties()
void popParagraphProperties(ParagraphProperties newValue)
void popCharacterProperties(CharacterProperties newValue)
void writeChar(char ch)
ch - charvoid resetCharacterAttributes()
void setDefaultFontName(java.lang.String newValue)
newValue - Stringjava.lang.String getDefaultFontName()
void setNumberingStyle(boolean newValue)
newValue - booleanboolean isNumberingStyle()
void resetParagraphAttributes()
void applyTextProperties()
java.lang.StringBuffer getHtml()
void setBold(boolean newValue)
newValue - boolean the new value.void setRightToLeftChar(boolean newValue)
newValue - booleanvoid setLanguage(java.lang.String newValue)
newValue - Stringvoid setItalic(boolean newValue)
newValue - booleanvoid setStrike(boolean newValue)
newValue - booleanvoid setUnderline(boolean newValue)
newValue - booleanvoid setFontName(java.lang.String newValue)
newValue - Stringvoid setFontCharSet(int newValue)
newValue - intvoid setFontColor(java.lang.String newValue)
newValue - Stringvoid setBGColor(java.lang.String newValue)
newValue - Stringvoid setHLColor(java.lang.String newValue)
newValue - Stringvoid setFontSize(int newValue)
newValue - intvoid setSubscript(boolean newValue)
newValue - booleanvoid setSuperscript(boolean newValue)
newValue - booleanvoid setRightToLeftPar(boolean newValue)
newValue - booleanvoid setNumberingLevel(int newValue)
newValue - intvoid setAlignment(int newValue)
newValue - intvoid setNumbered(boolean newValue)
newValue - booleanvoid setLeftIndent(int newValue)
newValue - intvoid setRightIndent(int newValue)
newValue - intvoid setFirstIndent(int newValue)
newValue - intjava.lang.StringBuffer getPlainText()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||