Updated core
[LibreOffice.git] / filter / README
blob6c13f14c5e57f66526802f57d09e0142d95f101e
1 Filter registration and some simple filters (also descriptions).
3 Desperate splitting of code into small shared libraries for historical
4 reasons presumably (OS/2 and Windows 3.x). The libraries produced from
5 the code in each subdirectory of filter/source/graphicfilter are
6 graphic format import or export filters. But they don't have uniform
7 API. Some have either an GraphicImport or GraphicExport entry point,
8 and are loaded and used in a uniform fashion from code in
9 svtools/source/filter/filter.cxx. Others have different API and are
10 loaded from other places. For instance "icgm" has ImportCGM, and is
11 loaded and used by sd/source/filter/cgm/sdcgmfilter.cxx (!).
12 Svgreader is used for "File->Open" and then to choose the svg file.
13 For "Insert->Picture->From File", see svgio/source/svgreader directory.
15 ====================
16 filter configuration
17 ====================
19 The filter configuration consists of two parts, the type definition in
20 filter/source/config/fragments/types/ and the actual filter definition
21 in filter/source/config/fragments/filters/.
23 Each file type e.g. text file should be represented by exactly one
24 type definition. This type can then be referenced by several different
25 filters, e.g. calc text, writer text.