public class PdfDocumentWriter
extends java.lang.Object
Constructor and Description |
---|
PdfDocumentWriter(Configuration config,
java.io.OutputStream out,
PdfOutputProcessorMetaData metaData) |
Modifier and Type | Method and Description |
---|---|
void |
close()
Closes the document.
|
Document |
getDocument() |
void |
open() |
protected void |
processLogicalPage(LogicalPageKey key,
LogicalPageBox logicalPage) |
protected void |
processPhysicalPage(PageGrid pageGrid,
LogicalPageBox logicalPage,
int row,
int col,
PhysicalPageKey pageKey) |
void |
setDocument(Document document) |
public PdfDocumentWriter(Configuration config, java.io.OutputStream out, PdfOutputProcessorMetaData metaData)
public Document getDocument()
public void setDocument(Document document)
public void open() throws DocumentException
DocumentException
protected void processPhysicalPage(PageGrid pageGrid, LogicalPageBox logicalPage, int row, int col, PhysicalPageKey pageKey) throws DocumentException
DocumentException
protected void processLogicalPage(LogicalPageKey key, LogicalPageBox logicalPage) throws DocumentException
DocumentException
public void close()