fop 0.95

Uses of Class
org.apache.fop.render.RendererContext

Packages that use RendererContext
org.apache.fop.render Generic renderer interface. 
org.apache.fop.render.afp   
org.apache.fop.render.java2d Java2D Renderer which paints rendered pages on Graphics2D instances. 
org.apache.fop.render.pcl PCL Renderer (Supports PCL5 and HP GL/2) 
org.apache.fop.render.pdf PDF Renderer 
org.apache.fop.render.ps PostScript Renderer 
org.apache.fop.render.svg SVG (Structured Vector Graphics) Renderer 
org.apache.fop.render.xml Area Tree XML Renderer. 
 

Uses of RendererContext in org.apache.fop.render
 

Fields in org.apache.fop.render declared as RendererContext
protected  RendererContext RendererContext.RendererContextWrapper.context
          The wrapped RendererContext
 

Methods in org.apache.fop.render that return RendererContext
protected  RendererContext PrintRenderer.createRendererContext(int x, int y, int width, int height, java.util.Map foreignAttributes)
          Creates a RendererContext for an image.
 

Methods in org.apache.fop.render with parameters of type RendererContext
 void XMLHandler.handleXML(RendererContext context, org.w3c.dom.Document doc, java.lang.String ns)
          Handle an external xml document inside a Foreign Object Area.
 void ImageAdapter.paintImage(java.awt.image.RenderedImage image, RendererContext context, int x, int y, int width, int height)
          Paints an image at the given position.
 void AbstractGenericSVGHandler.handleXML(RendererContext context, org.w3c.dom.Document doc, java.lang.String ns)
          

Handle an external xml document inside a Foreign Object Area.

This may throw an exception if for some reason it cannot be handled. The caller is expected to deal with this exception.

The implementation may convert the XML document internally to another XML dialect (SVG, for example) and call renderXML() on the AbstractRenderer again (which can be retrieved through the RendererContext).

protected  void AbstractGenericSVGHandler.renderSVGDocument(RendererContext context, org.w3c.dom.Document doc)
          Render the SVG document.
