office-gobmx/filter
Mike Kaganski 24d4540088 Allow passing Math-specific options to PDF export
The options present in the Math' Print dialog:
* Contents:
  - Title;
  - Formula text;
  - Borders;
* Size:
  - Original size;
  - Fit to page;
  - Scaling N%

were previously not handled in math_pdf_Export. This change makes
them handled, similar to handling of other modules' options.

The final handling of them happens in SmDocShell::Impl_Print.

  TitleRow (boolean; default = true)
  FormulaText (boolean; default = true)
  Border (boolean; default = true)
  PrintFormat (long: 0 - original size; 1 - fit to page; 2 - scaling to PrintScale; default = 0)
  PrintScale (unsigned short; default = 100)

They are also available in command line, as implemented in commit
0c3b8792b7 (PDF export: allow setting
filter data keys from the cmdline, 2022-01-24), using JSON syntax.

TODO: make these options available in Math' PDF export dialog.
Change-Id: I4fcc609e943823a5325a4840988a96c9d5ab3223
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/158637
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
2023-10-30 14:26:49 +01:00
..
inc Extended loplugin:ostr: Rewrite some O[U]StringLiteral -> O[U]String 2023-10-23 11:04:42 +02:00
qa loplugin:ostr: automatic rewrite 2023-10-07 00:47:20 +02:00
source Allow passing Math-specific options to PDF export 2023-10-30 14:26:49 +01:00
uiconfig/ui Explicitly use the adjectival form here 2023-05-03 19:54:47 +02:00
AllLangMoTarget_flt.mk
Configuration_filter.mk Support conditional loading of Apache Parquet files into Calc 2023-10-25 03:59:57 +02:00
CppunitTest_filter_dialogs_test.mk
CppunitTest_filter_msfilter.mk
CppunitTest_filter_pdf.mk
CppunitTest_filter_priority.mk
CppunitTest_filter_svg.mk
CppunitTest_filter_textfilterdetect.mk
CppunitTest_filter_xslt.mk
CustomTarget_svg.mk
IwyuFilter_filter.yaml
JunitTest_filter_complex.mk
Library_filterconfig.mk
Library_graphicfilter.mk
Library_icg.mk
Library_msfilter.mk oox, writerfilter, xmloff: use frozen data structures for static data 2023-06-17 12:31:24 +02:00
Library_odfflatxml.mk Revert "Convert XFastParser into a normal C++ interface" 2023-06-01 15:07:18 +02:00
Library_pdffilter.mk
Library_storagefd.mk
Library_svgfilter.mk
Library_t602filter.mk
Library_textfd.mk
Library_xmlfa.mk Revert "Convert XFastParser into a normal C++ interface" 2023-06-01 15:07:18 +02:00
Library_xmlfd.mk
Library_xsltdlg.mk
Library_xsltfilter.mk
Makefile
Module_filter.mk
Package_docbook.mk
Package_xhtml.mk
Package_xslt.mk
README.md
UIConfig_filter.mk

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.