diff options
author | Justin Luth <justin.luth@collabora.com> | 2023-04-14 12:26:40 -0400 |
---|---|---|
committer | Justin Luth <jluth@mail.com> | 2023-04-15 02:42:17 +0200 |
commit | e07d5c089ab2e8fe8a5cfa2a11cef3f1cf3afab3 (patch) | |
tree | ab63fb656972d4c6e9dc2cb62827f01b9bd0607c /sw/qa | |
parent | 4829a85d0753c93419bd46b1d50bcfa6f0f3f1da (diff) |
tdf#154703 docx export framePr: export xAlign/yAlign
This fixes a regression in LO 4.4
from commit 1c876f5616522ab695de8c0316cdb0c601081815.
The relative positions (left,right, center, inside, outside)
(top, bottom...) were simply ignored on export.
Change-Id: Ie12eb75483fbc3f05c77e45d40e4a18a7ead5b1e
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/150430
Tested-by: Jenkins
Reviewed-by: Justin Luth <jluth@mail.com>
Diffstat (limited to 'sw/qa')
-rw-r--r-- | sw/qa/extras/ooxmlexport/ooxmlexport5.cxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx index 84d8b45cddf0..ef1e15eafea5 100644 --- a/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx +++ b/sw/qa/extras/ooxmlexport/ooxmlexport5.cxx @@ -1417,6 +1417,8 @@ CPPUNIT_TEST_FIXTURE(Test, testTdf112287) assertXPath(pXmlDocument, "/w:document/w:body/w:p[1]/w:pPr/w:framePr","vAnchor","margin"); assertXPath(pXmlDocument, "/w:document/w:body/w:p[1]/w:pPr/w:framePr","hAnchor","text"); + assertXPath(pXmlDocument, "/w:document/w:body/w:p[1]/w:pPr/w:framePr","xAlign","center"); + assertXPath(pXmlDocument, "/w:document/w:body/w:p[1]/w:pPr/w:framePr","yAlign","bottom"); } CPPUNIT_TEST_FIXTURE(Test, testTdf112287B) |