|
fop 1.1 | |||||||||
| 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 |
| 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 body)
|
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(TableFooter footer)
|
void |
endFootnote(Footnote footnote)
Process the ending of a footnote. |
void |
endFootnoteBody(FootnoteBody body)
Process the ending of a footnote body. |
void |
endHeader(TableHeader header)
|
void |
endInline(Inline inl)
|
void |
endInstreamForeignObject(InstreamForeignObject ifo)
Process the end of an InstreamForeignObject. |
void |
endLink(BasicLink basicLink)
Process end of a Link. |
void |
endList(ListBlock lb)
|
void |
endListBody(ListItemBody listItemBody)
Process end of a ListBody. |
void |
endListItem(ListItem li)
|
void |
endListLabel(ListItemLabel listItemLabel)
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(StaticContent statisContent)
Process end of a Static. |
void |
endTable(Table tbl)
|
protected void |
handleIOTrouble(java.io.IOException ioe)
Central exception handler for I/O exceptions. |
void |
image(ExternalGraphic eg)
Process an ExternalGraphic. |
void |
pageRef()
Process a pageRef. |
void |
startBlock(Block bl)
|
void |
startBlockContainer(BlockContainer blc)
|
void |
startBody(TableBody body)
|
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(TableFooter footer)
|
void |
startFootnote(Footnote footnote)
Process the start of a footnote. |
void |
startFootnoteBody(FootnoteBody body)
Process the start of a footnote body. |
void |
startHeader(TableHeader header)
|
void |
startInline(Inline inl)
|
void |
startLeader(Leader l)
Process the start of a Leader. |
void |
startLink(BasicLink basicLink)
Process start of a Link. |
void |
startList(ListBlock lb)
|
void |
startListBody(ListItemBody listItemBody)
Process start of a ListBody. |
void |
startListItem(ListItem li)
|
void |
startListLabel(ListItemLabel listItemLabel)
Process start of a ListLabel. |
void |
startMarkup()
Process start of a Markup. |
void |
startPageNumber(PageNumber pagenum)
|
void |
startPageNumberCitation(PageNumberCitation l)
|
void |
startPageNumberCitationLast(PageNumberCitationLast l)
|
void |
startPageSequence(PageSequence pageSeq)
|
void |
startRow(TableRow tr)
|
void |
startStatic(StaticContent staticContent)
Process start of a Static. |
void |
startTable(Table tbl)
|
void |
text(FOText text,
java.lang.CharSequence characters)
|
| Methods inherited from class org.apache.fop.fo.FOEventHandler |
|---|
character, characters, endExternalDocument, endLeader, endPageNumberCitation, endPageNumberCitationLast, endRoot, endWrapper, getFontInfo, getResults, getUserAgent, startExternalDocument, startInstreamForeignObject, startRoot, startWrapper |
| 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 to| Method Detail |
|---|
protected void handleIOTrouble(java.io.IOException ioe)
ioe - IOException to handle
public void startDocument()
throws org.xml.sax.SAXException
startDocument in class FOEventHandlerorg.xml.sax.SAXException - In case of a problem
public void endDocument()
throws org.xml.sax.SAXException
endDocument in class FOEventHandlerorg.xml.sax.SAXException - In case of a problempublic void startPageSequence(PageSequence pageSeq)
startPageSequence in class FOEventHandlerpageSeq - PageSequence that is starting.public void endPageSequence(PageSequence pageSeq)
endPageSequence in class FOEventHandlerpageSeq - PageSequence that is ending.public void startFlow(Flow fl)
startFlow in class FOEventHandlerfl - Flow that is starting.public void endFlow(Flow fl)
endFlow in class FOEventHandlerfl - Flow that is ending.public void startBlock(Block bl)
startBlock in class FOEventHandlerbl - Block that is starting.public void endBlock(Block bl)
endBlock in class FOEventHandlerbl - Block that is ending.public void startBlockContainer(BlockContainer blc)
startBlockContainer in class FOEventHandlerblc - BlockContainer that is starting.public void endBlockContainer(BlockContainer bl)
endBlockContainer in class FOEventHandlerbl - BlockContainer that is ending.public void startTable(Table tbl)
startTable in class FOEventHandlertbl - Table that is starting.public void endTable(Table tbl)
endTable in class FOEventHandlertbl - Table that is ending.public void startColumn(TableColumn tc)
startColumn in class FOEventHandlertc - TableColumn that is starting;public void endColumn(TableColumn tc)
endColumn in class FOEventHandlertc - TableColumn that is ending;public void startHeader(TableHeader header)
startHeader in class FOEventHandlerheader - TableHeader that is starting;public void endHeader(TableHeader header)
endHeader in class FOEventHandlerheader - TableHeader that is ending.public void startFooter(TableFooter footer)
startFooter in class FOEventHandlerfooter - TableFooter that is starting.public void endFooter(TableFooter footer)
endFooter in class FOEventHandlerfooter - TableFooter that is ending.public void startInline(Inline inl)
startInline in class FOEventHandlerinl - Inline that is starting.public void endInline(Inline inl)
endInline in class FOEventHandlerinl - Inline that is ending.public void startBody(TableBody body)
startBody in class FOEventHandlerbody - TableBody that is starting.public void endBody(TableBody body)
endBody in class FOEventHandlerbody - TableBody that is ending.public void startRow(TableRow tr)
startRow in class FOEventHandlertr - TableRow that is starting.public void endRow(TableRow tr)
endRow in class FOEventHandlertr - TableRow that is ending.public void startCell(TableCell tc)
startCell in class FOEventHandlertc - TableCell that is starting.public void endCell(TableCell tc)
endCell in class FOEventHandlertc - TableCell that is ending.public void startList(ListBlock lb)
startList in class FOEventHandlerlb - ListBlock that is starting.public void endList(ListBlock lb)
endList in class FOEventHandlerlb - ListBlock that is ending.public void startListItem(ListItem li)
startListItem in class FOEventHandlerli - ListItem that is starting.public void endListItem(ListItem li)
endListItem in class FOEventHandlerli - ListItem that is ending.public void startListLabel(ListItemLabel listItemLabel)
startListLabel in class FOEventHandlerlistItemLabel - ListItemLabel that is startingpublic void endListLabel(ListItemLabel listItemLabel)
endListLabel in class FOEventHandlerlistItemLabel - ListItemLabel that is endingpublic void startListBody(ListItemBody listItemBody)
startListBody in class FOEventHandlerlistItemBody - ListItemBody that is startingpublic void endListBody(ListItemBody listItemBody)
endListBody in class FOEventHandlerlistItemBody - ListItemBody that is endingpublic void startStatic(StaticContent staticContent)
startStatic in class FOEventHandlerstaticContent - StaticContent that is startingpublic void endStatic(StaticContent statisContent)
endStatic in class FOEventHandlerstatisContent - StaticContent that is endingpublic void startMarkup()
startMarkup in class FOEventHandlerpublic void endMarkup()
endMarkup in class FOEventHandlerpublic void startLink(BasicLink basicLink)
startLink in class FOEventHandlerbasicLink - BasicLink that is startingpublic void endLink(BasicLink basicLink)
endLink in class FOEventHandlerbasicLink - BasicLink that is endingpublic void image(ExternalGraphic eg)
image in class FOEventHandlereg - ExternalGraphic to process.public void endInstreamForeignObject(InstreamForeignObject ifo)
endInstreamForeignObject in class FOEventHandlerifo - InstreamForeignObject that is endingpublic void pageRef()
pageRef in class FOEventHandlerpublic void startFootnote(Footnote footnote)
startFootnote in class FOEventHandlerfootnote - Footnote that is startingpublic void endFootnote(Footnote footnote)
endFootnote in class FOEventHandlerfootnote - Footnote that is endingpublic void startFootnoteBody(FootnoteBody body)
startFootnoteBody in class FOEventHandlerbody - FootnoteBody that is startingpublic void endFootnoteBody(FootnoteBody body)
endFootnoteBody in class FOEventHandlerbody - FootnoteBody that is endingpublic void startLeader(Leader l)
startLeader in class FOEventHandlerl - Leader that is starting
public void text(FOText text,
java.lang.CharSequence characters)
text - FOText objectcharacters - CharSequence of the characters to process.public void startPageNumber(PageNumber pagenum)
startPageNumber in class FOEventHandlerpagenum - PageNumber that is starting.public void endPageNumber(PageNumber pagenum)
endPageNumber in class FOEventHandlerpagenum - PageNumber that is ending.public void startPageNumberCitation(PageNumberCitation l)
startPageNumberCitation in class FOEventHandlerl - PageNumberCitation that is starting.public void startPageNumberCitationLast(PageNumberCitationLast l)
startPageNumberCitationLast in class FOEventHandlerl - PageNumberCitationLast that is starting.
|
fop 1.1 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||