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

          Issue ID: 125600
        Issue Type: DEFECT
           Summary: Page numbers inconsistency between table of content
                    and actual document
           Product: Writer
           Version: 4.1.1
          Hardware: PC
                OS: Windows 7
            Status: UNCONFIRMED
          Severity: major
          Priority: P3
         Component: save-export
          Assignee: [email protected]
          Reporter: [email protected]

See attached document PageNumberingIssue.odt: 

1. Open document
2. Note that the last entry in TOC (section 4) is on page 47.
3. Scroll down the document: at first, the last page is indeed 47/47. After
about 1 minute (after automatic pagination), the last page becomes 49/49.
4. Update the TOC: no change: last entry remains at page 47.
5. Go to "print preview" (button in the toolbar): pagination is consistent
again, page numbers are normal, from 1/47 to 47/47.
6. Generate pdf file with the toolbar button: in the resulting pdf file, pages
number go from 1/47 to 12/47 and then jump to 15/49. The last page is 49/49 (2
pages gap both in the page numbers and page count). 

The same procedure always result in a pdf file with the 2 pages gap, although
the position of the gap varies: another attempt caused the gap to be between
pages 9/47 and 12/49.

Note about the document: it uses conditional paragraphs and sections using
variables defined in the very first frame (the blue one on top of the
document). The content of the frame is hidden: display non printable characters
to access it.

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

Reply via email to