[Libreoffice-bugs] [Bug 108970] New: DOCX IMPORT: page number is absent in specific document' s footer

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jul 5 13:25:18 UTC 2017


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: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com
                CC: vmiklos at collabora.co.uk

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20170705/92ffc1ee/attachment.html>


More information about the Libreoffice-bugs mailing list