office-gobmx/sw/source
Justin Luth d97085cc6c tdf#164201 docx import: compat14+ cannot be ECMA_376_1ST_EDITION
This fixes a 7.6 regression
from commit e66ddcd4b6.

At import, the base filter was treating too many documents
as if they were limited to Word 2007 format,
and thus reducing their compatibilityMode to 12 on export.

This import case is matched in a LOT of unit tests.
However, it doesn't manifest itself in
    saveAndReload(mpFilter) (or DECLARE_OOXMLEXPORT_TEST)
because the mpFilter string set in the Test class with
    SwModelTestBase(..."ooxmlexport/data/", "Office Open XML Text"),
forces saving in ISOIEC_29500_2008 mode
and thus unit tests basically NEVER round-trip as "MS Word 2007 XML".

However, the general user was almost always round-tripping
these as MS Word 2007 XML / compat12 since LO 7.6.

make CppunitTest_sw_ooxmlexport20 CPPUNIT_TEST_NAME=testTdf158855

Change-Id: If635866cc816e7b4734443f87b30410ac3bba951
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/178048
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
Reviewed-by: Miklos Vajna <vmiklos@collabora.com>
2024-12-10 00:07:27 +01:00
..
core tdf#164247 sw a11y check: Adhere to WCAG contrast threshold for large text 2024-12-09 18:21:46 +01:00
filter tdf#79298 - FORMATTING: Copy/paste: import strikethrough attribute 2024-12-08 12:00:37 +01:00
ui weld: Rename weld::Treeview selection signal/connect 2024-12-07 11:15:03 +01:00
uibase cid#1607671 Data race condition 2024-12-08 14:02:45 +01:00
writerfilter tdf#164201 docx import: compat14+ cannot be ECMA_376_1ST_EDITION 2024-12-10 00:07:27 +01:00