org.apache.fop.render
Interface Renderer

All Known Implementing Classes:
AbstractRenderer, XMLRenderer

public interface Renderer

interface implement by all renderers. a Renderer implementation takes areas/spaces and produces output in some format.


Method Summary
 IDReferences getIDReferences()
           
 void render(Page page, OutputStream stream)
          render the given area tree to the given stream
 void renderAreaContainer(AreaContainer area)
          render the given area container
 void renderBlockArea(BlockArea area)
          render the given block area
 void renderBodyAreaContainer(BodyAreaContainer area)
          render the given area container
 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 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 renderRegionAreaContainer(AreaContainer area)
          render the given region area container
 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 setLogger(org.apache.avalon.framework.logger.Logger logger)
          Set the logger
 void setOptions(Map options)
          set up renderer options
 void setProducer(String producer)
          set the producer of the rendering
 void setupFontInfo(FontInfo fontInfo)
          set up the given FontInfo
 void startRenderer(OutputStream outputStream)
           
 void stopRenderer(OutputStream outputStream)
           
 

Method Detail

setLogger

public void setLogger(org.apache.avalon.framework.logger.Logger logger)
Set the logger


setupFontInfo

public void setupFontInfo(FontInfo fontInfo)
                   throws FOPException
set up the given FontInfo

Throws:
FOPException

setOptions

public void setOptions(Map options)
set up renderer options


setProducer

public void setProducer(String producer)
set the producer of the rendering


render

public void render(Page page,
                   OutputStream stream)
            throws IOException,
                   FOPException
render the given area tree to the given stream

Throws:
IOException
FOPException

renderAreaContainer

public void renderAreaContainer(AreaContainer area)
render the given area container


renderBodyAreaContainer

public void renderBodyAreaContainer(BodyAreaContainer area)
render the given area container


renderRegionAreaContainer

public void renderRegionAreaContainer(AreaContainer area)
render the given region area container


renderSpanArea

public void renderSpanArea(SpanArea area)
render the given span area


renderBlockArea

public void renderBlockArea(BlockArea area)
render the given block area


renderDisplaySpace

public void renderDisplaySpace(DisplaySpace space)
render the given display space


renderSVGArea

public void renderSVGArea(SVGArea area)
render the given SVG area


renderForeignObjectArea

public void renderForeignObjectArea(ForeignObjectArea area)
render a foreign object area


renderImageArea

public void renderImageArea(ImageArea area)
render the given image area


renderWordArea

public void renderWordArea(WordArea area)
render the given inline area


renderInlineSpace

public void renderInlineSpace(InlineSpace space)
render the given inline space


renderLineArea

public void renderLineArea(LineArea area)
render the given line area


renderPage

public void renderPage(Page page)
render the given page


renderLeaderArea

public void renderLeaderArea(LeaderArea area)
render the given leader area


startRenderer

public void startRenderer(OutputStream outputStream)
                   throws IOException
Throws:
IOException

stopRenderer

public void stopRenderer(OutputStream outputStream)
                  throws IOException
Throws:
IOException

getIDReferences

public IDReferences getIDReferences()


Copyright ? 1999-2003 Apache Software Foundation. All Rights Reserved.