diff options
Diffstat (limited to 'reportbuilder/template')
-rw-r--r-- | reportbuilder/template/delzip | 0 | ||||
-rw-r--r-- | reportbuilder/template/en-US/wizard/report/default.otr | bin | 0 -> 2561 bytes | |||
-rw-r--r-- | reportbuilder/template/en-US/wizard/report/makefile.mk | 69 | ||||
-rw-r--r-- | reportbuilder/template/makefile.mk | 122 | ||||
-rw-r--r-- | reportbuilder/template/manifest.xml | 3 | ||||
-rw-r--r-- | reportbuilder/template/post.xml | 8 | ||||
-rw-r--r-- | reportbuilder/template/pre.xml | 6 | ||||
-rw-r--r-- | reportbuilder/template/registry/data/org/openoffice/Office/Paths.xcu | 40 | ||||
-rw-r--r-- | reportbuilder/template/registry/data/org/openoffice/Office/makefile.mk | 49 | ||||
-rw-r--r-- | reportbuilder/template/wizard/report/default.odr | 1 | ||||
-rw-r--r-- | reportbuilder/template/wizard/report/finance.odr | 1 | ||||
-rw-r--r-- | reportbuilder/template/wizard/report/finance_2.odr | 1 | ||||
-rw-r--r-- | reportbuilder/template/wizard/report/makefile.mk | 69 | ||||
-rw-r--r-- | reportbuilder/template/wizard/report/yellow.odr | 1 |
14 files changed, 370 insertions, 0 deletions
diff --git a/reportbuilder/template/delzip b/reportbuilder/template/delzip new file mode 100644 index 000000000000..e69de29bb2d1 --- /dev/null +++ b/reportbuilder/template/delzip diff --git a/reportbuilder/template/en-US/wizard/report/default.otr b/reportbuilder/template/en-US/wizard/report/default.otr Binary files differnew file mode 100644 index 000000000000..a822c6727266 --- /dev/null +++ b/reportbuilder/template/en-US/wizard/report/default.otr diff --git a/reportbuilder/template/en-US/wizard/report/makefile.mk b/reportbuilder/template/en-US/wizard/report/makefile.mk new file mode 100644 index 000000000000..0de25c33c8dd --- /dev/null +++ b/reportbuilder/template/en-US/wizard/report/makefile.mk @@ -0,0 +1,69 @@ +#************************************************************************* +# +# 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) + diff --git a/reportbuilder/template/makefile.mk b/reportbuilder/template/makefile.mk new file mode 100644 index 000000000000..4c9782add419 --- /dev/null +++ b/reportbuilder/template/makefile.mk @@ -0,0 +1,122 @@ +#************************************************************************* +# +# 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 + +# ??? +no_common_build_zip=true + +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)"!="" +# diff --git a/reportbuilder/template/manifest.xml b/reportbuilder/template/manifest.xml new file mode 100644 index 000000000000..fc78c8c88b6f --- /dev/null +++ b/reportbuilder/template/manifest.xml @@ -0,0 +1,3 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE manifest:manifest PUBLIC "-//OpenOffice.org//DTD Manifest 1.0//EN" "Manifest.dtd"> +<manifest:manifest xmlns:manifest="http://openoffice.org/2001/manifest"> diff --git a/reportbuilder/template/post.xml b/reportbuilder/template/post.xml new file mode 100644 index 000000000000..889fdd631d27 --- /dev/null +++ b/reportbuilder/template/post.xml @@ -0,0 +1,8 @@ + </simple-license> + </registration> + <version value="#VERSION#"/> + <identifier value="com.sun.reportdesignertemplates"/> + <dependencies> + <OpenOffice.org-minimal-version value="3.0" d:name="OpenOffice.org 3.0"/> + </dependencies> +</description> diff --git a/reportbuilder/template/pre.xml b/reportbuilder/template/pre.xml new file mode 100644 index 000000000000..a1426ca2fb4e --- /dev/null +++ b/reportbuilder/template/pre.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="utf-8"?> +<description xmlns="http://openoffice.org/extensions/description/2006" + xmlns:d="http://openoffice.org/extensions/description/2006" + xmlns:xlink="http://www.w3.org/1999/xlink"> + <registration> + <simple-license accept-by="admin" default-license-id="en-US" > diff --git a/reportbuilder/template/registry/data/org/openoffice/Office/Paths.xcu b/reportbuilder/template/registry/data/org/openoffice/Office/Paths.xcu new file mode 100644 index 000000000000..65ee5a1b4dbb --- /dev/null +++ b/reportbuilder/template/registry/data/org/openoffice/Office/Paths.xcu @@ -0,0 +1,40 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!--*********************************************************************** + * + * 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. + * + ************************************************************************ --> + +<oor:component-data oor:package="org.openoffice.Office" oor:name="Paths" xmlns:install="http://openoffice.org/2004/installation" xmlns:oor="http://openoffice.org/2001/registry" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <node oor:name="Paths"> + + <node oor:name="Template" oor:op="fuse"> + <node oor:name="InternalPaths"> + <node oor:name="%origin%/../../../../../template" oor:op="fuse"/> + </node> + </node> + + </node> +</oor:component-data> + diff --git a/reportbuilder/template/registry/data/org/openoffice/Office/makefile.mk b/reportbuilder/template/registry/data/org/openoffice/Office/makefile.mk new file mode 100644 index 000000000000..e10c06b48f8e --- /dev/null +++ b/reportbuilder/template/registry/data/org/openoffice/Office/makefile.mk @@ -0,0 +1,49 @@ +#************************************************************************* +# +# 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 diff --git a/reportbuilder/template/wizard/report/default.odr b/reportbuilder/template/wizard/report/default.odr new file mode 100644 index 000000000000..091de849470a --- /dev/null +++ b/reportbuilder/template/wizard/report/default.odr @@ -0,0 +1 @@ +PKɧ!|j~Q_IroRF
\ No newline at end of file diff --git a/reportbuilder/template/wizard/report/finance.odr b/reportbuilder/template/wizard/report/finance.odr new file mode 100644 index 000000000000..091de849470a --- /dev/null +++ b/reportbuilder/template/wizard/report/finance.odr @@ -0,0 +1 @@ +PKɧ!|j~Q_IroRF
\ No newline at end of file diff --git a/reportbuilder/template/wizard/report/finance_2.odr b/reportbuilder/template/wizard/report/finance_2.odr new file mode 100644 index 000000000000..091de849470a --- /dev/null +++ b/reportbuilder/template/wizard/report/finance_2.odr @@ -0,0 +1 @@ +PKɧ!|j~Q_IroRF
\ No newline at end of file diff --git a/reportbuilder/template/wizard/report/makefile.mk b/reportbuilder/template/wizard/report/makefile.mk new file mode 100644 index 000000000000..ffe2f9f1db83 --- /dev/null +++ b/reportbuilder/template/wizard/report/makefile.mk @@ -0,0 +1,69 @@ +#************************************************************************* +# +# 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) + diff --git a/reportbuilder/template/wizard/report/yellow.odr b/reportbuilder/template/wizard/report/yellow.odr new file mode 100644 index 000000000000..091de849470a --- /dev/null +++ b/reportbuilder/template/wizard/report/yellow.odr @@ -0,0 +1 @@ +PKɧ!|j~Q_IroRF
\ No newline at end of file |