Commit Graph
90 Commits
Author SHA1 Message Date
Stephan Bergmann 87cb8d784c java.lang.String.isEmpty is only since 1.6
Change-Id: I43fd404e96192af3c0a8734c4547cee3b906c935
2013-04-11 16:11:20 +02:00
Lionel Elie Mamane eb39389da8 reportbuilder: do not use empty tablename
Change-Id: I03ed5e810468ee206820a250c740b80c0ceda432
2013-04-10 18:16:00 +02:00
David Ostrovsky 90a326c702 fdo#61950 move report builder from bundled extensions to plain code
For test sample report from fdo#61726 can be used.

Change-Id: Iacf8ddc4cf8ad0a408d72e18ecb7237476afeffe
Reviewed-on: https://gerrit.libreoffice.org/2718
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-18 15:30:44 +00:00
Lionel Elie Mamane 4178806bb0 reportbuilder: make "Group on" not-"Each Value" actually work
Change-Id: Id5d73f9aac48ebfb6987e5bf0df37e62f1817bdc
2013-03-12 18:16:45 +01:00
David Ostrovsky 6f28efc2a8 fdo#61726: rename report-builder package to org.libreoffice.report
To prevent future clashes with uno name space rename the
com.sun.star.report package to org.libreoffice.report.

Bump the version to 1.2.4.

Change-Id: Ia06cb7ad8c1528c1d5b5eeb70f1e4b2aa854b70f
Reviewed-on: https://gerrit.libreoffice.org/2578
Reviewed-by: David Ostrovsky <David.Ostrovsky@gmx.de>
Tested-by: David Ostrovsky <David.Ostrovsky@gmx.de>
2013-03-11 08:56:40 +00:00
David Ostrovsky 3c14d6545b remove ReportEngine2 interface
Typical anti pattern in java is the overuse of interfaces.
You only need an interface in java, if you have multiple
different implementations. Otherwise you don't.

Change-Id: If8b62adc56385f9b839dab36e8cbbf9f715e6017
2013-03-06 21:22:46 +01:00
David Ostrovsky cde76a3205 fdo#61726 java class collision with new idl
Change-Id: I90ea912fd0cc54068843d21cb2585e78e70a3d71
2013-03-06 01:16:11 +01:00
Thomas Arnhold f5ca04caca Related to fdo#60724: correct spelling
Using the autocorrect list of LibreOffice
extras/source/autotext/lang/en-US/acor/DocumentList.xml

Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657
Script: http://pastebin.ca/2327716
2013-03-03 17:14:16 +01:00
Lionel Elie Mamane 55c53570e0 janitorial: typo in comment
Change-Id: Ia3d8612e3774ee62b6d885cc9ab801361642c3a3
2013-02-19 12:35:03 +01:00
Lionel Elie Mamane 9f015df355 add comment
Change-Id: Id14dd289f8803378838725fbe08e327c9b1d233d
2013-02-19 12:35:03 +01:00
Lionel Elie Mamane 532421d208 fdo#52948 fix print-repeated-values=no with formatted values
Factorise the "should this element be printed" decision into an
utility function, which is used by
1) AbstractReportElementLayoutController
   (in charge of non-formatted values: string, image, OLE object, ...)
   which already obeyed PrintRepeatedValues.
2) TableCellLayoutController
   (in charge of formatted values: dates, numbers, ...)
   which blissfully ignored PrintRepeatedValues,
   but obeyed the display condition.

Rename the inconsistently named
 PrintWhenGroupChange
 PrintWhenGroupChanges
 print-only-when-group-change
 print-when-group-change
to
 PrintWhenGroupChange / print-when-group-change

Change the meaning of "PrintWhenGroupChange" to "override
PrintRepeatedValues in first occurrence in group". Since this feature
never worked under the old semantics, no loss of feature. Since we
change the XML attribute name, no ascending compatibility problem: it
will be reset to its default value.

Pursuant to the new meaning of PrintWhenGroupChange, change its
default to *true*, which is the sane default.

Change-Id: Idbe8e90565a354f70db222d047b3d51eeddbbb9f
2013-02-19 12:35:02 +01:00
José Guilherme Vanz 1994d859e3 fdo#51304 Remove @author annotation
This commit removes @author annotations, some templates comments. It has some
cleanup.

