gbuildize reportbuilder

This commit is contained in:
David Tardon 2012-04-07 12:55:41 +02:00
parent e251837269
commit 6bf04a4328
31 changed files with 538 additions and 1321 deletions

View File

@ -94,6 +94,7 @@ psprint_config\
qadevOOo\
regexp\
registry\
reportbuilder\
reportdesign\
rdbmaker\
ridljar\
@ -225,7 +226,6 @@ pyuno\
readlicense_oo\
redland\
remotebridges\
reportbuilder\
rhino\
saxon\
scp2\

View File

@ -91,6 +91,7 @@ $(eval $(call gb_Module_add_moduledirs,ooo,\
psprint_config \
rdbmaker \
regexp \
reportbuilder \
reportdesign \
ridljar \
rsc \

View File

@ -0,0 +1,56 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Configuration_Configuration,sun-report-builder,nodeliver))
$(eval $(call gb_Configuration_use_configuration,sun-report-builder,officecfg))
$(eval $(call gb_Configuration_add_schemas,sun-report-builder,reportbuilder/registry/schema,\
org/openoffice/Office/ReportDesign.xcs \
org/openoffice/Office/UI/DbReportWindowState.xcs \
org/openoffice/Office/UI/ReportCommands.xcs \
))
$(eval $(call gb_Configuration_add_datas,sun-report-builder,reportbuilder/registry/data,\
org/openoffice/Office/Paths.xcu \
org/openoffice/Office/ReportDesign.xcu \
org/openoffice/Office/UI/Controller.xcu \
))
$(eval $(call gb_Configuration_add_localized_datas,sun-report-builder,reportbuilder/registry/data,\
org/openoffice/Office/Accelerators.xcu \
org/openoffice/Office/DataAccess.xcu \
org/openoffice/Office/Embedding.xcu \
org/openoffice/Office/ExtendedColorScheme.xcu \
org/openoffice/Office/UI/DbReportWindowState.xcu \
org/openoffice/Office/UI/ReportCommands.xcu \
org/openoffice/Setup.xcu \
org/openoffice/TypeDetection/Filter.xcu \
org/openoffice/TypeDetection/Types.xcu \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:

View File

@ -0,0 +1,102 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Extension_Extension,report-builder,reportbuilder/util))
$(eval $(call gb_Extension_add_files,report-builder,,\
$(call gb_Jar_get_outdir_target,reportbuilderwizard) \
$(call gb_Jar_get_outdir_target,sun-report-builder) \
$(SRCDIR)/reportbuilder/license/readme_en-US.html \
$(SRCDIR)/reportbuilder/license/readme_en-US.txt \
$(SRCDIR)/reportbuilder/license/THIRDPARTYREADMELICENSE.html \
$(SRCDIR)/reportbuilder/util/components.rdb \
))
ifneq ($(SYSTEM_APACHE_COMMONS),YES)
$(eval $(call gb_Extension_add_files,report-builder,,\
$(OUTDIR)/bin/commons-logging-1.1.1.jar \
))
endif
ifneq ($(SYSTEM_JFREEREPORT),YES)
include $(OUTDIR)/bin/jfreereport_version.mk
$(eval $(call gb_Extension_add_files,report-builder,,\
$(OUTDIR)/bin/flow-engine-$(FLOW_ENGINE_VERSION).jar \
$(OUTDIR)/bin/flute-$(FLUTE_VERSION).jar \
$(OUTDIR)/bin/libbase-$(LIBBASE_VERSION).jar \
$(OUTDIR)/bin/libfonts-$(LIBFONTS_VERSION).jar \
$(OUTDIR)/bin/libformula-$(LIBFORMULA_VERSION).jar \
$(OUTDIR)/bin/liblayout-$(LIBLAYOUT_VERSION).jar \
$(OUTDIR)/bin/libloader-$(LIBLOADER_VERSION).jar \
$(OUTDIR)/bin/librepository-$(LIBREPOSITORY_VERSION).jar \
$(OUTDIR)/bin/libserializer-$(LIBSERIALIZER_VERSION).jar \
$(OUTDIR)/bin/libxml-$(LIBXML_VERSION).jar \
$(OUTDIR)/bin/sac.jar \
))
endif
$(eval $(call gb_Extension_add_files,report-builder,images,\
$(SRCDIR)/icon-themes/galaxy/desktop/res/extension_32.png \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/data/org/openoffice,\
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Setup.xcu) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/data/org/openoffice/Office,\
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/Accelerators.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/DataAccess.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/Embedding.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/ExtendedColorScheme.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/Paths.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/ReportDesign.xcu) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/data/org/openoffice/Office/UI,\
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/UI/DbReportWindowState.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/Office/UI/ReportCommands.xcu) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/data/org/openoffice/TypeDetection,\
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/TypeDetection/Filter.xcu) \
$(call gb_XcuDataTarget_get_target,reportbuilder/registry/data/org/openoffice/TypeDetection/Types.xcu) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/schema/org/openoffice/Office,\
$(call gb_XcsTarget_get_target,reportbuilder/registry/schema/org/openoffice/Office/ReportDesign.xcs) \
))
$(eval $(call gb_Extension_add_files,report-builder,registry/schema/org/openoffice/Office/UI,\
$(call gb_XcsTarget_get_target,reportbuilder/registry/schema/org/openoffice/Office/UI/DbReportWindowState.xcs) \
$(call gb_XcsTarget_get_target,reportbuilder/registry/schema/org/openoffice/Office/UI/ReportCommands.xcs) \
))
$(eval $(call gb_Extension_add_files,report-builder,template/en-US/wizard/report,\
$(SRCDIR)/reportbuilder/template/en-US/wizard/report/default.otr \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:

View File

@ -0,0 +1,296 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
# TODO: fix manifest
$(eval $(call gb_Jar_Jar,sun-report-builder))
$(eval $(call gb_Jar_use_jars,sun-report-builder,\
$(OUTDIR)/bin/java_uno.jar \
$(OUTDIR)/bin/juh.jar \
$(OUTDIR)/bin/jurt.jar \
$(OUTDIR)/bin/ridl.jar \
$(OUTDIR)/bin/unoil.jar \
))
$(eval $(call gb_Jar_use_externals,sun-report-builder,\
commons-logging \
flow-engine \
flute \
libbase \
libfonts \
libformula \
liblayout \
libloader \
librepository \
libserializer \
libxml \
sac \
))
$(eval $(call gb_Jar_set_packageroot,sun-report-builder,com))
$(eval $(call gb_Jar_add_sourcefiles,sun-report-builder,\
reportbuilder/java/com/sun/star/report/DataRow \
reportbuilder/java/com/sun/star/report/DataSource \
reportbuilder/java/com/sun/star/report/DataSourceException \
reportbuilder/java/com/sun/star/report/DataSourceFactory \
reportbuilder/java/com/sun/star/report/ImageService \
reportbuilder/java/com/sun/star/report/InputRepository \
reportbuilder/java/com/sun/star/report/JobDefinitionException \
reportbuilder/java/com/sun/star/report/JobProgressIndicator \
reportbuilder/java/com/sun/star/report/JobProperties \
reportbuilder/java/com/sun/star/report/OfficeToken \
reportbuilder/java/com/sun/star/report/OutputRepository \
reportbuilder/java/com/sun/star/report/ParameterMap \
reportbuilder/java/com/sun/star/report/ReportAddIn \
reportbuilder/java/com/sun/star/report/ReportEngine \
reportbuilder/java/com/sun/star/report/ReportEngineMetaData \
reportbuilder/java/com/sun/star/report/ReportEngineParameterNames \
reportbuilder/java/com/sun/star/report/ReportExecutionException \
reportbuilder/java/com/sun/star/report/ReportExpression \
reportbuilder/java/com/sun/star/report/ReportExpressionMetaData \
reportbuilder/java/com/sun/star/report/ReportFunction \
reportbuilder/java/com/sun/star/report/ReportJob \
reportbuilder/java/com/sun/star/report/ReportJobDefinition \
reportbuilder/java/com/sun/star/report/ReportJobFactory \
reportbuilder/java/com/sun/star/report/SDBCReportData \
reportbuilder/java/com/sun/star/report/SDBCReportDataFactory \
reportbuilder/java/com/sun/star/report/SOImageService \
reportbuilder/java/com/sun/star/report/StorageRepository \
reportbuilder/java/com/sun/star/report/function/metadata/AuthorFunction \
reportbuilder/java/com/sun/star/report/function/metadata/AuthorFunctionDescription \
reportbuilder/java/com/sun/star/report/function/metadata/MetaDataFunctionCategory \
reportbuilder/java/com/sun/star/report/function/metadata/TitleFunction \
reportbuilder/java/com/sun/star/report/function/metadata/TitleFunctionDescription \
reportbuilder/java/com/sun/star/report/pentaho/DefaultNameGenerator \
reportbuilder/java/com/sun/star/report/pentaho/OfficeNamespaces \
reportbuilder/java/com/sun/star/report/pentaho/PentahoFormulaContext \
reportbuilder/java/com/sun/star/report/pentaho/PentahoReportAddIn \
reportbuilder/java/com/sun/star/report/pentaho/PentahoReportEngine \
reportbuilder/java/com/sun/star/report/pentaho/PentahoReportEngineMetaData \
reportbuilder/java/com/sun/star/report/pentaho/PentahoReportJob \
reportbuilder/java/com/sun/star/report/pentaho/SOFormulaOpCodeMapper \
reportbuilder/java/com/sun/star/report/pentaho/SOFormulaParser \
reportbuilder/java/com/sun/star/report/pentaho/SOFunctionManager \
reportbuilder/java/com/sun/star/report/pentaho/SOReportJobFactory \
reportbuilder/java/com/sun/star/report/pentaho/StarFunctionCategory \
reportbuilder/java/com/sun/star/report/pentaho/StarFunctionDescription \
reportbuilder/java/com/sun/star/report/pentaho/StarReportData \
reportbuilder/java/com/sun/star/report/pentaho/StarReportDataFactory \
reportbuilder/java/com/sun/star/report/pentaho/StarReportModule \
reportbuilder/java/com/sun/star/report/pentaho/expressions/SumExpression \
reportbuilder/java/com/sun/star/report/pentaho/expressions/SumExpressionMetaData \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/AbstractReportElementLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FixedTextLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FormatValueUtility \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/FormattedTextLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/ImageElementContext \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/ImageElementLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/ObjectOleLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficeDetailLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficeGroupInstanceSectionLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficeGroupLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficeGroupSectionLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficePageSectionLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficeRepeatingStructureLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficeReportLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficeTableLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/OfficeTableTemplateLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/TableCellLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/VariablesCollection \
reportbuilder/java/com/sun/star/report/pentaho/layoutprocessor/VariablesDeclarationLayoutController \
reportbuilder/java/com/sun/star/report/pentaho/loader/InputRepositoryLoader \
reportbuilder/java/com/sun/star/report/pentaho/loader/InputRepositoryResourceData \
reportbuilder/java/com/sun/star/report/pentaho/loader/InputResourceKey \
reportbuilder/java/com/sun/star/report/pentaho/model/DataStyle \
reportbuilder/java/com/sun/star/report/pentaho/model/FixedTextElement \
reportbuilder/java/com/sun/star/report/pentaho/model/FontFaceDeclsSection \
reportbuilder/java/com/sun/star/report/pentaho/model/FontFaceElement \
reportbuilder/java/com/sun/star/report/pentaho/model/FormatCondition \
reportbuilder/java/com/sun/star/report/pentaho/model/FormattedTextElement \
reportbuilder/java/com/sun/star/report/pentaho/model/ImageElement \
reportbuilder/java/com/sun/star/report/pentaho/model/ObjectOleElement \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeDetailSection \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeDocument \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeGroup \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeGroupInstanceSection \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeGroupSection \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterPage \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeMasterStyles \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeReport \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeStyle \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeStyles \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeStylesCollection \
reportbuilder/java/com/sun/star/report/pentaho/model/OfficeTableSection \
reportbuilder/java/com/sun/star/report/pentaho/model/PageLayout \
reportbuilder/java/com/sun/star/report/pentaho/model/PageSection \
reportbuilder/java/com/sun/star/report/pentaho/model/RawText \
reportbuilder/java/com/sun/star/report/pentaho/model/ReportElement \
reportbuilder/java/com/sun/star/report/pentaho/model/TableCellElement \
reportbuilder/java/com/sun/star/report/pentaho/model/VariablesDeclarationSection \
reportbuilder/java/com/sun/star/report/pentaho/output/ImageProducer \
reportbuilder/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget \
reportbuilder/java/com/sun/star/report/pentaho/output/OleProducer \
reportbuilder/java/com/sun/star/report/pentaho/output/StyleUtilities \
reportbuilder/java/com/sun/star/report/pentaho/output/StylesWriter \
reportbuilder/java/com/sun/star/report/pentaho/output/chart/ChartRawReportProcessor \
reportbuilder/java/com/sun/star/report/pentaho/output/chart/ChartRawReportTarget \
reportbuilder/java/com/sun/star/report/pentaho/output/spreadsheet/SpreadsheetRawReportProcessor \
reportbuilder/java/com/sun/star/report/pentaho/output/spreadsheet/SpreadsheetRawReportTarget \
reportbuilder/java/com/sun/star/report/pentaho/output/text/MasterPageFactory \
reportbuilder/java/com/sun/star/report/pentaho/output/text/PageBreakDefinition \
reportbuilder/java/com/sun/star/report/pentaho/output/text/PageContext \
reportbuilder/java/com/sun/star/report/pentaho/output/text/TextRawReportProcessor \
reportbuilder/java/com/sun/star/report/pentaho/output/text/TextRawReportTarget \
reportbuilder/java/com/sun/star/report/pentaho/output/text/VariablesDeclarations \
reportbuilder/java/com/sun/star/report/pentaho/parser/AttributeSpecification \
reportbuilder/java/com/sun/star/report/pentaho/parser/ElementReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/OfficeDocumentXmlResourceFactory \
reportbuilder/java/com/sun/star/report/pentaho/parser/OfficeParserUtil \
reportbuilder/java/com/sun/star/report/pentaho/parser/OfficeStylesXmlResourceFactory \
reportbuilder/java/com/sun/star/report/pentaho/parser/StarStyleXmlFactoryModule \
reportbuilder/java/com/sun/star/report/pentaho/parser/StarXmlFactoryModule \
reportbuilder/java/com/sun/star/report/pentaho/parser/StyleMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/chart/ChartReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/data/DataStyleReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/draw/ObjectOleReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/office/BodyReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/office/DocumentContentReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/office/DocumentStylesReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/office/FontFaceDeclsReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/office/MasterStylesReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/ConditionalPrintExpressionReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/DetailRootTableReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/FixedContentReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/FormatConditionReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/FormattedTextReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/FunctionReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/GroupReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/GroupSectionReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/ImageReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/MasterDetailReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/ReportElementReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/ReportReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/RootTableReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/rpt/SubDocumentReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/style/FontFaceReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/style/MasterPageReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStyleReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/style/OfficeStylesReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/style/PageLayoutReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/style/StyleDefinitionReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/OneOfConstantsMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/draw/TextAreaVerticalAlignMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/BackgroundColorMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/BorderRightMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/ColorMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontSizeMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontStyleMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/FontWeightMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/fo/TextAlignMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/FontFamilyGenericMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/FontFamilyMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/FontNameMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/FontPitchMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/FontReliefMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextEmphasizeMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineColorMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineStyleMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineWidthMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/TextUnderlineWordMode \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/style/VerticalAlignMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/table/ColumnWidthMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/stylemapper/table/RowHeightMapper \
reportbuilder/java/com/sun/star/report/pentaho/parser/table/CoveredCellReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/table/TableCellReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/table/TableColumnReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/table/TableColumnsReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/table/TableReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/table/TableRowReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/table/TableRowsReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/text/NoCDATATextContentReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/text/TextContentReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/parser/xlink/XLinkReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/styles/LengthCalculator \
reportbuilder/java/com/sun/star/report/pentaho/styles/StyleMapper \
reportbuilder/java/com/sun/star/report/pentaho/styles/StyleMapperKey \
reportbuilder/java/com/sun/star/report/pentaho/styles/StyleMapperXmlFactoryModule \
reportbuilder/java/com/sun/star/report/pentaho/styles/StyleMapperXmlResourceFactory \
reportbuilder/java/com/sun/star/report/pentaho/styles/StyleMappingDocumentReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/styles/StyleMappingReadHandler \
reportbuilder/java/com/sun/star/report/pentaho/styles/StyleMappingRule \
reportbuilder/java/com/sun/star/report/util/DefaultJobProperties \
reportbuilder/java/com/sun/star/report/util/DefaultParameterMap \
reportbuilder/java/com/sun/star/report/util/DefaultReportJobDefinition \
reportbuilder/java/com/sun/star/report/util/ManifestWriter \
))
$(eval $(call gb_Jar_add_packagefiles,sun-report-builder,,\
$(SRCDIR)/reportbuilder/java/jfreereport.properties \
$(SRCDIR)/reportbuilder/java/libformula.properties \
$(SRCDIR)/reportbuilder/java/loader.properties \
))
$(eval $(call gb_Jar_add_packagefiles,sun-report-builder,com/sun/star/report/function/metadata,\
$(SRCDIR)/reportbuilder/java/com/sun/star/report/function/metadata/Author-Function.properties \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/function/metadata/Author-Function_en_US.properties \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/function/metadata/Title-Function.properties \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/function/metadata/Title-Function_en_US.properties \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/function/metadata/category.properties \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/function/metadata/category_en_US.properties \
))
$(eval $(call gb_Jar_add_packagefiles,sun-report-builder,com/sun/star/report/pentaho,\
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/configuration.properties \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/module.properties \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/oasis-datastyle.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/oasis-draw.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/oasis-form.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/oasis-style.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/oasis-table.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/oasis-text.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/smil.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/star-office.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/star-report.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/star-rpt.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/svg.css \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/xsl-fo.css \
))
$(eval $(call gb_Jar_add_packagefiles,sun-report-builder,com/sun/star/report/pentaho/parser,\
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/parser/rpt-schema-v1.0-os.xsd \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/parser/selectors.properties \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/parser/style-mapping.txt \
))
$(eval $(call gb_Jar_add_packagefiles,sun-report-builder,com/sun/star/report/pentaho/styles,\
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/styles/stylemapper.xml \
$(SRCDIR)/reportbuilder/java/com/sun/star/report/pentaho/styles/stylemapper.xsd \
))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:

7
reportbuilder/Makefile Normal file
View File

@ -0,0 +1,7 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
module_directory:=$(dir $(realpath $(firstword $(MAKEFILE_LIST))))
include $(module_directory)/../solenv/gbuild/partial_build.mk
# vim: set noet sw=4 ts=4:

View File

@ -0,0 +1,39 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Module_Module,reportbuilder))
ifneq ($(SOLAR_JAVA),)
$(eval $(call gb_Module_add_targets,reportbuilder,\
Configuration_reportbuilder \
Extension_reportbuilder \
Jar_reportbuilder \
Package_readme \
))
endif
# vim: set shiftwidth=4 tabstop=4 noexpandtab:

