Package org.docx4j.convert.out.fo
Class FOExporterVisitorDelegate
java.lang.Object
org.docx4j.convert.out.common.AbstractExporterDelegate<CS,CC>
org.docx4j.convert.out.common.AbstractVisitorExporterDelegate<FOSettings,FOConversionContext>
org.docx4j.convert.out.fo.FOExporterVisitorDelegate
public class FOExporterVisitorDelegate
extends AbstractVisitorExporterDelegate<FOSettings,FOConversionContext>
-
Nested Class Summary
Nested classes/interfaces inherited from class org.docx4j.convert.out.common.AbstractVisitorExporterDelegate
AbstractVisitorExporterDelegate.AbstractVisitorExporterGeneratorFactory<CC extends AbstractWmlConversionContext>
-
Field Summary
Fields inherited from class org.docx4j.convert.out.common.AbstractVisitorExporterDelegate
generatorFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
appendDocumentHeader
(FOConversionContext conversionContext, Document document, Element documentRoot) protected void
appendPartContent
(FOConversionContext conversionContext, Document document, Element currentParent, String name, Part part, List<Object> content) protected void
appendSectionHeader
(FOConversionContext conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) protected Element
createDocumentRoot
(FOConversionContext conversionContext, Document document) protected Element
createSectionBody
(FOConversionContext conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) protected Element
createSectionRoot
(FOConversionContext conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) Methods inherited from class org.docx4j.convert.out.common.AbstractVisitorExporterDelegate
appendDocumentFooter, appendPartContent, appendSectionFooter, createDocumentBody, generateBodyContent, process, writeDocument
-
Constructor Details
-
FOExporterVisitorDelegate
protected FOExporterVisitorDelegate()
-
-
Method Details
-
createDocumentRoot
protected Element createDocumentRoot(FOConversionContext conversionContext, Document document) throws Docx4JException - Specified by:
createDocumentRoot
in classAbstractVisitorExporterDelegate<FOSettings,
FOConversionContext> - Throws:
Docx4JException
-
appendDocumentHeader
protected void appendDocumentHeader(FOConversionContext conversionContext, Document document, Element documentRoot) throws Docx4JException - Overrides:
appendDocumentHeader
in classAbstractVisitorExporterDelegate<FOSettings,
FOConversionContext> - Throws:
Docx4JException
-
createSectionRoot
protected Element createSectionRoot(FOConversionContext conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) throws Docx4JException - Overrides:
createSectionRoot
in classAbstractVisitorExporterDelegate<FOSettings,
FOConversionContext> - Throws:
Docx4JException
-
appendSectionHeader
protected void appendSectionHeader(FOConversionContext conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) throws Docx4JException - Overrides:
appendSectionHeader
in classAbstractVisitorExporterDelegate<FOSettings,
FOConversionContext> - Throws:
Docx4JException
-
appendPartContent
protected void appendPartContent(FOConversionContext conversionContext, Document document, Element currentParent, String name, Part part, List<Object> content) throws Docx4JException - Throws:
Docx4JException
-
createSectionBody
protected Element createSectionBody(FOConversionContext conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) throws Docx4JException - Overrides:
createSectionBody
in classAbstractVisitorExporterDelegate<FOSettings,
FOConversionContext> - Throws:
Docx4JException
-