[Libreoffice-bugs] [Bug 118947] New: FILEOPEN:DOCX: table style is overriding para-style font size

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Thu Jul 26 09:57:44 UTC 2018


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

            Bug ID: 118947
           Summary: FILEOPEN:DOCX: table style is overriding para-style
                    font size
           Product: LibreOffice
           Version: 4.1.0.4 release
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: jluth at mail.com

Created attachment 143776
  --> https://bugs.documentfoundation.org/attachment.cgi?id=143776&action=edit
calendar2b.docx: hand-modified to prove default paragraph style has no impact

The calendar should easily fit on one page. The size of the table contents
should be defined by the table style (14pt), since the paragraph style
(MyStyle) only inherits the docDefaults size (32pt). Whether Normal (48pt) is
defined or not should be irrelevant.

This example file was first broken in LO 4.1 by commit 
23b67c536537c91020cf5a45ab5cb36d7316ed89 
DOCX import: fix import of font size in table styles

and is not fixed by commit 1da6609eb8d3d70bb620d949b1935a5789c2d2ce
DOCX import: default para style has priority over table styles

This example indicates that the entire design of importing table styles needs
to be revised because so far all of the focus has been on InStyleSheetImport()
when in fact this can only be known at the paragraph level.

-- 
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/20180726/8598a956/attachment.html>


More information about the Libreoffice-bugs mailing list