Saving a PPT file as PPTX could corrupt the output if the left margin was set too high. The margin value must not exceed 51206400 EMUs. ([ISO/IEC 29500-1] 20.1.10.72). The patch sets an upper limit on margin values during both PPT import and PPTX export. Change-Id: I59791059ed4805ec52133cd7926a1e752a18b701 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/192121 Reviewed-by: Michael Stahl <michael.stahl@collabora.com> Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoffice@gmail.com> (cherry picked from commit 70f344e6376f572fa85a4c3f74228588ed2a6b63) Reviewed-on: https://gerrit.libreoffice.org/c/core/+/193073 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.