Hi,
Hi Trinath,
Trinath:
1. I want to increase the page width automatically based on table and columns names width.
Trinath:
2. All columns names should come in one line
Trinath:
3. Suppose if table contains 100 columns with large column names then page size need to increase automatically and all columns should come in one single line not in multiple lines, and also header size also need to increase up to page size.
- Your expected document which shows the correct output. Please create this document using Microsoft Word application.
- Your code has compile time errors e.g. definition of insertCell method is missing. Please create a standalone Java application (source code without compilation errors) that helps us reproduce your problem on our end and attach it here for testing.
HI Awais Hafeez,
Hi Trinath,
doc.getFirstSection().getPageSetup().setPageWidth(50 * 72);
doc.updateTableLayout();
doc.save(“D:\temp\rtf+file+issue\16.6.0.pdf”);