protected  void AbstractGenericSVGHandler.updateRendererContext(RendererContext context)
          Override this method to update the renderer context if it needs special settings for certain conditions.
 void AbstractRenderer.renderXML(RendererContext ctx, org.w3c.dom.Document doc, java.lang.String namespace)
          Render the xml document with the given xml namespace.
 void AbstractGraphics2DAdapter.paintImage(Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Paints an arbitrary images on a given Graphics2D instance. The renderer providing this functionality must set up a Graphics2D instance so that the image with the given extents (in mpt) can be painted by the painter passed to this method. The Graphics2DImagePainter is then passed this Graphics2D instance so the image can be painted.
static RendererContext.RendererContextWrapper RendererContext.wrapRendererContext(RendererContext context)
          Wrap the render context to allow easier access to its values.
 void Graphics2DAdapter.paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Paints an arbitrary images on a given Graphics2D instance.
 void Graphics2DAdapter.paintImage(Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Deprecated. Use the variant with the Graphics2DImagePainter from XML Graphics Commons instead
 void XMLHandlerConfigurator.configure(RendererContext context, java.lang.String ns)
          Configures renderer context by setting the handler configuration on it.
 

Constructors in org.apache.fop.render with parameters of type RendererContext
RendererContext.RendererContextWrapper(RendererContext context)
          Main constructor
 

Uses of RendererContext in org.apache.fop.render.afp
 

Methods in org.apache.fop.render.afp that return RendererContext
protected  RendererContext AFPRenderer.createRendererContext(int x, int y, int width, int height, java.util.Map foreignAttributes)
          Creates a RendererContext for an image.
 

Methods in org.apache.fop.render.afp with parameters of type RendererContext
protected  void AFPSVGHandler.updateRendererContext(RendererContext context)
          Override this method to update the renderer context if it needs special settings for certain conditions.
 void AFPGraphics2DAdapter.paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Paints an arbitrary images on a given Graphics2D instance. The renderer providing this functionality must set up a Graphics2D instance so that the image with the given extents (in mpt) can be painted by the painter passed to this method. The Graphics2DImagePainter is then passed this Graphics2D instance so the image can be painted.
 

Uses of RendererContext in org.apache.fop.render.java2d
 

Methods in org.apache.fop.render.java2d that return RendererContext
protected  RendererContext Java2DRenderer.createRendererContext(int x, int y, int width, int height, java.util.Map foreignAttributes)
          Creates a RendererContext for an image.
 

Methods in org.apache.fop.render.java2d with parameters of type RendererContext
 void Java2DSVGHandler.handleXML(RendererContext context, org.w3c.dom.Document doc, java.lang.String ns)
          

Handle an external xml document inside a Foreign Object Area.

This may throw an exception if for some reason it cannot be handled. The caller is expected to deal with this exception.

The implementation may convert the XML document internally to another XML dialect (SVG, for example) and call renderXML() on the AbstractRenderer again (which can be retrieved through the RendererContext).

static Java2DSVGHandler.Java2DInfo Java2DSVGHandler.getJava2DInfo(RendererContext context)
          Get the pdf information from the render context.
protected  void Java2DSVGHandler.renderSVGDocument(RendererContext context, org.w3c.dom.Document doc, Java2DSVGHandler.Java2DInfo info)
          Render the svg document.
 void Java2DGraphics2DAdapter.paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Paints an arbitrary images on a given Graphics2D instance. The renderer providing this functionality must set up a Graphics2D instance so that the image with the given extents (in mpt) can be painted by the painter passed to this method. The Graphics2DImagePainter is then passed this Graphics2D instance so the image can be painted.
 

Uses of RendererContext in org.apache.fop.render.pcl
 

Methods in org.apache.fop.render.pcl that return RendererContext
protected  RendererContext PCLRenderer.createRendererContext(int x, int y, int width, int height, java.util.Map foreignAttributes)
          Creates a RendererContext for an image.
 

Methods in org.apache.fop.render.pcl with parameters of type RendererContext
protected  void PCLSVGHandler.updateRendererContext(RendererContext context)
          Override this method to update the renderer context if it needs special settings for certain conditions.
static PCLRendererContext PCLRendererContext.wrapRendererContext(RendererContext context)
          Wrap the render context to allow easier access to its values.
 void PCLGraphics2DAdapter.paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Paints an arbitrary images on a given Graphics2D instance. The renderer providing this functionality must set up a Graphics2D instance so that the image with the given extents (in mpt) can be painted by the painter passed to this method. The Graphics2DImagePainter is then passed this Graphics2D instance so the image can be painted.
 

Constructors in org.apache.fop.render.pcl with parameters of type RendererContext
PCLRendererContext(RendererContext context)
          Main constructor
 

Uses of RendererContext in org.apache.fop.render.pdf
 

Methods in org.apache.fop.render.pdf that return RendererContext
protected  RendererContext PDFRenderer.createRendererContext(int x, int y, int width, int height, java.util.Map foreignAttributes)
          Creates a RendererContext for an image.
 

Methods in org.apache.fop.render.pdf with parameters of type RendererContext
 PDFXObject PDFImageHandlerXML.generateImage(RendererContext context, org.apache.xmlgraphics.image.loader.Image image, java.awt.Point origin, java.awt.Rectangle pos)
          Generates the PDF objects for the given Image instance. If the handler generates an XObject, it shall return it or otherwise return null. A generated XObject shall be placed in the current viewport according to the two parameters "origin" and "pos".
 void PDFGraphics2DAdapter.paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Paints an arbitrary images on a given Graphics2D instance. The renderer providing this functionality must set up a Graphics2D instance so that the image with the given extents (in mpt) can be painted by the painter passed to this method. The Graphics2DImagePainter is then passed this Graphics2D instance so the image can be painted.
static PDFSVGHandler.PDFInfo PDFSVGHandler.getPDFInfo(RendererContext context)
          Get the pdf information from the render context.
protected  void PDFSVGHandler.renderSVGDocument(RendererContext context, org.w3c.dom.Document doc)
          Render the SVG document.
 PDFXObject PDFImageHandlerRawJPEG.generateImage(RendererContext context, org.apache.xmlgraphics.image.loader.Image image, java.awt.Point origin, java.awt.Rectangle pos)
          Generates the PDF objects for the given Image instance. If the handler generates an XObject, it shall return it or otherwise return null. A generated XObject shall be placed in the current viewport according to the two parameters "origin" and "pos".
 PDFXObject PDFImageHandlerGraphics2D.generateImage(RendererContext context, org.apache.xmlgraphics.image.loader.Image image, java.awt.Point origin, java.awt.Rectangle pos)
          Generates the PDF objects for the given Image instance. If the handler generates an XObject, it shall return it or otherwise return null. A generated XObject shall be placed in the current viewport according to the two parameters "origin" and "pos".
 PDFXObject PDFImageHandlerRenderedImage.generateImage(RendererContext context, org.apache.xmlgraphics.image.loader.Image image, java.awt.Point origin, java.awt.Rectangle pos)
          Generates the PDF objects for the given Image instance. If the handler generates an XObject, it shall return it or otherwise return null. A generated XObject shall be placed in the current viewport according to the two parameters "origin" and "pos".
 PDFXObject PDFImageHandlerRawCCITTFax.generateImage(RendererContext context, org.apache.xmlgraphics.image.loader.Image image, java.awt.Point origin, java.awt.Rectangle pos)
          Generates the PDF objects for the given Image instance. If the handler generates an XObject, it shall return it or otherwise return null. A generated XObject shall be placed in the current viewport according to the two parameters "origin" and "pos".
 PDFXObject PDFImageHandler.generateImage(RendererContext context, org.apache.xmlgraphics.image.loader.Image image, java.awt.Point origin, java.awt.Rectangle pos)
          Generates the PDF objects for the given Image instance.
 

Uses of RendererContext in org.apache.fop.render.ps
 

Methods in org.apache.fop.render.ps that return RendererContext
protected  RendererContext PSRenderer.createRendererContext(int x, int y, int width, int height, java.util.Map foreignAttributes)
          Creates a RendererContext for an image.
 

Methods in org.apache.fop.render.ps with parameters of type RendererContext
 void PSRenderer.paintImage(java.awt.image.RenderedImage image, RendererContext context, int x, int y, int width, int height)
          Paints an image at the given position.
 void PSSVGHandler.handleXML(RendererContext context, org.w3c.dom.Document doc, java.lang.String ns)
          

Handle an external xml document inside a Foreign Object Area.

This may throw an exception if for some reason it cannot be handled. The caller is expected to deal with this exception.

The implementation may convert the XML document internally to another XML dialect (SVG, for example) and call renderXML() on the AbstractRenderer again (which can be retrieved through the RendererContext).

static PSSVGHandler.PSInfo PSSVGHandler.getPSInfo(RendererContext context)
          Get the pdf information from the render context.
protected  void PSSVGHandler.renderSVGDocument(RendererContext context, org.w3c.dom.Document doc, PSSVGHandler.PSInfo psInfo)
          Render the svg document.
 void PSGraphics2DAdapter.paintImage(org.apache.xmlgraphics.java2d.Graphics2DImagePainter painter, RendererContext context, int x, int y, int width, int height)
          Paints an arbitrary images on a given Graphics2D instance. The renderer providing this functionality must set up a Graphics2D instance so that the image with the given extents (in mpt) can be painted by the painter passed to this method. The Graphics2DImagePainter is then passed this Graphics2D instance so the image can be painted.
 

Uses of RendererContext in org.apache.fop.render.svg
 

Methods in org.apache.fop.render.svg with parameters of type RendererContext
 void SVGSVGHandler.handleXML(RendererContext context, org.w3c.dom.Document doc, java.lang.String ns)
           
 

Uses of RendererContext in org.apache.fop.render.xml
 

Methods in org.apache.fop.render.xml with parameters of type RendererContext
 void XMLXMLHandler.handleXML(RendererContext context, org.w3c.dom.Document doc, java.lang.String ns)
          

Handle an external xml document inside a Foreign Object Area.

This may throw an exception if for some reason it cannot be handled. The caller is expected to deal with this exception.

The implementation may convert the XML document internally to another XML dialect (SVG, for example) and call renderXML() on the AbstractRenderer again (which can be retrieved through the RendererContext).

 


fop 0.95

Copyright 1999-2008 The Apache Software Foundation. All Rights Reserved.