https://issues.apache.org/ooo/show_bug.cgi?id=125600

--- Comment #3 from Alain Baudhuin <[email protected]> ---
I tried the workaround but it did not fix the problem. Here is what I did (all
files are available at http://www.cspu.be/~baudhuina/openofficeIssue125600/):

1. Created a blank document (not from a template)
2. Insert->File (inserted document PageNumberingIssue.odt).
3. Added standard footer and included PageNumber/NumberOfPages in the footer.
4. Updated the TOC: 
TOC shows the last entry on p51, while in the document that last entry is on
page 53/53.
Resulting file is AfterImportingFileIntoBlankDocument.odt.
5. Go to print preview: last page is now 49/49, TOC still refers to p.51
6. Generated a pdf file from the print preview: Crashes OO Writer!
7. Opened the file again: last page is 52/52 or 53/53 (obviously unstable)
while the updated TOC always refers to p.51 as the last one.
8. Generated a pdf file from the normal view several times. One time, I got a
correct pdf (file AterImportingFileIntoBlankDocument.pdf. All other attemps
resulted in pdf file with incorrect page numbers (see
AfterImportingFileIntoBlankDocument2nd.pdf: TOC refers to page 51, while last
page is 49/49.

Alain.

-- 
You are receiving this mail because:
You are the assignee for the issue.
You are watching all issue changes.

Reply via email to