Class XSLFOExporterNonXSLT

java.lang.Object
org.docx4j.convert.out.XSLFO.XSLFOExporterNonXSLT

public class XSLFOExporterNonXSLT
extends java.lang.Object
Deprecated.
Running Xalan extension functions on Android is problematic: http://stackoverflow.com/questions/10579339/is-it-possible-to-call-a-java-extension-function-from-xalan-on-android and generating the XSL FO via Xalan + extension functions is a bit slow, so this uses TraversalUtils to generate XSL FO output without any need for Xalan or XSLT. The intent is that this mechanism will ultimately completely replace the Xalan based approach, at which point docx4j will no longer be dependent on Xalan (the XSLT included in Oracle's java is sufficient for our mc pre processor) We could use a simple JAXB model of XSL FO, or org.w3c.dom to construct the XSL FO document. This implementation uses org.w3c.dom, since that is easiest based on existing code. This class might be neater if it used CompoundTraversalUtilVisitorCallback, but it would be less obvious what is going on.
Author:
jharrop
  • Field Summary

    Fields 
    Modifier and Type Field Description
    protected static int DEFAULT_OUTPUT_SIZE
    Deprecated.
     
  • Constructor Summary

    Constructors 
    Constructor Description
    XSLFOExporterNonXSLT​(WordprocessingMLPackage wmlPackage, FOSettings pdfSettings)
    Deprecated.
     
  • Method Summary

    Modifier and Type Method Description
    org.w3c.dom.Document export()
    Deprecated.
    Generate XSL FO for the entire MainDocumentPart.
    void output​(org.w3c.dom.Document xslfo, java.io.OutputStream os, org.apache.fop.configuration.Configuration fopConfigZZZ)
    Deprecated.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait