public class RenderingContext
extends java.lang.Object
| Constructor and Description |
|---|
RenderingContext(com.itextpdf.text.Document document,
com.itextpdf.text.pdf.PdfWriter writer,
Config config,
PJsonObject globalParams,
java.lang.String configDir,
Layout layout,
java.util.Map<java.lang.String,java.lang.String> headers) |
| Modifier and Type | Method and Description |
|---|---|
void |
addError(java.lang.Exception e) |
Config |
getConfig() |
java.lang.String |
getConfigDir() |
PJsonObject |
getCurrentPageParams() |
PDFCustomBlocks |
getCustomBlocks() |
com.itextpdf.text.pdf.PdfContentByte |
getDirectContent() |
com.itextpdf.text.Document |
getDocument() |
PJsonObject |
getGlobalParams() |
java.util.Map<java.lang.String,java.lang.String> |
getHeaders() |
Layout |
getLayout() |
java.util.Map<java.lang.String,PJsonObject> |
getMergeableParams(java.lang.String context)
Gets the set of mergeable parameters for the given context.
|
java.lang.Object |
getPdfLock() |
float |
getStyleFactor() |
java.util.Map<java.net.URI,com.itextpdf.text.pdf.PdfTemplate> |
getTemplateCache() |
com.itextpdf.text.pdf.PdfWriter |
getWriter() |
void |
setCurrentPageParams(PJsonObject pageParams) |
void |
setStyleFactor(float styleFactor) |
public RenderingContext(com.itextpdf.text.Document document,
com.itextpdf.text.pdf.PdfWriter writer,
Config config,
PJsonObject globalParams,
java.lang.String configDir,
Layout layout,
java.util.Map<java.lang.String,java.lang.String> headers)
public java.util.Map<java.lang.String,PJsonObject> getMergeableParams(java.lang.String context)
context - public PDFCustomBlocks getCustomBlocks()
public com.itextpdf.text.Document getDocument()
public Config getConfig()
public com.itextpdf.text.pdf.PdfWriter getWriter()
public com.itextpdf.text.pdf.PdfContentByte getDirectContent()
public PJsonObject getGlobalParams()
public void setCurrentPageParams(PJsonObject pageParams)
public PJsonObject getCurrentPageParams()
public java.lang.String getConfigDir()
public Layout getLayout()
public void addError(java.lang.Exception e)
public float getStyleFactor()
public void setStyleFactor(float styleFactor)
public java.util.Map<java.net.URI,com.itextpdf.text.pdf.PdfTemplate> getTemplateCache()
public java.util.Map<java.lang.String,java.lang.String> getHeaders()
public java.lang.Object getPdfLock()