On Thu, 30 Dec 2010, Stefan Pantos wrote:
I'm certain this must have been covered somewhere, i just don't seem to be able to find the answer. I'm using XWPF to create a DOCX file and want to be able to set the page size for a section/whole document. The aim it so create a FOP handler which will create passable DOCX output.
Your best bet is to create two files that are identical except for page size. Then, unzip them (.docx is a zip of xml), and diff to spot the part that holds the page size
Also does anyone know where I can find some documentation on the org.openxmlformats.schemas.wordprocessingml.x2006.main.* classes? I seem to be failing to find that too. The source for it would be good too.
The classes are compiled from the microsoft supplied xsds. You'll probably want to just read the .docx spec, as that describes all the elements
Nick --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
