[Libreoffice-bugs] [Bug 121734] New: Floating table from a .DOC may paste to another document with different frame properties

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Nov 27 10:55:44 UTC 2018


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

            Bug ID: 121734
           Summary: Floating table from a .DOC may paste to another
                    document with different frame properties
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Keywords: filter:doc
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: mikekaganski at hotmail.com

Created attachment 147062
  --> https://bugs.documentfoundation.org/attachment.cgi?id=147062&action=edit
A floating table

The .DOC contains a single floating table. When imported into Writer, it turns
into a frame with a table. The frame has 0 padding, and no borders. Specific to
.DOC import, the document gets the "Frame" frame style to have the same
properties as the single frame (if the document is converted to DOCX using
Word, then importing resulting DOCX into Writer does *not* change the frame
style).

This makes it problematic to copy-paste the frame-with-table into other
documents.

1. Open the attachment in Writer.
2. Select the frame-with-table and copy (Ctrl+C).
3. Create a new Writer document.
4. Paste into it.
5. Check "Frame" frame style (important! only check this at this stage) (has 0
mm padding, and all borders unset).
6. Insert→Frame→Frame Interactively

Result: the newly interactively-created frame has no borders and has 0 padding
(this indicates that inserting a frame into a document without frames redefines
the frame to that of the source).

7. Create a new Writer document.
8. Check "Frame" frame style (has 1.5 mm padding, and all borders set).
9. Insert→Frame→Frame Interactively
10. Paste into it.

Result: the inserted table has "double" borders (frame has a border and a
padding); interactively-created frame has borders and padding.

So, trying to copy such tables into an existing documents with some frames
makes copied tables "double-bordered", which then requires manual adjustments.
The problem here seems to be the redefinition of the frame style, which is
unlike DOCX (so the likely solution would be to implement the missing bits to
follow DOCX filter).

-- 
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/20181127/c1010250/attachment.html>


More information about the Libreoffice-bugs mailing list