summaryrefslogtreecommitdiff
path: root/reportdesign
AgeCommit message (Collapse)AuthorFilesLines
2013-07-25fdo#33617 adapt report engine to incompatible BorderLine2 changeLionel Elie Mamane4-25/+31
Conflicts: reportdesign/source/core/api/ReportDefinition.cxx reportdesign/source/filter/xml/xmlHelper.cxx Change-Id: I482e4b7b9f056247de3dae247d9328eb672eeba8 Reviewed-on: https://gerrit.libreoffice.org/5087 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-24fixup cherry-pick of fdo#67186 fixLionel Elie Mamane1-1/+1
Fixed commit: commit ac2d93cca0791a728583a40dc379c89c22582855 Author: Lionel Elie Mamane <lionel@mamane.lu> 2 AuthorDate: 2013-07-23 19:14:04 +0200 Reviewed-on: https://gerrit.libreoffice.org/5055 Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee Summary: fdo#67186 switch reporbuilder to null date == 1899-12-30 Change-Id: I1edf6402c9f25094b171ef65c4e1b5037731d17c Reviewed-on: https://gerrit.libreoffice.org/5062 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-23fdo#67186 switch reporbuilder to null date == 1899-12-30Lionel Elie Mamane2-2/+3
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 Conflicts: reportdesign/source/core/sdr/RptObject.cxx reportdesign/source/filter/xml/xmlExportDocumentHandler.cxx Change-Id: I67990232dbc9e86ac3fa37cd0c20edecb87cf8ee Reviewed-on: https://gerrit.libreoffice.org/5055 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-09fdo#66582 avoid crash because of missing modelDavid Tardon1-1/+1
The SdrObject is still under construction at this point, so it does not make sense to broadcast changes, because there are not any listeners anyway. Change-Id: Ib05e30843b4b0e125d5cae18a481e16fb7e21ba1 (cherry picked from commit 6e2815a0ffdb5811f220978734354b1033801927) Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/4781 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-28fdo#64279 do not crash opening report for editingDavid Tardon2-0/+30
There are two problems: 1) The classes derived from SdrObject cache their SvxShape, but do not implement impl_setUnoShape(). 2) There is a lifetime issue in association of a SdrObject and its SvxShape. SvxDrawPage::CreateSdrObject not only creates a new SdrObject for a shape, but also inserts it into the page. At this point, the shape has not been attached to the object yet. That means that the object creates another shape at one point during the InsertObject call, which is then destroyed again. But reportdesign shapes own their objects, which means that destuction of the shape causes destruction of the object too... My first idea was to disable the insertion in SvxDrawPage::CreateSdrObject, but it has been there since the dawn of time, so I did not gather the courage to do that. Instead, I put in a hack to allow to skip the insertion. Change-Id: I888a54067be1934578434d8b476a13a7ff8d02b3 (cherry picked from commit 02d03eb4ad6e64744659c5fe04282b25b66c28d8) Signed-off-by: David Tardon <dtardon@redhat.com> Conflicts: include/svx/svdobj.hxx Change-Id: I36406f399092c2c85278633d2ee7c953fc76f1bc Reviewed-on: https://gerrit.libreoffice.org/4071 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-05-06fdo#48056 revert part of return "correct name for shapetype"Lionel Elie Mamane6-4/+23
Keep hardcoded values as *fallback* only, but trust m_aProps.aComponent.m_xShape->getShapeType when present. Change-Id: I5a024a9bc5f87d226ab3c857817dfe91ad975acb Reviewed-on: https://gerrit.libreoffice.org/3766 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Miklos Vajna <vmiklos@suse.cz> Reviewed-by: Miklos Vajna <vmiklos@suse.cz>
2013-02-26fdo#52948 fix print-repeated-values=no with formatted valuesLionel Elie Mamane5-9/+9
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 Reviewed-on: https://gerrit.libreoffice.org/2255 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-02-22Compare strings with proper lengthLionel Elie Mamane1-1/+1
Change-Id: If88f79a7f63edb254ad5356e9a0fccc5573af106 Reviewed-on: https://gerrit.libreoffice.org/2338 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2012-12-06re-base on ALv2 code. Includes:Michael Meeks3-78/+51
Patches contributed by Ocke Janssen converted reportdesign. http://svn.apache.org/viewvc?view=revision&revision=1396797 http://svn.apache.org/viewvc?view=revision&revision=1394326 Patch contributed by Oliver Rainer-Wittmann sw34bf06: #i117783# - Writer's implementation of XPagePrintable - apply print settings to new printing routines http://svn.apache.org/viewvc?view=revision&revision=1172115
2012-12-03API CHANGE: roll back the XStyle changes to add a new Hidden property on StyleCédric Bosdonnat1-2/+0
Change-Id: If6d23925567fb184cd8fc4e00fc72fe4d216e756
2012-11-30API CHANGE: Added XStyle::isHidden() and XStyle::setHidden()Cédric Bosdonnat1-0/+3
Change-Id: I44770c05d51104b45d94145db8263187205daa84
2012-11-30use static_cast<cppu::OWeakObject*>(this) for exception's contextLionel Elie Mamane1-2/+2
Instead of *this, as per advice of sbergman Change-Id: Ibcac78974941d06de5cf865ddaed468ffdeccaa8
2012-11-30clang still thinks this is ambiguousLionel Elie Mamane1-2/+2
Change-Id: I112d26a55e956a24991ed43621a034f5bc4aa246
2012-11-29clang says call is ambiguousLionel Elie Mamane1-2/+2
Change-Id: I29e510a922c262b294a94596db9c2deea271e811
2012-11-29fdo#57611 don't crash when setting too small sizeLionel Elie Mamane4-6/+6
setHeight/Width needs to be authorized to throw com::sun::star::beans::PropertyVetoException, which is already handled adequately Change-Id: I077fbf7e3b871a59446fb3e23cc9fa1e2e9272a2
2012-11-29Enhance error message for too small FixedLine sizeLionel Elie Mamane1-2/+6
Change-Id: Icc9ac2789637db3d30ad452998cf0d857c9f5bea
2012-11-28fdo#46808, use service constructor for sdbc::ConnectionPoolNoel Grandin1-1/+1
Change-Id: Id12226af5e537b1eeacbb062ad937a3551e245c0
2012-11-28fdo#46808, Adapt reflection::ProxyFactory UNO service to new styleNoel Grandin2-8/+4
The service is deprecated, but we still have a handful of in-tree users, and converting it lets me thread XComponentContext through a bunch of classes. Change-Id: Iffdfe537ada6b9e4a89f9b3c8dd82ca85f4bfaba
2012-11-23some i18n wrappers with LanguageTagEike Rathke2-2/+2
Change-Id: I2ceaa3159e8669c2c569fa8559c1e061dcad399d
2012-11-22AllSettings with LanguageTagEike Rathke2-2/+2
Change-Id: I710ae66e51139662eb442b681fdf9cc9d158551d
2012-11-20Merge branch 'feature/killsdf'Andras Timar1-1/+1
Conflicts: desktop/prj/build.lst helpcontent2 l10ntools/Executable_gsicheck.mk l10ntools/Executable_uiex.mk regexp/inc/regexp/reclass.hxx solenv/gbuild/AllLangResTarget.mk Change-Id: I398f0cd9e7daefa8d2e04fd977d5bc2e9708169b
2012-11-17use LanguageTagEike Rathke2-7/+7
Change-Id: Ibb2788febb2af2c140f310104757439f72496e3f
2012-11-16Fix the Windows build breakage by reorganizing svtools headers.Kohei Yoshida2-0/+2
Also removed a fair amount of implicit inline methods to promote use of more forward declaration. Change-Id: I5ad21f0d7abc85281708b7e87f1036b02a053627
2012-11-15fdo#46808, use service constructor for i18n::NumberFormatMapperNoel Grandin1-0/+4
Also create a utility constructor for LocaleDataWrapper, which simplifies many of the calling sites. Change-Id: Ic8510b51c4201fa17fc0620e18d3e258e43636ba
2012-11-14Fix fdo#51121 OWA misbehaviour with uncompressed meta.xmlThorsten Behrens2-18/+9
Change reportdesigner to save ODF with compressed meta.xml as well, since there's no reason not to. Change-Id: I9129f83ea8e5e8a20e3b6395643e8ca93c32f04a
2012-11-11Merge branch 'master' into feature/killsdfAndras Timar9-77/+58
Conflicts: Repository.mk RepositoryFixes.mk connectivity/prj/build.lst extensions/prj/build.lst filter/prj/build.lst fpicker/prj/build.lst l10ntools/StaticLibrary_transex.mk saxon/build.xml shell/prj/build.lst solenv/gbuild/AllLangResTarget.mk solenv/gbuild/Configuration.mk solenv/gbuild/UI.mk ucb/source/ucp/webdav/webdavcontent.cxx
2012-10-27loplugin: various objects that are never usedCaolán McNamara3-9/+0
Change-Id: I379540dcce5cd0adae0f0f670821af92ab6432f4
2012-10-27t4 is always true, probably some debugging thingCaolán McNamara1-3/+0
Change-Id: I8038174c64d2ed5eb3cae503dbde49be96dd7d5c
2012-10-23fdo#46808, use service constructor for frame::ModuleManagerNoel Grandin1-1/+1
Change-Id: Iae2bd22a22213274d4a7697345b879f6573a30f0
2012-10-23fdo#46808, use service constructor for beans::IntrospectionNoel Grandin1-9/+7
Change-Id: Ieb49277020d31779979d8eb508391d6f8b97bf94
2012-10-22fdo#46808, Adapt xml::sax::XWriter UNO service to new styleNoel Grandin1-9/+4
Create a merged XWriter interface for the service. The xml.sax.Writer service already existed, it just did not have an IDL file. Change-Id: I4e6d3f3c68f9282a55fc7aa19778f97632fd8ad5
2012-10-19Merge SvLBoxTreeList and SvTreeList.Kohei Yoshida1-1/+1
Change-Id: I318ff6f1009b1aaa7d0bd3abb250f92fb51a21cd
2012-10-19Merge SvListEntry and SvLBoxEntry into SvTreeListEntry.Kohei Yoshida3-45/+45
Change-Id: I89cfc8c1288c00674fe64e791c149743d377d5ee
2012-10-13Merge branch 'master' into feature/killsdfAndras Timar155-3158/+2267
Conflicts: Makefile.top Module_tail_build.mk RepositoryExternal.mk RepositoryFixes.mk accessibility/source/standard/vclxaccessibletoolbox.cxx basic/source/uno/dlgcont.cxx connectivity/Library_ado.mk cross_tail_build/prj/build.lst desktop/source/offacc/acceptor.cxx filter/Library_PptImporter.mk filter/source/t602/filterenv.cxx i18npool/Library_textconv_dict.mk ooo.lst.in saxon/ExternalProject_saxon.mk saxon/build.xml sc/sdi/scalc.sdi sc/source/filter/xml/xmlstyli.cxx sc/source/ui/condformat/condformatdlg.cxx sc/source/ui/condformat/condformatmgr.cxx sc/source/ui/view/cellsh1.cxx sdext/source/pdfimport/misc/pwdinteract.cxx shell/qa/zip/makefile.mk shell/qa/zip/testimpl/makefile.mk solenv/gbuild/CppunitTest.mk solenv/gbuild/gbuild.mk solenv/gbuild/platform/android.mk solenv/gbuild/platform/com_GCC_defs.mk solenv/gbuild/platform/macosx.mk soltools/Executable_adjustvisibility.mk soltools/Executable_checkdll.mk soltools/Executable_cpp.mk soltools/Executable_javadep.mk soltools/Executable_makedepend.mk sw/qa/extras/rtfimport/rtfimport.cxx tail_build/prj/build.lst tomcat/ExternalProject_tomcat.mk ucb/source/ucp/webdav/webdavcontent.cxx xml2cmp/Executable_xml2cmp.mk
2012-10-12mark lcl_ functions static or rename them if they are not local at allLuboš Luňák1-2/+2
http://lists.freedesktop.org/archives/libreoffice/2012-October/039639.html Change-Id: I1a0e436051d48e7f6224d6f0fc602347df2d4df1
2012-10-11Merged SvTreeListBox and SvLBox.Kohei Yoshida2-2/+2
There is no reason to keep SvLBox separate. Change-Id: I0b34aa8f8ca539d4f4f0f9cea9fa9b8faec241e8
2012-10-04fdo#46808, Adapt xml::sax::XParser UNO service to new styleNoel Grandin1-10/+6
The xml.sax.Parser service already existed, it just did not have a new-style service to create it. Change-Id: I6f145a7504ff9e149c802f723991954a2801cbc9
2012-10-04Fixes/improvements on previous commitStephan Bergmann1-1/+1
* UUIInteractionHandler still needs to implement XInitialization. * Moved ambiguating InteractionHandler typedef out of the way. * Removed InteractionHandler.createDefault, as it was originally stated that "it is strongly recommended that [the "Parent"] property is supplied." * Added back documentation about Parent and Context. * Simplified some call-sites to directly use XInteractionHandler2. Change-Id: I1029b8f3cf079171c75920cafaaa44b5bbada883
2012-10-04fdo#46808, Adapt task::InteractionHandler UNO service to new styleNoel Grandin1-2/+3
Since we don't need to expose XInitialisation, we can make the new-style service implement XInteractionHandler2. Change-Id: Ib27beed1c12df17592c6472d6f58c233d2c41558
2012-10-02re-base on ALv2 code. Includes:Michael Meeks155-3140/+2252
#i118662# remove berkeleyDB from module l10tools Patch contributed by Oliver-Rainer Wittmann http://svn.apache.org/viewvc?view=revision&revision=1213189 reportdesign: remove extra items from Help menu Patch contributed by Ariel Constenla-Haile http://svn.apache.org/viewvc?view=revision&revision=1201215
2012-10-01Replace usage of rtl_*Memory with equivalent from string.hArnaud Versini2-2/+2
Change-Id: I50ffc10f007f03c3252ef0196b59b881429cc159 Reviewed-on: https://gerrit.libreoffice.org/734 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2012-10-01translations is a source-only moduleAndras Timar1-1/+1
Change-Id: I9fcddfcdfa2d60860a7b016dbb870a3b6e8f3ea4
2012-10-01Use comphelper::getComponentContextStephan Bergmann1-8/+2
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-10-01gbuild: invert handling of standard system libraries:Michael Stahl3-6/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-10-01gbuild: replace direct gb_STDLIBS use with ...Michael Stahl3-3/+6
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-10-01gbuild: split uwinapi out of gb_STDLIBSMichael Stahl3-0/+3
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7
2012-09-29Use comphelper::getComponentContextStephan Bergmann1-8/+2
...and some further clean up. Change-Id: Id294c0f38fe0041646fc86cacbd2e19734c746a9
2012-09-28gbuild: invert handling of standard system libraries:Michael Stahl3-6/+0
Always link in gb_STDLIBS, except when the library explicitly opts out with gb_LinkTarget_disable_standard_system_libs. Change-Id: I489a99114fbfa46d0421a27cf6c7b899dc268a4a
2012-09-28gbuild: replace direct gb_STDLIBS use with ...Michael Stahl3-3/+6
... new gb_LinkTarget_add_standard_system_libs Change-Id: Ib2bc843098db3d8c6822b45a3d21724e67f57d69
2012-09-28gbuild: split uwinapi out of gb_STDLIBSMichael Stahl3-0/+3
Change-Id: I53316e0b9369d806197bccb42cf22d3497af43e7