[Libreoffice-bugs] [Bug 117268] RTF parser dont draw tables correctly (LO4 - OK. LO5, 6 - FAIL )

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Fri Apr 27 08:18:53 UTC 2018


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

Xisco FaulĂ­ <xiscofauli at libreoffice.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
            Version|5.4.6.2 release             |4.2 all versions
           Keywords|                            |bibisected, bisected,
                   |                            |regression
           Hardware|x86-64 (AMD64)              |All
                 CC|                            |vmiklos at collabora.co.uk,
                   |                            |xiscofauli at libreoffice.org
     Ever confirmed|0                           |1
           Severity|enhancement                 |normal
                 OS|Linux (All)                 |All

--- Comment #6 from Xisco FaulĂ­ <xiscofauli at libreoffice.org> ---
Regression introduced by:

author  Miklos Vajna <vmiklos at suse.cz>  2013-08-17 11:38:45 +0200
committer       Miklos Vajna <vmiklos at suse.cz>  2013-08-17 12:30:56 +0200
commit  b9c1a9b9aa41dbbb6bed0c77f4370ab6105c7fb1 (patch)
tree    68c3a70a739bb3ba0abeec191894140c02956ef4
parent  4f20c9f6f95c117bcdb520682df4fa1429a56477 (diff)
fdo#44715 RTF import: reset styles in tables on RTF_PARD
Commit 4a507f732d82c188ad81b022cbe3037951e58ac3 added an exception to
RTF_PARD (reset paragraph properties) handling: when we're inside a
table, it should not reset the fact that we're inside a table (which is
a paragraph property).

However, instead of just re-adding that property, it disabled resetting
for all properties, and we had a growing list of exceptions since then.
The next thing to add there would be the paragraph attributes, which
contains the style information. Instead of growing that ad-hoc list,
reset everything again and just re-add the "in table" SPRM.

This makes the second and later paragraphs in the A1 cell of the bugdoc
have proper font size.

Bisected with: bibisect-42max

Adding Cc: to Miklos Vajna

-- 
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/20180427/48c5061e/attachment-0001.html>


More information about the Libreoffice-bugs mailing list