View File

@ -0,0 +1,34 @@
# -*- Mode: makefile-gmake; tab-width: 4; indent-tabs-mode: t -*-
# Version: MPL 1.1 / GPLv3+ / LGPLv3+
#
# The contents of this file are subject to the Mozilla Public License Version
# 1.1 (the "License"); you may not use this file except in compliance with
# the License or as specified alternatively below. You may obtain a copy of
# the License at http://www.mozilla.org/MPL/
#
# Software distributed under the License is distributed on an "AS IS" basis,
# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License
# for the specific language governing rights and limitations under the
# License.
#
# Major Contributor(s):
# Copyright (C) 2012 Red Hat, Inc., David Tardon <dtardon@redhat.com>
# (initial developer)
#
# All Rights Reserved.
#
# For minor contributions see the git repository.
#
# Alternatively, the contents of this file may be used under the terms of
# either the GNU General Public License Version 3 or later (the "GPLv3+"), or
# the GNU Lesser General Public License Version 3 or later (the "LGPLv3+"),
# in which case the provisions of the GPLv3+ or the LGPLv3+ are applicable
# instead of those above.
$(eval $(call gb_Package_Package,reportbuilder_license,$(SRCDIR)/reportbuilder/license))
$(eval $(call gb_Package_add_file,reportbuilder,bin/reportbuilder/readme_en-US.html,readme_en-US.html))
$(eval $(call gb_Package_add_file,reportbuilder,bin/reportbuilder/readme_en-US.txt,readme_en-US.txt))
$(eval $(call gb_Package_add_file,reportbuilder,bin/reportbuilder/THIRDPARTYREADMELICENSE.html,THIRDPARTYREADMELICENSE.html))
# vim: set shiftwidth=4 tabstop=4 noexpandtab:

