Dear team,
We need to convert double column layout into single column layout, Please find input documents. Please share me source code for this
Input File : manuscript(clean version) - without author.docx (9.6 MB)
Dear team,
We need to convert double column layout into single column layout, Please find input documents. Please share me source code for this
Input File : manuscript(clean version) - without author.docx (9.6 MB)
@e503824 You can use TextColumns.setCount method to set number of columns in MS Word document section. for example see the following code:
Document doc = new Document("C:\\Temp\\in.docx");
for(Section sect : doc.getSections())
sect.getPageSetup().getTextColumns().setCount(1);
doc.save("C:\\Temp\\out.docx");