Skip to content

Instantly share code, notes, and snippets.

View bayzi's full-sized avatar

bayzi

View GitHub Profile
try{
String filepath = "createparagraph.docx";
String outpath = "createparagraph4.docx";
XWPFDocument doc = new XWPFDocument(OPCPackage.open(filepath));
for (XWPFParagraph p : doc.getParagraphs()) {