View File

@ -1,66 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ = ..$/..$/..$/..$/..$/..$/..
PRJNAME = reportbuilder
TARGET= rpt_java_css_metadata
PACKAGE = com$/sun$/star$/report$/function$/metadata
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
#----- compile .java files -----------------------------------------
.IF "$(SYSTEM_JFREEREPORT)" == "YES"
EXTRAJARFILES = $(LIBBASE_JAR) $(LIBFORMULA_JAR)
.ELSE
.INCLUDE : $(OUTDIR)/bin/jfreereport_version.mk
JARFILES += \
libbase-$(LIBBASE_VERSION).jar \
libformula-$(LIBFORMULA_VERSION).jar
.ENDIF
JAVAFILES := AuthorFunction.java \
AuthorFunctionDescription.java \
TitleFunction.java \
TitleFunctionDescription.java \
MetaDataFunctionCategory.java
COPYFILES := $(CLASSDIR)$/$(PACKAGE)$/category.properties \
$(CLASSDIR)$/$(PACKAGE)$/Title-Function.properties\
$(CLASSDIR)$/$(PACKAGE)$/category_en_US.properties \
$(CLASSDIR)$/$(PACKAGE)$/Author-Function.properties \
$(CLASSDIR)$/$(PACKAGE)$/Author-Function_en_US.properties \
$(CLASSDIR)$/$(PACKAGE)$/Title-Function_en_US.properties
ALLTAR : $(COPYFILES)
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
$(COPYFILES): $$(@:f)
+$(MKDIRHIER) $(CLASSDIR)$/$(PACKAGE)
+$(COPY) $< $@

