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".
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 ?