summaryrefslogtreecommitdiff
path: root/reportbuilder
AgeCommit message (Collapse)AuthorFilesLines
2013-10-08fdo#62994 reportbuilder survive empty formulaLionel Elie Mamane1-0/+2
Change-Id: I1da053871d107730ad9a135deb48313d8a877d89 Reviewed-on: https://gerrit.libreoffice.org/6166 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-09-14fdo#69147 report sort columns are RESULT columnsLionel Elie Mamane1-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 Reviewed-on: https://gerrit.libreoffice.org/5931 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-13fdo#67930 work around fdo#68024Lionel Elie Mamane1-1/+2
don't emit string-value attribute Change-Id: I3668b88437451523f2b6bb3c2c82e1929f7ba3d8 Reviewed-on: https://gerrit.libreoffice.org/5371 Tested-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
2013-07-23fdo#67186 switch reporbuilder to null date == 1899-12-30Lionel Elie Mamane4-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" Conflicts: reportdesign/source/core/sdr/RptObject.cxx Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee Reviewed-on: https://gerrit.libreoffice.org/5054 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-02default report template should be language-independentAndras Timar2-1/+1
Change-Id: Ia0b18b90ffd2cb4c6958749e45d8cfec92825d02 Reviewed-on: https://gerrit.libreoffice.org/4672 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-06-07fdo#65168: Fix regressions introduced with de-extension-ing report builderStephan Bergmann3-30/+24
...in 90a326c7028d5af132c62edfaef77c53627e4c0e "fdo#61950 move report builder from bundled extensions to plain code": * For one, ReportWizard.startReportWizard (wizards/com/sun/star/wizards/report/ReportWizard.java) would still try to load reportbuilderwizard.jar from the unpacked extension (and, failing that, fell back to the old default engine, so this didn't cause any failure per se). Instead, reference reportbuilderwizard.jar (which was also missing from scp2) from report.jar's manifest Class-Path (which will always be OK, even if reportbuilderwizard.jar is not installed) and check for the relevant class via Class::forName directly. * For another, the en-US/wizard/report/default.otr template had gone missing. The way to find it inside the unpacked extension in the past was to include a Paths.xcu update that extends the Template path. Instead, install that template directly into share/template now, and drop the (unused already) Paths.xcu update. Change-Id: I09eca2b69aa55d5b15fb5ecfec6881f8a6f6e5e5 (cherry picked from commit e57eeb6d5f547a4a49df796641141c733f6c5204)
2013-05-06remove some unnecessary castsNoel Grandin1-10/+6
Change-Id: I63b0ce257b40caa53aef337e953ce8d07862d292
2013-04-26Java cleanup, remove unused importsNoel Grandin1-11/+0
Change-Id: I697017f196a7f7e5684011ae23941e54051c45dd
2013-04-24fdo#330191 a NULL value of float type is not NaNLionel Elie Mamane1-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
2013-04-22Move to MPLv2 license headers, with ESC decision and author's permission.Michael Meeks2-44/+8
2013-04-19Java cleanup, remove the rest of the unnecessary castsNoel Grandin6-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>
2013-04-18date/time IDL datatypes incompatible changeLionel Elie Mamane1-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
2013-04-15fdo#60724 correct spellingThomas Arnhold1-1/+1
Change-Id: Ieb653adbd0cb4371ec5db57e70bcc551872f647f
2013-04-12fdo#36858Lionel Elie Mamane1-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
2013-04-11java.lang.String.isEmpty is only since 1.6Stephan Bergmann1-1/+1
Change-Id: I43fd404e96192af3c0a8734c4547cee3b906c935
2013-04-10reportbuilder: do not use empty tablenameLionel Elie Mamane1-1/+9
Change-Id: I03ed5e810468ee206820a250c740b80c0ceda432
2013-03-18fdo#61950 move report builder from bundled extensions to plain codeDavid Ostrovsky22-1454/+35
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-14remove legacy build.pl prj/build.lst files.Michael Meeks1-3/+0
2013-03-12reportbuilder: make "Group on" not-"Each Value" actually workLionel Elie Mamane5-7/+71
Change-Id: Id5d73f9aac48ebfb6987e5bf0df37e62f1817bdc
2013-03-11fdo#61726: rename report-builder package to org.libreoffice.reportDavid Ostrovsky229-1029/+1029
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-07Make gb_Extension_use_default_description/license explicitStephan Bergmann1-0/+3
...as a prerequisite for gbuild'ifying desktop/test/deployment/passive/, which builds a test extension that does not match those default description/license settings. Change-Id: I200ff0ceb9750ed4b1c187305f10469f789d29cb
2013-03-06remove ReportEngine2 interfaceDavid Ostrovsky3-49/+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
2013-03-06fdo#61726 java class collision with new idlDavid Ostrovsky3-5/+4
Change-Id: I90ea912fd0cc54068843d21cb2585e78e70a3d71
2013-03-03Related to fdo#60724: correct spellingThomas Arnhold1-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
2013-02-28remove all d.lstMichael Stahl1-0/+0
Change-Id: Icba4218c5f9fe89d183d25ea82a8eae52881f885
2013-02-19janitorial: typo in commentLionel Elie Mamane1-1/+1
Change-Id: Ia3d8612e3774ee62b6d885cc9ab801361642c3a3
2013-02-19add commentLionel Elie Mamane1-0/+12
Change-Id: Id14dd289f8803378838725fbe08e327c9b1d233d
2013-02-19fdo#52948 fix print-repeated-values=no with formatted valuesLionel Elie Mamane11-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
2012-12-12Remove xml2cmp leftoversStephan Bergmann1-31/+0
Change-Id: I7c0ba8b653b8e0534ae17bd879b93b75c6554893
2012-11-29reportbuilder does not look like dmake anymoreBjoern Michaelsen1-0/+0
2012-11-24fdo#51304 Remove @author annotationJosé Guilherme Vanz1-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>
2012-11-20fdo#51304: Remove @author annotationJosé Guilherme Vanz124-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>
2012-10-23gbuild: fix XcuMergeTarget build breakage:Michael Stahl1-9/+9
Introduce gb_XcuFile_for_extension function to use the right file depending on WITH_LANG setting. Change-Id: Ibe4fc4e28fe445fc9391b68d370039528eab7ed8
2012-10-23gbuild: let ExtensionTarget expect manifest below META-INFMichael Stahl1-0/+0
Change-Id: Ia07d3fd856578ab6976c02f8a0ec96273db19a2c
2012-10-10Remove commented code and empty methodsJose Guilherme Vanz6-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>
2012-09-22fix configuration depsDavid Tardon1-1/+1
Change-Id: Ie431fadb4f11284e231112744af80bfb5c219d94
2012-09-10Java5 update, Convert ArrayList and Vector code to use genericsNoel Grandin4-13/+13
Change-Id: I6cf6fa8e55005ffdc1d173aeee1e374efbb214fd
2012-09-06Java cleanup, remove unnecessary importsNoel Grandin3-7/+0
Change-Id: Iacfcb2e16cb0e3c25a4cd0678a374fe5111284f7
2012-08-23fdo#38791: Do not use java.awt, causes problems on Mac OS XStephan Bergmann3-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
2012-08-17gbuild: register all jarsMichael Stahl1-5/+5
Change-Id: I9f49970e5e06d1afd3fc066a20d1671c93e262fc
2012-08-15gbuild: remove most uses of gb_Jar_set_jarclasspath:Michael Stahl1-34/+0
With gb_Jar_add_jar and gb_Jar_add_system_jar adding to the manifest classpath automatically it is no longer necessary to call gb_Jar_set_jarclasspath manually except for the URE jars, which are apparently not supposed to be added automatically. Change-Id: I1e743e7ecb9cb5651e02005aa09e127bea1b0a29
2012-07-25fdo#52427 fix l10n of reportbuilderDavid Tardon1-9/+9
Change-Id: I9ff1b7329eca2faa560181c49d6c4527a008fead
2012-07-18re-base on ALv2 code. Includes:Michael Meeks48-1539/+658
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-13fdo#51278 fix reportbuilder manifestDavid Tardon2-2/+38
Change-Id: I34f229284611285e10a192f80b14b1e8b3fa618c
2012-07-12fdo#51278 bump version to force update of package cacheDavid Tardon1-1/+1
Change-Id: Ia33f9ef485fef1610b91df9895e6ac805cde0360
2012-07-12fdo#51278 make reportbuilder work againDavid Tardon2-0/+32
Change-Id: I46f970fa23a0afd54485efb58b7f4f757c7d7752
2012-06-29Convert Java code in reportbuilder to use Java5 genericsNoel Grandin46-276/+270
Change-Id: Ia8a0206c6c81f2a4212dc92b80a9d6965ad8bd63
2012-06-29re-base on ALv2 code.Michael Meeks10-230/+140
2012-06-21re-base on ALv2 code.Michael Meeks3-69/+42
Change-Id: I6c145e984c885c7e06caa1c27bfb354ea49ad9ce
2012-06-21re-base on ALv2 code.Michael Meeks178-4243/+2756
Change-Id: Ice06e639213aeb6f7f23cbf4634947dd25613db1