View File

@ -1,74 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ = ..$/..$/..$/..$/..
PRJNAME = reportbuilder
TARGET=rpt_java_css
PACKAGE = com$/sun$/star$/report
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
#----- compile .java files -----------------------------------------
JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar
.IF "$(SYSTEM_APACHE_COMMONS)" == "YES"
EXTRAJARFILES = $(COMMONS_LOGGING_JAR)
.ELSE
JARFILES += commons-logging-1.1.1.jar
.ENDIF
JAVAFILES := DataRow.java\
DataSource.java\
DataSourceException.java\
DataSourceFactory.java\
InputRepository.java\
JobDefinitionException.java\
JobProgressIndicator.java\
JobProperties.java\
OutputRepository.java\
ParameterMap.java\
ReportAddIn.java\
ReportEngine.java\
ReportEngineMetaData.java\
ReportEngineParameterNames.java\
ReportExecutionException.java\
ReportExpression.java\
ReportExpressionMetaData.java\
ReportFunction.java\
ReportJob.java\
ReportJobFactory.java\
ReportJobDefinition.java\
ImageService.java\
SOImageService.java\
StorageRepository.java\
SDBCReportData.java\
SDBCReportDataFactory.java \
OfficeToken.java
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk

View File

@ -1,147 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ = ..$/..$/..$/..$/..$/..
PRJNAME = reportbuilder
TARGET=sun-report-builder
PACKAGE = com$/sun$/star$/report$/pentaho
# we have circular dependencies
nodep=true
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
#----- compile .java files -----------------------------------------
JARFILES = ridl.jar unoil.jar jurt.jar juh.jar java_uno.jar
.IF "$(SYSTEM_JFREEREPORT)" == "YES"
EXTRAJARFILES += $(FLUTE_JAR) $(LIBBASE_JAR) $(LIBXML_JAR) $(JFREEREPORT_JAR) $(LIBLOADER_JAR) $(SAC_JAR) $(LIBLAYOUT_JAR) $(LIBSERIALIZER_JAR) $(LIBFONTS_JAR) $(LIBFORMULA_JAR) $(LIBREPOSITORY_JAR)
.ELSE
.INCLUDE : $(OUTDIR)/bin/jfreereport_version.mk
JARFILES += \
flute-$(FLUTE_VERSION).jar \
libserializer-$(LIBSERIALIZER_VERSION).jar \
libbase-$(LIBBASE_VERSION).jar \
libfonts-$(LIBFONTS_VERSION).jar \
libformula-$(LIBFORMULA_VERSION).jar \
liblayout-$(LIBLAYOUT_VERSION).jar \
libloader-$(LIBLOADER_VERSION).jar \
librepository-$(LIBREPOSITORY_VERSION).jar \
libxml-$(LIBXML_VERSION).jar \
flow-engine-$(FLOW_ENGINE_VERSION).jar \
sac.jar
.ENDIF
.IF "$(SYSTEM_APACHE_COMMONS)" == "YES"
EXTRAJARFILES += $(COMMONS_LOGGING_JAR)
.ELSE
JARFILES += commons-logging-1.1.1.jar
.ENDIF
.IF "$(SYSTEM_JFREEREPORT)" == "YES" || "$(SYSTEM_APACHE_COMMONS)" == "YES"
COMP=fix_system_libs
.ENDIF
JAVAFILES := $(shell @$(FIND) . -name "*.java")
# JAVACLASSFILES = $(foreach,i,$(JAVAFILES) $(CLASSDIR)$/$(PACKAGE)$/$(i:s/.java/.class/))
#----- copy .properties and .css files -----------------------------------------
# external find gives / for 4nt too...
# PROPERTYFILES := $(subst,/,$/ $(subst,./,$(CLASSDIR)$/$(PACKAGE)$/ $(shell @$(FIND) . -name "*.properties")))
PROPERTYFILES := $(CLASSDIR)$/$(PACKAGE)$/configuration.properties \
$(CLASSDIR)$/$(PACKAGE)$/module.properties \
$(CLASSDIR)$/$(PACKAGE)$/parser$/selectors.properties
# CSSFILES := $(subst,./,$(CLASSDIR)$/$(PACKAGE)$/ $(shell @$(FIND) . -name "*.css"))
CSSFILES := $(CLASSDIR)$/$(PACKAGE)$/oasis-datastyle.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-draw.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-form.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-style.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-table.css\
$(CLASSDIR)$/$(PACKAGE)$/oasis-text.css\
$(CLASSDIR)$/$(PACKAGE)$/smil.css\
$(CLASSDIR)$/$(PACKAGE)$/star-office.css\
$(CLASSDIR)$/$(PACKAGE)$/star-report.css\
$(CLASSDIR)$/$(PACKAGE)$/star-rpt.css\
$(CLASSDIR)$/$(PACKAGE)$/svg.css\
$(CLASSDIR)$/$(PACKAGE)$/xsl-fo.css
XSDFILES := $(CLASSDIR)$/$(PACKAGE)$/parser$/rpt-schema-v1.0-os.xsd \
$(CLASSDIR)$/$(PACKAGE)$/styles$/stylemapper.xsd
XMLFILES := $(CLASSDIR)$/$(PACKAGE)$/styles$/stylemapper.xml
TXTFILES := $(CLASSDIR)$/$(PACKAGE)$/parser$/style-mapping.txt
#----- make a jar from compiled files ------------------------------
JARCLASSDIRS = .
JARTARGET = $(TARGET).jar
JARCOMPRESS = TRUE
CUSTOMMANIFESTFILE = Manifest.mf
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk
.IF "$(JARTARGETN)"!=""
$(JARTARGETN) : $(COMP) $(PROPERTYFILES) $(CSSFILES) $(XSDFILES) $(TXTFILES) $(XMLFILES)
.ENDIF # "$(JARTARGETN)"!=""
fix_system_libs: $(JARMANIFEST)
@echo "Fix Java Class-Path entry for libraries from system."
.IF ("$(SYSTEM_JFREEREPORT)" != "YES" && "$(SYSTEM_APACHE_COMMONS)" == "YES")
@$(SED) -r -e "s#commons-logging-1.1.1.jar#file://$(COMMONS_LOGGING_JAR)#" \
-i $<
.ENDIF
.IF ("$(SYSTEM_JFREEREPORT)" == "YES" && "$(SYSTEM_APACHE_COMMONS)" == "YES")
@$(SED) '/flute/,/sac/d' -i ../../../../../../$(INPATH)/class/sun-report-builder/META-INF/MANIFEST.MF
@$(SED) -r -e "s#^Class-Path.*#\0\n file://$(LIBBASE_JAR)\n file://$(SAC_JAR)\n file://$(LIBXML_JAR)\n\
file://$(FLUTE_JAR)\n file://$(JFREEREPORT_JAR)\n file://$(LIBLAYOUT_JAR)\n file://$(LIBLOADER_JAR)\n file://$(LIBFORMULA_JAR)\n\
file://$(LIBREPOSITORY_JAR)\n file://$(LIBFONTS_JAR)\n file://$(LIBSERIALIZER_JAR)\n file://$(COMMONS_LOGGING_JAR)#" \
-i $<
.ENDIF
$(CLASSDIR)$/$(PACKAGE)$/%.properties : %.properties
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(CLASSDIR)$/$(PACKAGE)$/%.css : %.css
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(CLASSDIR)$/$(PACKAGE)$/%.xsd : %.xsd
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(CLASSDIR)$/$(PACKAGE)$/%.xml : %.xml
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(CLASSDIR)$/$(PACKAGE)$/%.txt : %.txt
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@

