summaryrefslogtreecommitdiffstats
path: root/reportbuilder/java
Commit message (Collapse)AuthorAgeFilesLines
* fdo#69147 report sort columns are RESULT columnsLionel Elie Mamane2013-09-131-57/+41
| | | | | | | | as opposed to table columns or other expressions. So it makes no sense to slap a table name on them. Notwithstanding HSQLDB 1.8 (our embedded database) bugs. Change-Id: Ib5d0b1479e29b9efeafca9ebc2eb7ed8e0f42b79
* fdo#67930 don't use variables for formattedtext in header/footerLionel Elie Mamane2013-08-121-24/+33
| | | | | | | | | | | I don't know why it was going through variables. Instead, put the value where it is supposed to, like for formattedtext in detail section. Try it, and if something breaks, we can revert. This also works around fdo#67930 Change-Id: Ia7f08afd8a037d3ac75676c5221ddb36aa791354
* a date is a date, not a floatLionel Elie Mamane2013-07-231-3/+3
| | | | Change-Id: Id9beab6a9cd9b7fa15ce0699b6eeb8a1e32448fe
* fdo#67186 switch reporbuilder to null date == 1899-12-30Lionel Elie Mamane2013-07-234-43/+20
| | | | | | | | | | | | | | | | | | | | | | This brings it in line with the default for other LibreOffice components (e.g. Calc), or with the only supported value (e.g. Writer tables), respectively. Configure Pentaho jfreereport to also take null date == 1899-12-30 This combined allows reportbuilder to make absolutely no fiddly conversion itself, leaving them to jfreereport and Writer table cell format. Also: - Make absolutely no conversion itself, also e.g. for booleans. - ODF compliance: make the value-type match the set foo-value attribute. - Use value-type="void" instead of empty value-type="string" Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee
* remove some unnecessary castsNoel Grandin2013-05-061-10/+6
| | | | Change-Id: I63b0ce257b40caa53aef337e953ce8d07862d292
* Java cleanup, remove unused importsNoel Grandin2013-04-261-11/+0
| | | | Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
* fdo#330191 a NULL value of float type is not NaNLionel Elie Mamane2013-04-241-5/+0
| | | | | | | | | but it is *still* NULL. This was initially done to "fix" i#108092, but i#112652 comment 13 suggests this may have been fixed more cleanly. Change-Id: I2b76af2182715bc489cb89dd45d6b77d5038b506
* Java cleanup, remove the rest of the unnecessary castsNoel Grandin2013-04-196-36/+36
| | | | | | | Change-Id: Ia61d250f6b3711abc29569c5ece38a6f87e38daa Reviewed-on: https://gerrit.libreoffice.org/3432 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
* date/time IDL datatypes incompatible changeLionel Elie Mamane2013-04-181-1/+1
| | | | | | | | | | - nanosecond precision - signed (allowed negative) year Also: assorted improvements / bugfixes in date/time handling code. Some factorisation of copy/pasted code. Change-Id: I761a1b0b8731c82f19a0c37acbcf43d3c06d6cd6
* fdo#60724 correct spellingThomas Arnhold2013-04-151-1/+1
| | | | Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
* fdo#36858Lionel Elie Mamane2013-04-121-3/+8
| | | | | | | 1) No valueType (Format/Number/General) is like float valueType (Format/Number/any other) 2) We use 1/1/1900 as startdate for number-from-date, stick to it more consistently Change-Id: Ib1008d1c30be602d8173457738c915087ed17391
* java.lang.String.isEmpty is only since 1.6Stephan Bergmann2013-04-111-1/+1
| | | | Change-Id: I43fd404e96192af3c0a8734c4547cee3b906c935
* reportbuilder: do not use empty tablenameLionel Elie Mamane2013-04-101-1/+9
| | | | Change-Id: I03ed5e810468ee206820a250c740b80c0ceda432
* fdo#61950 move report builder from bundled extensions to plain codeDavid Ostrovsky2013-03-182-0/+23
| | | | | | | | | 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>
* reportbuilder: make "Group on" not-"Each Value" actually workLionel Elie Mamane2013-03-125-7/+71
| | | | Change-Id: Id5d73f9aac48ebfb6987e5bf0df37e62f1817bdc
* fdo#61726: rename report-builder package to org.libreoffice.reportDavid Ostrovsky2013-03-11222-787/+787
| | | | | | | | | | | | 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>
* remove ReportEngine2 interfaceDavid Ostrovsky2013-03-062-48/+1
| | | | | | | | 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
* fdo#61726 java class collision with new idlDavid Ostrovsky2013-03-062-4/+3
| | | | Change-Id: I90ea912fd0cc54068843d21cb2585e78e70a3d71
* Related to fdo#60724: correct spellingThomas Arnhold2013-03-031-1/+1
| | | | | | | | Using the autocorrect list of LibreOffice extras/source/autotext/lang/en-US/acor/DocumentList.xml Change-Id: I8b93969bc0742c2e95b8b7db3c4c37691e8d3657 Script: http://pastebin.ca/2327716
* janitorial: typo in commentLionel Elie Mamane2013-02-191-1/+1
| | | | Change-Id: Ia3d8612e3774ee62b6d885cc9ab801361642c3a3
* add commentLionel Elie Mamane2013-02-191-0/+12
| | | | Change-Id: Id14dd289f8803378838725fbe08e327c9b1d233d
* fdo#52948 fix print-repeated-values=no with formatted valuesLionel Elie Mamane2013-02-1911-150/+182
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* fdo#51304 Remove @author annotationJosé Guilherme Vanz2012-11-241-12/+0
| | | | | | | | | | | 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>
* fdo#51304: Remove @author annotationJosé Guilherme Vanz2012-11-20124-181/+0
| | | | | | | | | | 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>
* Remove commented code and empty methodsJose Guilherme Vanz2012-10-106-24/+0
| | | | | | | | | | 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>
* Java5 update, Convert ArrayList and Vector code to use genericsNoel Grandin2012-09-104-13/+13
| | | | Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
* Java cleanup, remove unnecessary importsNoel Grandin2012-09-063-7/+0
| | | | Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
* fdo#38791: Do not use java.awt, causes problems on Mac OS XStephan Bergmann2012-08-233-23/+24
| | | | | | | | | | | | | | | | | | 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
* re-base on ALv2 code. Includes:Michael Meeks2012-07-1822-374/+310
| | | | | | | 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.
* Convert Java code in reportbuilder to use Java5 genericsNoel Grandin2012-06-2946-276/+270
| | | | Change-Id: Ia8a0206c6c81f2a4212dc92b80a9d6965ad8bd63
* re-base on ALv2 code.Michael Meeks2012-06-2910-230/+140
|
* re-base on ALv2 code.Michael Meeks2012-06-213-69/+42
| | | | Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
* re-base on ALv2 code.Michael Meeks2012-06-21178-4243/+2756
| | | | Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1
* remove unused sourceDavid Tardon2012-05-291-46/+0
|
* gbuildize reportbuilderDavid Tardon2012-05-295-381/+0
|
* .java files don't need executable bitsMichael Stahl2012-03-231-0/+0
|
* childs -> childrenMichael T. Whiteley2011-12-087-45/+45
|
* fs34c: check if description can be read and return ccorrect name for shapetypemst2011-11-292-3/+31
| | | | * found as LGPLv3-only fix at svn rev 1172124 (http://svn.apache.org/viewvc?view=revision&revision=1172124)
* Clean up after component passivation.Stephan Bergmann2011-11-222-24/+0
|
* avoid using com.sun.org apisCaolán McNamara2011-10-251-4/+6
|
* Fix reportbuilder build with MinGW.Jan Holesovsky2011-09-223-3/+3
|
* replace api.openoffice.org to api.libreoffice.orgAndras Timar2011-09-071-1/+1
|
* Merge commit 'ooo/DEV300_m106' into libreoffice-3-4Jan Holesovsky2011-04-223-22/+40
|\ | | | | | | | | Conflicts: swext/mediawiki/build.xml
| * masterfix DEV300: #i10000# added mkdirIvo Hinkelmann2011-04-041-0/+1
| |
| * masterfix DEV300: #i10000# build fixIvo Hinkelmann2011-04-041-9/+5
| |
| * dba34d: #i116463# fix string and NaNOcke.Janssen2011-01-172-12/+20
| |
| * Automated merge with ssh://hg.services.openoffice.org/cws/dba34cOcke Janssen [oj]2011-01-101-2/+15
| |\
| | * dba34c: #i108590# convert number to dateOcke Janssen [oj]2011-01-071-2/+15
| | |
* | | fix build with system jfreereportDavid Tardon2011-03-293-3/+3
| | |
* | | Merge commit 'ooo/DEV300_m103'Jan Holesovsky2011-03-2311-151/+811
|\| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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