[Libreoffice-bugs] [Bug 70234] FILESAVE: DOC/ DOCX - Track change of fields not saved correctly

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue May 9 17:05:00 UTC 2017


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

--- Comment #8 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
So it seems that even the ooxml code exported in 4.0 for the input field file
is reported to be invalid when opened in MS Word and its likely because the
field is being exported both in the <w:del> tag as well as outside of it.

<w:p>
  <...>
  <w:del ... w:id="0">
    <w:r>
      <w:rPr></w:rPr>
      <w:fldChar w:fldCharType="begin"></w:fldChar>
    </w:r>
    <w:r>
      <w:instrText>FILLIN "example"</w:instrText>
    </w:r>
    <w:r>
      <w:fldChar w:fldCharType="separate" />
    </w:r>
    <w:r>
      <w:delText>Example</w:delText>
      <w:br />
    </w:r>
    <w:r>
      <w:fldChar w:fldCharType="end" />
    </w:r>
  </w:del>
<!-- the w:r elements below shouldnt be there ->
  <w:r>
    <w:rPr></w:rPr>
    <w:fldChar w:fldCharType="begin"></w:fldChar>
  </w:r>
  <w:r>
    <w:instrText>FILLIN "example"</w:instrText>
  </w:r>
  <w:r>
    <w:fldChar w:fldCharType="separate" />
  </w:r>
  <w:r></w:r>
  <w:r>
    <w:fldChar w:fldCharType="end" />
  </w:r>
</w:p>

-- 
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/20170509/abb8ad7a/attachment.html>


More information about the Libreoffice-bugs mailing list