View File

@ -1,49 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ = ..$/..$/..$/..$/..$/..
PRJNAME = reportbuilder
TARGET= rpt_java_css_util
PACKAGE = com$/sun$/star$/report$/util
# --- Settings -----------------------------------------------------
.INCLUDE: settings.mk
#----- compile .java files -----------------------------------------
.IF "$(SYSTEM_JFREEREPORT)" == "YES"
EXTRAJARFILES = $(LIBBASE_JAR) $(LIBXML_JAR) $(JFREEREPORT_JAR)
.ELSE
.INCLUDE : $(OUTDIR)/bin/jfreereport_version.mk
JARFILES += \
libbase-$(LIBBASE_VERSION).jar \
libxml-$(LIBXML_VERSION).jar \
flow-engine-$(FLOW_ENGINE_VERSION).jar
.ENDIF
JAVAFILES = DefaultJobProperties.java DefaultParameterMap.java DefaultReportJobDefinition.java ManifestWriter.java
# --- Targets ------------------------------------------------------
.INCLUDE : target.mk

View File

@ -1,45 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=reportbuilder
TARGET=rpt_java
# --- Settings ----------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
COPYFILES = \
$(CLASSDIR)$/jfreereport.properties \
$(CLASSDIR)$/libformula.properties \
$(CLASSDIR)$/loader.properties
.INCLUDE : target.mk
# --- Targets ----------------------------------
ALLTAR : $(COPYFILES)
$(COPYFILES): $$(@:f)
+$(COPY) $< $@

View File

@ -1,16 +1,3 @@
rpb reportbuilder : BOOST:boost JFREEREPORT:jfreereport wizards readlicense_oo APACHE_COMMONS:apache-commons officecfg NULL
rpb reportbuilder usr1 - all rpb_mkout NULL
rpb reportbuilder\java nmake - all rpb_java NULL
rpb reportbuilder\java\com\sun\star\report nmake - all rpb_jreport rpb_java NULL
rpb reportbuilder\java\com\sun\star\report\util nmake - all rpb_jreport_util rpb_jreport NULL
rpb reportbuilder\java\com\sun\star\report\pentaho nmake - all rpb_jreport_pe rpb_jreport_util rpb_jreport_f_m NULL
rpb reportbuilder\java\com\sun\star\report\function\metadata nmake - all rpb_jreport_f_m rpb_jreport NULL
rpb reportbuilder\registry\schema\org\openoffice\Office nmake - all rpb_reg_schema_ooo NULL
rpb reportbuilder\registry\schema\org\openoffice\Office\UI nmake - all rpb_reg_schema_ooo_ui NULL
rpb reportbuilder\registry\data\org\openoffice nmake - all rpb_data_ooOffice NULL
rpb reportbuilder\registry\data\org\openoffice\Office nmake - all rpb_reg_data_ooo rpb_reg_schema_ooo NULL
rpb reportbuilder\registry\data\org\openoffice\Office\UI nmake - all rpb_reg_data_ooo_ui rpb_reg_schema_ooo_ui NULL
rpb reportbuilder\registry\data\org\openoffice\TypeDetection nmake - all rpb_reg_data_oot NULL
rpb reportbuilder\template\en-US\wizard\report nmake - all rpb_template_en_us_wiz_rep NULL
rpb reportbuilder\util nmake - all rpb_util rpb_jreport_pe rpb_reg_data_ooo rpb_data_ooOffice rpb_reg_data_oot rpb_template_en_us_wiz_rep rpb_reg_data_ooo_ui NULL
rpb reportbuilder\prj nmake - all rpb_prj NULL

