1############################################################### 2# 3# Licensed to the Apache Software Foundation (ASF) under one 4# or more contributor license agreements. See the NOTICE file 5# distributed with this work for additional information 6# regarding copyright ownership. The ASF licenses this file 7# to you under the Apache License, Version 2.0 (the 8# "License"); you may not use this file except in compliance 9# with the License. You may obtain a copy of the License at 10# 11# http://www.apache.org/licenses/LICENSE-2.0 12# 13# Unless required by applicable law or agreed to in writing, 14# software distributed under the License is distributed on an 15# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY 16# KIND, either express or implied. See the License for the 17# specific language governing permissions and limitations 18# under the License. 19# 20############################################################### 21 22 23 24include $(SRCDIR)/writerfilter/source/generated.mk 25 26$(eval $(call gb_Library_Library,writerfilter)) 27 28$(eval $(call \ 29 gb_Library_add_package_headers,writerfilter,writerfilter_inc writerfilter_generated)) 30 31#$(eval $(call gb_Library_add_precompiled_header,writerfilter,$(SRCDIR)/writerfilter/PCH_FILE)) 32 33$(eval $(call gb_Library_set_componentfile,writerfilter,writerfilter/util/writerfilter)) 34 35$(eval $(call gb_Library_add_api,writerfilter,\ 36 udkapi \ 37 offapi \ 38)) 39 40$(eval $(call gb_Library_set_include,writerfilter,\ 41 $$(INCLUDE) \ 42 -I$(SRCDIR)/writerfilter/inc \ 43 -I$(WORKDIR)/CustomTarget/writerfilter/source \ 44 -I$(WORKDIR)/CustomTarget/writerfilter/source/ooxml \ 45 -I$(WORKDIR)/CustomTarget/writerfilter/source/doctok \ 46 -I$(SRCDIR)/writerfilter/source/doctok \ 47 -I$(SRCDIR)/writerfilter/source/ooxml \ 48)) 49 50$(eval $(call gb_Library_add_defs,writerfilter,\ 51 -DWRITERFILTER_DLLIMPLEMENTATION \ 52)) 53 54$(eval $(call gb_Library_add_linked_libs,writerfilter,\ 55 oox \ 56 i18nisolang1 \ 57 i18npaper \ 58 sot \ 59 tl \ 60 utl \ 61 comphelper \ 62 cppuhelper \ 63 cppu \ 64 sal \ 65 stl \ 66 $(gb_STDLIBS) \ 67)) 68 69$(eval $(call gb_Library_add_exception_objects,writerfilter,\ 70 writerfilter/source/dmapper/BorderHandler \ 71 writerfilter/source/dmapper/CellColorHandler \ 72 writerfilter/source/dmapper/CellMarginHandler \ 73 writerfilter/source/dmapper/ConversionHelper \ 74 writerfilter/source/dmapper/DomainMapper \ 75 writerfilter/source/dmapper/DomainMapperTableHandler \ 76 writerfilter/source/dmapper/DomainMapperTableManager \ 77 writerfilter/source/dmapper/DomainMapper_Impl \ 78 writerfilter/source/dmapper/FFDataHandler \ 79 writerfilter/source/dmapper/FontTable \ 80 writerfilter/source/dmapper/FormControlHelper \ 81 writerfilter/source/dmapper/GraphicHelpers \ 82 writerfilter/source/dmapper/GraphicImport \ 83 writerfilter/source/dmapper/MeasureHandler \ 84 writerfilter/source/dmapper/ModelEventListener \ 85 writerfilter/source/dmapper/NumberingManager \ 86 writerfilter/source/dmapper/OLEHandler \ 87 writerfilter/source/dmapper/PageBordersHandler \ 88 writerfilter/source/dmapper/PropertyIds \ 89 writerfilter/source/dmapper/PropertyMap \ 90 writerfilter/source/dmapper/PropertyMapHelper \ 91 writerfilter/source/dmapper/SectionColumnHandler \ 92 writerfilter/source/dmapper/SettingsTable \ 93 writerfilter/source/dmapper/StyleSheetTable \ 94 writerfilter/source/dmapper/TDefTableHandler \ 95 writerfilter/source/dmapper/TablePropertiesHandler \ 96 writerfilter/source/dmapper/TblStylePrHandler \ 97 writerfilter/source/dmapper/ThemeTable \ 98 writerfilter/source/dmapper/WrapPolygonHandler \ 99 writerfilter/source/doctok/Dff \ 100 writerfilter/source/doctok/DffImpl \ 101 writerfilter/source/doctok/WW8Annotation \ 102 writerfilter/source/doctok/WW8BinTableImpl \ 103 writerfilter/source/doctok/WW8Clx \ 104 writerfilter/source/doctok/WW8CpAndFc \ 105 writerfilter/source/doctok/WW8DocumentImpl \ 106 writerfilter/source/doctok/WW8FKPImpl \ 107 writerfilter/source/doctok/WW8FontTable \ 108 writerfilter/source/doctok/WW8LFOTable \ 109 writerfilter/source/doctok/WW8ListTable \ 110 writerfilter/source/doctok/WW8OutputWithDepth \ 111 writerfilter/source/doctok/WW8Picture \ 112 writerfilter/source/doctok/WW8PieceTableImpl \ 113 writerfilter/source/doctok/WW8PropertySetImpl \ 114 writerfilter/source/doctok/WW8ResourceModelImpl \ 115 writerfilter/source/doctok/WW8StreamImpl \ 116 writerfilter/source/doctok/WW8StructBase \ 117 writerfilter/source/doctok/WW8StyleSheet \ 118 writerfilter/source/doctok/WW8Sttbf \ 119 writerfilter/source/doctok/WW8Table \ 120 writerfilter/source/doctok/WW8Text \ 121 writerfilter/source/filter/ImportFilter \ 122 writerfilter/source/filter/RtfFilter \ 123 writerfilter/source/filter/WriterFilter \ 124 writerfilter/source/filter/WriterFilterDetection \ 125 writerfilter/source/ooxml/Handler \ 126 writerfilter/source/ooxml/OOXMLBinaryObjectReference\ 127 writerfilter/source/ooxml/OOXMLDocumentImpl \ 128 writerfilter/source/ooxml/OOXMLFactory \ 129 writerfilter/source/ooxml/OOXMLFastContextHandler \ 130 writerfilter/source/ooxml/OOXMLFastDocumentHandler \ 131 writerfilter/source/ooxml/OOXMLFastTokenHandler \ 132 writerfilter/source/ooxml/OOXMLParserState \ 133 writerfilter/source/ooxml/OOXMLPropertySetImpl \ 134 writerfilter/source/ooxml/OOXMLStreamImpl \ 135 writerfilter/source/resourcemodel/Fraction \ 136 writerfilter/source/resourcemodel/LoggedResources \ 137 writerfilter/source/resourcemodel/Protocol \ 138 writerfilter/source/resourcemodel/ResourceModelHelper \ 139 writerfilter/source/resourcemodel/TagLogger \ 140 writerfilter/source/resourcemodel/Token \ 141 writerfilter/source/resourcemodel/WW8Analyzer \ 142 writerfilter/source/resourcemodel/XPathLogger \ 143 writerfilter/source/resourcemodel/resourcemodel \ 144 writerfilter/source/resourcemodel/util \ 145 writerfilter/source/rtftok/RTFParseException \ 146)) 147 148$(eval $(call gb_Library_add_generated_exception_objects,writerfilter,\ 149 $(patsubst %,CustomTarget/writerfilter/source/OOXMLFactory_%,$(WRITERFILTER_OOXMLNAMESPACES)) \ 150 CustomTarget/writerfilter/source/OOXMLFactory_generated \ 151 CustomTarget/writerfilter/source/OOXMLFactory_values \ 152 CustomTarget/writerfilter/source/qnametostr \ 153 CustomTarget/writerfilter/source/resources \ 154 CustomTarget/writerfilter/source/sprmcodetostr \ 155)) 156 157#disabled 158# CustomTarget/writerfilter/generated/RTFScanner \ 159 160# vim: set noet sw=4 ts=4: 161 162