org.mapfish.print
Class RenderingContext
java.lang.Object
org.mapfish.print.RenderingContext
public class RenderingContext
- extends java.lang.Object
Holds some "per rendering request" information.
|
Constructor Summary |
RenderingContext(com.lowagie.text.Document document,
com.lowagie.text.pdf.PdfWriter writer,
Config config,
PJsonObject globalParams,
java.lang.String configDir,
Layout layout,
java.lang.String referer)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RenderingContext
public RenderingContext(com.lowagie.text.Document document,
com.lowagie.text.pdf.PdfWriter writer,
Config config,
PJsonObject globalParams,
java.lang.String configDir,
Layout layout,
java.lang.String referer)
getCustomBlocks
public PDFCustomBlocks getCustomBlocks()
getDocument
public com.lowagie.text.Document getDocument()
getConfig
public Config getConfig()
getWriter
public com.lowagie.text.pdf.PdfWriter getWriter()
getDirectContent
public com.lowagie.text.pdf.PdfContentByte getDirectContent()
getGlobalParams
public PJsonObject getGlobalParams()
getConfigDir
public java.lang.String getConfigDir()
getLayout
public Layout getLayout()
addError
public void addError(java.lang.Exception e)
getStyleFactor
public float getStyleFactor()
setStyleFactor
public void setStyleFactor(float styleFactor)
getTemplateCache
public java.util.Map<java.net.URI,com.lowagie.text.pdf.PdfTemplate> getTemplateCache()
getReferer
public java.lang.String getReferer()
getPdfLock
public java.lang.Object getPdfLock()
Copyright © 2009 Camptocamp SA. All Rights Reserved.