diff options
author | Sarper Akdemir <sarper.akdemir@collabora.com> | 2023-02-21 02:34:33 +0300 |
---|---|---|
committer | Andras Timar <andras.timar@collabora.com> | 2023-03-12 21:43:48 +0000 |
commit | 3130211151c8a3596f1834a5297692a96458b368 (patch) | |
tree | 83f4eb176d50d97514ee66a8ccad7fa52abdb186 /solenv/clang-format | |
parent | 19622bf3749531bb66cd190c11ebfdca70b034db (diff) |
tdf#148966: pptx: workaround for multiline fields followed by linebreaks
In Impress after fields that span multiple lines, a
linebreak is already forced. (PowerPoint doesn't have such
behaviour)
Therefore if the imported pptx file has a line break after
the multiline field - Impress ends up displaying an extra
line break.
This patch implements ignoring of a linebreak that follows
after a multiline field during paint (when not in EditMode),
using a compatibility flag. (IgnoreBreakAfterMultilineField)
Change-Id: I1e6772424cc0eead06b53d104b06820038a81ea1
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147408
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/148334
Reviewed-by: Andras Timar <andras.timar@collabora.com>
Tested-by: Andras Timar <andras.timar@collabora.com>
Diffstat (limited to 'solenv/clang-format')
-rw-r--r-- | solenv/clang-format/excludelist | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/solenv/clang-format/excludelist b/solenv/clang-format/excludelist index db1e6f7e4a7f..5e770abc8a1f 100644 --- a/solenv/clang-format/excludelist +++ b/solenv/clang-format/excludelist @@ -3397,6 +3397,7 @@ editeng/inc/editattr.hxx editeng/inc/editdoc.hxx editeng/inc/edtspell.hxx editeng/inc/eerdll2.hxx +editeng/inc/outleeng.hxx editeng/inc/unomodel.hxx editeng/qa/items/borderline_test.cxx editeng/qa/lookuptree/lookuptree_test.cxx @@ -3475,7 +3476,6 @@ editeng/source/misc/swafopt.cxx editeng/source/misc/txtrange.cxx editeng/source/misc/unolingu.cxx editeng/source/outliner/outleeng.cxx -editeng/source/outliner/outleeng.hxx editeng/source/outliner/outlin2.cxx editeng/source/outliner/outliner.cxx editeng/source/outliner/outlobj.cxx |