You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openoffice.apache.org by bu...@apache.org on 2014/09/08 23:39:01 UTC

[Issue 125600] New: Page numbers inconsistency between table of content and actual document

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: issues@openoffice.apache.org
          Reporter: alain.baudhuin@skynet.be

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.

[Issue 125600] Page numbers inconsistency between table of content and actual document

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125600

oooforum <oo...@free.fr> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |oooforum@free.fr

--- Comment #2 from oooforum <oo...@free.fr> ---
I don't know how has been designed your document but the problem is inside.
I opened a new ODT and pasted the content via Insert > File menu
The TOC is correct

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

[Issue 125600] Page numbers inconsistency between table of content and actual document

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125600

--- Comment #1 from Alain Baudhuin <al...@skynet.be> ---
File demonstrating the problem (PageNumberingIssue.odt) + 2 generated pdf files
are available at http://www.cspu.be/~baudhuina/openofficeIssue125600/

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

[Issue 125600] Page numbers inconsistency between table of content and actual document

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125600

Regina Henschel <rb...@t-online.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |CONFIRMED
                 CC|                            |rb.henschel@t-online.de
     Ever confirmed|0                           |1

--- Comment #4 from Regina Henschel <rb...@t-online.de> ---
I can confirm the unstable pagination with the provided document. When your
cursor is at heading of chapter 1.5 and you wait some time, you will notice
that the page content jumps and so causing jumps in page number. But I do not
find a definite element which is turned on/off or swapped in/out or something
similar.

I use AOO420m1(Build:9800)  -  Rev. 1620195 on Windows 7.

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

[Issue 125600] Page numbers inconsistency between table of content and actual document

Posted by bu...@apache.org.
https://issues.apache.org/ooo/show_bug.cgi?id=125600

--- Comment #3 from Alain Baudhuin <al...@skynet.be> ---
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.