Package org.docx4j.wml

Examples of org.docx4j.wml.CTFtnEdn


   
    CTFootnotes footnotes = wmlPackage.getMainDocumentPart().getFootnotesPart().getJaxbElement();
    int pos = Integer.parseInt(id);
   
    // No @XmlRootElement on CTFtnEdn, so ..
    CTFtnEdn ftn = (CTFtnEdn)footnotes.getFootnote().get(pos);
    Document d = XmlUtils.marshaltoW3CDomDocument( ftn,
        Context.jc, Namespaces.NS_WORD12, "footnote",  CTFtnEdn.class );
    log.debug("Footnote " + id + ": " + XmlUtils.w3CDomNodeToString(d));
    return d;
  }
View Full Code Here


    WordprocessingMLPackage wmlPackage = context.getWmlPackage();
    CTFootnotes footnotes = wmlPackage.getMainDocumentPart().getFootnotesPart().getJaxbElement();
    int pos = Integer.parseInt(id);
   
    // No @XmlRootElement on CTFtnEdn, so ..
    CTFtnEdn ftn = (CTFtnEdn)footnotes.getFootnote().get(pos);
    Document d = XmlUtils.marshaltoW3CDomDocument( ftn,
        Context.jc, Namespaces.NS_WORD12, "footnote",  CTFtnEdn.class );
    if (log.isDebugEnabled()) {
      log.debug("Footnote " + id + ": " + XmlUtils.w3CDomNodeToString(d));
    }
View Full Code Here

TOP

Related Classes of org.docx4j.wml.CTFtnEdn

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.