[Libreoffice-bugs] [Bug 77797] FILEOPEN: DOCX - Numbering list style not displayed correctly as not pulling in paragraph run properties

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Wed Sep 27 09:13:26 UTC 2017


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jluth at mail.com,
                   |                            |mikekaganski at hotmail.com,
                   |                            |rb.henschel at t-online.de
            Summary|FILEOPEN: docx number list  |FILEOPEN: DOCX - Numbering
                   |numbers style not displayed |list style not displayed
                   |                            |correctly as not pulling in
                   |                            |paragraph run properties

--- Comment #13 from Yousuf Philips (jay) <philipz85 at hotmail.com> ---
(In reply to Owen Genat (retired) from comment #5)
>       <w:numPr>
>          <w:ilvl w:val="0"/>
>          <w:numId w:val="16"/>
>       </w:numPr>

This is the numbering properties with a reference to numId=16 (available as
WWNum16 list style), which can be found in /word/numbering.xml like so

  <w:num w:numId="16">
    <w:abstractNumId w:val="20" />
  </w:num>

This references the abstractNumId=20 (available as ListLabel 20 character
style), which also can be found numbering.xml like so

  <w:abstractNum w:abstractNumId="20">
    ...
    <w:lvl w:ilvl="0" w:tplc="0419000F">
      <w:start w:val="1" />
      <w:numFmt w:val="decimal" />
      <w:lvlText w:val="%1." />
      <w:lvlJc w:val="left" />
      <w:pPr>
        <w:ind w:left="720" w:hanging="360" />
      </w:pPr>
      <w:rPr>
        <w:rFonts w:hint="default" />
        <w:b w:val="0" />
      </w:rPr>
    </w:lvl>
    ...
  </w:abstractNum>

And the run properties from here are to overwrite the paragraph run properties
below

>       <w:rPr>
>          <w:rFonts w:ascii="Segoe UI Light" w:eastAsia="Times New Roman"
> w:hAnsi="Segoe UI Light" w:cs="Times New Roman"/>
>          <w:b/>
>          <w:bCs/>
>          <w:color w:val="68217A"/>
>          <w:kern w:val="36"/>
>          <w:sz w:val="36"/>
>          <w:szCs w:val="20"/>
>          <w:lang w:val="ru-RU"/>
>       </w:rPr>
>    </w:pPr>

resulting in a combined paragraph/numbering run properties of

<w:rPr>
   <w:rFonts w:hint="default" w:ascii="Segoe UI Light" .../>
   <w:b w:val="0" />
   <w:bCs/>
   <w:color w:val="68217A"/>
   <w:kern w:val="36"/>
   <w:sz w:val="36"/>
   <w:szCs w:val="20"/>
   <w:lang w:val="ru-RU"/>
</w:rPr>

so the numbering should be not-bold and purple, but instead it currently is
bold and black.

@Justin, @Mike: What are your thoughts on this? Listlabel 20 is correctly
pulling in the latin font size (<w:sz>), but doesnt correctly pull in the font
color (<w:color>), no-bold (<w:b>) or the font name or size in asian and ctl.

@Regina: seems like not having direct formatting that can be applied to
different list items/characters means we'll be struggling with the likes of
this.

-- 
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/20170927/f409b698/attachment.html>


More information about the Libreoffice-bugs mailing list