public abstract class AbstractVisitorExporterDelegate<CS extends AbstractConversionSettings,CC extends AbstractWmlConversionContext> extends AbstractExporterDelegate<CS,CC>
Modifier and Type | Class and Description |
---|---|
static interface |
AbstractVisitorExporterDelegate.AbstractVisitorExporterGeneratorFactory<CC extends AbstractWmlConversionContext> |
Modifier and Type | Field and Description |
---|---|
protected AbstractVisitorExporterDelegate.AbstractVisitorExporterGeneratorFactory<CC> |
generatorFactory |
Modifier | Constructor and Description |
---|---|
protected |
AbstractVisitorExporterDelegate(AbstractVisitorExporterDelegate.AbstractVisitorExporterGeneratorFactory<CC> generatorFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
appendDocumentFooter(CC conversionContext,
Document document,
Element documentRoot) |
protected void |
appendDocumentHeader(CC conversionContext,
Document document,
Element documentRoot) |
protected void |
appendPartContent(CC conversionContext,
Document document,
Part part,
List<Object> content,
Element currentParent) |
protected void |
appendSectionFooter(CC conversionContext,
Document document,
ConversionSectionWrapper sectionWrapper,
Element currentParent) |
protected void |
appendSectionHeader(CC conversionContext,
Document document,
ConversionSectionWrapper sectionWrapper,
Element currentParent) |
protected Element |
createDocumentBody(CC conversionContext,
Document document,
Element documentRoot) |
protected abstract Element |
createDocumentRoot(CC conversionContext,
Document document) |
protected Element |
createSectionBody(CC conversionContext,
Document document,
ConversionSectionWrapper sectionWrapper,
Element currentParent) |
protected Element |
createSectionRoot(CC conversionContext,
Document document,
ConversionSectionWrapper sectionWrapper,
Element currentParent) |
protected void |
generateBodyContent(CC conversionContext,
Document document,
List<Object> content,
Element currentParent) |
void |
process(CS conversionSettings,
CC conversionContext,
OutputStream outputStream) |
protected void |
writeDocument(CC conversionContext,
Document document,
OutputStream outputStream) |
protected AbstractVisitorExporterDelegate.AbstractVisitorExporterGeneratorFactory<CC extends AbstractWmlConversionContext> generatorFactory
protected AbstractVisitorExporterDelegate(AbstractVisitorExporterDelegate.AbstractVisitorExporterGeneratorFactory<CC> generatorFactory)
public void process(CS conversionSettings, CC conversionContext, OutputStream outputStream) throws Docx4JException
process
in class AbstractExporterDelegate<CS extends AbstractConversionSettings,CC extends AbstractWmlConversionContext>
Docx4JException
protected abstract Element createDocumentRoot(CC conversionContext, Document document) throws Docx4JException
Docx4JException
protected void appendDocumentHeader(CC conversionContext, Document document, Element documentRoot) throws Docx4JException
Docx4JException
protected Element createDocumentBody(CC conversionContext, Document document, Element documentRoot)
protected Element createSectionRoot(CC conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) throws Docx4JException
Docx4JException
protected void appendSectionHeader(CC conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) throws Docx4JException
Docx4JException
protected Element createSectionBody(CC conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) throws Docx4JException
Docx4JException
protected void appendPartContent(CC conversionContext, Document document, Part part, List<Object> content, Element currentParent) throws Docx4JException
Docx4JException
protected void generateBodyContent(CC conversionContext, Document document, List<Object> content, Element currentParent) throws Docx4JException
Docx4JException
protected void appendSectionFooter(CC conversionContext, Document document, ConversionSectionWrapper sectionWrapper, Element currentParent) throws Docx4JException
Docx4JException
protected void appendDocumentFooter(CC conversionContext, Document document, Element documentRoot) throws Docx4JException
Docx4JException
protected void writeDocument(CC conversionContext, Document document, OutputStream outputStream) throws Docx4JException
Docx4JException
Copyright © 2007-2014. All Rights Reserved.