public class PDFRenderingContext extends AbstractRenderingContext
Constructor and Description |
---|
PDFRenderingContext(FOUserAgent userAgent,
PDFContentGenerator generator,
PDFPage page,
FontInfo fontInfo)
Main constructor.
|
Modifier and Type | Method and Description |
---|---|
FontInfo |
getFontInfo()
Returns the font list.
|
PDFContentGenerator |
getGenerator()
Returns the PDF content generator.
|
java.lang.String |
getMimeType()
Returns the MIME type associated with the current output format.
|
PDFPage |
getPage()
Returns the current PDF page.
|
getHint, getHints, getUserAgent, putHint, putHints
public PDFRenderingContext(FOUserAgent userAgent, PDFContentGenerator generator, PDFPage page, FontInfo fontInfo)
userAgent
- the user agentgenerator
- the PDF content generatorpage
- the current PDF pagefontInfo
- the font listpublic java.lang.String getMimeType()
public PDFContentGenerator getGenerator()
public PDFPage getPage()
public FontInfo getFontInfo()
Copyright 1999-2010 The Apache Software Foundation. All Rights Reserved.