summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Luth <jluth@mail.com>2022-09-07 19:50:47 -0400
committerJustin Luth <jluth@mail.com>2022-09-08 04:24:00 +0200
commit77689ceb8171943bfea272ce3c875b061e76e23b (patch)
tree8c0d712a38de8c4cd585dfdaa72fd1efbf5b754f
parenta3bd84703ada964441c17971b5fc1ce1258b3b05 (diff)
tdf#149292 docx: pre-emptive unit test
This document has floating tables. However, these tables should not get the page style property, so make sure that paragraph 1 contains RES_PAGEDESC. Change-Id: Ia7506907ce192a0ecbf2c57b4fc63b14882e93b1 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/139619 Tested-by: Jenkins Reviewed-by: Justin Luth <jluth@mail.com>
-rw-r--r--sw/qa/extras/ooxmlexport/ooxmlexport10.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx
index cf5877ea873d..6eca75bf9087 100644
--- a/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx
+++ b/sw/qa/extras/ooxmlexport/ooxmlexport10.cxx
@@ -473,6 +473,9 @@ DECLARE_OOXMLEXPORT_TEST(testFloatingTablesAnchor, "floating-tables-anchor.docx"
xRange = xTextContent->getAnchor();
xText = xRange->getText();
CPPUNIT_ASSERT_EQUAL(OUString("Anchor point"), xText->getString());
+
+ // tdf#149292 pre-emptive test - ensure "First Page" page style
+ CPPUNIT_ASSERT_EQUAL(OUString("First Page"), getProperty<OUString>(getParagraph(1), "PageDescName"));
}
DECLARE_OOXMLEXPORT_TEST(testAnnotationFormatting, "annotation-formatting.docx")
span>fix previous commit that introduced reverse logicChristian Lohmaier 2011-06-06allow to use internal Python on Mac (Python built as framework)Christian Lohmaier 2011-05-07Port PyUno to support Python 3Andreas Becker 2011-04-18Remove OS/2 support.Francois Tigeot 2010-10-14Add vim/emacs modelines to all source filesSebastian Spaeth 2010-10-13tweak this for AIXCaolán McNamara 2010-09-09hb22: #b6982587# treat null LD_LIBRARY_PATH like unset onesb 2010-05-10nativeb: #i110876# escape regexp substitutesIvo Hinkelmann 2010-03-12sb121: #i107352# filter out lib/lib-dynload libs that are marked as _failed b...sb 2010-02-12changefileheader2: #i109125#: change source file copyright notice from Sun Mi...Jens-Heiner Rechtien 2009-11-06cmcfixes66: #i106674# fix remaining new[]/delete mismatchesCaolán McNamara 2009-09-16CWS-TOOLING: integrate CWS l10nframework01Ivo Hinkelmann 2009-05-04CWS-TOOLING: integrate CWS mingwport19Release Engineers 2009-02-12CWS-TOOLING: integrate CWS sb103Oliver Bolte 2008-12-11CWS-TOOLING: integrate CWS sb101Rüdiger Timm 2008-07-02INTEGRATION: CWS mingwport14 (1.3.2); FILE MERGEDVladimir Glazounov 2008-06-12#i90610# Fix for .Net2003 compiler (patch by sb).Rüdiger Timm 2008-06-09INTEGRATION: CWS sb87 (1.1.2); FILE ADDEDRüdiger Timm 2008-06-09INTEGRATION: CWS sb87 (1.9.4); FILE MERGEDRüdiger Timm 2008-06-09INTEGRATION: CWS sb87 (1.13.10); FILE MERGEDRüdiger Timm 2008-04-11INTEGRATION: CWS changefileheader (1.8.60); FILE MERGEDRüdiger Timm