Class RendererProxy
- java.lang.Object
-
- com.levigo.jadice.server.mail.worker.internal.fop.proxy.RendererProxy
-
- All Implemented Interfaces:
org.apache.fop.render.Renderer
public class RendererProxy extends Object implements org.apache.fop.render.Renderer
-
-
Constructor Summary
Constructors Constructor Description RendererProxy(org.apache.fop.render.Renderer target, com.levigo.jadice.server.mail.worker.internal.FopPDFContext context)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description org.apache.fop.render.Graphics2DAdapter
getGraphics2DAdapter()
org.apache.fop.render.ImageAdapter
getImageAdapter()
String
getMimeType()
org.apache.fop.apps.FOUserAgent
getUserAgent()
void
preparePage(org.apache.fop.area.PageViewport page)
void
processOffDocumentItem(org.apache.fop.area.OffDocumentItem odi)
void
renderPage(org.apache.fop.area.PageViewport page)
void
setDocumentLocale(Locale locale)
void
setupFontInfo(org.apache.fop.fonts.FontInfo fontInfo)
void
startPageSequence(org.apache.fop.area.LineArea seqTitle)
Deprecated.UsestartPageSequence(PageSequence)
insteadvoid
startPageSequence(org.apache.fop.area.PageSequence pageSequence)
void
startRenderer(OutputStream outputStream)
void
stopRenderer()
boolean
supportsOutOfOrder()
-
-
-
Method Detail
-
getMimeType
public String getMimeType()
- Specified by:
getMimeType
in interfaceorg.apache.fop.render.Renderer
-
startRenderer
public void startRenderer(OutputStream outputStream) throws IOException
- Specified by:
startRenderer
in interfaceorg.apache.fop.render.Renderer
- Throws:
IOException
-
stopRenderer
public void stopRenderer() throws IOException
- Specified by:
stopRenderer
in interfaceorg.apache.fop.render.Renderer
- Throws:
IOException
-
getUserAgent
public org.apache.fop.apps.FOUserAgent getUserAgent()
- Specified by:
getUserAgent
in interfaceorg.apache.fop.render.Renderer
-
setupFontInfo
public void setupFontInfo(org.apache.fop.fonts.FontInfo fontInfo) throws org.apache.fop.apps.FOPException
- Specified by:
setupFontInfo
in interfaceorg.apache.fop.render.Renderer
- Throws:
org.apache.fop.apps.FOPException
-
supportsOutOfOrder
public boolean supportsOutOfOrder()
- Specified by:
supportsOutOfOrder
in interfaceorg.apache.fop.render.Renderer
-
setDocumentLocale
public void setDocumentLocale(Locale locale)
- Specified by:
setDocumentLocale
in interfaceorg.apache.fop.render.Renderer
-
processOffDocumentItem
public void processOffDocumentItem(org.apache.fop.area.OffDocumentItem odi)
- Specified by:
processOffDocumentItem
in interfaceorg.apache.fop.render.Renderer
-
getGraphics2DAdapter
public org.apache.fop.render.Graphics2DAdapter getGraphics2DAdapter()
- Specified by:
getGraphics2DAdapter
in interfaceorg.apache.fop.render.Renderer
-
getImageAdapter
public org.apache.fop.render.ImageAdapter getImageAdapter()
- Specified by:
getImageAdapter
in interfaceorg.apache.fop.render.Renderer
-
preparePage
public void preparePage(org.apache.fop.area.PageViewport page)
- Specified by:
preparePage
in interfaceorg.apache.fop.render.Renderer
-
startPageSequence
@Deprecated public void startPageSequence(org.apache.fop.area.LineArea seqTitle)
Deprecated.UsestartPageSequence(PageSequence)
insteadTells the renderer that a new page sequence starts.- Specified by:
startPageSequence
in interfaceorg.apache.fop.render.Renderer
- Parameters:
seqTitle
- The title of the page sequence
-
startPageSequence
public void startPageSequence(org.apache.fop.area.PageSequence pageSequence)
- Specified by:
startPageSequence
in interfaceorg.apache.fop.render.Renderer
-
renderPage
public void renderPage(org.apache.fop.area.PageViewport page) throws IOException, org.apache.fop.apps.FOPException
- Specified by:
renderPage
in interfaceorg.apache.fop.render.Renderer
- Throws:
IOException
org.apache.fop.apps.FOPException
-
-