|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.fop.fo.FOEventHandler
org.apache.fop.render.rtf.RTFHandler
public class RTFHandler
RTF Handler: generates RTF output using the structure events from the FO Tree sent to this structure handler.
Field Summary |
---|
Fields inherited from class org.apache.fop.fo.FOEventHandler |
---|
fontInfo, foUserAgent, propertyListMaker, whiteSpaceHandler |
Constructor Summary | |
---|---|
RTFHandler(FOUserAgent userAgent,
java.io.OutputStream os)
Creates a new RTF structure handler. |
Method Summary | |
---|---|
void |
endBlock(Block bl)
|
void |
endBlockContainer(BlockContainer bl)
|
void |
endBody(TableBody tb)
|
void |
endCell(TableCell tc)
|
void |
endColumn(TableColumn tc)
|
void |
endDocument()
This method is called to indicate the end of a document run. |
void |
endFlow(Flow fl)
|
void |
endFooter(TableBody tf)
|
void |
endFootnote(Footnote footnote)
Process the ending of a footnote. |
void |
endFootnoteBody(FootnoteBody body)
Process the ending of a footnote body. |
void |
endHeader(TableBody th)
|
void |
endInline(Inline inl)
|
void |
endLink()
Process end of a Link. |
void |
endList(ListBlock lb)
|
void |
endListBody()
Process end of a ListBody. |
void |
endListItem(ListItem li)
|
void |
endListLabel()
Process end of a ListLabel. |
void |
endMarkup()
Process end of a Markup. |
void |
endPageNumber(PageNumber pagenum)
|
void |
endPageSequence(PageSequence pageSeq)
|
void |
endRow(TableRow tr)
|
void |
endStatic()
Process end of a Static. |
void |
endTable(Table tbl)
|
void |
foreignObject(InstreamForeignObject ifo)
Process an InstreamForeignObject. |
void |
image(ExternalGraphic eg)
Process an ExternalGraphic. |
void |
leader(Leader l)
Process a Leader. |
void |
pageRef()
Process a pageRef. |
void |
startBlock(Block bl)
|
void |
startBlockContainer(BlockContainer blc)
|
void |
startBody(TableBody tb)
|
void |
startCell(TableCell tc)
|
void |
startColumn(TableColumn tc)
|
void |
startDocument()
This method is called to indicate the start of a new document run. |
void |
startFlow(Flow fl)
This method is called to indicate the start of a new fo:flow or fo:static-content. |
void |
startFooter(TableBody tf)
|
void |
startFootnote(Footnote footnote)
Process the start of a footnote. |
void |
startFootnoteBody(FootnoteBody body)
Process the start of a footnote body. |
void |
startHeader(TableBody th)
|
void |
startInline(Inline inl)
|
void |
startLink(BasicLink basicLink)
Process start of a Link. |
void |
startList(ListBlock lb)
|
void |
startListBody()
Process start of a ListBody. |
void |
startListItem(ListItem li)
|
void |
startListLabel()
Process start of a ListLabel. |
void |
startMarkup()
Process start of a Markup. |
void |
startPageNumber(PageNumber pagenum)
|
void |
startPageSequence(PageSequence pageSeq)
|
void |
startRow(TableRow tr)
|
void |
startStatic()
Process start of a Static. |
void |
startTable(Table tbl)
|
void |
text(FOText text,
char[] data,
int start,
int length)
|
Methods inherited from class org.apache.fop.fo.FOEventHandler |
---|
character, characters, getFontInfo, getIDReferences, getPropertyListMaker, getUserAgent, getXMLWhiteSpaceHandler, inMarker, setPropertyListMaker, switchMarkerContext |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public RTFHandler(FOUserAgent userAgent, java.io.OutputStream os)
userAgent
- the FOUserAgent for this processos
- OutputStream to write toMethod Detail |
---|
public void startDocument() throws org.xml.sax.SAXException
FOEventHandler
startDocument
in class FOEventHandler
org.xml.sax.SAXException
- In case of a IO-problemFOEventHandler.startDocument()
public void endDocument() throws org.xml.sax.SAXException
FOEventHandler
endDocument
in class FOEventHandler
org.xml.sax.SAXException
- In case of a IO-problemFOEventHandler.endDocument()
public void startPageSequence(PageSequence pageSeq)
startPageSequence
in class FOEventHandler
pageSeq
- PageSequence that is startingFOEventHandler
public void endPageSequence(PageSequence pageSeq)
endPageSequence
in class FOEventHandler
pageSeq
- PageSequence that is endingFOEventHandler.endPageSequence(PageSequence)
public void startFlow(Flow fl)
FOEventHandler
startFlow
in class FOEventHandler
fl
- Flow that is startingFOEventHandler.startFlow(Flow)
public void endFlow(Flow fl)
endFlow
in class FOEventHandler
fl
- Flow that is endingFOEventHandler.endFlow(Flow)
public void startBlock(Block bl)
startBlock
in class FOEventHandler
bl
- Block that is startingFOEventHandler.startBlock(Block)
public void endBlock(Block bl)
endBlock
in class FOEventHandler
bl
- Block that is endingFOEventHandler.endBlock(Block)
public void startBlockContainer(BlockContainer blc)
startBlockContainer
in class FOEventHandler
blc
- BlockContainer that is startingFOEventHandler.startBlockContainer(BlockContainer)
public void endBlockContainer(BlockContainer bl)
endBlockContainer
in class FOEventHandler
bl
- BlockContainer that is endingFOEventHandler.endBlockContainer(BlockContainer)
public void startTable(Table tbl)
startTable
in class FOEventHandler
tbl
- Table that is startingFOEventHandler.startTable(Table)
public void endTable(Table tbl)
endTable
in class FOEventHandler
tbl
- Table that is endingFOEventHandler.endTable(Table)
public void startColumn(TableColumn tc)
startColumn
in class FOEventHandler
tc
- TableColumn that is starting;public void endColumn(TableColumn tc)
endColumn
in class FOEventHandler
tc
- TableColumn that is ending;public void startHeader(TableBody th)
startHeader
in class FOEventHandler
th
- TableBody that is startingFOEventHandler.startHeader(TableBody)
public void endHeader(TableBody th)
endHeader
in class FOEventHandler
th
- TableBody that is endingFOEventHandler.endHeader(TableBody)
public void startFooter(TableBody tf)
startFooter
in class FOEventHandler
tf
- TableFooter that is startingFOEventHandler.startFooter(TableBody)
public void endFooter(TableBody tf)
endFooter
in class FOEventHandler
tf
- TableFooter that is endingFOEventHandler.endFooter(TableBody)
public void startInline(Inline inl)
startInline
in class FOEventHandler
inl
- Inline that is starting.public void endInline(Inline inl)
endInline
in class FOEventHandler
inl
- Inline that is ending.public void startBody(TableBody tb)
startBody
in class FOEventHandler
tb
- TableBody that is startingFOEventHandler.startBody(TableBody)
public void endBody(TableBody tb)
endBody
in class FOEventHandler
tb
- TableBody that is endingFOEventHandler.endBody(TableBody)
public void startRow(TableRow tr)
startRow
in class FOEventHandler
tr
- TableRow that is startingFOEventHandler.startRow(TableRow)
public void endRow(TableRow tr)
endRow
in class FOEventHandler
tr
- TableRow that is endingFOEventHandler.endRow(TableRow)
public void startCell(TableCell tc)
startCell
in class FOEventHandler
tc
- TableCell that is startingFOEventHandler.startCell(TableCell)
public void endCell(TableCell tc)
endCell
in class FOEventHandler
tc
- TableCell that is endingFOEventHandler.endCell(TableCell)
public void startList(ListBlock lb)
startList
in class FOEventHandler
lb
- ListBlock that is startingFOEventHandler.startList(ListBlock)
public void endList(ListBlock lb)
endList
in class FOEventHandler
lb
- ListBlock that is endingFOEventHandler.endList(ListBlock)
public void startListItem(ListItem li)
startListItem
in class FOEventHandler
li
- ListItem that is startingFOEventHandler.startListItem(ListItem)
public void endListItem(ListItem li)
endListItem
in class FOEventHandler
li
- ListItem that is endingFOEventHandler.endListItem(ListItem)
public void startListLabel()
FOEventHandler
startListLabel
in class FOEventHandler
FOEventHandler.startListLabel()
public void endListLabel()
FOEventHandler
endListLabel
in class FOEventHandler
FOEventHandler.endListLabel()
public void startListBody()
FOEventHandler
startListBody
in class FOEventHandler
FOEventHandler.startListBody()
public void endListBody()
FOEventHandler
endListBody
in class FOEventHandler
FOEventHandler.endListBody()
public void startStatic()
FOEventHandler
startStatic
in class FOEventHandler
FOEventHandler.startStatic()
public void endStatic()
FOEventHandler
endStatic
in class FOEventHandler
FOEventHandler.endStatic()
public void startMarkup()
FOEventHandler
startMarkup
in class FOEventHandler
FOEventHandler.startMarkup()
public void endMarkup()
FOEventHandler
endMarkup
in class FOEventHandler
FOEventHandler.endMarkup()
public void startLink(BasicLink basicLink)
FOEventHandler
startLink
in class FOEventHandler
basicLink
- BasicLink that is startingFOEventHandler.startLink(BasicLink basicLink)
public void endLink()
FOEventHandler
endLink
in class FOEventHandler
FOEventHandler.endLink()
public void image(ExternalGraphic eg)
FOEventHandler
image
in class FOEventHandler
eg
- ExternalGraphic that is startingFOEventHandler.image(ExternalGraphic)
public void foreignObject(InstreamForeignObject ifo)
FOEventHandler
foreignObject
in class FOEventHandler
ifo
- InstreamForeignObject that is startingFOEventHandler.foreignObject(InstreamForeignObject)
public void pageRef()
FOEventHandler
pageRef
in class FOEventHandler
FOEventHandler.pageRef()
public void startFootnote(Footnote footnote)
FOEventHandler
startFootnote
in class FOEventHandler
footnote
- Footnote that is startingFOEventHandler.startFootnote(Footnote)
public void endFootnote(Footnote footnote)
FOEventHandler
endFootnote
in class FOEventHandler
footnote
- Footnote that is endingFOEventHandler.endFootnote(Footnote)
public void startFootnoteBody(FootnoteBody body)
FOEventHandler
startFootnoteBody
in class FOEventHandler
body
- FootnoteBody that is startingFOEventHandler.startFootnoteBody(FootnoteBody)
public void endFootnoteBody(FootnoteBody body)
FOEventHandler
endFootnoteBody
in class FOEventHandler
body
- FootnoteBody that is endingFOEventHandler.endFootnoteBody(FootnoteBody)
public void leader(Leader l)
FOEventHandler
leader
in class FOEventHandler
l
- Leader that is startingFOEventHandler.leader(Leader)
public void text(FOText text, char[] data, int start, int length)
text
- FOText objectdata
- Array of characters to process.start
- Offset for characters to process.length
- Portion of array to process.public void startPageNumber(PageNumber pagenum)
startPageNumber
in class FOEventHandler
pagenum
- PageNumber that is starting.public void endPageNumber(PageNumber pagenum)
endPageNumber
in class FOEventHandler
pagenum
- PageNumber that is ending.
|
fop 0.94 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |