[Libreoffice-bugs] [Bug 104712] FILEOPEN: DOCX: Empty paragraph shows Default style instead of Heading and takes Heading style size 24 instead of formatted size 12

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Oct 15 09:46:34 UTC 2019


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

Justin L <jluth at mail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jluth at mail.com

--- Comment #9 from Justin L <jluth at mail.com> ---
(In reply to Timur from comment #6)
> If we change original DOCX in MSO to add something in empty paragraph, it
> will still show Default instead of Heading in LO...
The style is a CHARACTER style, not a PARAGRAPH style. So no problem here.

The problem is that direct sz=12pt/font=Calibri character formatting is not
overriding the rStyle=Heading1Char sz=24pt/font=TNR.

<w:p>
  <w:pPr>
    <w:rPr>
      <w:rStyle w:val="Heading1Char"/>
      <w:rFonts w:eastAsia="Calibri"/>
      <w:sz w:val="24"/>
    </w:rPr>
  </w:pPr>
</w:p>

-- 
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/20191015/53b822a9/attachment.html>


More information about the Libreoffice-bugs mailing list