I am trying to create a Word document from scratch using the Apache POI package. Outputting simply-formatted text has not proved to be a problem but I would like to change the page size.
How do I set the page layout / paper size for a Word document?
Can anyone point me to useful examples for using POI to create Word documents?