Header dificulties
Posted: Tue Dec 07, 2010 10:15 pm
Helo Jason.
I have a problem with the headers in my document.
If someone creates a document and adds a headers ( of first page its empty ).
The pages are spread into sections.
On the second page the person adds a header and clicks the "Different first page" inside the Word.
On the next page he doesn't click it, and so on...
The template i created is in the attachment.
So the problem occurs here:
If I unzip the docx file, inside i find that Word creates tree files "Header1.xml", "Header2.xml", "Header3.xml".
How do i access these three files?
I am going over the sections, getting the headers, default, first, odd, and going over the numbers... noting helps.
Is that even possible to access these tree header files (or even more)?
If there is any way i would be very grateful for your answer, if its not than i would have to find an other way.
Currently i am using the docx4j-2.5.0
Thank you very much for your time,
Lp, Mesni
I have a problem with the headers in my document.
If someone creates a document and adds a headers ( of first page its empty ).
The pages are spread into sections.
On the second page the person adds a header and clicks the "Different first page" inside the Word.
On the next page he doesn't click it, and so on...
The template i created is in the attachment.
So the problem occurs here:
If I unzip the docx file, inside i find that Word creates tree files "Header1.xml", "Header2.xml", "Header3.xml".
How do i access these three files?
I am going over the sections, getting the headers, default, first, odd, and going over the numbers... noting helps.
Is that even possible to access these tree header files (or even more)?
If there is any way i would be very grateful for your answer, if its not than i would have to find an other way.
Currently i am using the docx4j-2.5.0
Thank you very much for your time,
Lp, Mesni