diff options
author | Miklos Vajna <vmiklos@collabora.com> | 2020-10-05 21:06:01 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@collabora.com> | 2020-10-06 09:20:57 +0200 |
commit | dfa1856cdb4c69985ef1e809d33055427b6fbd76 (patch) | |
tree | acbfada663fa4369b33512a7d3b62d33756b6bed /oox/qa/unit/data/shape-text-adjust-left.pptx | |
parent | e2a2165f27d2e5f9b6ac2d349e8b588921667ba4 (diff) |
tdf#137023 PPTX import: fix unexpected center alignment of shape text, 2nd try
Regression from commit 10bb02efd8afd42e633e370480104e2575546d8e
(tdf#129685 PPTX import: fix unexpected centering of shape text,
2020-09-18), now the problem was that some text should be left aligned,
but was centered.
Fix the problem by reverting most of the above commit: XML changes,
changes to SdImportTest::testTdf113198() (manual testing show that this
change is not needed after all) and changes to the
TextBodyPropertiesContext ctor in oox/ (but not the testcase itself).
Fix tdf#113198 again, this time in Shape::createAndInsert(), which is
meant to be closer to what the binary PPT import does.
With this, all cases from tdf#104722, tdf#113198, tdf#129685 and
tdf#137023 are meant to be handled correctly at the same time.
Change-Id: Id785252c26fc407cd74c9cfb55624091798d7773
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/103996
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
Diffstat (limited to 'oox/qa/unit/data/shape-text-adjust-left.pptx')
-rw-r--r-- | oox/qa/unit/data/shape-text-adjust-left.pptx | bin | 0 -> 59199 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/oox/qa/unit/data/shape-text-adjust-left.pptx b/oox/qa/unit/data/shape-text-adjust-left.pptx Binary files differnew file mode 100644 index 000000000000..d197425b9703 --- /dev/null +++ b/oox/qa/unit/data/shape-text-adjust-left.pptx |