https://bugs.documentfoundation.org/show_bug.cgi?id=108970

            Bug ID: 108970
           Summary: DOCX IMPORT: page number is absent in specific
                    document's footer
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

Created attachment 134492
  --> https://bugs.documentfoundation.org/attachment.cgi?id=134492&action=edit
A test file with 2 pages with page numbers in footers' paragraph-attached text
boxes

Attachment has page number in text box in each of two pages in Word.
When open in Writer, it only has page number in 1st page, the second page has
empty footer.

The problem is that the second section in document inherits the footer from
first section, so LibreOffice copies the footer data between page styles on
import (SectionPropertyMap::CopyLastHeaderFooter), and the functions that do
real job (DocumentContentOperationsManager::Copy[Range|Impl]) do not copy last
paragraph's anchored objects.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Libreoffice-bugs mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/libreoffice-bugs

Reply via email to