Package com.danhaywood.isis.domainservice.docx

Examples of com.danhaywood.isis.domainservice.docx.DocxService.merge()


        java.io.File targetFile = new java.io.File(System.getProperty("user.dir") + "/Generated.docx");
        FileOutputStream targetFos = new FileOutputStream(targetFile);

        DocxService docxService = new DocxService();
        WordprocessingMLPackage docxTemplate = docxService.loadPackage(docxTemplateIs);
        docxService.merge(html, docxTemplate, targetFos, MatchingPolicy.LAX);
    }

}
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.