https://bugs.documentfoundation.org/show_bug.cgi?id=156303
V Stuart Foote <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks|113123 |108254 CC| |[email protected] Component|Writer |filters and storage --- Comment #4 from V Stuart Foote <[email protected]> --- Confirmed, do we have faulty "text:anchor-page-number" during pdfio import? Be sure to use the correct PDF import filter, but I do reproduce during "save-as" export to OOXML and opening that format with Word 2021 or Writer 7.6.0 PDF filter import (pdfio) into Writer should be done with: "PDF - Portable Document Format (Writer) (*.pdf)" The sample PDF is parsed into a four page Writer document and each text run of the PDF ends up on its correct page on the writer canvas. But writing out to ODF seems incorrect in addition to the issues noted for doc/docx MS Binary and OOXML format. Opening the ODF archive and examining content.xml for the text-box spans, each of the T2 spans holding text are being written as to "page" anchors, but then the associated "text:anchor-page-number" is set as "1". Not too sure, but assume that would be OK for a relative page ref, but suspect that that page number is then getting parsed when opened as OOXML or MS Binary, or when those formats are opened back into LibreOffice. Seems like the import filter parsing of the PDF text runs is correct, but then we're doing incorrect thing for referencing the text span anchors. Is the issue with the filter import of the PDF elements, or with the filter export from ODF to MS Binary or OOXML? Or both? Referenced Bugs: https://bugs.documentfoundation.org/show_bug.cgi?id=108254 [Bug 108254] [META] File format filters (import/export) bugs and enhancements https://bugs.documentfoundation.org/show_bug.cgi?id=113123 [Bug 113123] [META] PDF import filter in Writer -- You are receiving this mail because: You are the assignee for the bug.