View File

@ -1,12 +0,0 @@
# Extensions
..\%__SRC%\bin\*.oxt %_DEST%\bin\*.oxt
# License
mkdir: %_DEST%\bin\reportbuilder
..\license\license_en-US.txt %_DEST%\bin\reportbuilder\license_en-US.txt
..\license\license_en-US.html %_DEST%\bin\reportbuilder\license_en-US.html
..\license\readme_en-US.html %_DEST%\bin\reportbuilder\readme_en-US.html
..\license\readme_en-US.txt %_DEST%\bin\reportbuilder\readme_en-US.txt
..\license\THIRDPARTYREADMELICENSE.html %_DEST%\bin\reportbuilder\THIRDPARTYREADMELICENSE.html

View File

@ -1,48 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=data_ooOUI
PACKAGE=org.openoffice.Office.UI
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
LOCALIZEDFILES= \
ReportCommands.xcu \
DbReportWindowState.xcu
XCUFILES= \
$(LOCALIZEDFILES) \
Controller.xcu
MODULEFILES=
.INCLUDE : target.mk

View File

@ -1,70 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=data_ooOOffice
PACKAGE=org.openoffice.Office
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
LOCALIZEDFILES= \
Embedding.xcu \
Accelerators.xcu \
ExtendedColorScheme.xcu \
DataAccess.xcu
XCUFILES= \
$(LOCALIZEDFILES) \
ReportDesign.xcu \
Paths.xcu
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Embedding.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/ExtendedColorScheme.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Paths.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Embedding.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Embedding.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/ExtendedColorScheme.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/ExtendedColorScheme.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Paths.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Paths.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Accelerators.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Accelerators.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@

View File

@ -1,57 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=data_ooType
PACKAGE=org.openoffice.TypeDetection
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
LOCALIZEDFILES= \
Filter.xcu \
Types.xcu
XCUFILES= \
$(LOCALIZEDFILES)
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Filter.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Types.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Filter.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Filter.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Types.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Types.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@

View File

@ -1,52 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=data_ooOffice
PACKAGE=org.openoffice
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
LOCALIZEDFILES= \
Setup.xcu
XCUFILES= \
$(LOCALIZEDFILES)
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Setup.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Setup.xcs": $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Setup.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@

View File

@ -1,60 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=schema_ooOfficeUI
PACKAGE=org.openoffice.Office.UI
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
XCSFILES= \
ReportCommands.xcs \
DbReportWindowState.xcs
MODULEFILES=
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Commands.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/WindowState.xcs" "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Controller.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Commands.xcs": $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Commands.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/WindowState.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/WindowState.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/Controller.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/Controller.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@

View File

@ -1,48 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=schema_ooOffice
PACKAGE=org.openoffice.Office
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
XCSFILES= \
ReportDesign.xcs
.INCLUDE : target.mk
.IF "$(depend)" == ""
ALLTAR: "$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/DataAccess.xcs"
.END
"$(PWD)$/$(MISC)$/$(EXTNAME)$/registry$/schema$/$(PACKAGEDIR)$/DataAccess.xcs" : $(SOLARXMLDIR)$/registry$/schema$/$(PACKAGEDIR)$/DataAccess.xcs
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@

View File

@ -1,69 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=template_en_us
PACKAGE=
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
XCUFILES=
MODULEFILES=
OTR_FILES_IN_REPORT_BUILDER_EXT=\
default.otr
# OTR_FILES_IN_TEMPLATE_EXT=\
# finance.odr \
# finance_2.odr \
# yellow.odr
ALLTAR: COPYFILES # COPYFILES2
.INCLUDE : target.mk
#-------------------------------------------------------------------------------
TARGETDIR=$(MISC)$/sun-report-builder$/template$/en-US$/wizard$/report
COPYFILES: $(OTR_FILES_IN_REPORT_BUILDER_EXT) $(XCU_FILES)
@@-$(MKDIRHIER) $(TARGETDIR)
$(COPY) $(OTR_FILES_IN_REPORT_BUILDER_EXT) $(TARGETDIR)
#-------------------------------------------------------------------------------
# TARGETDIR2=$(MISC)$/templates$/template$/wizard$/report
#
# COPYFILES2: $(OTR_FILES_IN_TEMPLATE_EXT) $(XCU_FILES)
# @@-$(MKDIRHIER) $(TARGETDIR2)
# $(COPY) $(OTR_FILES_IN_TEMPLATE_EXT) $(TARGETDIR2)

View File

