[Libreoffice-bugs] [Bug 38778] FILESAVE: character formatting applied to fields not preserved when saving as DOC or as DOCX

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed May 10 00:19:39 UTC 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |philipz85 at hotmail.com

--- Comment #16 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
For DOCX, LO is only adding the <w:highlight> tag to the first run element that
make up a field.

<w:r>
  <w:rPr>
    <w:highlight w:val="yellow" /> <-- this is the highlight
  </w:rPr>
  <w:fldChar w:fldCharType="begin" w:fldLock="true"></w:fldChar>
</w:r>
<w:r> <-- highlight missing from <w:rPr> tag
  <w:instrText>TIME \@"HH:mm:ss"</w:instrText>
</w:r>
<w:r> <-- highlight missing from <w:rPr> tag
  <w:fldChar w:fldCharType="separate" />
</w:r>
<w:r> <-- highlight missing from <w:rPr> tag
  <w:t>14:01:13</w:t>
</w:r>
<w:r> <-- highlight missing from <w:rPr> tag
  <w:fldChar w:fldCharType="end" />
</w:r>

how its done in MSO 2010

<w:r w:rsidRPr="007F2374">
  <w:rPr>
    <w:highlight w:val="yellow" /> <!-- highlight
  </w:rPr>
  <w:fldChar w:fldCharType="begin" w:fldLock="1" />
</w:r>
<w:r w:rsidRPr="007F2374">
  <w:rPr>
    <w:highlight w:val="yellow" /> <!-- highlight
  </w:rPr>
  <w:instrText>TIME \@"HH:mm:ss"</w:instrText>
</w:r>
<w:r w:rsidRPr="007F2374">
  <w:rPr>
    <w:highlight w:val="yellow" /> <!-- highlight
  </w:rPr>
  <w:fldChar w:fldCharType="separate" />
</w:r>
<w:r w:rsidRPr="007F2374">
  <w:rPr>
    <w:highlight w:val="yellow" /> <!-- highlight
  </w:rPr>
  <w:t>14:01:13</w:t>
</w:r>
<w:r w:rsidRPr="007F2374">
  <w:rPr>
    <w:highlight w:val="yellow" /> <!-- highlight
  </w:rPr>
  <w:fldChar w:fldCharType="end" />
</w:r>

-- 
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/20170510/e9932a4d/attachment.html>


More information about the Libreoffice-bugs mailing list