Package org.docx4j.openpackaging.parts

Examples of org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware


          throws Exception {

    String inputfilepath = System.getProperty("user.dir") + "/todd_p_spacing_direct.docx";
   
    WordprocessingMLPackage wordMLPackage = WordprocessingMLPackage.load(new java.io.File(inputfilepath));
    JaxbXmlPartXPathAware jaxbXmlPart = (JaxbXmlPartXPathAware)wordMLPackage.getMainDocumentPart().getStyleDefinitionsPart();
   
    System.out.println(XmlPartToString.get(jaxbXmlPart));

    }
View Full Code Here

TOP

Related Classes of org.docx4j.openpackaging.parts.JaxbXmlPartXPathAware

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.