[Libreoffice-bugs] [Bug 82173] FILEOPEN: DOCX - "Footnote References" character styles incorrectly imported

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sun May 21 00:40:27 UTC 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|FILEOPEN: DOCX footnote     |FILEOPEN: DOCX - "Footnote
                   |numbers are large           |References" character
                   |                            |styles incorrectly imported

--- Comment #11 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
(In reply to Justin L from comment #10)
> MSO's "footnote reference" character style doesn't get imported into the
> twin "Footnote Characters / Footnote Anchor" styles in Writer for DOCX.  (It
> works fine for DOC.)

Seems LO is importing the style correctly but not mapping it within the correct
style names. LO is importing MS's "Footnote Reference" into "Default Paragraph
Font > footnote reference" rather than into "Footnote Anchor" and "Footnote
Characters". Below is the relevant xml code in attachment 133420.

== /word/styles.xml ==

<w:style w:type="character" w:default="1" w:styleId="DefaultParagraphFont">
 <w:name w:val="Default Paragraph Font" />
 <w:uiPriority w:val="99" />
 <w:semiHidden />
</w:style>
<...>
<w:style w:type="character" w:styleId="FootnoteReference">
 <w:name w:val="footnote reference" />
 <w:basedOn w:val="DefaultParagraphFont" />
 <w:uiPriority w:val="99" />
 <w:semiHidden />
 <w:rsid w:val="00132573" />
 <w:rPr>
   <w:rFonts w:cs="Times New Roman" />
   <w:i />
   <w:color w:val="00FF00" />
   <w:kern w:val="2" />
   <w:vertAlign w:val="superscript" />
 </w:rPr>
</w:style>

== /word/footnotes.xml ==

<...>
<w:r>
  <w:rPr>
    <w:rStyle w:val="FootnoteReference" />
  </w:rPr>
  <w:footnoteRef />
</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/20170521/72b99b3a/attachment-0001.html>


More information about the Libreoffice-bugs mailing list