[Libreoffice-bugs] [Bug 108399] New: FILESAVE: DOCX - Dont export run property tags with false values when not needed

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Jun 7 21:01:51 UTC 2017


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

            Bug ID: 108399
           Summary: FILESAVE: DOCX - Dont export run property tags with
                    false values when not needed
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: philipz85 at hotmail.com
            Blocks: 104520, 106179, 107733, 108398

Steps
1. Open attachment 133896
2. Save it to DOCX
3. Unzip it and open /word/comments.xml
4. Notice the unnecessary run property tags with a 'false' value

Version: 5.5.0.0.alpha0+
Build ID: ddf8539d97ce044b7df8d51d6ec72ec864b40fb8
CPU threads: 2; OS: Linux 4.4; UI render: default; VCL: gtk2; 
TinderBox: Linux-rpm_deb-x86_64 at 70-TDF, Branch:master, Time:
2017-06-04_22:10:59
Locale: en-US (en_US.UTF-8); Calc: group

How it looks in LO

 <w:rPr>
   <w:rFonts w:ascii="Liberation Serif" ... />
   <w:b />
   <w:bCs w:val="false" />
   <w:i />
   <w:iCs w:val="false" />
   <w:caps w:val="false" />
   <w:smallCaps w:val="false" />
   <w:strike w:val="false" />
   <w:dstrike w:val="false" />
   <w:outline w:val="false" />
   <w:shadow w:val="false" />
   <w:emboss w:val="false" />
   <w:imprint w:val="false" />
   <w:color w:val="1C99E0" />
   <w:spacing w:val="0" />
   <w:w w:val="100" />
   <w:kern w:val="2" />
   <w:position w:val="0" />
   <w:sz w:val="26" />
   <w:szCs w:val="24" />
   <w:u w:val="single" />
   <w:vertAlign w:val="baseline" />
   <w:em w:val="none" />
   <w:lang w:val="nl-NL" w:eastAsia="zh-CN" w:bidi="hi-IN" />
 </w:rPr>

How it looks from Word

 <w:rPr>
   <w:b />
   <w:i />
   <w:color w:val="1C99E0" />
   <w:sz w:val="26" />
   <w:u w:val="single" />
 </w:rPr>


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=104520
[Bug 104520] [META] DOCX (OOXML) bug tracker
https://bugs.documentfoundation.org/show_bug.cgi?id=106179
[Bug 106179] [META] Writer comment bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=107733
[Bug 107733] [META] Hyperlink bugs and enhancements
https://bugs.documentfoundation.org/show_bug.cgi?id=108398
[Bug 108398] [META] Improve exported OOXML xml code
-- 
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/20170607/1c57bec6/attachment-0001.html>


More information about the Libreoffice-bugs mailing list