Change-Id: I995ba7b06d661fcec17f26c368d9449c0bf5ab45
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1146
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-24 00:02:15 +00:00
José Guilherme Vanz 4395680011 fdo#51304: Remove @author annotation
This commit removes some @author annotations and some cleanup.

Change-Id: Iaf2c4465825dc73af6c1d7377ae847262721c22b
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/1122
Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-11-20 05:15:45 +00:00
Jose Guilherme Vanz f6739073ed Remove commented code and empty methods
This patch removes commented code and some empty private methods

Change-Id: I4a79e521399a07873030f021a97c01cf8d2e81d7
Signed-off-by: José Guilherme Vanz <guilherme.sft@gmail.com>
Reviewed-on: https://gerrit.libreoffice.org/844
Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
Tested-by: Thomas Arnhold <thomas@arnhold.org>
2012-10-10 06:56:57 +00:00
Noel Grandin a5ff5aad59 Java5 update, Convert ArrayList and Vector code to use generics
Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
2012-09-10 23:43:37 +02:00
Noel Grandin bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +02:00
Stephan Bergmann 86a60b3655 fdo#38791: Do not use java.awt, causes problems on Mac OS X
On Mac OS X, it apparently suffices to execute "new java.awt.Dimension()" to run
into "Apple AWT Java VM was loaded on first thread -- can't start AWT" (see
<http://developer.apple.com/library/mac/#technotes/tn2005/tn2147.html> "JNI
Development on Mac OS X - Thread-Safe JNI Programming - Calling AWT/Swing From
AppKit").

The solution here is simple, in that uses of java.awt.Dimension can be replaced
with com.sun.star.awt.Size without loss of functionality.  However, there are
still occurrences of java.awt.Image and java.awt.Toolkit lurking
(reportbuilder/java/com/sun/star/report/SOImageService.java,
reportbuilder/java/com/sun/star/report/pentaho/output/ImageProducer.java,
reportbuilder/java/com/sun/star/report/pentaho/output/OfficeDocumentReportTarget.java)
for which it might be sheer luck that they do not seem to cause trouble yet.

Change-Id: I33e9f74c50ebddc11bd1d9a48c55dc8f8700345d
2012-08-23 14:34:56 +02:00
Michael Meeks cf342fe928 re-base on ALv2 code. Includes:
reportbuilder, license file not needed.
    Patch contributed by Armin Le Grand
    http://svn.apache.org/viewvc?view=revision&revision=1305814
    Adapting extras/ to our wordbook setup.
2012-07-18 15:00:25 +01:00
Noel Grandin f4cca7347f Convert Java code in reportbuilder to use Java5 generics
Change-Id: Ia8a0206c6c81f2a4212dc92b80a9d6965ad8bd63
2012-06-29 22:02:58 +02:00
Michael Meeks 2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
Michael Meeks b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
Michael Meeks b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
David Tardon 755eaff58d remove unused source 2012-05-29 07:25:01 +02:00
David Tardon 6bf04a4328 gbuildize reportbuilder 2012-05-29 07:25:00 +02:00
Michael Stahl e476a7632c .java files don't need executable bits 2012-03-23 21:58:12 +01:00
Michael T. Whiteley dcfd4beb21 childs -> children 2011-12-08 11:32:41 +02:00
mst e2ba981485 fs34c: check if description can be read and return ccorrect name for shapetype
* found as LGPLv3-only fix at svn rev 1172124 (http://svn.apache.org/viewvc?view=revision&revision=1172124)
2011-11-29 17:57:30 +01:00
Stephan Bergmann 2be37f241f Clean up after component passivation. 2011-11-22 21:56:07 +01:00
Caolán McNamara 04c5a36ab8 avoid using com.sun.org apis 2011-10-25 13:50:33 +01:00
Jan Holesovsky 57826b92af Fix reportbuilder build with MinGW. 2011-09-22 19:50:24 +02:00
Andras Timar 3f62165fd4 replace api.openoffice.org to api.libreoffice.org 2011-09-07 10:27:56 +02:00
Jan Holesovsky 66c4b436fc Merge commit 'ooo/DEV300_m106' into libreoffice-3-4
Conflicts:
	swext/mediawiki/build.xml
2011-04-22 15:08:10 +02:00
Ivo Hinkelmann d36b7a5f86 masterfix DEV300: #i10000# added mkdir 2011-04-04 14:10:39 +02:00
Ivo Hinkelmann 55bed7a505 masterfix DEV300: #i10000# build fix 2011-04-04 13:05:38 +02:00
David Tardon 97cf2b8dd8 fix build with system jfreereport 2011-03-29 17:32:13 +02:00
Jan Holesovsky 761118f831 Merge commit 'ooo/DEV300_m103'
Conflicts:
	jfreereport/java/flute/makefile.mk
	jfreereport/java/libbase/makefile.mk
	jfreereport/java/libfonts/makefile.mk
	jfreereport/java/libformula/makefile.mk
	jfreereport/java/libloader/makefile.mk
	jfreereport/java/librepository/makefile.mk
	jfreereport/java/libserializer/makefile.mk
	jfreereport/java/libxml/makefile.mk
	jfreereport/java/sac/makefile.mk
	mysqlc/source/mysqlc_connection.cxx
	mysqlc/source/mysqlc_connection.hxx
	mysqlc/source/mysqlc_databasemetadata.cxx
	mysqlc/source/mysqlc_databasemetadata.hxx
	mysqlc/source/mysqlc_driver.cxx
	mysqlc/source/mysqlc_driver.hxx
	mysqlc/source/mysqlc_general.hxx
	mysqlc/source/mysqlc_preparedstatement.hxx
	mysqlc/source/mysqlc_resultsetmetadata.hxx
	mysqlc/source/mysqlc_statement.hxx
	sdext/source/minimizer/impoptimizer.cxx
	sdext/source/pdfimport/config/description.xml
	sdext/source/pdfimport/tree/drawtreevisiting.cxx
	sdext/source/presenter/PresenterWindowManager.cxx
	swext/prj/build.lst
2011-03-23 16:58:56 +01:00
Lionel Elie Mamane 6bd54fca68 Use more reliable SQL syntax
Give a derived table (subquery) an alias (name). From fdo#32960.

Signed-off-by: Tor Lillqvist <tlillqvist@novell.com>
2011-01-20 11:55:28 +02:00
Ocke.Janssen 1b46f8da57 dba34d: #i116463# fix string and NaN 2011-01-17 12:32:14 +01:00
Ocke Janssen [oj] 1d112bec03 Automated merge with ssh://hg.services.openoffice.org/cws/dba34c 2011-01-10 14:23:31 +01:00
Ocke Janssen [oj] 656c73c2e4 dba34c: #i108590# convert number to date 2011-01-07 08:37:24 +01:00
Frank Schoenheit [fs] f70c36928c dba34b: merged DEV300m96 2011-01-05 10:07:18 +01:00
Ivo Hinkelmann 7917305402 CWS-TOOLING: integrate CWS srb1 2010-12-03 13:41:14 +01:00
Ocke.Janssen bd10afb420 dba34b: localize properties 2010-11-24 10:12:13 +01:00
Ocke.Janssen 68b50b6d1d dba34b: localize properties 2010-11-24 09:58:37 +01:00
Ocke.Janssen 441418b2bf dba34b: #i115219# add missing style-name elements 2010-11-24 09:15:49 +01:00
Ocke.Janssen 2d24f7dc9b dba34b: #i114109# change creator in meta.xml 2010-11-04 13:10:42 +01:00
Ocke.Janssen 0d57cd758e dba34b: #i115145# catch numberformatexception when creating bigdecimal 2010-11-04 12:25:08 +01:00
Jan Holesovsky 542a0e91f4 Merge commit 'ooo/OOO330_m9'
Conflicts:
	swext/mediawiki/build.xml
	swext/prj/build.lst
2010-10-06 13:35:21 +02:00
Caolán McNamara 665e762b93 allow building against later pentaho libraries 2010-10-05 10:39:44 +01:00
Ocke Janssen [oj] 18d1017ba0 dba3h: #i114111#: reportbuilder: do not use Double.toString() when writing the 2 column-width attribute, it may write an exponent, which is invalid.. 2010-08-30 11:33:41 +02:00