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

            Bug ID: 104876
           Summary: docx autosize table created very large - extends way
                    past right margin
           Product: LibreOffice
           Version: 4.4.0.3 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: [email protected]
          Reporter: [email protected]

Created attachment 129890
  --> https://bugs.documentfoundation.org/attachment.cgi?id=129890&action=edit
sw/qa/extras/ooxmlexport/data/hidemark.docx

This unit test from bnc#865381 should be a tiny 2*2 table.  Instead, the first
column fills more than the entire page, and the second *column* is not even
seen. (The second *row* is auto-hidden, just so you know.)  Note that the table
starts with a left spacing of -0.21 cm.

bibisect-44max points to commit cbd0fbc287051f918e4adb32b3e9b58dfbf8059d
    Author: Miklos Vajna <[email protected]>
    CommitDate: Thu Nov 6 15:56:27 2014 +0100
DOCX import: fix <w:tblW w:type="auto"/> handling when cells have fixed widths
        Commit 74c5ed19f430327988194cdcd6bdff09591a93fa (DOCX import fix for
        table with auto size, 2013-06-26) correctly recognized that in case the
        width type is auto, that doesn't always mean text::SizeType::VARIABLE.

        However, when the size is fixed, then we should simply not do anything,
        and that'll lead to the right behavior (by setting the column
separators
        on each row), don't try to be smart and try to set
        TablePropertyMap::TABLE_WIDTH here.

tested on: Ubuntu 16.04 x64bit. LO5.4alpha.  
Probably not related to bug 99616 and the hidden rows. The description is
similar to bug 99440, except that one is inherited from OOo.

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