[Libreoffice-bugs] [Bug 81507] FILESAVE: DOCX - w:sdtContent not exported correctly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun Oct 22 21:32:56 UTC 2017


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

Yousuf Philips (jay) <philipz85 at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jluth at mail.com,
                   |                            |mikekaganski at hotmail.com
             Blocks|104520                      |113363
            Summary|FILEOPEN:  w:sdtContent not |FILESAVE: DOCX -
                   |retained when saved DOCX    |w:sdtContent not exported
                   |opened in MS Word           |correctly

--- Comment #7 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
So with master, the text appears correct in Word 2010, but not in Word 2013.
The problems seems to be that each <w:br /> isnt being wrapped in <w:r>,
resulting in Word 2013 showing all the text joined together without the line
breaks. LO exported XML.

<w:p>
 ...
 <w:r>
   <w:rPr></w:rPr>
   <w:t>aasdfasdkasdcmcxmzmzxç</w:t>
   <w:br />
   <w:t>asdkjasdkaslkfzcxv</w:t>
   <w:br />
   <w:br />
   <w:br />
   <w:t>asdflasjdfkasjdfasñldfjñalf</w:t>
 </w:r>
</w:p>

Original imported XML

<w:p w:rsidR="0011483A" w:rsidRDefault="0009519C">
 <w:r>
   <w:t>aasdfasdkasdcmcxmzmzxç</w:t>
 </w:r>
 <w:r>
   <w:br />
 </w:r>
 <w:r>
   <w:t>asdkjasdkaslkfzcxv</w:t>
 </w:r>
 <w:r>
   <w:br />
 </w:r>
 <w:r>
   <w:br />
 </w:r>
 <w:r>
   <w:br />
   <w:t>asdflasjdfkasjdfasñldfjñalf</w:t>
 </w:r>
</w:p>


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=113363
[Bug 113363] [META] DOCX (OOXML) content control-related issues
-- 
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/20171022/a456ed8f/attachment.html>


More information about the Libreoffice-bugs mailing list