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 |
---|---|
PDFStructElem |
getCurrentSessionStructElem() |
FontInfo |
getFontInfo()
Returns the font list.
|
PDFContentGenerator |
getGenerator()
Returns the PDF content generator.
|
String |
getMimeType()
Returns the MIME type associated with the current output format.
|
PDFPage |
getPage()
Returns the current PDF page.
|
Map<Integer,PDFArray> |
getPageNumbers() |
PDFLogicalStructureHandler |
getPdfLogicalStructureHandler() |
Map<String,Object> |
getUsedFieldNames() |
void |
setCurrentSessionStructElem(PDFStructElem currentSessionStructElem) |
void |
setPageNumbers(Map<Integer,PDFArray> pageNumbers) |
void |
setPdfLogicalStructureHandler(PDFLogicalStructureHandler pdfLogicalStructureHandler) |
void |
setUsedFieldNames(Map<String,Object> usedFieldNames) |
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 String getMimeType()
public PDFContentGenerator getGenerator()
public PDFPage getPage()
public FontInfo getFontInfo()
public PDFLogicalStructureHandler getPdfLogicalStructureHandler()
public void setPdfLogicalStructureHandler(PDFLogicalStructureHandler pdfLogicalStructureHandler)
public PDFStructElem getCurrentSessionStructElem()
public void setCurrentSessionStructElem(PDFStructElem currentSessionStructElem)
Copyright © 2025 Apache Software Foundation. All rights reserved.