update credits
[LibreOffice.git] / filter / Configuration_filter.mk
blob42ebab575cd3a3660dfd844f9de81e2362893a4e
2 # This file is part of the LibreOffice project.
4 # This Source Code Form is subject to the terms of the Mozilla Public
5 # License, v. 2.0. If a copy of the MPL was not distributed with this
6 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 # This file incorporates work covered by the following license notice:
10 # Licensed to the Apache Software Foundation (ASF) under one or more
11 # contributor license agreements. See the NOTICE file distributed
12 # with this work for additional information regarding copyright
13 # ownership. The ASF licenses this file to you under the Apache
14 # License, Version 2.0 (the "License"); you may not use this file
15 # except in compliance with the License. You may obtain a copy of
16 # the License at http://www.apache.org/licenses/LICENSE-2.0 .
19 # this deviates from Configuration.mk in rather bizarre ways
21 # most of the rules here use some weird merge program, and this is sort of
22 # semi-integrated with the stuff from Configuration.mk; not exactly pretty...
24 filter_MERGE_TARGET := $(call gb_ExternalExecutable_get_dependencies,python) \
25 $(SRCDIR)/filter/source/config/tools/merge/pyAltFCFGMerge
26 filter_MERGE := $(call gb_ExternalExecutable_get_command,python) \
27 $(SRCDIR)/filter/source/config/tools/merge/pyAltFCFGMerge \
28 $(if $(verbose),-verbose)
30 ### filter configuration rules: generic stuff #######################
32 ### types
34 filter_XcuFilterTypesTarget_get_clean_target = \
35 $(WORKDIR)/Clean/XcuFilterTypesTarget/$(1)
37 $(call gb_XcuFilterTypesTarget_get_target,%) : $(filter_MERGE_TARGET)
38 $(call gb_Output_announce,$*,$(true),FIT,1)
39 $(call gb_Trace_StartRange,$*,FIT)
40 $(call gb_Helper_abbreviate_dirs,\
41 mkdir -p $(dir $@) && \
42 RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),items=$(subst $(WHITESPACE),$(COMMA),$(basename $(notdir $(filter %.xcu,$^))))) && \
43 $(filter_MERGE) tempdir=$(TMPDIR) \
44 share_subdir_name=$(LIBO_SHARE_FOLDER) \
45 fragmentsdir=$(dir $(firstword $(filter %.xcu,$^))).. \
46 outdir=$(dir $@) pkg=$@ xmlpackage=Types tcfg=$${RESPONSEFILE} && \
47 rm -f $${RESPONSEFILE})
48 $(call gb_Trace_EndRange,$*,FIT)
50 $(call filter_XcuFilterTypesTarget_get_clean_target,%) :
51 $(call gb_Output_announce,$*,$(false),FIT,1)
52 rm -f $(call gb_XcuFilterTypesTarget_get_target,$*)
54 # $(call filter_Configuration__add_module,configuration,module,prefix,xcufiles,target,cleantarget)
55 define filter_Configuration__add_module
56 $(call gb_Configuration_get_target,$(1)) : $(5)
57 $(call gb_Configuration_get_clean_target,$(1)) : $(6)
58 $(if $(4),,$(error filter_Configuration__add_module: no input files))
59 $(5) : \
60 $(addprefix $(SRCDIR)/$(3)/,$(addsuffix .xcu,$(4))) \
61 $(gb_Module_CURRENTMAKEFILE)
63 endef
65 # $(call filter_Configuration_add_types,configuration,typesfile,prefix,xcufiles)
66 define filter_Configuration_add_types
67 $(call filter_Configuration__add_module,$(1),$(2),$(3),$(4),\
68 $(call gb_XcuFilterTypesTarget_get_target,$(2)),\
69 $(call filter_XcuFilterTypesTarget_get_clean_target,$(2)))
71 endef
73 ### filters
75 filter_XcuFilterFiltersTarget_get_clean_target = \
76 $(WORKDIR)/Clean/XcuFilterFiltersTarget/$(1)
78 $(call gb_XcuFilterFiltersTarget_get_target,%) : $(filter_MERGE_TARGET)
79 $(call gb_Output_announce,$*,$(true),FIF,1)
80 $(call gb_Trace_StartRange,$*,FIF)
81 $(call gb_Helper_abbreviate_dirs,\
82 mkdir -p $(dir $@) && \
83 RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),items=$(subst $(WHITESPACE),$(COMMA),$(basename $(notdir $(filter %.xcu,$^))))) && \
84 $(filter_MERGE) tempdir=$(TMPDIR) \
85 share_subdir_name=$(LIBO_SHARE_FOLDER) \
86 fragmentsdir=$(dir $(firstword $(filter %.xcu,$^))).. \
87 outdir=$(dir $@) pkg=$@ xmlpackage=Filter fcfg=$${RESPONSEFILE} && \
88 rm -f $${RESPONSEFILE})
89 $(call gb_Trace_EndRange,$*,FIF)
91 $(call filter_XcuFilterFiltersTarget_get_clean_target,%) :
92 $(call gb_Output_announce,$*,$(false),FIF,1)
93 rm -f $(call gb_XcuFilterFiltersTarget_get_target,$*)
95 # $(call filter_Configuration_add_filters,configuration,typesfile,prefix,xcufiles)
96 define filter_Configuration_add_filters
97 $(call filter_Configuration__add_module,$(1),$(2),$(3),$(4),\
98 $(call gb_XcuFilterFiltersTarget_get_target,$(2)),\
99 $(call filter_XcuFilterFiltersTarget_get_clean_target,$(2)))
100 $(call filter_Configuration_add_ui_filters,$(1),$(3),$(4))
102 endef
104 ### others (frameloaders, contenthandlers)
106 filter_XcuFilterOthersTarget_get_clean_target = \
107 $(WORKDIR)/Clean/XcuFilterOthersTarget/$(1)
109 $(call gb_XcuFilterOthersTarget_get_target,%) : $(filter_MERGE_TARGET)
110 $(call gb_Output_announce,$*,$(true),FIO,1)
111 $(call gb_Trace_StartRange,$*,FIO)
112 $(call gb_Helper_abbreviate_dirs,\
113 mkdir -p $(dir $@) && \
114 RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),items=$(subst $(WHITESPACE),$(COMMA),$(strip $(foreach xcu,$(filter %.xcu,$^),$(if $(filter frameloaders,$(notdir $(patsubst %/,%,$(dir $(xcu))))),$(basename $(notdir $(xcu),))))))) && \
115 RESPONSEFILE2=$(call gb_var2file,$(shell $(gb_MKTEMP)),items=$(subst $(WHITESPACE),$(COMMA),$(strip $(foreach xcu,$(filter %.xcu,$^),$(if $(filter contenthandlers,$(notdir $(patsubst %/,%,$(dir $(xcu))))),$(basename $(notdir $(xcu),))))))) && \
116 $(filter_MERGE) tempdir=$(TMPDIR) \
117 share_subdir_name=$(LIBO_SHARE_FOLDER) \
118 fragmentsdir=$(dir $(firstword $(filter %.xcu,$^))).. \
119 outdir=$(dir $@) pkg=$@ xmlpackage=Misc \
120 lcfg=$${RESPONSEFILE} ccfg=$${RESPONSEFILE2} && \
121 rm -f $${RESPONSEFILE} $${RESPONSEFILE2})
122 $(call gb_Trace_EndRange,$*,FIO)
124 $(call filter_XcuFilterOthersTarget_get_clean_target,%) :
125 $(call gb_Output_announce,$*,$(false),FIO,1)
126 rm -f $(call gb_XcuFilterOthersTarget_get_target,$*)
128 # $(call filter_Configuration_add_others,configuration,typesfile,prefix,xcufiles)
129 define filter_Configuration_add_others
130 $(call filter_Configuration__add_module,$(1),$(2),$(3),$(4),\
131 $(call gb_XcuFilterOthersTarget_get_target,$(2)),\
132 $(call filter_XcuFilterOthersTarget_get_clean_target,$(2)))
134 endef
136 ### internal filters
138 filter_XcuFilterInternalTarget_get_clean_target = \
139 $(WORKDIR)/Clean/XcuFilterInternalTarget/$(1)
141 $(call gb_XcuFilterInternalTarget_get_target,%) : $(filter_MERGE_TARGET)
142 $(call gb_Output_announce,$*,$(true),FII,1)
143 $(call gb_Trace_StartRange,$*,FII)
144 $(call gb_Helper_abbreviate_dirs,\
145 mkdir -p $(dir $@) && \
146 RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),items=$(subst $(WHITESPACE),$(COMMA),$(basename $(notdir $(filter %.xcu,$^))))) && \
147 $(filter_MERGE) tempdir=$(TMPDIR) \
148 share_subdir_name=$(LIBO_SHARE_FOLDER) \
149 fragmentsdir=$(dir $(firstword $(filter %.xcu,$^))).. \
150 outdir=$(dir $@) pkg=$@ xmlpackage=GraphicFilter \
151 fcfg=$${RESPONSEFILE} subdir_filters=internalgraphicfilters && \
152 rm -f $${RESPONSEFILE})
153 $(call gb_Trace_EndRange,$*,FII)
155 $(call filter_XcuFilterInternalTarget_get_clean_target,%) :
156 $(call gb_Output_announce,$*,$(false),FII,1)
157 rm -f $(call gb_XcuFilterInternalTarget_get_target,$*)
159 # $(call filter_Configuration_add_internal_filters,configuration,typesfile,prefix,xcufiles)
160 define filter_Configuration_add_internal_filters
161 $(call filter_Configuration__add_module,$(1),$(2),$(3),$(4),\
162 $(call gb_XcuFilterInternalTarget_get_target,$(2)),\
163 $(call filter_XcuFilterInternalTarget_get_clean_target,$(2)))
165 endef
168 ### filter configuration rules: l10n stuff: #########################
170 # Configuration fcfg_langpack
171 # => $(lang)/org/openoffice/TypeDetection/Filter.xcu
172 # xslt=> filter_ui.xcu
173 # merge=> *.xcu $(ALL_UI_FILTERS) [if WITH_LANG]
174 # cfgex=> source/%.xcu
175 # merge=> source/*.xcu [if !WITH_LANG]
177 filter_XSLT_langfilter := \
178 $(SRCDIR)/filter/source/config/fragments/langfilter.xsl
179 filter_XcuFilterUiTarget = $(WORKDIR)/XcuFilterUiTarget/filter_ui.xcu
180 filter_XcuFilterUiCleanTarget = $(WORKDIR)/Clean/XcuFilterUiTarget/filter_ui.xcu
181 filter_XCU_filter := org/openoffice/TypeDetection/Filter.xcu
182 filter_XcuResTarget_get_target = \
183 $(call gb_XcuResTarget_get_target,fcfg_langpack/$(1)/$(filter_XCU_filter))
184 filter_XcuResTarget_get_clean_target = \
185 $(call gb_XcuResTarget_get_clean_target,fcfg_langpack/$(1)/$(filter_XCU_filter))
187 $(filter_XcuFilterUiTarget) : $(filter_MERGE_TARGET)
188 $(call gb_Output_announce,$(subst $(WORKDIR)/,,$@),$(true),FIU,1)
189 $(call gb_Trace_StartRange,$(subst $(WORKDIR)/,,$@),FIU)
190 $(call gb_Helper_abbreviate_dirs,\
191 mkdir -p $(dir $@) && \
192 RESPONSEFILE=$(call gb_var2file,$(shell $(gb_MKTEMP)),items=$(subst $(WHITESPACE),$(COMMA),$(basename $(notdir $(filter %.xcu,$^))))) && \
193 $(filter_MERGE) tempdir=$(TMPDIR) \
194 share_subdir_name=$(LIBO_SHARE_FOLDER) \
195 fragmentsdir=$(dir $(firstword $(filter %.xcu,$^))).. \
196 pkg=$@ xmlpackage=Filter fcfg=$${RESPONSEFILE} languagepack=true \
197 && rm -f $${RESPONSEFILE})
198 $(call gb_Trace_EndRange,$(subst $(WORKDIR)/,,$@),FIU)
200 $(filter_XcuFilterUiCleanTarget) :
201 $(call gb_Output_announce,$(filter_XcuFilterUiTarget),$(false),FIU,1)
202 $(call gb_Helper_abbreviate_dirs,\
203 rm -f $(filter_XcuFilterUiTarget))
205 $(call gb_Configuration_get_clean_target,fcfg_langpack) : \
206 $(filter_XcuFilterUiCleanTarget)
208 # this is _not_ a pattern rule:
209 # there is already a pattern rule for gb_XcuResTarget_get_target,
210 # so generate non-pattern rules which have higher priority even in GNUmake 3.81
211 define filter_XcuResTarget__rule
212 $$(call filter_XcuResTarget_get_target,$(1)) : \
213 $(filter_XSLT_langfilter) $(filter_XcuFilterUiTarget) \
214 | $(call gb_ExternalExecutable_get_dependencies,xsltproc)
215 $$(call gb_Output_announce,$(1),$(true),XCU,1)
216 $$(call gb_Trace_StartRange,$(1),XCU)
217 $$(call gb_Helper_abbreviate_dirs,\
218 mkdir -p $$(dir $$@) && \
219 $(subst $$,$$$$,$(call gb_ExternalExecutable_get_command,xsltproc)) --nonet --stringparam lang $(1) \
220 $(filter_XSLT_langfilter) \
221 $(filter_XcuFilterUiTarget) > $$@)
222 $$(call gb_Trace_EndRange,$(1),XCU)
224 endef
226 $(foreach lang,$(gb_Configuration_LANGS),$(eval \
227 $(call filter_XcuResTarget__rule,$(lang))))
229 define filter_Configuration_Configuration
230 $(call gb_Configuration_Configuration,$(1))
232 $(call gb_Configuration_get_target,$(1)) : \
233 $(foreach lang,$(gb_Configuration_LANGS),$(call filter_XcuResTarget_get_target,$(lang)))
234 $(call gb_Configuration_get_clean_target,$(1)) : \
235 $(foreach lang,$(gb_Configuration_LANGS),$(call filter_XcuResTarget_get_clean_target,$(lang)))
237 endef
240 # $(call filter_Configuration_add_ui_filter,configuration,prefix,xcufile)
241 define filter_Configuration_add_ui_filter
242 ifeq ($(WITH_LANG),)
243 $(filter_XcuFilterUiTarget) : $(SRCDIR)/$(2)/$(3)
244 else
245 $(call gb_XcuMergeTarget_XcuMergeTarget,$(2)/$(3),$(1),$(2),$(3))
246 $(filter_XcuFilterUiTarget) : \
247 $(call gb_XcuMergeTarget_get_target,$(2)/$(3))
248 endif
249 $(call gb_Configuration_get_clean_target,$(1)) : \
250 $(call gb_XcuMergeTarget_get_clean_target,$(2)/$(3))
252 endef
254 # $(call filter_Configuration_add_ui_filters,configuration,prefix,xcufile)
255 define filter_Configuration_add_ui_filters
256 $(foreach xcu,$(3),$(call filter_Configuration_add_ui_filter,$(1),$(2),$(xcu).xcu))
258 endef
261 ### the filter configuration ########################################
263 $(eval $(call filter_Configuration_Configuration,fcfg_langpack))
265 # fcfg_base
266 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_base_types.xcu,filter/source/config/fragments/types,\
267 writer_web_HTML_help \
268 oxt_OpenOffice_Extension \
269 wav_Wave_Audio_File \
270 component_Bibliography \
271 component_DB \
274 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_base_filters.xcu,filter/source/config/fragments/filters,\
275 writer_web_HTML_help \
278 $(eval $(call filter_Configuration_add_others,fcfg_langpack,fcfg_base_others.xcu,filter/source/config/fragments,\
279 frameloaders/com_sun_star_frame_Bibliography \
280 frameloaders/com_sun_star_sdb_ContentLoader \
281 contenthandlers/com_sun_star_comp_framework_SoundHandler \
282 contenthandlers/com_sun_star_comp_framework_oxt_handler \
285 ifneq ($(ENABLE_WASM_STRIP_DBACCESS),TRUE)
286 # fcfg_database
287 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_database_types.xcu,filter/source/config/fragments/types,\
288 StarBase \
291 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_database_filters.xcu,filter/source/config/fragments/filters,\
292 StarOffice_XML__Base_ \
295 $(eval $(call filter_Configuration_add_others,fcfg_langpack,fcfg_database_others.xcu,filter/source/config/fragments,\
296 frameloaders/org_openoffice_comp_dbflt_DBContentLoader2 \
298 endif
300 ifeq ($(ENABLE_REPORTBUILDER),TRUE)
301 # fcfg_reportbuilder
302 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_reportbuilder_types.xcu,filter/source/config/fragments/types,\
303 StarBaseReport \
304 StarBaseReportChart \
307 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_reportbuilder_filters.xcu,filter/source/config/fragments/filters,\
308 StarBaseReport \
309 StarBaseReportChart \
311 endif
313 # fcfg_writer
314 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writer_types.xcu,filter/source/config/fragments/types,\
315 generic_HTML \
316 calc_MS_Excel_40 \
317 calc_MS_Excel_5095 \
318 calc_MS_Excel_95 \
319 writer_MS_WinWord_5 \
320 writer_MS_WinWord_60 \
321 writer_MS_Word_95 \
322 writer_MS_Word_95_Vorlage \
323 writer_MS_Word_97 \
324 writer_MS_Word_97_Vorlage \
325 writer_ODT_FlatXML \
326 writer_Rich_Text_Format \
327 writer_StarOffice_XML_Writer \
328 writer_WordPerfect_Document \
329 writer_MS_Works_Document \
330 writer_MS_Write \
331 writer_DosWord \
332 writer_ClarisWorks \
333 writer_Mac_Word \
334 writer_Mac_Works \
335 writer_MacWrite \
336 writer_Mariner_Write \
337 writer_WriteNow \
338 writer_AbiWord_Document \
339 writer_T602_Document \
340 writer_LotusWordPro_Document \
341 generic_Text \
342 writer_MIZI_Hwp_97 \
343 writer_StarOffice_XML_Writer_Template \
344 pdf_Portable_Document_Format \
345 writer8_template \
346 writer8 \
347 writer_MS_Word_2007_XML \
348 writer_MS_Word_2007_XML_Template \
349 writer_MS_Word_2007_XML_VBA \
350 writer_OOXML \
351 writer_OOXML_Template \
352 writer_layout_dump_xml \
353 writer_indexing_export_xml \
354 writer_BroadBand_eBook \
355 writer_FictionBook_2 \
356 writer_PalmDoc \
357 writer_Plucker_eBook \
358 writer_ApplePages \
359 MWAW_Text_Document \
360 Palm_Text_Document \
361 StarOffice_Writer \
362 writer_EPUB_Document \
363 writer_PocketWord_File \
366 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writer_filters.xcu,filter/source/config/fragments/filters,\
367 HTML__StarWriter_ \
368 MS_WinWord_5 \
369 MS_WinWord_6_0 \
370 MS_Word_95 \
371 MS_Word_95_Vorlage \
372 MS_Word_97 \
373 MS_Word_97_Vorlage \
374 ODT_FlatXML \
375 Rich_Text_Format \
376 StarOffice_XML__Writer_ \
377 WordPerfect \
378 MS_Works \
379 MS_Write \
380 DosWord \
381 ClarisWorks \
382 Mac_Word \
383 Mac_Works \
384 MacWrite \
385 Mariner_Write \
386 WriteNow \
387 AbiWord \
388 T602Document \
389 LotusWordPro \
390 Text \
391 Text__encoded_ \
392 writer_MIZI_Hwp_97 \
393 writer_StarOffice_XML_Writer_Template \
394 writer_pdf_Export\
395 writer8\
396 writer8_template \
397 MS_Word_2007_XML \
398 MS_Word_2007_XML_Template \
399 MS_Word_2007_XML_VBA \
400 OOXML_Text \
401 OOXML_Text_Template \
402 writer_layout_dump \
403 writer_indexing_export \
404 BroadBand_eBook \
405 FictionBook_2 \
406 PalmDoc \
407 Plucker_eBook \
408 ApplePages \
409 MWAW_Text_Document \
410 Palm_Text_Document \
411 StarOffice_Writer \
412 EPUB \
413 PocketWord_File \
416 # fcfg_web
417 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_web_types.xcu,filter/source/config/fragments/types,\
418 generic_HTML \
419 generic_Text \
420 writer_web_HTML_help \
421 writer_StarOffice_XML_Writer \
422 writer_web_StarOffice_XML_Writer_Web_Template \
423 pdf_Portable_Document_Format \
424 writerweb8_writer_template \
427 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_web_filters.xcu,filter/source/config/fragments/filters,\
428 HTML \
429 Text__StarWriter_Web_ \
430 Text__encoded___StarWriter_Web_ \
431 writer_web_HTML_help \
432 writer_web_StarOffice_XML_Writer \
433 writer_web_StarOffice_XML_Writer_Web_Template \
434 writer_web_pdf_Export\
435 writer_web_png_Export\
436 writer_web_jpg_Export\
437 writer_web_webp_Export\
438 writerweb8_writer_template\
439 writerweb8_writer \
442 # fcfg_global
443 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_global_types.xcu,filter/source/config/fragments/types,\
444 generic_Text \
445 writer_StarOffice_XML_Writer \
446 writer_globaldocument_StarOffice_XML_Writer_GlobalDocument \
447 pdf_Portable_Document_Format \
448 writerglobal8 \
449 writerglobal8_template \
452 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_global_filters.xcu,filter/source/config/fragments/filters,\
453 Text__encoded___StarWriter_GlobalDocument_ \
454 writer_globaldocument_StarOffice_XML_Writer \
455 writer_globaldocument_StarOffice_XML_Writer_GlobalDocument \
456 writer_globaldocument_pdf_Export \
457 writerglobal8 \
458 writerglobal8_template \
459 writerglobal8_writer \
460 writerglobal8_HTML \
463 # fcfg_calc
464 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_calc_types.xcu,filter/source/config/fragments/types,\
465 calc_DIF \
466 calc_ODS_FlatXML \
467 calc_HTML \
468 generic_HTML \
469 generic_Text \
470 calc_Gnumeric \
471 calc_Lotus \
472 calc_Parquet \
473 calc_QPro \
474 calc_MS_Excel_40 \
475 calc_MS_Excel_40_VorlageTemplate \
476 calc_MS_Excel_5095 \
477 calc_MS_Excel_5095_VorlageTemplate \
478 calc_MS_Excel_95 \
479 calc_MS_Excel_95_VorlageTemplate \
480 calc_MS_Excel_97 \
481 calc_MS_Excel_97_VorlageTemplate \
482 writer_Rich_Text_Format \
483 calc_SYLK \
484 calc_StarOffice_XML_Calc \
485 calc_StarOffice_XML_Calc_Template \
486 pdf_Portable_Document_Format \
487 calc_dBase\
488 calc8 \
489 calc8_template \
490 MS_Excel_2007_XML \
491 MS_Excel_2007_VBA_XML \
492 MS_Excel_2007_XML_Template \
493 MS_Excel_2007_Binary \
494 calc_OOXML \
495 calc_OOXML_Template \
496 calc_MS_Works_Document \
497 calc_WPS_Lotus_Document \
498 calc_WPS_QPro_Document \
499 calc_ClarisWorks \
500 calc_Claris_Resolve \
501 calc_Mac_Works \
502 calc_AppleNumbers \
503 MWAW_Database \
504 MWAW_Spreadsheet \
505 StarOffice_Spreadsheet \
506 calc_MS_Multiplan \
509 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calc_filters.xcu,filter/source/config/fragments/filters,\
510 DIF \
511 HTML__StarCalc_ \
512 ODS_FlatXML \
513 Lotus \
514 QPro \
515 MS_Excel_4_0 \
516 MS_Excel_4_0_Vorlage_Template \
517 MS_Excel_5_0_95 \
518 MS_Excel_5_0_95_Vorlage_Template \
519 MS_Excel_95 \
520 MS_Excel_95_Vorlage_Template \
521 MS_Excel_97 \
522 MS_Excel_97_Vorlage_Template \
523 MS_Excel_2003_XML_Orcus \
524 Rich_Text_Format__StarCalc_ \
525 SYLK \
526 StarOffice_XML__Calc_ \
527 Text___txt___csv__StarCalc_ \
528 calc_HTML_WebQuery \
529 calc_StarOffice_XML_Calc_Template \
530 calc_pdf_Export \
531 calc_Parquet \
532 dBase \
533 calc8 \
534 calc8_template \
535 calc_Gnumeric \
536 calc_MS_Excel_2007_XML \
537 calc_MS_Excel_2007_VBA_XML \
538 calc_MS_Excel_2007_XML_Template \
539 calc_MS_Excel_2007_Binary \
540 calc_OOXML \
541 calc_OOXML_Template \
542 MS_Works_Calc \
543 WPS_Lotus_Calc \
544 WPS_QPro_Calc \
545 ClarisWorks_Calc \
546 Claris_Resolve_Calc \
547 Mac_Works_Calc \
548 AppleNumbers \
549 MWAW_Database \
550 MWAW_Spreadsheet \
551 StarOffice_Spreadsheet \
552 MS_Multiplan \
555 ifneq ($(ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS),TRUE)
556 # fcfg_draw
557 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_draw_types.xcu,filter/source/config/fragments/types,\
558 draw_ODG_FlatXML \
559 draw_StarOffice_XML_Draw \
560 draw_StarOffice_XML_Draw_Template \
561 pdf_Portable_Document_Format \
562 draw8 \
563 draw8_template \
564 draw_WordPerfect_Graphics \
565 draw_Visio_Document \
566 draw_Publisher_Document \
567 draw_CorelDraw_Document \
568 draw_Corel_Presentation_Exchange \
569 draw_Freehand_Document \
570 draw_Visio_Document \
571 draw_ClarisWorks \
572 draw_PageMaker_Document \
573 draw_QXP_Document \
574 draw_ZMF_Document \
575 MWAW_Bitmap \
576 MWAW_Drawing \
577 StarOffice_Drawing \
580 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_draw_filters.xcu,filter/source/config/fragments/filters,\
581 ODG_FlatXML \
582 StarOffice_XML__Draw_ \
583 draw_StarOffice_XML_Draw_Template \
584 draw_pdf_Export \
585 draw8 \
586 draw8_template \
587 WordPerfectGraphics \
588 VisioDocument \
589 PublisherDocument \
590 CorelDrawDocument \
591 CorelPresentationExchange \
592 FreehandDocument \
593 ClarisWorks_Draw \
594 PageMakerDocument \
595 QXPDocument \
596 ZMFDocument \
597 MWAW_Bitmap \
598 MWAW_Drawing \
599 StarOffice_Drawing \
602 # fcfg_impress
603 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_impress_types.xcu,filter/source/config/fragments/types,\
604 draw_StarOffice_XML_Draw \
605 impress_AppleKeynote \
606 impress_MS_PowerPoint_97 \
607 impress_MS_PowerPoint_97_AutoPlay \
608 impress_MS_PowerPoint_97_Vorlage \
609 impress_ODP_FlatXML \
610 impress_StarOffice_XML_Impress \
611 impress_StarOffice_XML_Impress_Template \
612 pdf_Portable_Document_Format \
613 impress8 \
614 impress8_template \
615 draw8 \
616 MS_PowerPoint_2007_XML \
617 MS_PowerPoint_2007_XML_AutoPlay \
618 MS_PowerPoint_2007_XML_Template \
619 MS_PowerPoint_2007_XML_VBA \
620 impress_OOXML_Presentation \
621 impress_OOXML_Presentation_Template \
622 impress_OOXML_Presentation_AutoPlay \
623 impress_ClarisWorks \
624 StarOffice_Presentation \
625 MWAW_Presentation \
626 impress_PowerPoint3 \
629 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_impress_filters.xcu,filter/source/config/fragments/filters,\
630 AppleKeynote \
631 MS_PowerPoint_97 \
632 MS_PowerPoint_97_AutoPlay \
633 MS_PowerPoint_97_Vorlage \
634 impress_StarOffice_XML_Draw \
635 ODP_FlatXML \
636 StarOffice_XML__Impress_ \
637 impress_StarOffice_XML_Impress_Template \
638 impress_pdf_Export \
639 impress8 \
640 impress8_template \
641 impress8_draw \
642 impress_MS_PowerPoint_2007_XML \
643 impress_MS_PowerPoint_2007_XML_AutoPlay \
644 impress_MS_PowerPoint_2007_XML_Template \
645 impress_MS_PowerPoint_2007_XML_VBA \
646 impress_OOXML \
647 impress_OOXML_Template \
648 impress_OOXML_AutoPlay \
649 ClarisWorks_Impress \
650 StarOffice_Presentation \
651 MWAW_Presentation \
652 PowerPoint3 \
654 endif
656 # fcfg_chart
657 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_chart_types.xcu,filter/source/config/fragments/types,\
658 chart_StarOffice_XML_Chart \
659 chart8 \
662 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_chart_filters.xcu,filter/source/config/fragments/filters,\
663 StarOffice_XML__Chart_ \
664 chart8 \
667 $(eval $(call filter_Configuration_add_others,fcfg_langpack,fcfg_chart_others.xcu,filter/source/config/fragments,\
668 frameloaders/com_sun_star_comp_chart2_ChartFrameLoader \
671 ifneq ($(ENABLE_WASM_STRIP_BASIC_DRAW_MATH_IMPRESS),TRUE)
672 # fcfg_math
673 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_math_types.xcu,filter/source/config/fragments/types,\
674 math_MathML_XML_Math \
675 math_MathType_3x \
676 math_StarOffice_XML_Math \
677 pdf_Portable_Document_Format \
678 math8 \
681 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_math_filters.xcu,filter/source/config/fragments/filters,\
682 MathML_XML__Math_ \
683 MathType_3_x \
684 StarOffice_XML__Math_ \
685 math_pdf_Export \
686 math8 \
688 endif
690 # fcfg_drawgraphics
691 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_drawgraphics_types.xcu,filter/source/config/fragments/types,\
692 bmp_MS_Windows \
693 dxf_AutoCAD_Interchange \
694 emf_MS_Windows_Metafile \
695 emz_Compressed_MS_Windows_Metafile \
696 eps_Encapsulated_PostScript \
697 gif_Graphics_Interchange \
698 graphic_HTML \
699 jpg_JPEG \
700 met_OS2_Metafile \
701 mov_MOV \
702 pbm_Portable_Bitmap \
703 pcd_Photo_CD_Base \
704 pcd_Photo_CD_Base16 \
705 pcd_Photo_CD_Base4 \
706 pct_Mac_Pict \
707 pcx_Zsoft_Paintbrush \
708 pgm_Portable_Graymap \
709 png_Portable_Network_Graphic \
710 ppm_Portable_Pixelmap \
711 psd_Adobe_Photoshop \
712 ras_Sun_Rasterfile \
713 svg_Scalable_Vector_Graphics_Draw \
714 svg_Scalable_Vector_Graphics \
715 svgz_Compressed_Scalable_Vector_Graphics \
716 svm_StarView_Metafile \
717 tga_Truevision_TARGA \
718 tif_Tag_Image_File \
719 webp_WebP \
720 wmf_MS_Windows_Metafile \
721 wmz_Compressed_MS_Windows_Metafile \
722 xbm_X_Consortium \
723 xpm_XPM \
726 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_drawgraphics_filters.xcu,filter/source/config/fragments/filters,\
727 APNG___Animated_Portable_Network_Graphic \
728 BMP___MS_Windows \
729 DXF___AutoCAD_Interchange \
730 EMF___MS_Windows_Metafile \
731 EMZ___Compressed_MS_Windows_Metafile \
732 EPS___Encapsulated_PostScript \
733 GIF___Graphics_Interchange \
734 JPG___JPEG \
735 MET___OS_2_Metafile \
736 mov__MOV \
737 PBM___Portable_Bitmap \
738 PCT___Mac_Pict \
739 PCX___Zsoft_Paintbrush \
740 PGM___Portable_Graymap \
741 PNG___Portable_Network_Graphic \
742 PPM___Portable_Pixelmap \
743 PSD___Adobe_Photoshop \
744 RAS___Sun_Rasterfile \
745 SVG___Scalable_Vector_Graphics_Draw \
746 SVG___Scalable_Vector_Graphics \
747 SVGZ___Compressed_Scalable_Vector_Graphics \
748 SVM___StarView_Metafile \
749 TGA___Truevision_TARGA \
750 TIF___Tag_Image_File \
751 WEBP___WebP \
752 WMF___MS_Windows_Metafile \
753 WMZ___Compressed_MS_Windows_Metafile \
754 XBM___X_Consortium \
755 XPM \
756 draw_PCD_Photo_CD_Base \
757 draw_PCD_Photo_CD_Base16 \
758 draw_PCD_Photo_CD_Base4 \
759 draw_apng_Export \
760 draw_bmp_Export \
761 draw_emf_Export \
762 draw_emz_Export \
763 draw_eps_Export \
764 draw_gif_Export \
765 draw_html_Export \
766 draw_jpg_Export \
767 draw_png_Export \
768 draw_svg_Export \
769 draw_svgz_Export \
770 draw_tif_Export \
771 draw_webp_Export \
772 draw_wmf_Export \
773 draw_wmz_Export \
776 # fcfg_impressgraphics
777 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_impressgraphics_types.xcu,filter/source/config/fragments/types,\
778 bmp_MS_Windows \
779 emf_MS_Windows_Metafile \
780 emz_Compressed_MS_Windows_Metafile \
781 eps_Encapsulated_PostScript \
782 gif_Graphics_Interchange \
783 graphic_HTML \
784 impress_CGM_Computer_Graphics_Metafile \
785 jpg_JPEG \
786 met_OS2_Metafile \
787 pbm_Portable_Bitmap \
788 pct_Mac_Pict \
789 pgm_Portable_Graymap \
790 png_Portable_Network_Graphic \
791 ppm_Portable_Pixelmap \
792 ras_Sun_Rasterfile \
793 svg_Scalable_Vector_Graphics_Draw \
794 svg_Scalable_Vector_Graphics \
795 svgz_Compressed_Scalable_Vector_Graphics \
796 svm_StarView_Metafile \
797 tif_Tag_Image_File \
798 wmf_MS_Windows_Metafile \
799 wmz_Compressed_MS_Windows_Metafile \
800 webp_WebP \
801 xpm_XPM \
804 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_impressgraphics_filters.xcu,filter/source/config/fragments/filters,\
805 CGM___Computer_Graphics_Metafile \
806 impress_bmp_Export \
807 impress_emf_Export \
808 impress_eps_Export \
809 impress_gif_Export \
810 impress_html_Export \
811 impress_jpg_Export \
812 impress_png_Export \
813 impress_svg_Export \
814 impress_tif_Export \
815 impress_webp_Export \
816 impress_wmf_Export \
819 # fcfg_writergraphics
820 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_writergraphics_types.xcu,filter/source/config/fragments/types,\
821 jpg_JPEG \
822 png_Portable_Network_Graphic \
823 svg_Scalable_Vector_Graphics \
826 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_writergraphics_filters.xcu,filter/source/config/fragments/filters,\
827 writer_jpg_Export \
828 writer_png_Export \
829 writer_svg_Export \
830 writer_webp_Export \
833 # fcfg_calcgraphics
834 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_calcgraphics_types.xcu,filter/source/config/fragments/types,\
835 png_Portable_Network_Graphic \
836 svg_Scalable_Vector_Graphics \
839 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_calcgraphics_filters.xcu,filter/source/config/fragments/filters,\
840 calc_jpg_Export \
841 calc_png_Export \
842 calc_svg_Export \
843 calc_webp_Export \
846 # fcfg_internalgraphics
847 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_internalgraphics_types.xcu,filter/source/config/fragments/types,\
848 apng_Animated_Portable_Network_Graphic \
849 bmp_MS_Windows \
850 dxf_AutoCAD_Interchange \
851 emf_MS_Windows_Metafile \
852 emz_Compressed_MS_Windows_Metafile \
853 eps_Encapsulated_PostScript \
854 gif_Graphics_Interchange \
855 jpg_JPEG \
856 met_OS2_Metafile \
857 mov_MOV \
858 pbm_Portable_Bitmap \
859 pcd_Photo_CD_Base \
860 pcd_Photo_CD_Base16 \
861 pcd_Photo_CD_Base4 \
862 pct_Mac_Pict \
863 pcx_Zsoft_Paintbrush \
864 pgm_Portable_Graymap \
865 png_Portable_Network_Graphic \
866 ppm_Portable_Pixelmap \
867 psd_Adobe_Photoshop \
868 ras_Sun_Rasterfile \
869 svg_Scalable_Vector_Graphics \
870 svgz_Compressed_Scalable_Vector_Graphics \
871 svm_StarView_Metafile \
872 tga_Truevision_TARGA \
873 tif_Tag_Image_File \
874 webp_WebP \
875 wmf_MS_Windows_Metafile \
876 wmz_Compressed_MS_Windows_Metafile \
877 xbm_X_Consortium \
878 xpm_XPM \
881 $(eval $(call filter_Configuration_add_internal_filters,fcfg_langpack,fcfg_internalgraphics_filters.xcu,filter/source/config/fragments/internalgraphicfilters,\
882 apng_Export \
883 bmp_Export \
884 bmp_Import \
885 dxf_Import \
886 emf_Export \
887 emz_Export \
888 emf_Import \
889 emz_Import \
890 eps_Export \
891 eps_Import \
892 gif_Export \
893 gif_Import \
894 jpg_Export \
895 jpg_Import \
896 met_Import \
897 pbm_Import \
898 pcd_Import_Base \
899 pcd_Import_Base4 \
900 pcd_Import_Base16 \
901 pct_Import \
902 pcx_Import \
903 pdf_Export \
904 pdf_Import \
905 pgm_Import \
906 png_Export \
907 png_Import \
908 ppm_Import \
909 psd_Import \
910 ras_Import \
911 svg_Export \
912 svg_Import \
913 svgz_Export \
914 svgz_Import \
915 svm_Export \
916 svm_Import \
917 tga_Import \
918 tif_Export \
919 tif_Import \
920 webp_Export \
921 webp_Import \
922 wmf_Export \
923 wmz_Export \
924 wmf_Import \
925 wmz_Import \
926 xbm_Import \
927 xpm_Import \
928 mov_Import \
931 # fcfg_xslt
932 $(eval $(call filter_Configuration_add_types,fcfg_langpack,fcfg_xslt_types.xcu,filter/source/config/fragments/types,\
933 calc_ADO_rowset_XML \
934 calc_MS_Excel_2003_XML \
935 writer_DocBook_File \
936 writer_MS_Word_2003_XML \
937 XHTML_File \
938 Unified_Office_Format_text \
939 Unified_Office_Format_spreadsheet \
940 Unified_Office_Format_presentation \
943 $(eval $(call filter_Configuration_add_filters,fcfg_langpack,fcfg_xslt_filters.xcu,filter/source/config/fragments/filters,\
944 ADO_rowset_XML \
945 DocBook_File \
946 MS_Excel_2003_XML \
947 MS_Word_2003_XML \
948 XHTML_Calc_File \
949 XHTML_Draw_File \
950 XHTML_Impress_File \
951 XHTML_Writer_File \
952 UOF_text \
953 UOF_spreadsheet \
954 UOF_presentation \
957 # vim: set noet sw=4 ts=4: