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

            Bug ID: 104420
           Summary: FILEOPEN: DOCX: missing page and paragraph
           Product: LibreOffice
           Version: 4.3 all versions
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 129327
  --> https://bugs.documentfoundation.org/attachment.cgi?id=129327&action=edit
lostParagraph.docx: example document which should be two pages long.

In trying to reduce attachment 114439 from bug 90317 to a minimal test, I
stumbled across this bug which is related to tables and section breaks.

It should be a two page document, the first portrait-oriented page has a single
paragraph stating "This text is lost in LibreOffice." A section break creates a
second, landscape-orientated page without any content except a header
containing a table.

Regression in LibreOffice 43.  bibisect 43max points to:
-----------------------
   commit 2e8aad6d45c53d554ccaf26de998ede708cfc289
    Author:     Vinaya Mandke <[email protected]>
    CommitDate: Thu Apr 24 12:57:51 2014 +0200

fdo#39056 fdo#75431 Section Properties if section starts with table

Section properties are not imported if the section starts with a table for
DOCX,
and also for a few RTF files with combination of tables and section breaks.
SwXBodyText::createTextCursorByRange is not able to find the start of section
and hence section properties are not applied.
   As a workaround added an empty paragraph at the beginning of every section
which has the the first element as a table. And then removed it when the
section ends ( DomainMapper::lcl_endSectionGroup is called).
   Also handled to add the paragraph earlier, if there is a bookmark
so that the bookmark is not attached to the dummy paragraph.
-----------------------

-- 
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