com.lowagie.text.rtf.parser.destinations
public class RtfDestinationListTable extends RtfDestination
RtfDestinationListTable
handles data destined for the List
Table destinationModifier and Type | Field and Description |
---|---|
private int |
currentLevel |
private RtfListLevel |
currentListLevel |
private int |
currentListMappingNumber |
private int |
currentSubGroupCount |
private RtfImportMgr |
importHeader
The RtfImportHeader to add List mappings to.
|
private RtfList |
newList |
lastCtrlWord, modified, rtfParser
Constructor and Description |
---|
RtfDestinationListTable() |
RtfDestinationListTable(RtfParser parser) |
Modifier and Type | Method and Description |
---|---|
boolean |
closeDestination()
Clean up when destination is closed.
|
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 |
setParser(RtfParser parser)
Set the parser to use with the RtfDestination object.
|
void |
setToDefaults()
Method to set this object to the default values.
|
addListener, afterCharacter, afterCtrlWord, beforeCharacter, beforeCtrlWord, getNewTokeniserState, isModified, onCharacter, onCloseGroup, onCtrlWord, onOpenGroup, removeListener
private RtfImportMgr importHeader
private RtfList newList
private int currentLevel
private RtfListLevel currentListLevel
private int currentListMappingNumber
private int currentSubGroupCount
public RtfDestinationListTable()
public RtfDestinationListTable(RtfParser parser)
public void setParser(RtfParser parser)
RtfDestination
setParser
in class RtfDestination
parser
- The RtfParser object.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 objectpublic 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 setToDefaults()
RtfDestination
setToDefaults
in class RtfDestination