[Libreoffice-bugs] [Bug 134693] The Write crashes when I "cut and paste" a text from a PDF document
bugzilla-daemon at bugs.documentfoundation.org
bugzilla-daemon at bugs.documentfoundation.org
Tue Jul 14 18:42:52 UTC 2020
https://bugs.documentfoundation.org/show_bug.cgi?id=134693
--- Comment #7 from Telesto <telesto at surfxs.nl> ---
Created attachment 163025
--> https://bugs.documentfoundation.org/attachment.cgi?id=163025&action=edit
Bibisect log
Bisected to
author Michael Stahl <Michael.Stahl at cib.de> 2019-04-05 19:30:45 +0200
committer Caolán McNamara <caolanm at redhat.com> 2019-04-13 20:28:39
+0200
commit 9dbff5b4e1dabb715ed146827f69f8fbaba8644a (patch)
tree 833960d75a36c3ff5235bd653c53889cfdbbce0b
parent 915ec0b5f5ce9a2da6a51f5278ea4faaffa19839 (diff)
writerfilter: implement RTF derived styles defaulting
It turns out that the situation fixed in commit
1be0a3fa9ebb22b607c54b47739d4467acfed259 also applies to the definition
of the styles themselves.
To implement the same style import as Word, the style definitions need
to be stored twice: once as read from the file, and another time with
attributes defaulted and deduplicated vs. the parent style; the second
representation is then sent to the domain mapper.
To make this easier, add a bool parameter to cloneAndDeduplicate()
to disable the implicit pPr dereferencing that happens when creating the
hard formatted paragraph properties (this could potentially be cleaned
up further if those paragraph properties would use pPr wrapper
themselves).
Also implement defaulting of line spacing in getDefaultSPRM().
https://cgit.freedesktop.org/libreoffice/core/commit/?id=9dbff5b4e1dabb715ed146827f69f8fbaba8644a
--
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/20200714/03f1dcef/attachment.htm>
More information about the Libreoffice-bugs
mailing list