|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.fop.render.AbstractRenderer | +--org.apache.fop.render.mif.MIFRenderer
Renderer that renders areas to MIF Modified by Mark Lillywhite mark-fop@inomial.com. Updated to collect all the Pages and print them out at the end. This means that the MIF renderer does not stream, but on the other hand it should still work. I don't have an MIF view to test it with, you see.
Field Summary | |
protected int |
currentXPosition
the current horizontal position in millipoints from left |
protected int |
currentYPosition
the current vertical position in millipoints from bottom |
protected MIFDocument |
mifDoc
the MIF Document being created |
protected java.util.Hashtable |
options
options |
Fields inherited from class org.apache.fop.render.AbstractRenderer |
currentAreaContainerXPosition, log |
Constructor Summary | |
MIFRenderer()
create the MIF renderer |
Method Summary | |
protected void |
addFilledRect(int x,
int y,
int w,
int h,
ColorType col)
Add a filled rectangle to the current stream This default implementation calls addRect using the same color for fill and border. |
protected void |
doFrame(Area area)
|
void |
render(Page page,
java.io.OutputStream outputStream)
render the given area tree to the given stream |
void |
renderAreaContainer(AreaContainer area)
render area container |
void |
renderBlockArea(BlockArea area)
render the given block area |
void |
renderDisplaySpace(DisplaySpace space)
render the given display space |
void |
renderForeignObjectArea(ForeignObjectArea area)
render a foreign object area |
void |
renderImageArea(ImageArea area)
render the given image area |
void |
renderInlineArea(InlineArea area)
render the given inline area |
void |
renderInlineSpace(InlineSpace space)
render the given inline space |
void |
renderLeaderArea(LeaderArea area)
render the given leader area |
void |
renderLineArea(LineArea area)
render the given line area |
void |
renderPage(Page page)
render the given page |
void |
renderSpanArea(SpanArea area)
render the given span area |
void |
renderSVGArea(SVGArea area)
render the given SVG area |
void |
renderWordArea(WordArea area)
render the given inline area |
void |
setOptions(java.util.Hashtable options)
set up renderer options |
void |
setProducer(java.lang.String producer)
set the producer of the rendering |
void |
setupFontInfo(FontInfo fontInfo)
set up the given FontInfo |
void |
startRenderer(java.io.OutputStream outputStream)
Default start renderer method. |
void |
stopRenderer(java.io.OutputStream outputStream)
Default stop renderer method. |
Methods inherited from class org.apache.fop.render.AbstractRenderer |
renderBodyAreaContainer, setLogger |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int currentYPosition
protected int currentXPosition
protected MIFDocument mifDoc
protected java.util.Hashtable options
Constructor Detail |
public MIFRenderer()
Method Detail |
public void setOptions(java.util.Hashtable options)
public void setupFontInfo(FontInfo fontInfo)
public void setProducer(java.lang.String producer)
public void renderAreaContainer(AreaContainer area)
AbstractRenderer
renderAreaContainer
in class AbstractRenderer
org.apache.fop.render.AbstractRenderer
area
- the area container to renderprotected void addFilledRect(int x, int y, int w, int h, ColorType col)
AbstractRenderer
addFilledRect
in class AbstractRenderer
org.apache.fop.render.AbstractRenderer
x
- the x position of left edge in millipointsy
- the y position of top edge in millipointsw
- the width in millipointsh
- the height in millipointsfill
- the fill color/gradientprotected void doFrame(Area area)
doFrame
in class AbstractRenderer
public void renderSpanArea(SpanArea area)
Renderer
renderSpanArea
in class AbstractRenderer
public void renderBlockArea(BlockArea area)
renderBlockArea
in class AbstractRenderer
org.apache.fop.render.AbstractRenderer
area
- the block area to renderpublic void renderDisplaySpace(DisplaySpace space)
public void renderSVGArea(SVGArea area)
public void renderForeignObjectArea(ForeignObjectArea area)
public void renderWordArea(WordArea area)
Renderer
public void renderImageArea(ImageArea area)
public void renderInlineArea(InlineArea area)
public void renderInlineSpace(InlineSpace space)
public void renderLineArea(LineArea area)
renderLineArea
in class AbstractRenderer
org.apache.fop.render.AbstractRenderer
area
- area to renderpublic void renderPage(Page page)
public void renderLeaderArea(LeaderArea area)
public void startRenderer(java.io.OutputStream outputStream) throws java.io.IOException
public void stopRenderer(java.io.OutputStream outputStream) throws java.io.IOException
public void render(Page page, java.io.OutputStream outputStream)
Renderer
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |