diff options
author | Justin Luth <justin.luth@collabora.com> | 2018-05-18 07:01:59 +0300 |
---|---|---|
committer | Jan Holesovsky <kendy@collabora.com> | 2019-10-09 16:35:12 +0200 |
commit | 9508477b677f7b63a5255e252440b9852c7b73ce (patch) | |
tree | a9f26bee0dd336986d14764eeecab256615ffd0e /configmgr | |
parent | 51f36a731b46a866c480dd4596454e8313538fbe (diff) |
tdf#117297 sw unotbl XCell: apply char/para style props to text
This is specifically for the benefit of DOCX import, but it
also makes sense in general. If a SwXCell is given char/para
properties, then apply those properties (without overwriting)
to the cell's contents.
This allows ANY paragraph or character properties that are applied
to a table style to become the "default" for the table.
This fixes a number of things:
-remove one-off hack to get PROP_PARA_LINE_SPACING to work.
-works for all character and paragraph properties (except those
shared with tables like borders).
-works in multi-paragraph cells. Previously those could return
AMBIGUOUS state, in which case the style wasn't applied at all.
Change-Id: Ia98c129879575c1aa8ca1fe2a64f4991c0a264e8
Reviewed-on: https://gerrit.libreoffice.org/54511
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Justin Luth <justin_luth@sil.org>
Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
(cherry picked from commit 5e4d89f59614cec08376e1e77625f8610a1490e5)
Reviewed-on: https://gerrit.libreoffice.org/80293
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Tested-by: Jan Holesovsky <kendy@collabora.com>
Diffstat (limited to 'configmgr')
0 files changed, 0 insertions, 0 deletions