summaryrefslogtreecommitdiff
path: root/reportbuilder/util
diff options
context:
space:
mode:
Diffstat (limited to 'reportbuilder/util')
-rwxr-xr-xreportbuilder/util/component.txt1
-rw-r--r--reportbuilder/util/delzip1
-rw-r--r--reportbuilder/util/description.xml24
-rw-r--r--reportbuilder/util/makefile.mk151
-rwxr-xr-xreportbuilder/util/makefile.pmk66
-rw-r--r--reportbuilder/util/manifest.xml5
-rw-r--r--reportbuilder/util/target.pmk34
7 files changed, 282 insertions, 0 deletions
diff --git a/reportbuilder/util/component.txt b/reportbuilder/util/component.txt
new file mode 100755
index 000000000000..21a1f1e2d145
--- /dev/null
+++ b/reportbuilder/util/component.txt
@@ -0,0 +1 @@
+Create with the Report Builder stylish, smart-looking database reports. The flexible report editor can define group and page headers as well as group and page footers and even calculation fields are available to accomplish complex database reports.
diff --git a/reportbuilder/util/delzip b/reportbuilder/util/delzip
new file mode 100644
index 000000000000..8b137891791f
--- /dev/null
+++ b/reportbuilder/util/delzip
@@ -0,0 +1 @@
+
diff --git a/reportbuilder/util/description.xml b/reportbuilder/util/description.xml
new file mode 100644
index 000000000000..17f894e35e31
--- /dev/null
+++ b/reportbuilder/util/description.xml
@@ -0,0 +1,24 @@
+<?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">
+ <display-name>
+ <name lang="en-US">Report Builder</name>
+ <!-- <name lang="en-US">Oracle(TM) Report Builder</name> -->
+ </display-name>
+ <version value="#VERSION#"/>
+ <identifier value="com.sun.reportdesigner"/>
+ <dependencies>
+ <OpenOffice.org-minimal-version value="3.2" d:name="OpenOffice.org 3.2"/>
+ </dependencies>
+ <publisher>
+ <name xlink:href="http://www.oracle.com/us/products/applications/open-office" lang="en">Oracle</name>
+ </publisher>
+ <icon>
+ <default xlink:href="images/extension_32.png" />
+ </icon>
+ <extension-description>
+ <src xlink:href="help/component.txt" lang="en" />
+ </extension-description>
+</description>
+
diff --git a/reportbuilder/util/makefile.mk b/reportbuilder/util/makefile.mk
new file mode 100644
index 000000000000..d78cfa66ec36
--- /dev/null
+++ b/reportbuilder/util/makefile.mk
@@ -0,0 +1,151 @@
+#*************************************************************************
+#
+# 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.1
+
+ 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_HELP= \
+ $(EXTENSIONDIR)$/help$/component.txt
+
+# .jar files from solver
+COMPONENT_EXTJARFILES = \
+ $(EXTENSIONDIR)$/sun-report-builder.jar \
+ $(EXTENSIONDIR)$/reportbuilderwizard.jar
+
+.IF "$(SYSTEM_JFREEREPORT)" != "YES"
+.INCLUDE : $(SOLARBINDIR)/jfreereport_version.mk
+COMPONENT_EXTJARFILES += \
+ $(EXTENSIONDIR)$/flute-$(FLUTE_VERSION).jar \
+ $(EXTENSIONDIR)$/libserializer-$(LIBSERIALIZER_VERSION).jar \
+ $(EXTENSIONDIR)$/libbase-$(LIBBASE_VERSION).jar \
+ $(EXTENSIONDIR)$/libfonts-$(LIBFONTS_VERSION).jar \
+ $(EXTENSIONDIR)$/libformula-$(LIBFORMULA_VERSION).jar \
+ $(EXTENSIONDIR)$/liblayout-$(LIBLAYOUT_VERSION).jar \
+ $(EXTENSIONDIR)$/libloader-$(LIBLOADER_VERSION).jar \
+ $(EXTENSIONDIR)$/librepository-$(LIBREPOSITORY_VERSION).jar \
+ $(EXTENSIONDIR)$/libxml-$(LIBXML_VERSION).jar \
+ $(EXTENSIONDIR)$/flow-engine-$(FLOW_ENGINE_VERSION).jar \
+ $(EXTENSIONDIR)$/sac.jar
+.ENDIF
+.IF "$(SYSTEM_APACHE_COMMONS)" != "YES"
+COMPONENT_EXTJARFILES += \
+ $(EXTENSIONDIR)$/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) $(COMPONENT_HTMLFILES) $(COMPONENT_OTR_FILES) $(COMPONENT_HELP) $(COMPONENT_IMAGES)
+.ENDIF
+# --- Targets ----------------------------------
+
+.INCLUDE : extension_pre.mk
+.INCLUDE : target.mk
+.INCLUDE : extension_post.mk
+.IF "$(L10N_framework)"==""
+$(EXTENSIONDIR)$/%.jar : $(SOLARBINDIR)$/%.jar
+ @@-$(MKDIRHIER) $(@:d)
+ $(COPY) $< $@
+
+$(EXTENSIONDIR)$/readme_en-US.% : $(PRJ)$/license$/readme_en-US.%
+ @@-$(MKDIRHIER) $(@:d)
+ $(COPY) $< $@
+
+$(COMPONENT_IMAGES) : $(SOLARSRC)$/$(RSCDEFIMG)$/desktop$/res$/$$(@:f)
+ @@-$(MKDIRHIER) $(@:d)
+ $(COPY) $< $@
+
+$(EXTENSIONDIR)$/THIRDPARTYREADMELICENSE.html : $(PRJ)$/license$/THIRDPARTYREADMELICENSE.html
+ @@-$(MKDIRHIER) $(@:d)
+ $(COPY) $< $@
+
+$(COMPONENT_HELP) : $$(@:f)
+ @@-$(MKDIRHIER) $(@:d)
+ $(COPY) $< $@
+
+$(DESCRIPTION_SRC): description.xml
+ +-$(RM) $@
+ $(TYPE) description.xml | $(SED) "s/#VERSION#/$(EXTENSION_VERSION)/" > $@
+.ENDIF
+.ELSE # "$(SOLAR_JAVA)"!=""
+.INCLUDE : target.mk
+.ENDIF # "$(SOLAR_JAVA)"!=""
+#
diff --git a/reportbuilder/util/makefile.pmk b/reportbuilder/util/makefile.pmk
new file mode 100755
index 000000000000..566132247f9f
--- /dev/null
+++ b/reportbuilder/util/makefile.pmk
@@ -0,0 +1,66 @@
+#*************************************************************************
+#
+# 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 "$(CPU)"=="I"
+UNOIDL=unoidl
+.ENDIF
+.ENDIF
+
diff --git a/reportbuilder/util/manifest.xml b/reportbuilder/util/manifest.xml
new file mode 100644
index 000000000000..1a5a0f84623b
--- /dev/null
+++ b/reportbuilder/util/manifest.xml
@@ -0,0 +1,5 @@
+<?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">
+ <manifest:file-entry manifest:media-type="application/vnd.sun.star.uno-component;type=Java"
+ manifest:full-path="sun-report-builder.jar"/>
diff --git a/reportbuilder/util/target.pmk b/reportbuilder/util/target.pmk
new file mode 100644
index 000000000000..dfe8b8124e5b
--- /dev/null
+++ b/reportbuilder/util/target.pmk
@@ -0,0 +1,34 @@
+#*************************************************************************
+#
+# 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
+