Examples of convertAltChunks()


Examples of org.docx4j.openpackaging.parts.WordprocessingML.MainDocumentPart.convertAltChunks()

    mdp.addAltChunk(AltChunkType.Xhtml, xhtml.getBytes());
   
    mdp.addParagraphOfText("Paragraph 3");
   
    // Round trip
    WordprocessingMLPackage pkgOut = mdp.convertAltChunks();
   
    // Display result
    System.out.println(
        XmlUtils.marshaltoString(pkgOut.getMainDocumentPart().getJaxbElement(), true, true));
   
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.