@ -1,121 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=reportbuilder
TARGET=rpt_templates
# ???
EXTENSION_VERSION_BASE=1.0.0
.IF "$(DBG_LEVEL)" == "0"
EXTENSION_VERSION=$(EXTENSION_VERSION_BASE)
.ELSE
EXTENSION_VERSION=$(EXTENSION_VERSION_BASE).$(BUILD)
.ENDIF
# --- Settings ----------------------------------
.INCLUDE : settings.mk
# ------------------------------------------------------------------
# create Extension -----------------------------
.IF "$(SOLAR_JAVA)"!=""
ZIP1TARGET=sun-report-builder-templates
ZIP1FLAGS=-r
ZIP1DIR=$(MISC)$/templates
ZIP1LIST=*
ZIP1EXT=.oxt
XMLFILES := $(ZIP1DIR)$/description.xml \
$(ZIP1DIR)$/META-INF$/manifest.xml
XCU_FILES := $(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/Paths.xcu
ODR_FILES := \
$(ZIP1DIR)$/template$/wizard$/report$/finance.odr \
$(ZIP1DIR)$/template$/wizard$/report$/finance_2.odr \
$(ZIP1DIR)$/template$/wizard$/report$/yellow.odr
HTMLFILES := $(ZIP1DIR)$/THIRDPARTYREADMELICENSE.html \
$(ZIP1DIR)$/readme_en-US.html \
$(ZIP1DIR)$/readme_en-US.txt
.IF "$(GUI)"!="WNT"
TXTFILES:=$(foreach,i,$(alllangiso) $(ZIP1DIR)$/registration$/LICENSE_$i)
LICLINES:=$(foreach,i,$(TXTFILES) <license-text xlink:href="registration/$(i:f)" lang="$(subst,LICENSE_, $(i:f))" license-id="$(subst,LICENSE_, $(i:f))" />)
.ELSE # "$(GUI)"!="WNT"
TXTFILES:=$(foreach,i,$(alllangiso) $(ZIP1DIR)$/registration$/license_$i.txt)
LICLINES:=$(foreach,i,$(TXTFILES) <license-text xlink:href="registration/$(i:f)" lang="$(subst,.txt, $(subst,license_, $(i:f)))" license-id="$(subst,.txt, $(subst,license_, $(i:f)))" />)
.ENDIF # "$(GUI)"!="WNT"
# --- Targets ----------------------------------
.INCLUDE : target.mk
.IF "$(ZIP1TARGETN)"!=""
$(ZIP1TARGETN) : $(TXTFILES) $(XMLFILES) $(HTMLFILES) $(ODR_FILES)
.ENDIF # "$(ZIP1TARGETN)"!="
$(MISC)$/template_update_report.flag : $(XCU_FILES)
$(TOUCH) $@
$(ZIP1DIR)$/description.xml : pre.xml post.xml
@@-$(MKDIRHIER) $(@:d)
@@-$(RM) $(ZIP1DIR)$/description.xml
$(TYPE) pre.xml > $@
$(TYPE) $(mktmp $(LICLINES)) >> $@
$(TYPE) post.xml | $(SED) s/#VERSION#/$(EXTENSION_VERSION)/ >> $@
$(ZIP1DIR)$/registration$/license_%.txt : $(SOLARBINDIR)$/osl$/license_%.txt
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/registration$/LICENSE_% : $(SOLARBINDIR)$/osl$/LICENSE_%
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/registry$/data$/org$/openoffice$/Office$/%.xcu : $(MISC)$/template$/registry$/data$/org$/openoffice$/Office$/%.xcu
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/META-INF$/manifest.xml : manifest.xml $(MISC)$/template_update_report.flag
@@-$(MKDIRHIER) $(@:d)
$(PERL) $(SOLARENV)$/bin$/makemani.pl $(PRJ)$/template$/manifest.xml $(ZIP1DIR) registry $(@:d:d)
$(ZIP1DIR)$/readme_en-US.% : $(PRJ)$/license$/readme_en-US.%
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(ZIP1DIR)$/THIRDPARTYREADMELICENSE.html : $(PRJ)$/license$/THIRDPARTYREADMELICENSE.html
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
.ELSE # "$(SOLAR_JAVA)"!=""
.INCLUDE : target.mk
.ENDIF # "$(SOLAR_JAVA)"!=""
#

View File

@ -1,49 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..$/..$/..$/..
PRJNAME=reportbuilder
TARGET=template_data_ooOffice
PACKAGE=org.openoffice.Office
.INCLUDE : $(PRJ)$/util$/makefile.pmk
#
# we overwrite the PROCESSOUT directory, which comes from util/makefile.pmk
# and set it to the templates directory
#
PROCESSOUT=$(MISC)$/templates
# --- Targets ------------------------------------------------------
XCUFILES= \
Paths.xcu
MODULEFILES=
.INCLUDE : target.mk

View File

@ -1,69 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..$/..$/..
PRJNAME=reportbuilder
TARGET=template
PACKAGE=
.INCLUDE : $(PRJ)$/util$/makefile.pmk
# --- Targets ------------------------------------------------------
XCUFILES=
MODULEFILES=
ODR_FILES_IN_REPORT_BUILDER_EXT=\
default.odr
ODR_FILES_IN_TEMPLATE_EXT=\
finance.odr \
finance_2.odr \
yellow.odr
ALLTAR: COPYFILES COPYFILES2
.INCLUDE : target.mk
#-------------------------------------------------------------------------------
TARGETDIR=$(MISC)$/template$/wizard$/report
COPYFILES: $(ODR_FILES_IN_REPORT_BUILDER_EXT) $(XCU_FILES)
@@-$(MKDIRHIER) $(TARGETDIR)
$(COPY) $(ODR_FILES_IN_REPORT_BUILDER_EXT) $(TARGETDIR)
#-------------------------------------------------------------------------------
TARGETDIR2=$(MISC)$/templates$/template$/wizard$/report
COPYFILES2: $(ODR_FILES_IN_TEMPLATE_EXT) $(XCU_FILES)
@@-$(MKDIRHIER) $(TARGETDIR2)
$(COPY) $(ODR_FILES_IN_TEMPLATE_EXT) $(TARGETDIR2)

View File

@ -1 +0,0 @@

View File

@ -5,7 +5,7 @@
<display-name>
<name lang="en-US">Report Builder</name>
</display-name>
<version value="#VERSION#"/>
<version value="1.2.2"/>
<identifier value="com.sun.reportdesigner"/>
<dependencies>
<OpenOffice.org-minimal-version value="3.2" d:name="OpenOffice.org 3.2"/>

View File

@ -1,168 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
PRJ=..
PRJNAME=reportbuilder
TARGET=rpt
EXTENSION_VERSION_BASE=1.2.2
EXTENSION_VERSION=$(EXTENSION_VERSION_BASE)
# --- Settings ----------------------------------
.INCLUDE : makefile.pmk
.IF "$(L10N_framework)"==""
# ------------------------------------------------------------------
# calready set in util$/makefile.pmk
EXTENSION_ZIPNAME:=report-builder
# create Extension -----------------------------
.IF "$(SOLAR_JAVA)"!=""
XMLFILES = $(EXTENSIONDIR)$/META-INF$/manifest.xml
# DESCRIPTION_SRC is the source file which is copied into the extension
# It is defaulted to "description.xml", but we want to pre-process it, so we use an intermediate
# file
DESCRIPTION_SRC = $(MISC)$/description.xml
COMPONENT_MERGED_XCU= \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Setup.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/DataAccess.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/ReportDesign.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/ExtendedColorScheme.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Embedding.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Paths.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/Accelerators.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/TypeDetection$/Filter.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/TypeDetection$/Types.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/UI$/ReportCommands.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/UI$/Controller.xcu \
$(EXTENSIONDIR)$/registry$/data$/org$/openoffice$/Office$/UI$/DbReportWindowState.xcu \
$(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/UI$/DbReportWindowState.xcs \
$(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/UI$/ReportCommands.xcs \
$(EXTENSIONDIR)$/registry$/schema$/org$/openoffice$/Office$/ReportDesign.xcs
COMPONENT_OTR_FILES= \
$(EXTENSIONDIR)$/template$/en-US$/wizard$/report$/default.otr
COMPONENT_IMAGES= \
$(EXTENSIONDIR)$/images$/extension_32.png
COMPONENT_HTMLFILES = $(EXTENSIONDIR)$/THIRDPARTYREADMELICENSE.html \
$(EXTENSIONDIR)$/readme_en-US.html \
$(EXTENSIONDIR)$/readme_en-US.txt
COMPONENT_JARFILES = \
$(EXTENSIONDIR)$/sun-report-builder.jar
COMPONENT_DESCRIPTION= \
$(foreach,lang,$(alllangiso) $(EXTENSIONDIR)$/description-$(lang).txt)
# .jar files from solver
COMPONENT_EXTJARFILES = \
$(EXTENSIONDIR)$/sun-report-builder.jar
COMPONENT_EXTJARFILES_COPY = \
$(OUTDIR)$/bin$/reportbuilderwizard.jar
.IF "$(SYSTEM_JFREEREPORT)" != "YES"
.INCLUDE : $(OUTDIR)/bin/jfreereport_version.mk
COMPONENT_EXTJARFILES_COPY += \
$(OUTDIR)$/bin$/flute-$(FLUTE_VERSION).jar \
$(OUTDIR)$/bin$/libserializer-$(LIBSERIALIZER_VERSION).jar \
$(OUTDIR)$/bin$/libbase-$(LIBBASE_VERSION).jar \
$(OUTDIR)$/bin$/libfonts-$(LIBFONTS_VERSION).jar \
$(OUTDIR)$/bin$/libformula-$(LIBFORMULA_VERSION).jar \
$(OUTDIR)$/bin$/liblayout-$(LIBLAYOUT_VERSION).jar \
$(OUTDIR)$/bin$/libloader-$(LIBLOADER_VERSION).jar \
$(OUTDIR)$/bin$/librepository-$(LIBREPOSITORY_VERSION).jar \
$(OUTDIR)$/bin$/libxml-$(LIBXML_VERSION).jar \
$(OUTDIR)$/bin$/flow-engine-$(FLOW_ENGINE_VERSION).jar \
$(OUTDIR)$/bin$/sac.jar
.ENDIF
.IF "$(SYSTEM_APACHE_COMMONS)" != "YES"
COMPONENT_EXTJARFILES_COPY += \
$(OUTDIR)$/bin$/commons-logging-1.1.1.jar
.ENDIF
COMPONENT_MANIFEST_GENERIC:=TRUE
COMPONENT_MANIFEST_SEARCHDIR:=registry
# make sure to add your custom files here
EXTENSION_PACKDEPS=$(COMPONENT_EXTJARFILES) $(MISC)/$(TARGET).copied $(COMPONENT_HTMLFILES) $(COMPONENT_OTR_FILES) $(COMPONENT_DESCRIPTION) $(COMPONENT_IMAGES) $(EXTENSIONDIR)/components.rdb
.ENDIF
# --- Targets ----------------------------------
.INCLUDE : extension_pre.mk
.INCLUDE : target.mk
.INCLUDE : extension_post.mk
.IF "$(L10N_framework)"==""
$(EXTENSIONDIR)$/%.jar : $(SOLARBINDIR)$/%.jar
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(EXTENSIONDIR)/components.rdb : components.rdb
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(EXTENSIONDIR)$/readme_en-US.% : $(PRJ)$/license$/readme_en-US.%
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(COMPONENT_IMAGES) : $(SRC_ROOT)/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(EXTENSIONDIR)$/THIRDPARTYREADMELICENSE.html : $(PRJ)$/license$/THIRDPARTYREADMELICENSE.html
@@-$(MKDIRHIER) $(@:d)
$(COPY) $< $@
$(COMPONENT_DESCRIPTION) : $(DESCRIPTION)
$(DESCRIPTION_SRC): description.xml
+-$(RM) $@
$(COPY) description-en-US.txt $(EXTENSIONDIR)/description-en-US.txt
.IF "$(WITH_LANG)" != ""
$(XRMEX) -p $(PRJNAME) -i description.xml -o $@ -m $(LOCALIZESDF) -l all
$(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" < $@ > $@.new
mv $@.new $@
@@-$(COPY) $(@:d)/description-*.txt $(EXTENSIONDIR)
.ELSE
$(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" < $< > $@
.ENDIF
$(MISC)/$(TARGET).copied: $(COMPONENT_EXTJARFILES_COPY)
@@-$(MKDIRHIER) $(EXTENSIONDIR)
: $(foreach,i,$(COMPONENT_EXTJARFILES_COPY) && $(COPY) $i $(EXTENSIONDIR)/)
$(TOUCH) $@
.ENDIF
.ELSE # "$(SOLAR_JAVA)"!=""
.INCLUDE : target.mk
.ENDIF # "$(SOLAR_JAVA)"!=""
#

View File

@ -1,66 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
XSLDIR=$(SOLARXMLDIR)$/processing
ABSXCSROOT=$(PWD)$/$(MISC)$/$(EXTNAME)
# ABSXCSROOT=$(MISC)$/$(EXTNAME)
XCSROOT=..
# XCSROOT=$(SOLARXMLDIR)
# ABSXCSROOT=$(SOLARXMLDIR)
DTDDIR=$(SOLARXMLDIR)
PROCESSOUT=$(MISC)$/$(EXTNAME)
PROCESSORDIR=$(SOLARBINDIR)
# no validation by inspector class
NO_INSPECTION=TRUE
JAVAPREPRO=
.IF "$(JDK_VERSION)" == "110"
JAVAPREPRO=-jdk11
.ENDIF
.IF "$(PRODUCT)" != ""
JAVAPREPRO=$(JAVAPREPRO) + " -product"
.ENDIF
# --- Settings -----------------------------------------------------
EXTENSIONNAME:=sun-report-builder
.INCLUDE : settings.mk
NOUNODOC=
BUILD_URD_ONLY=TRUE
LOCALIDLFILES=TRUE
URDDOC=TRUE
.IF "$(OS)"=="SOLARIS" || "$(OS)"=="FREEBSD"
.IF "$(CPUNAME)"=="INTEL"
UNOIDL=unoidl
.ENDIF
.ENDIF

View File

@ -1,34 +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
# <http://www.openoffice.org/license.html>
# for a copy of the LGPLv3 License.
#
#*************************************************************************
REGISTRYCHECKFLAG=$(MISC)$/registrycheck.flag
$(OUT)$/misc$/$(TARGET).idls: makefile.mk
+-$(RM) $@
+-$(RM) $(REGISTRYCHECKFLAG)
+$(TYPE) $(mktmp $(foreach,i,$(IDLFILES) $(PACKAGE)$/$i)) >>$@
ALLTAR: $(OUT)$/misc$/$(TARGET).idls