|
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.mif.MIFHandler
public class 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 |
Constructor Summary | |
---|---|
MIFHandler(FOUserAgent ua,
java.io.OutputStream os)
Creates a new MIF handler on a given OutputStream. |
Method Summary | |
---|---|
void |
character(Character c)
Process a Character. |
void |
characters(FOText foText)
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(TableFooter tf)
|
void |
endFootnote(Footnote footnote)
Process the ending of a footnote. |
void |
endFootnoteBody(FootnoteBody body)
Process the ending of a footnote body. |
void |
endHeader(TableHeader th)
|
void |
endInline(Inline inl)
|
void |
endInstreamForeignObject(InstreamForeignObject ifo)
Process the end of an InstreamForeignObject. |
void |
endLeader(Leader l)
Process the end of a Leader. |
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 staticContent)
Process end of a Static. |
void |
endTable(Table tbl)
|
void |
image(ExternalGraphic eg)
Process an ExternalGraphic. |
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(TableFooter tf)
|
void |
startFootnote(Footnote footnote)
Process the start of a footnote. |
void |
startFootnoteBody(FootnoteBody body)
Process the start of a footnote body. |
void |
startHeader(TableHeader th)
|
void |
startInline(Inline inl)
|
void |
startInstreamForeignObject(InstreamForeignObject ifo)
Process the start of an InstreamForeignObject. |
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 |
startPageSequence(PageSequence pageSeq)
|
void |
startRow(TableRow tr)
|
void |
startStatic(StaticContent staticContent)
Process start of a Static. |
void |
startTable(Table tbl)
|
Methods inherited from class org.apache.fop.fo.FOEventHandler |
---|
endBlockContainer, endExternalDocument, endPageNumberCitation, endPageNumberCitationLast, endRoot, endWrapper, getFontInfo, getResults, getUserAgent, startBlockContainer, startExternalDocument, startPageNumberCitation, startPageNumberCitationLast, startRoot, startWrapper |
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 toMethod Detail |
---|
public void startDocument() throws org.xml.sax.SAXException
startDocument
in class FOEventHandler
org.xml.sax.SAXException
- In case of a problempublic void endDocument() throws org.xml.sax.SAXException
endDocument
in class FOEventHandler
org.xml.sax.SAXException
- In case of a problempublic void startPageSequence(PageSequence pageSeq)
startPageSequence
in class FOEventHandler
pageSeq
- PageSequence that is starting.public void endPageSequence(PageSequence pageSeq)
endPageSequence
in class FOEventHandler
pageSeq
- PageSequence that is ending.public void startFlow(Flow fl)
startFlow
in class FOEventHandler
fl
- Flow that is starting.public void endFlow(Flow fl)
endFlow
in class FOEventHandler
fl
- Flow that is ending.public void startBlock(Block bl)
startBlock
in class FOEventHandler
bl
- Block that is starting.public void endBlock(Block bl)
endBlock
in class FOEventHandler
bl
- Block that is ending.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 startTable(Table tbl)
startTable
in class FOEventHandler
tbl
- Table that is starting.public void endTable(Table tbl)
endTable
in class FOEventHandler
tbl
- Table that is ending.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(TableHeader th)
startHeader
in class FOEventHandler
th
- TableHeader that is starting;public void endHeader(TableHeader th)
endHeader
in class FOEventHandler
th
- TableHeader that is ending.public void startFooter(TableFooter tf)
startFooter
in class FOEventHandler
tf
- TableFooter that is starting.public void endFooter(TableFooter tf)
endFooter
in class FOEventHandler
tf
- TableFooter that is ending.public void startBody(TableBody tb)
startBody
in class FOEventHandler
tb
- TableBody that is starting.public void endBody(TableBody tb)
endBody
in class FOEventHandler
tb
- TableBody that is ending.public void startRow(TableRow tr)
startRow
in class FOEventHandler
tr
- TableRow that is starting.public void endRow(TableRow tr)
endRow
in class FOEventHandler
tr
- TableRow that is ending.public void startCell(TableCell tc)
startCell
in class FOEventHandler
tc
- TableCell that is starting.public void endCell(TableCell tc)
endCell
in class FOEventHandler
tc
- TableCell that is ending.public void startList(ListBlock lb)
startList
in class FOEventHandler
lb
- ListBlock that is starting.public void endList(ListBlock lb)
endList
in class FOEventHandler
lb
- ListBlock that is ending.public void startListItem(ListItem li)
startListItem
in class FOEventHandler
li
- ListItem that is starting.public void endListItem(ListItem li)
endListItem
in class FOEventHandler
li
- ListItem that is ending.public void startListLabel(ListItemLabel listItemLabel)
startListLabel
in class FOEventHandler
listItemLabel
- ListItemLabel that is startingpublic void endListLabel(ListItemLabel listItemLabel)
endListLabel
in class FOEventHandler
listItemLabel
- ListItemLabel that is endingpublic void startListBody(ListItemBody listItemBody)
startListBody
in class FOEventHandler
listItemBody
- ListItemBody that is startingpublic void endListBody(ListItemBody listItemBody)
endListBody
in class FOEventHandler
listItemBody
- ListItemBody that is endingpublic void startStatic(StaticContent staticContent)
startStatic
in class FOEventHandler
staticContent
- StaticContent that is startingpublic void endStatic(StaticContent staticContent)
endStatic
in class FOEventHandler
staticContent
- StaticContent that is endingpublic void startMarkup()
startMarkup
in class FOEventHandler
public void endMarkup()
endMarkup
in class FOEventHandler
public void startLink(BasicLink basicLink)
startLink
in class FOEventHandler
basicLink
- BasicLink that is startingpublic void endLink(BasicLink basicLink)
endLink
in class FOEventHandler
basicLink
- BasicLink that is endingpublic void image(ExternalGraphic eg)
image
in class FOEventHandler
eg
- ExternalGraphic to process.public void pageRef()
pageRef
in class FOEventHandler
public void startInstreamForeignObject(InstreamForeignObject ifo)
startInstreamForeignObject
in class FOEventHandler
ifo
- InstreamForeignObject that is startingpublic void endInstreamForeignObject(InstreamForeignObject ifo)
endInstreamForeignObject
in class FOEventHandler
ifo
- InstreamForeignObject that is endingpublic void startFootnote(Footnote footnote)
startFootnote
in class FOEventHandler
footnote
- Footnote that is startingpublic void endFootnote(Footnote footnote)
endFootnote
in class FOEventHandler
footnote
- Footnote that is endingpublic void startFootnoteBody(FootnoteBody body)
startFootnoteBody
in class FOEventHandler
body
- FootnoteBody that is startingpublic void endFootnoteBody(FootnoteBody body)
endFootnoteBody
in class FOEventHandler
body
- FootnoteBody that is endingpublic void startLeader(Leader l)
startLeader
in class FOEventHandler
l
- Leader that is startingpublic void endLeader(Leader l)
endLeader
in class FOEventHandler
l
- Leader that is endingpublic void character(Character c)
FOEventHandler
character
in class FOEventHandler
c
- Character to process.public void characters(FOText foText)
characters
in class FOEventHandler
foText
- text to processpublic 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 1.1 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |