public abstract class AbstractWriter extends Object implements Writer
NON_BREAKING_SPACE, NON_BREAKING_SPACE_STRING
Modifier and Type | Method and Description |
---|---|
void |
addAnchor(String value) |
void |
footnoteEnd() |
void |
footnoteStart() |
CharacterProperties |
getCharacterProperties() |
String |
getDefaultFontName() |
ListHeaderInfo |
getListHeaderInfo() |
ParagraphProperties |
getParagraphProperties() |
char |
intToChar(int c) |
boolean |
isInFootnote() |
void |
popCharacterProperties(CharacterProperties newCharProps) |
void |
popParagraphProperties(ParagraphProperties source)
Get last paragraph properties from stack.
|
void |
resetCharacterAttributes()
Will be called for \plain RTF token.
|
void |
resetParagraphAttributes()
Rest the paragraph attributes to default values.
|
void |
setAlignment(Alignment newValue) |
void |
setBGColor(String newValue) |
void |
setBold(boolean newValue) |
void |
setBorderColor(String newValue) |
void |
setBorderStyle(BorderStyle newValue) |
void |
setBorderWidth(int newValue) |
void |
setDefaultFontName(String newValue) |
void |
setFirstIndent(int newValue) |
void |
setFontCharSet(int newValue) |
void |
setFontColor(String newValue) |
void |
setFontName(String newValue) |
void |
setFontSize(int newValue) |
void |
setHidden(boolean newValue) |
void |
setHLColor(String newValue) |
void |
setItalic(boolean newValue) |
void |
setLanguage(String newValue) |
void |
setLeftIndent(int newValue) |
void |
setNodeCharset(int paramValue) |
void |
setParagraphBackgroundColor(String newValue) |
void |
setParagraphBorder(ParagraphProperties.Border newValue) |
void |
setParagraphInTable(boolean inTable) |
void |
setRightIndent(int newValue) |
void |
setRightToLeftChar(boolean newValue) |
void |
setRightToLeftPar(boolean newValue) |
void |
setSpaceAfter(int newValue) |
void |
setSpaceBefore(int newValue) |
void |
setStrike(boolean newValue) |
void |
setSubscript(boolean newValue) |
void |
setSuperscript(boolean newValue) |
void |
setUnderline(boolean newValue) |
void |
writeChar(char ch)
Append a character to the Document.
|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
add, add, addAutoFootnoteRef, addLinebreak, addPicture, applyParagraphProperties, applyTextProperties, finishField, finishFldInst, finishFldRslt, getResult, getTableWriter, setFieldExpression, setListLevel, setNumberingLevel, setNumberingStyle, setNumberType, tableCellEnds, writeEof, writeTab
public void setAlignment(Alignment newValue)
setAlignment
in interface Writer
public void setBGColor(String newValue)
setBGColor
in interface Writer
public void setFirstIndent(int newValue)
setFirstIndent
in interface Writer
public void setFontColor(String newValue)
setFontColor
in interface Writer
public void setUnderline(boolean newValue)
setUnderline
in interface Writer
public void setHLColor(String newValue)
setHLColor
in interface Writer
public void setLeftIndent(int newValue)
setLeftIndent
in interface Writer
public void setRightIndent(int newValue)
setRightIndent
in interface Writer
public void setSpaceBefore(int newValue)
setSpaceBefore
in interface Writer
public void setSpaceAfter(int newValue)
setSpaceAfter
in interface Writer
public void setParagraphBorder(ParagraphProperties.Border newValue)
setParagraphBorder
in interface Writer
public void setBorderColor(String newValue)
setBorderColor
in interface Writer
public void setBorderStyle(BorderStyle newValue)
setBorderStyle
in interface Writer
public void setBorderWidth(int newValue)
setBorderWidth
in interface Writer
public void setParagraphBackgroundColor(String newValue)
setParagraphBackgroundColor
in interface Writer
public void setRightToLeftChar(boolean newValue)
setRightToLeftChar
in interface Writer
public void setRightToLeftPar(boolean newValue)
setRightToLeftPar
in interface Writer
public void setSubscript(boolean newValue)
setSubscript
in interface Writer
public void setSuperscript(boolean newValue)
setSuperscript
in interface Writer
public void setFontName(String newValue)
setFontName
in interface Writer
public void setFontSize(int newValue)
setFontSize
in interface Writer
public CharacterProperties getCharacterProperties()
getCharacterProperties
in interface Writer
public ParagraphProperties getParagraphProperties()
getParagraphProperties
in interface Writer
public String getDefaultFontName()
getDefaultFontName
in interface Writer
public void setDefaultFontName(String newValue)
setDefaultFontName
in interface Writer
public void setParagraphInTable(boolean inTable)
setParagraphInTable
in interface Writer
public void resetCharacterAttributes()
resetCharacterAttributes
in interface Writer
public void resetParagraphAttributes()
resetParagraphAttributes
in interface Writer
popParagraphProperties(ParagraphProperties newValue)
public void popCharacterProperties(CharacterProperties newCharProps)
popCharacterProperties
in interface Writer
public void popParagraphProperties(ParagraphProperties source)
popParagraphProperties
in interface Writer
source
- the value on the stack.resetParagraphAttributes()
public void setFontCharSet(int newValue)
setFontCharSet
in interface Writer
public void setNodeCharset(int paramValue)
setNodeCharset
in interface Writer
public void setLanguage(String newValue)
setLanguage
in interface Writer
public void writeChar(char ch)
public void footnoteStart()
footnoteStart
in interface Writer
public void footnoteEnd()
footnoteEnd
in interface Writer
public boolean isInFootnote()
isInFootnote
in interface Writer
public ListHeaderInfo getListHeaderInfo()
getListHeaderInfo
in interface Writer
Copyright © 2019 Habarisoft. All rights reserved.