[Libreoffice-bugs] [Bug 116549] New: FILESAVE export to DOCX does not write border style " none"

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Mar 21 19:44:20 UTC 2018


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

            Bug ID: 116549
           Summary: FILESAVE export to DOCX does not write border style
                    "none"
           Product: LibreOffice
           Version: 6.1.0.0.alpha0+ Master
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Keywords: filter:docx
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: rb.henschel at t-online.de

Created attachment 140798
  --> https://bugs.documentfoundation.org/attachment.cgi?id=140798&action=edit
Document to test border

Open attached file. The paragraphs have paragraph styles assigned, which are
all based on the style "BorderBasis", which sets a 6pt orange, solid border.
The style "Border0none" sets the border style to "none". That is correctly
written in ODF as fo:border="none".

Save this file in .docx format, it does not matter whether strict OOXML or the
MS variant. It should write a w:pBdr element with child elements having
attribute w:val="none", but the w:pBdr element is empty.

Because the parent style has a border, it is necessary to set the border style
explicitly to "none".

You see the error, when you open the .docx file in Word or LibreOffice. The
paragraph 0 shows a border, but should not.

-- 
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/20180321/7a822c23/attachment.html>


More information about the Libreoffice-bugs mailing list