Personally, I do not have an idea of how to proceed with that but I will have
the time to look over the weekend - Monaco Grand Prix to look forward to and
I can never just watch....

You do need to be aware that HWPF is still an immature api and it could well
not be possible to achieve what you require using it; but as I have just
said, I do not know this to be the case just yet. Owing to the simpler, more
transparent, file format it may well be the case that XWPF is the better
option for you and I would certainly suggest looking into it for the future.
As the .docx files are basically zipped xml, it is far easier too see how
and where to path the api to add functionality.

Will post again if I manage to find anything out. It will not be quick
however as I have another user to help and they are putting the finishing
touches to an application currently but I should get back to you before the
end of this weekend.

Yours

Mark B


madhusudan.reddy wrote:
> 
> Hi,
> 
> The word document that we are targetting is 2003 office version and the
> POI version wise we are using legacy one with HWPF. 
> 
> We can use XWPF also, it would he helpful even if you have any pointers
> around that.
> 
> Thanks
> Madhu
> ________________________________________
> From: MSB [markbrd...@tiscali.co.uk]
> Sent: Saturday, May 15, 2010 11:56 AM
> To: user@poi.apache.org
> Subject: Re: Need help in updating footer of Word Document
> 
> Can you tell us please which version of the file format you are
> targetting,
> the legacy binary one with HWPF or the newer OOXML one with XWPF?
> 
> Yours
> 
> Mark B
> 
> 
> madhusudan.reddy wrote:
>>
>> Hi,
>>
>> We are using ApachePOI for creating word documents dynamically using java
>> in our application. We are wondering if we have a better way to handle
>> the
>> header and footers in the word document dynamically.
>>
>> Need information or pointers to implement any of hte following things:
>> 1) Addition of new footer/header dynamically in the word document.
>> 2) Updating an existing footer/header dynamically in the word document.
>>
>> Any pointers would be very helpful.
>>
>> Thanks & Regards,
>> Madhusudan Reddy
>> JAVA | HDC | Accenture
>> M. No: 9966601155
>>
>>
>> This message is for the designated recipient only and may contain
>> privileged, proprietary, or otherwise private information.  If you have
>> received it in error, please notify the sender immediately and delete the
>> original.  Any other use of the email by you is prohibited.
>>
>>
> 
> --
> View this message in context:
> http://old.nabble.com/Need-help-in-updating-footer-of-Word-Document-tp28566396p28566525.html
> Sent from the POI - User mailing list archive at Nabble.com.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
> For additional commands, e-mail: user-h...@poi.apache.org
> 
> This message is for the designated recipient only and may contain
> privileged, proprietary, or otherwise private information.  If you have
> received it in error, please notify the sender immediately and delete the
> original.  Any other use of the email by you is prohibited.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscr...@poi.apache.org
> For additional commands, e-mail: user-h...@poi.apache.org
> 
> 
> 

-- 
View this message in context: 
http://old.nabble.com/Need-help-in-updating-footer-of-Word-Document-tp28566396p28566695.html
Sent from the POI - User mailing list archive at Nabble.com.


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

Reply via email to