|
fop 0.95 | ||||||||||
| 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.mif.MIFHandler
The MIF Handler. This generates MIF output using the structure events from the FO Tree sent to this structure handler. This builds an MIF file and writes it to the output.
| Field Summary | |
protected MIFFile |
mifFile
the MIFFile instance |
protected java.io.OutputStream |
outStream
the OutputStream to write to |
| Fields inherited from class org.apache.fop.fo.FOEventHandler |
fontInfo, foUserAgent, propertyListMaker, whiteSpaceHandler |
| Constructor Summary | |
MIFHandler(FOUserAgent ua,
java.io.OutputStream os)
Creates a new MIF handler on a given OutputStream. |
|
| Method Summary | |
void |
characters(char[] data,
int start,
int length)
Process character data. |
void |
endBlock(Block 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 |
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)
Start the page sequence. |
void |
startRow(TableRow tr)
|
void |
startStatic()
Process start of a Static. |
void |
startTable(Table tbl)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected MIFFile mifFile
protected java.io.OutputStream outStream
| Constructor Detail |
public MIFHandler(FOUserAgent ua,
java.io.OutputStream os)
ua - FOUserAgent instance for this processos - OutputStream to write to| Method Detail |
public void startDocument()
throws org.xml.sax.SAXException
FOEventHandler
startDocument in class FOEventHandlerorg.xml.sax.SAXException - In case of a problemFOEventHandler.startDocument()
public void endDocument()
throws org.xml.sax.SAXException
FOEventHandler
endDocument in class FOEventHandlerorg.xml.sax.SAXException - In case of a problemFOEventHandler.endDocument()public void startPageSequence(PageSequence pageSeq)
startPageSequence in class FOEventHandlerpageSeq - PageSequence that is starting.FOEventHandlerpublic void endPageSequence(PageSequence pageSeq)
endPageSequence in class FOEventHandlerpageSeq - PageSequence that is ending.FOEventHandler.endPageSequence(PageSequence)public void startFlow(Flow fl)
FOEventHandler
startFlow in class FOEventHandlerfl - Flow that is starting.FOEventHandler.startFlow(Flow)public void endFlow(Flow fl)
endFlow in class FOEventHandlerfl - Flow that is ending.FOEventHandler.endFlow(Flow)public void startBlock(Block bl)
startBlock in class FOEventHandlerbl - Block that is starting.FOEventHandler.startBlock(Block)public void endBlock(Block bl)
endBlock in class FOEventHandlerbl - Block that is ending.FOEventHandler.endBlock(Block)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 startTable(Table tbl)
startTable in class FOEventHandlertbl - Table that is starting.FOEventHandler.startTable(Table)public void endTable(Table tbl)
endTable in class FOEventHandlertbl - Table that is ending.FOEventHandler.endTable(Table)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(TableBody th)
startHeader in class FOEventHandlerth - TableBody that is starting;FOEventHandler.startHeader(TableBody)public void endHeader(TableBody th)
endHeader in class FOEventHandlerth - TableBody that is ending.FOEventHandler.endHeader(TableBody)public void startFooter(TableBody tf)
startFooter in class FOEventHandlertf - TableFooter that is starting.FOEventHandler.startFooter(TableBody)public void endFooter(TableBody tf)
endFooter in class FOEventHandlertf - TableFooter that is ending.FOEventHandler.endFooter(TableBody)public void startBody(TableBody tb)
startBody in class FOEventHandlertb - TableBody that is starting.FOEventHandler.startBody(TableBody)public void endBody(TableBody tb)
endBody in class FOEventHandlertb - TableBody that is ending.FOEventHandler.endBody(TableBody)public void startRow(TableRow tr)
startRow in class FOEventHandlertr - TableRow that is starting.FOEventHandler.startRow(TableRow)public void endRow(TableRow tr)
endRow in class FOEventHandlertr - TableRow that is ending.FOEventHandler.endRow(TableRow)public void startCell(TableCell tc)
startCell in class FOEventHandlertc - TableCell that is starting.FOEventHandler.startCell(TableCell)public void endCell(TableCell tc)
endCell in class FOEventHandlertc - TableCell that is ending.FOEventHandler.endCell(TableCell)public void startList(ListBlock lb)
startList in class FOEventHandlerlb - ListBlock that is starting.FOEventHandler.startList(ListBlock)public void endList(ListBlock lb)
endList in class FOEventHandlerlb - ListBlock that is ending.FOEventHandler.endList(ListBlock)public void startListItem(ListItem li)
startListItem in class FOEventHandlerli - ListItem that is starting.FOEventHandler.startListItem(ListItem)public void endListItem(ListItem li)
endListItem in class FOEventHandlerli - ListItem that is ending.FOEventHandler.endListItem(ListItem)public void startListLabel()
FOEventHandler
startListLabel in class FOEventHandlerFOEventHandler.startListLabel()public void endListLabel()
FOEventHandler
endListLabel in class FOEventHandlerFOEventHandler.endListLabel()public void startListBody()
FOEventHandler
startListBody in class FOEventHandlerFOEventHandler.startListBody()public void endListBody()
FOEventHandler
endListBody in class FOEventHandlerFOEventHandler.endListBody()public void startStatic()
FOEventHandler
startStatic in class FOEventHandlerFOEventHandler.startStatic()public void endStatic()
FOEventHandler
endStatic in class FOEventHandlerFOEventHandler.endStatic()public void startMarkup()
FOEventHandler
startMarkup in class FOEventHandlerFOEventHandler.startMarkup()public void endMarkup()
FOEventHandler
endMarkup in class FOEventHandlerFOEventHandler.endMarkup()public void startLink(BasicLink basicLink)
FOEventHandler
startLink in class FOEventHandlerbasicLink - BasicLink that is endingFOEventHandler.startLink(BasicLink basicLink)public void endLink()
FOEventHandler
endLink in class FOEventHandlerFOEventHandler.endLink()public void image(ExternalGraphic eg)
FOEventHandler
image in class FOEventHandlereg - ExternalGraphic to process.FOEventHandler.image(ExternalGraphic)public void pageRef()
FOEventHandler
pageRef in class FOEventHandlerFOEventHandler.pageRef()public void foreignObject(InstreamForeignObject ifo)
FOEventHandler
foreignObject in class FOEventHandlerifo - InstreamForeignObject to process.FOEventHandler.foreignObject(InstreamForeignObject)public void startFootnote(Footnote footnote)
FOEventHandler
startFootnote in class FOEventHandlerfootnote - Footnote that is startingFOEventHandler.startFootnote(Footnote)public void endFootnote(Footnote footnote)
FOEventHandler
endFootnote in class FOEventHandlerfootnote - Footnote that is endingFOEventHandler.endFootnote(Footnote)public void startFootnoteBody(FootnoteBody body)
FOEventHandler
startFootnoteBody in class FOEventHandlerbody - FootnoteBody that is startingFOEventHandler.startFootnoteBody(FootnoteBody)public void endFootnoteBody(FootnoteBody body)
FOEventHandler
endFootnoteBody in class FOEventHandlerbody - FootnoteBody that is endingFOEventHandler.endFootnoteBody(FootnoteBody)public void leader(Leader l)
FOEventHandler
leader in class FOEventHandlerl - Leader to process.FOEventHandler.leader(Leader)
public void characters(char[] data,
int start,
int length)
FOEventHandler
characters in class FOEventHandlerdata - Array of characters to process.start - Offset for characters to process.length - Portion of array to process.FOEventHandler.characters(char[], int, int)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.
|
fop 0.95 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||