--- a/Module_ooo.mk +++ a/Module_ooo.mk @@ -35,6 +35,7 @@ cppcanvas \ dbaccess \ editeng \ + filter \ framework \ idl \ linguistic \ --- a/filter/AllLangResTarget_eps.mk +++ a/filter/AllLangResTarget_eps.mk @@ -0,0 +1,32 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_AllLangResTarget_AllLangResTarget,eps)) + +$(eval $(call gb_AllLangResTarget_add_srs,eps,\ + filter/eps \ +)) + +$(eval $(call gb_SrsTarget_SrsTarget,filter/eps)) + +$(eval $(call gb_SrsTarget_add_files,filter/eps,\ + filter/source/graphicfilter/eps/epsstr.src \ +)) + +# vim: set noet sw=4 ts=4: --- a/filter/AllLangResTarget_flash.mk +++ a/filter/AllLangResTarget_flash.mk @@ -0,0 +1,32 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_AllLangResTarget_AllLangResTarget,flash)) + +$(eval $(call gb_AllLangResTarget_add_srs,flash,\ + filter/flash \ +)) + +$(eval $(call gb_SrsTarget_SrsTarget,filter/flash)) + +$(eval $(call gb_SrsTarget_add_files,filter/flash,\ + filter/source/flash/impswfdialog.src \ +)) + +# vim: set noet sw=4 ts=4: --- a/filter/AllLangResTarget_pdffilter.mk +++ a/filter/AllLangResTarget_pdffilter.mk @@ -0,0 +1,41 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_AllLangResTarget_AllLangResTarget,pdffilter)) + +# this is ugly; why is it necessary to set this manually? +$(eval $(call gb_AllLangResTarget_set_reslocation,pdffilter,res)) + +$(eval $(call gb_AllLangResTarget_add_srs,pdffilter,\ + filter/pdffilter \ +)) + +$(eval $(call gb_SrsTarget_SrsTarget,filter/pdffilter)) + +$(eval $(call gb_SrsTarget_set_include,filter/pdffilter,\ + $$(INCLUDE) \ + -I$(SRCDIR)/filter/inc \ +)) + +$(eval $(call gb_SrsTarget_add_files,filter/pdffilter,\ + filter/source/pdf/impdialog.src \ + filter/source/pdf/pdf.src \ +)) + +# vim: set noet sw=4 ts=4: --- a/filter/AllLangResTarget_t602filter.mk +++ a/filter/AllLangResTarget_t602filter.mk @@ -0,0 +1,32 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_AllLangResTarget_AllLangResTarget,t602filter)) + +$(eval $(call gb_AllLangResTarget_add_srs,t602filter,\ + filter/t602filter \ +)) + +$(eval $(call gb_SrsTarget_SrsTarget,filter/t602filter)) + +$(eval $(call gb_SrsTarget_add_files,filter/t602filter,\ + filter/source/t602/t602filter.src \ +)) + +# vim: set noet sw=4 ts=4: --- a/filter/AllLangResTarget_xsltdlg.mk +++ a/filter/AllLangResTarget_xsltdlg.mk @@ -0,0 +1,43 @@ +#*************************************************************** +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. +#*************************************************************** + +$(eval $(call gb_AllLangResTarget_AllLangResTarget,xsltdlg)) + +$(eval $(call gb_AllLangResTarget_add_srs,xsltdlg,\ + filter/xsltdlg \ +)) + +$(eval $(call gb_SrsTarget_SrsTarget,filter/xsltdlg)) + +$(eval $(call gb_SrsTarget_set_include,filter/xsltdlg,\ + $$(INCLUDE) \ + -I$(SRCDIR)/filter/inc \ +)) + +$(eval $(call gb_SrsTarget_add_files,filter/xsltdlg,\ + filter/source/xsltdialog/xmlfiltersettingsdialog.src \ + filter/source/xsltdialog/xmlfiltertabdialog.src \ + filter/source/xsltdialog/xmlfiltertabpagebasic.src \ + filter/source/xsltdialog/xmlfiltertabpagexslt.src \ + filter/source/xsltdialog/xmlfiltertestdialog.src \ + filter/source/xsltdialog/xmlfileview.src \ + filter/source/xsltdialog/xmlfilterdialogstrings.src \ +)) + +# vim: set noet sw=4 ts=4: --- a/filter/Module_filter.mk +++ a/filter/Module_filter.mk @@ -20,6 +20,11 @@ $(eval $(call gb_Module_Module,filter)) $(eval $(call gb_Module_add_targets,filter,\ + AllLangResTarget_eps \ + AllLangResTarget_flash \ + AllLangResTarget_pdffilter \ + AllLangResTarget_t602filter \ + AllLangResTarget_xsltdlg \ Configuration_filter \ Jar_XSLTFilter \ Jar_XSLTValidate \ --- a/filter/inc/makefile.mk +++ a/filter/inc/makefile.mk @@ -1,47 +0,0 @@ -#************************************************************************* -# -# DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. -# -# Copyright 2000, 2010 Oracle and/or its affiliates. -# -# OpenOffice.org - a multi-platform office productivity suite -# -# This file is part of OpenOffice.org. -# -# OpenOffice.org is free software: you can redistribute it and/or modify -# it under the terms of the GNU Lesser General Public License version 3 -# only, as published by the Free Software Foundation. -# -# OpenOffice.org is distributed in the hope that it will be useful, -# but WITHOUT ANY WARRANTY; without even the implied warranty of -# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the -# GNU Lesser General Public License version 3 for more details -# (a copy is included in the LICENSE file that accompanied this code). -# -# You should have received a copy of the GNU Lesser General Public License -# version 3 along with OpenOffice.org. If not, see -# -# for a copy of the LGPLv3 License. -# -#************************************************************************* -PRJ=.. - -PRJNAME=filter -TARGET=inc - -# --- Settings ----------------------------------------------------- - -.INCLUDE : settings.mk - -# --- Files -------------------------------------------------------- -# --- Targets ------------------------------------------------------- - -.INCLUDE : target.mk - -.IF "$(ENABLE_PCH)"!="" -ALLTAR : \ - $(SLO)$/precompiled.pch \ - $(SLO)$/precompiled_ex.pch - -.ENDIF # "$(ENABLE_PCH)"!="" - --- a/filter/prj/d.lst +++ a/filter/prj/d.lst @@ -1,70 +0,0 @@ -mkdir: %COMMON_DEST%\bin%_EXT%\hid -..\%COMMON_OUTDIR%\misc\*.hid %COMMON_DEST%\bin%_EXT%\hid\*.hid -..\%__SRC%\bin\*.dll %_DEST%\bin%_EXT%\*.dll -..\%__SRC%\lib\lib*.so %_DEST%\lib%_EXT% -..\%__SRC%\lib\lib*.dylib %_DEST%\lib%_EXT% -..\%__SRC%\lib\imsfilter.lib %_DEST%\lib%_EXT%\imsfilter.lib -..\%__SRC%\class\*.jar %_DEST%\bin%_EXT%\*.jar -..\%__SRC%\class\XSLTFilter\*.jar %_DEST%\bin%_EXT%\*.jar -..\%__SRC%\class\XSLTValidate\*.jar %_DEST%\bin%_EXT%\*.jar -..\%__SRC%\bin\*.res %_DEST%\bin%_EXT%\*.res -mkdir: %_DEST%\bin%_EXT%\xslt -mkdir: %_DEST%\bin%_EXT%\xslt\common -mkdir: %_DEST%\bin%_EXT%\xslt\export -mkdir: %_DEST%\bin%_EXT%\xslt\export\common -mkdir: %_DEST%\bin%_EXT%\xslt\export\common\styles -mkdir: %_DEST%\bin%_EXT%\xslt\export\common\table -mkdir: %_DEST%\bin%_EXT%\xslt\export\spreadsheetml -mkdir: %_DEST%\bin%_EXT%\xslt\export\wiki -mkdir: %_DEST%\bin%_EXT%\xslt\export\wordml -mkdir: %_DEST%\bin%_EXT%\xslt\export\uof -mkdir: %_DEST%\bin%_EXT%\xslt\export\xhtml -mkdir: %_DEST%\bin%_EXT%\xslt\import -mkdir: %_DEST%\bin%_EXT%\xslt\import\common -mkdir: %_DEST%\bin%_EXT%\xslt\import\spreadsheetml -mkdir: %_DEST%\bin%_EXT%\xslt\import\uof -mkdir: %_DEST%\bin%_EXT%\xslt\import\wordml -mkdir: %_DEST%\xml%_EXT%\registry -mkdir: %_DEST%\xml%_EXT%\registry\spool -mkdir: %_DEST%\bin%_EXT%\pdfimport -..\source\xslt\common\*.xsl %_DEST%\bin%_EXT%\xslt\common\*.xsl -..\source\xslt\export\common\*.xsl %_DEST%\bin%_EXT%\xslt\export\common\*.xsl -..\source\xslt\odf2xhtml\export\common\*.xsl %_DEST%\bin%_EXT%\xslt\export\common\*.xsl -..\source\xslt\odf2xhtml\export\common\styles\*.xsl %_DEST%\bin%_EXT%\xslt\export\common\styles\*.xsl -..\source\xslt\odf2xhtml\export\common\table\*.xsl %_DEST%\bin%_EXT%\xslt\export\common\table\*.xsl -..\source\xslt\export\spreadsheetml\*.xsl %_DEST%\bin%_EXT%\xslt\export\spreadsheetml\*.xsl -..\source\xslt\export\wiki\*.xsl %_DEST%\bin%_EXT%\xslt\export\wiki\*.xsl -..\source\xslt\export\wiki\*.ott %_DEST%\bin%_EXT%\xslt\export\wiki\*.ott -..\source\xslt\export\wordml\*.xsl %_DEST%\bin%_EXT%\xslt\export\wordml\*.xsl -..\source\xslt\export\uof\*.xsl %_DEST%\bin%_EXT%\xslt\export\uof\*.xsl -..\source\xslt\export\xhtml\*.xsl %_DEST%\bin%_EXT%\xslt\export\xhtml\*.xsl -..\source\xslt\odf2xhtml\export\xhtml\*.xsl %_DEST%\bin%_EXT%\xslt\export\xhtml\*.xsl -..\source\xslt\import\common\*.xsl %_DEST%\bin%_EXT%\xslt\import\common\*.xsl -..\source\xslt\import\spreadsheetml\*.xsl %_DEST%\bin%_EXT%\xslt\import\spreadsheetml\*.xsl -..\source\xslt\import\wordml\*.xsl %_DEST%\bin%_EXT%\xslt\import\wordml\*.xsl -..\source\xslt\import\uof\*.xsl %_DEST%\bin%_EXT%\xslt\import\uof\*.xsl -..\%__SRC%\bin\*.xsl %_DEST%\bin%_EXT%\*.xsl -..\%__SRC%\bin\*.stw %_DEST%\bin%_EXT%\*.stw -..\%__SRC%\bin\pdf2xml.* %_DEST%\bin%_EXT%\pdf2xml.* -..\%__SRC%\bin\pdfunzip.* %_DEST%\bin%_EXT%\pdfunzip.* -..\%__SRC%\misc\filters\modulepacks\fcfg_*.xcu %_DEST%\xml%_EXT%\registry\spool\fcfg_*.xcu -..\%COMMON_OUTDIR%\bin\fcfg_langpack_*.zip %_DEST%\pck%_EXT%\fcfg_langpack_*.zip -..\%__SRC%\misc\t602filter.component %_DEST%\xml%_EXT%\t602filter.component - -mkdir: %_DEST%\inc%_EXT%\filter -mkdir: %_DEST%\inc%_EXT%\filter\msfilter -..\inc\filter\msfilter\*.hxx %_DEST%\inc%_EXT%\filter\msfilter\*.hxx -..\inc\filter\msfilter\*.h %_DEST%\inc%_EXT%\filter\msfilter\*.h - -..\%__SRC%\misc\XSLTFilter.jar.component %_DEST%\xml%_EXT%\XSLTFilter.jar.component -..\%__SRC%\misc\XSLTValidate.component %_DEST%\xml%_EXT%\XSLTValidate.component -..\%__SRC%\misc\filterconfig1.component %_DEST%\xml%_EXT%\filterconfig1.component -..\%__SRC%\misc\flash.component %_DEST%\xml%_EXT%\flash.component -..\%__SRC%\misc\msfilter.component %_DEST%\xml%_EXT%\msfilter.component -..\%__SRC%\misc\pdffilter.component %_DEST%\xml%_EXT%\pdffilter.component -..\%__SRC%\misc\placeware.component %_DEST%\xml%_EXT%\placeware.component -..\%__SRC%\misc\svgfilter.component %_DEST%\xml%_EXT%\svgfilter.component -..\%__SRC%\misc\xmlfa.component %_DEST%\xml%_EXT%\xmlfa.component -..\%__SRC%\misc\xmlfd.component %_DEST%\xml%_EXT%\xmlfd.component -..\%__SRC%\misc\xsltdlg.component %_DEST%\xml%_EXT%\xsltdlg.component -..\%__SRC%\misc\xsltfilter.component %_DEST%\xml%_EXT%\xsltfilter.component