public abstract class AbstractBinaryWritingIFDocumentHandler extends AbstractIFDocumentHandler
IFDocumentHandler implementations.| Modifier and Type | Field and Description |
|---|---|
protected FontInfo |
fontInfo
Font configuration
|
protected OutputStream |
outputStream
The output stream to write the document to
|
| Constructor and Description |
|---|
AbstractBinaryWritingIFDocumentHandler(IFContext ifContext) |
| Modifier and Type | Method and 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(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, startPageTrailerclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitendPage, endPageContent, endPageSequence, getConfigurator, getMimeType, handleExtensionObject, startPage, startPageContent, startPageSequence, supportsPagesOutOfOrderprotected OutputStream outputStream
protected FontInfo fontInfo
public AbstractBinaryWritingIFDocumentHandler(IFContext ifContext)
public void setResult(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 IFDocumentHandlerstartDocument in class AbstractIFDocumentHandlerIFException - if an error occurs while handling this eventpublic void endDocument()
throws IFException
IFException - if an error occurs while handling this eventCopyright © 2025 Apache Software Foundation. All rights reserved.