|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.lowagie.text.rtf.parser.destinations.RtfDestination com.lowagie.text.rtf.parser.destinations.RtfDestinationStylesheetTable
public class RtfDestinationStylesheetTable
RtfDestinationStylesheetTable
handles data destined for the
Stylesheet Table destination
Field Summary |
---|
Fields inherited from class com.lowagie.text.rtf.parser.destinations.RtfDestination |
---|
lastCtrlWord, modified, rtfParser |
Constructor Summary | |
---|---|
RtfDestinationStylesheetTable()
|
|
RtfDestinationStylesheetTable(RtfParser parser,
java.lang.String type)
|
Method Summary | |
---|---|
boolean |
closeDestination()
Clean up when destination is closed. |
void |
createNewStyle()
|
int |
getAdustRightIndent()
Get the right indent adjustment value |
int |
getAlignment()
Get the alignment value. |
int |
getAutoSpaceBetweenDBCEnglish()
Get the auto space between DBC and English indicator. |
int |
getAutoSpaceBetweenDBCNumbers()
Get the auto space between DBC and Numbers indicator. |
int |
getFirstLineIndent()
Get the first line indent value. |
int |
getIndent()
Get the left indent value |
int |
getJustificationPercentage()
Get the justification percentage. |
int |
getLeftIndent()
Get the left indent value |
int |
getMirrorIndent()
Get the value indicating if document has mirrored indents. |
int |
getNoCharacterWrapping()
Get no character wrapping indicator. |
int |
getNoOverflowPeriodComma()
Get the no overflow period comma indicator. |
int |
getNoWordWrapping()
Get the no word wrapping indicator. |
int |
getOverrideWidowControl()
Get the ovirride widow control value. |
int |
getRightIndent()
Get the right indent value. |
int |
getStyleNr()
Get this style number. |
int |
getStyleType()
Get this style type. |
boolean |
handleCharacter(int ch)
Handle text for this destination |
boolean |
handleCloseGroup()
Clean up when group is closed. |
boolean |
handleControlWord(RtfCtrlWordData ctrlWordData)
Handle control word for this destination |
boolean |
handleOpenGroup()
Setup when group is opened. |
boolean |
handleOpeningSubGroup()
Handle a new subgroup contained within this group |
void |
setAdustRightIndent(int adustRightIndent)
Set the right indent adjustment value |
int |
setAlignment(int alignment)
Set the alignment value from the parsed value. |
void |
setAutoSpaceBetweenDBCEnglish(int autoSpaceBetweenDBCEnglish)
Set the auto space between DBC and English indicator. |
void |
setAutoSpaceBetweenDBCNumbers(int autoSpaceBetweenDBCNumbers)
Set the auto space between DBC and Numbers indicator. |
void |
setElementName(java.lang.String value)
|
void |
setFirstLineIndent(int firstLineIndent)
Set the first line indent value. |
void |
setIndent(int indent)
Set the left indent value from the value parsed. |
int |
setJustificationPercentage(int percent)
Set the justification percentage from parsed value. |
void |
setLeftIndent(int leftIndent)
Set the left indent value |
void |
setMirrorIndent(int mirrorIndent)
Set the mirrored indent value from the parsed value. |
void |
setNoCharacterWrapping(int noCharacterWrapping)
Set the no character wrapping indicator from parsed value |
void |
setNoOverflowPeriodComma(int noOverflowPeriodComma)
Set the no overflow period comma indicator from the parsed value. |
void |
setNoWordWrapping(int noWordWrapping)
Set the no word wrapping indicator from the parsed value. |
void |
setOverrideWidowControl(int overrideWidowControl)
Set the override widow control. |
void |
setParser(RtfParser parser)
Set the parser to use with the RtfDestination object. |
void |
setRightIndent(int rightIndent)
Set the right indent value. |
void |
setStyleNr(int styleNr)
Set this style number from the parsed value. |
void |
setStyleType(int styleType)
Set the style type. |
void |
setToDefaults()
Method to set this object to the default values. |
void |
setType(java.lang.String value)
|
Methods inherited from class com.lowagie.text.rtf.parser.destinations.RtfDestination |
---|
addListener, afterCharacter, afterCtrlWord, beforeCharacter, beforeCtrlWord, getNewTokeniserState, isModified, onCharacter, onCloseGroup, onCtrlWord, onOpenGroup, removeListener |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RtfDestinationStylesheetTable()
public RtfDestinationStylesheetTable(RtfParser parser, java.lang.String type)
Method Detail |
---|
public void setParser(RtfParser parser)
RtfDestination
setParser
in class RtfDestination
parser
- The RtfParser object.public void setType(java.lang.String value)
public void setElementName(java.lang.String value)
public boolean handleOpeningSubGroup()
RtfDestination
handleOpeningSubGroup
in class RtfDestination
public boolean closeDestination()
RtfDestination
closeDestination
in class RtfDestination
public boolean handleControlWord(RtfCtrlWordData ctrlWordData)
RtfDestination
handleControlWord
in class RtfDestination
ctrlWordData
- The control word and parameter information object
public boolean handleCloseGroup()
RtfDestination
handleCloseGroup
in class RtfDestination
public boolean handleOpenGroup()
RtfDestination
handleOpenGroup
in class RtfDestination
public boolean handleCharacter(int ch)
RtfDestination
handleCharacter
in class RtfDestination
public void createNewStyle()
public int setJustificationPercentage(int percent)
percent
- The justification percentage
public int getJustificationPercentage()
public int setAlignment(int alignment)
alignment
- The alignment value.
public int getAlignment()
public int getFirstLineIndent()
public void setFirstLineIndent(int firstLineIndent)
firstLineIndent
- the firstLineIndent to setpublic int getIndent()
public void setIndent(int indent)
indent
- the left indent value.public int getAdustRightIndent()
public void setAdustRightIndent(int adustRightIndent)
adustRightIndent
- the adustRightIndent to setpublic int getLeftIndent()
public void setLeftIndent(int leftIndent)
leftIndent
- the leftIndent to setpublic int getMirrorIndent()
public void setMirrorIndent(int mirrorIndent)
mirrorIndent
- the mirrorIndent to setpublic int getRightIndent()
public void setRightIndent(int rightIndent)
rightIndent
- the rightIndent to setpublic int getOverrideWidowControl()
public void setOverrideWidowControl(int overrideWidowControl)
overrideWidowControl
- the overrideWidowControl to setpublic int getAutoSpaceBetweenDBCEnglish()
public void setAutoSpaceBetweenDBCEnglish(int autoSpaceBetweenDBCEnglish)
autoSpaceBetweenDBCEnglish
- the autoSpaceBetweenDBCEnglish to setpublic int getAutoSpaceBetweenDBCNumbers()
public void setAutoSpaceBetweenDBCNumbers(int autoSpaceBetweenDBCNumbers)
autoSpaceBetweenDBCNumbers
- the autoSpaceBetweenDBCNumbers to setpublic int getNoCharacterWrapping()
public void setNoCharacterWrapping(int noCharacterWrapping)
noCharacterWrapping
- the noCharacterWrapping to setpublic int getNoOverflowPeriodComma()
public void setNoOverflowPeriodComma(int noOverflowPeriodComma)
noOverflowPeriodComma
- the noOverflowPeriodComma to setpublic int getNoWordWrapping()
public void setNoWordWrapping(int noWordWrapping)
noWordWrapping
- the noWordWrapping to setpublic int getStyleNr()
public void setStyleNr(int styleNr)
styleNr
- the styleNr to setpublic int getStyleType()
public void setStyleType(int styleType)
styleType
- the styleType to setpublic void setToDefaults()
RtfDestination
setToDefaults
in class RtfDestination
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |