Summary: | PDF export: Add page labels / consistent page numbering per W3C PDF17 | ||
---|---|---|---|
Product: | LibreOffice | Reporter: | Ophir LOJKINE <pere.jobs> |
Component: | Printing and PDF export | Assignee: | Not Assigned <libreoffice-bugs> |
Status: | NEW --- | ||
Severity: | enhancement | CC: | cno, pere.jobs, rgb.mldc |
Priority: | medium | Keywords: | dataLoss, filter:pdf |
Version: | Inherited From OOo | ||
Hardware: | All | ||
OS: | All | ||
See Also: | https://bugs.documentfoundation.org/show_bug.cgi?id=52316 | ||
Whiteboard: | |||
Crash report or crash signature: | Regression By: | ||
Bug Depends on: | |||
Bug Blocks: | 103378 | ||
Attachments: |
The original document
The PDF generated by LibreOffice The PDF file that should have been generated Compare generated and expected |
Created attachment 123028 [details]
The PDF generated by LibreOffice
The PDF exported by libreoffice doesn't have page labels.
Created attachment 123030 [details]
The PDF file that should have been generated
This is the pdf exported by libreoffice, to which I added page number informations manually. Open it in a PDF viewer that supports page annotation (Adobe reader, and evince do) to see the difference in displayed page numbers in the GUI of the reader.
Explanations about the /PageLabel functionality of the PDF file format: https://www.w3.org/TR/WCAG20-TECHS/PDF17.html Created attachment 123043 [details]
Compare generated and expected
Is this option included in PDF/A-2, or ? |
Created attachment 123027 [details] The original document When exporting a document with custom page numbers, the page numbers are not exported. The pdf file format supports "page labels", that allow to restart page numbering inside a document, so that the page numbers displayed by the PDF reader will match the page numbers of the document. The attached odt file has two pages, which both have "1" as a page number. When the file is exported in PDF, the PDF won't have Page Labels. That means that the second page will be attributed a page number of "2" instead of "1".