poi-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Burch <nick.bu...@alfresco.com>
Subject Re: Change paper-format for Word
Date Tue, 02 Nov 2010 21:49:12 GMT
On Tue, 2 Nov 2010, gipsy wrote:
> google only knows how to change the paper-format for excel-documents 
> with XSSF. How is this possible for word-documents with XWPF?

I would suggest you create a simple file in word in one paper format, then 
save a copy in the other format. Unzip these two .docx files (.docx is a 
zip of xml files), and use diff to spot what differs. You should be able 
to find xmlbeans objects to manipulate the attributes

Nick

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@poi.apache.org
For additional commands, e-mail: user-help@poi.apache.org


Mime
View raw message