This patch is basically a copy/paste of mstahl's DOCX patch
LO 7.6 commit ed0476b062
tdf#137883 filter: rename DOCX filters to be less confusing
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/147210
Rename misleading "Excel 2007-365" filter
which corresponds to the first pre-ISO version of OOXML
(ECMA-365 1st edition)
and is actually very specifically for Excel 2007.
Stop confusing users with standardese like
"Office Open XML Spreadsheet"
and instead use the name of the appliction
that the format is intended for, "Excel 2010–365".
Hopefully users will now pick the latter filter over the former,
although obviously it hasn't been highly tested in the wild...
Also, the OOXML_Spreadsheet_Template was missing EXPORT flag,
so didn't show up in the Save dialog.
Also, the OOXML_Spreadsheet was missing SUPPORTSSIGNING flag
which (for DOCX) vmiklos said was by accident.
Notes:
-I made sure to use the n-dash instead of a hyphen
-did a diff to verify only missing EXPORT and SUPPORTSSIGNING
-followup commit will make this default,
so I already changed the corresponding unit tests to use 2010 filter.
make -srj1 UITest_calc_tests7 \
UITEST_TEST_NAME=save_readonly_with_password.save_readonly_with_password.test_save_to_xlsx \
SAL_USE_VCLPLUGIN=gen
make -srj1 UITest_calc_tests8 \
UITEST_TEST_NAME=tdf147086_do_not_save_empty_password_OOXML.tdf147086.test_tdf147086 \
SAL_USE_VCLPLUGIN=gen
Change-Id: I66d8029f28e96552c291edc532f01ec9cb695763
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/195032
Reviewed-by: Justin Luth <jluth@mail.com>
Tested-by: Jenkins
LibreOffice Filters
Filter registration and some simple filters (also descriptions).
Desperate splitting of code into small shared libraries for historical
reasons presumably (OS/2 and Windows 3.x). The libraries produced from
the code in each subdirectory of filter/source/graphicfilter are
graphic format import or export filters. But they don't have uniform
API. Some have either a GraphicImport or GraphicExport entry point,
and are loaded and used in a uniform fashion from code in
svtools/source/filter/filter.cxx. Others have different API and are
loaded from other places. For instance icgm has ImportCGM, and is
loaded and used by sd/source/filter/cgm/sdcgmfilter.cxx (!).
Svgreader is used for "File -> Open" and then to choose the svg file.
For "Insert -> Picture -> From File", see svgio/source/svgreader directory.
Filter Configuration
The filter configuration consists of two parts, the type definition in
filter/source/config/fragments/types/ and the actual filter definition
in filter/source/config/fragments/filters/.
Each file type e.g. text file should be represented by exactly one type definition. This type can then be referenced by several different filters, e.g. calc text, writer text.