Commit Graph

82 Commits

Author SHA1 Message Date
55c53570e0 janitorial: typo in comment
Change-Id: Ia3d8612e3774ee62b6d885cc9ab801361642c3a3
2013-02-19 12:35:03 +01:00
9f015df355 add comment
Change-Id: Id14dd289f8803378838725fbe08e327c9b1d233d
2013-02-19 12:35:03 +01:00
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
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
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
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
a5ff5aad59 Java5 update, Convert ArrayList and Vector code to use generics
Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
2012-09-10 23:43:37 +02:00
bf4352084b Java cleanup, remove unnecessary imports
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-09-06 17:13:58 +02:00
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
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
f4cca7347f Convert Java code in reportbuilder to use Java5 generics
Change-Id: Ia8a0206c6c81f2a4212dc92b80a9d6965ad8bd63
2012-06-29 22:02:58 +02:00
2005a34318 re-base on ALv2 code. 2012-06-29 15:51:49 +01:00
b9042fad7c re-base on ALv2 code.
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21 15:00:05 +01:00
b6db3e3acc re-base on ALv2 code.
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
2012-06-21 13:11:06 +01:00
755eaff58d remove unused source 2012-05-29 07:25:01 +02:00
6bf04a4328 gbuildize reportbuilder 2012-05-29 07:25:00 +02:00
e476a7632c .java files don't need executable bits 2012-03-23 21:58:12 +01:00
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
2be37f241f Clean up after component passivation. 2011-11-22 21:56:07 +01:00
04c5a36ab8 avoid using com.sun.org apis 2011-10-25 13:50:33 +01:00
57826b92af Fix reportbuilder build with MinGW. 2011-09-22 19:50:24 +02:00
3f62165fd4 replace api.openoffice.org to api.libreoffice.org 2011-09-07 10:27:56 +02:00
66c4b436fc Merge commit 'ooo/DEV300_m106' into libreoffice-3-4
Conflicts:
	swext/mediawiki/build.xml
2011-04-22 15:08:10 +02:00
d36b7a5f86 masterfix DEV300: #i10000# added mkdir 2011-04-04 14:10:39 +02:00
55bed7a505 masterfix DEV300: #i10000# build fix 2011-04-04 13:05:38 +02:00
97cf2b8dd8 fix build with system jfreereport 2011-03-29 17:32:13 +02:00
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
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
1b46f8da57 dba34d: #i116463# fix string and NaN 2011-01-17 12:32:14 +01:00
1d112bec03 Automated merge with ssh://hg.services.openoffice.org/cws/dba34c 2011-01-10 14:23:31 +01:00
656c73c2e4 dba34c: #i108590# convert number to date 2011-01-07 08:37:24 +01:00
f70c36928c dba34b: merged DEV300m96 2011-01-05 10:07:18 +01:00
7917305402 CWS-TOOLING: integrate CWS srb1 2010-12-03 13:41:14 +01:00
bd10afb420 dba34b: localize properties 2010-11-24 10:12:13 +01:00
68b50b6d1d dba34b: localize properties 2010-11-24 09:58:37 +01:00
441418b2bf dba34b: #i115219# add missing style-name elements 2010-11-24 09:15:49 +01:00
2d24f7dc9b dba34b: #i114109# change creator in meta.xml 2010-11-04 13:10:42 +01:00
0d57cd758e dba34b: #i115145# catch numberformatexception when creating bigdecimal 2010-11-04 12:25:08 +01:00
542a0e91f4 Merge commit 'ooo/OOO330_m9'
Conflicts:
	swext/mediawiki/build.xml
	swext/prj/build.lst
2010-10-06 13:35:21 +02:00
665e762b93 allow building against later pentaho libraries 2010-10-05 10:39:44 +01:00
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
42af84d912 dba33h: #i114106# fix missing value-type 2010-08-30 11:31:28 +02:00
2d9f7d9a91 dba33h: #i114106# fix invalid root element for styles 2010-08-30 11:28:34 +02:00
2ba3b618be dba33h: #i114105# fix version number 2010-08-30 11:26:49 +02:00
2a44c3167e dba33h: #i112652#: reportbuilder: write XMLSchema-2 conformant NaN 2010-08-27 12:23:43 +02:00
9bd142499e dba33g: #i110535# add order with realname and table name 2010-07-08 16:14:22 +02:00
50fbc78991 dba33g: #i108954# handle value for string and date like value-type is defined 2010-07-08 15:27:58 +02:00
ec88ba28a7 dba33g: #i112620# add new namespace for chartooo 2010-07-07 12:40:38 +02:00
bdf82ea8ff srb1: change version 2010-06-22 16:52:33 +02:00