[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 05:58:34 UTC 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |bibisectRequest, regression
                 CC|                            |philipz85 at hotmail.com
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=10
                   |                            |7716
             Blocks|                            |83946, 104520
            Summary|DOC/DOCX export restores    |FILESAVE: DOC/DOCX - Track
                   |the deleted fields at       |change of fields not saved
                   |change tracking             |correctly

--- Comment #6 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
So the problem here is that the <w:del> tag is only being placed around the
first run element, rather than the entire group of run elements related to the
field.

How it used to be in 4.0

<w:del ... w:id="0">
  <w:r>
    <w:rPr></w:rPr>
    <w:fldChar w:fldCharType="begin"></w:fldChar>
  </w:r>
  <w:r>
    <w:instrText>PAGE</w:instrText>
  </w:r>
  <w:r>
    <w:fldChar w:fldCharType="separate" />
  </w:r>
  <w:r>
    <w:delText>1</w:delText>
  </w:r>
  <w:r>
    <w:fldChar w:fldCharType="end" />
  </w:r>
</w:del>

How it is in 4.1 and above

<w:del ... w:id="0">
  <w:r>
    <w:rPr></w:rPr>
    <w:fldChar w:fldCharType="begin"></w:fldChar>
  </w:r>
</w:del> <- the problem happens here
<w:r>
  <w:instrText>PAGE</w:instrText>
</w:r>
<w:r>
  <w:fldChar w:fldCharType="separate" />
</w:r>
<w:r>
  <w:t>1</w:t>
</w:r>
<w:r>
  <w:fldChar w:fldCharType="end" />
</w:r>


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=83946
[Bug 83946] [META] Bugs for tracking changes
https://bugs.documentfoundation.org/show_bug.cgi?id=104520
[Bug 104520] [META] DOCX (OOXML) bug tracker
-- 
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/8dc07da4/attachment.html>


More information about the Libreoffice-bugs mailing list