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

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Sat Jun 10 14:59:33 UTC 2017


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

--- Comment #22 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
(In reply to Justin L from comment #21)
> (In reply to Yousuf Philips (jay) from comment #15)
> > I think that ignoring case when mapping style names is a problem.
> I agree. It appears that many of these mappings had been ineffective since,
> as you noted, Microsoft tends to export the lowercase form of the stylename,
> but most of the mapping are in Titlecase.

Actually MS titlecases most of their styles in XML, but only lowercases
headings and table of content entries, though titlecases headings and
capitalizes TOC in the UI. Here are the lowercase entries from a Word 2010
file.

<w:lsdException w:name="heading 1">    UI: Heading 1
<w:lsdException w:name="heading 2">    UI: Heading 2
<w:lsdException w:name="heading 3">    UI: Heading 3
<w:lsdException w:name="heading 4">    UI: Heading 4
<w:lsdException w:name="heading 5">    UI: Heading 5
<w:lsdException w:name="heading 6">    UI: Heading 6
<w:lsdException w:name="heading 7">    UI: Heading 7
<w:lsdException w:name="heading 8">    UI: Heading 8
<w:lsdException w:name="heading 9">    UI: Heading 9
<w:lsdException w:name="toc 1"/>       UI: TOC 1
<w:lsdException w:name="toc 2"/>       UI: TOC 2
<w:lsdException w:name="toc 3"/>       UI: TOC 3
<w:lsdException w:name="toc 4"/>       UI: TOC 4
<w:lsdException w:name="toc 5"/>       UI: TOC 5
<w:lsdException w:name="toc 6"/>       UI: TOC 6
<w:lsdException w:name="toc 7"/>       UI: TOC 7
<w:lsdException w:name="toc 8 />       UI: TOC 8
<w:lsdException w:name="toc 9"/>       UI: TOC 9
<w:lsdException w:name="caption"/>     UI: Caption

-- 
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/20170610/783ead33/attachment-0001.html>


More information about the Libreoffice-bugs mailing list