summaryrefslogtreecommitdiff
path: root/sw/qa/uitest
diff options
context:
space:
mode:
authorMichael Stahl <michael.stahl@allotropia.de>2023-02-17 12:25:30 +0100
committerMichael Stahl <michael.stahl@allotropia.de>2023-02-20 12:07:54 +0000
commited0476b0625c4361df5ff040a6661a9634588cea (patch)
tree5c41fe9900f8a9151aea50b567b99353bc89ad42 /sw/qa/uitest
parente66ddcd4b66923bc835bd7c5f5c784a809a420a2 (diff)
tdf#137883 filter: rename DOCX filters to be less confusing
Rename misleading "Word 2007–365" filter which corresponds to the sightly incompatible first pre-ISO version of OOXML (ECMA-376 1st edition) and is actually very specifically for Word 2007. Stop confusing users with standardese like "Office Open XML Text Document (Transitional)" and instead use the name of the application that the format is intended for, "Word 2010-365". Hopefully users will now pick the latter filter over the former. Also, the OOXML_Text_Template.xcu was missing EXPORT flag so didn't show up in Save dialog. Also, the OOXML_Text.xcu was missing SUPPORTSSIGNING flag which vmiklos said was by accident. Change-Id: I3aa88ac0fee51c906f11e75558a5d6de4f36a402 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147210 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>
Diffstat (limited to 'sw/qa/uitest')
-rw-r--r--sw/qa/uitest/writer_tests3/save_readonly_with_password.py2
-rw-r--r--sw/qa/uitest/writer_tests7/tdf131936.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/sw/qa/uitest/writer_tests3/save_readonly_with_password.py b/sw/qa/uitest/writer_tests3/save_readonly_with_password.py
index a19e97afc6de..0591ad9e0c91 100644
--- a/sw/qa/uitest/writer_tests3/save_readonly_with_password.py
+++ b/sw/qa/uitest/writer_tests3/save_readonly_with_password.py
@@ -30,7 +30,7 @@ class save_readonly_with_password(UITestCase):
xFileName.executeAction("TYPE", mkPropertyValues({"KEYCODE":"BACKSPACE"}))
xFileName.executeAction("TYPE", mkPropertyValues({"TEXT": xFilePath}))
xFileTypeCombo = xSaveDialog.getChild("file_type")
- select_by_text(xFileTypeCombo, "Office Open XML Text (Transitional) (.docx)")
+ select_by_text(xFileTypeCombo, "Word 2010-365 Document (.docx)")
xPasswordCheckButton = xSaveDialog.getChild("password")
xPasswordCheckButton.executeAction("CLICK", tuple())
xOpen = xSaveDialog.getChild("open")
diff --git a/sw/qa/uitest/writer_tests7/tdf131936.py b/sw/qa/uitest/writer_tests7/tdf131936.py
index c7403bf2c67e..c7bf9e13cd83 100644
--- a/sw/qa/uitest/writer_tests7/tdf131936.py
+++ b/sw/qa/uitest/writer_tests7/tdf131936.py
@@ -18,7 +18,7 @@ class tdf131936(UITestCase):
with self.ui_test.execute_dialog_through_command(".uno:SaveAs", close_button="cancel") as xDialog:
xFileTypeCombo = xDialog.getChild("file_type")
state = get_state_as_dict(xFileTypeCombo)
- self.assertEqual(state["SelectEntryText"], "Office Open XML Text (Transitional) (.docx)")
+ self.assertEqual(state["SelectEntryText"], "Word 2010-365 Document (.docx)")
# vim: set shiftwidth=4 softtabstop=4 expandtab: