IFDocumentHandler
AbstractBitmapDocumentHandler
, AFPDocumentHandler
, PCLDocumentHandler
, PDFDocumentHandler
, PSDocumentHandler
public abstract class AbstractBinaryWritingIFDocumentHandler extends AbstractIFDocumentHandler
IFDocumentHandler
implementations.Modifier and Type | Field | Description |
---|---|---|
protected FontInfo |
fontInfo |
Font configuration
|
protected java.io.OutputStream |
outputStream |
The output stream to write the document to
|
Constructor | Description |
---|---|
AbstractBinaryWritingIFDocumentHandler(IFContext ifContext) |
Modifier and Type | Method | Description |
---|---|---|
void |
endDocument() |
Indicates the end of a document.
|
FontInfo |
getFontInfo() |
Returns the font set to work with.
|
void |
setDefaultFontInfo(FontInfo fontInfo) |
Sets the default font set (with no custom configuration).
|
void |
setFontInfo(FontInfo fontInfo) |
Sets the font set to work with.
|
void |
setResult(javax.xml.transform.Result result) |
Sets the JAXP Result object to receive the generated content.
|
void |
startDocument() |
Indicates the start of a document.
|
endDocumentHeader, endDocumentTrailer, endPageHeader, endPageTrailer, getContext, getDocumentNavigationHandler, getStructureTreeEventHandler, getUserAgent, setDocumentLocale, startDocumentHeader, startDocumentTrailer, startPageHeader, startPageTrailer
endPage, endPageContent, endPageSequence, getConfigurator, getMimeType, handleExtensionObject, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrder
protected java.io.OutputStream outputStream
protected FontInfo fontInfo
public AbstractBinaryWritingIFDocumentHandler(IFContext ifContext)
public void setResult(javax.xml.transform.Result result) throws IFException
result
- the JAXP Result object to receive the generated contentIFException
- if an error occurs setting up the outputpublic FontInfo getFontInfo()
public void setFontInfo(FontInfo fontInfo)
fontInfo
- the font info objectpublic void setDefaultFontInfo(FontInfo fontInfo)
fontInfo
- the font info object to populatepublic void startDocument() throws IFException
startDocument
in interface IFDocumentHandler
startDocument
in class AbstractIFDocumentHandler
IFException
- if an error occurs while handling this eventpublic void endDocument() throws IFException
IFException
- if an error occurs while handling this eventCopyright 1999-2016 The Apache Software Foundation. All Rights Reserved.