Class XsltHTMLFunctions

java.lang.Object
org.docx4j.convert.out.html.XsltHTMLFunctions

public class XsltHTMLFunctions
extends java.lang.Object
This class contains static functions that are specific to the HTML xsl-transformation and are called from docx2html-core.xslt.
  • Constructor Summary

    Constructors 
    Constructor Description
    XsltHTMLFunctions()  
  • Method Summary

    Modifier and Type Method Description
    static org.w3c.dom.DocumentFragment appendHeadElement​(HTMLConversionContext conversionContext)  
    static org.w3c.dom.DocumentFragment appendScriptElement​(HTMLConversionContext conversionContext)
    A customised XSLT might just want the <script> element, because it customises the rest of the element.
    static org.w3c.dom.DocumentFragment appendStyleElement​(HTMLConversionContext conversionContext)
    A customised XSLT might just want the element, because it customises the rest of the element.
    static org.w3c.dom.DocumentFragment createBlockForPPr​(HTMLConversionContext context, org.w3c.dom.traversal.NodeIterator pPrNodeIt, java.lang.String pStyleVal, org.w3c.dom.traversal.NodeIterator childResults)  
    static org.w3c.dom.DocumentFragment createBlockForRPr​(HTMLConversionContext context, java.lang.String pStyleVal, org.w3c.dom.traversal.NodeIterator rPrNodeIt, org.w3c.dom.traversal.NodeIterator childResults)  
    static org.w3c.dom.DocumentFragment createListItemBlockForPPr​(HTMLConversionContext context, org.w3c.dom.traversal.NodeIterator pPrNodeIt, java.lang.String pStyleVal, org.w3c.dom.traversal.NodeIterator childResults)  
    static java.lang.String getCssForStyles​(HTMLConversionContext context)  
    static java.lang.String getCssForTableCells​(HTMLConversionContext context, org.w3c.dom.traversal.NodeIterator tables)  
    static java.lang.String getNumberXmlNode​(HTMLConversionContext context, org.w3c.dom.traversal.NodeIterator pPrNodeIt, java.lang.String pStyleVal, java.lang.String numId, java.lang.String levelId)
    The method used by the XSLT extension function during HTML export.
    static org.w3c.dom.Node toSdtNode​(HTMLConversionContext context, org.w3c.dom.traversal.NodeIterator sdtPrNodeIt, org.w3c.dom.traversal.NodeIterator childResults)  

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • appendHeadElement

      public static org.w3c.dom.DocumentFragment appendHeadElement​(HTMLConversionContext conversionContext)
    • appendStyleElement

      public static org.w3c.dom.DocumentFragment appendStyleElement​(HTMLConversionContext conversionContext)
      A customised XSLT might just want the