summaryrefslogtreecommitdiff
path: root/reportdesign/inc
AgeCommit message (Collapse)Author
2014-10-23Fraction: Revert "fdo#81356: convert Fraction to boost::rational<long> - wip"Jan Holesovsky
This reverts commit 47a2d7642d249d70b5da0c330a73f3a0032e4bba. Conflicts: cui/source/tabpages/transfrm.cxx svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx tools/source/generic/rational.cxx Change-Id: I4849916f5f277a4afef0e279b0135c76b36b9d15
2014-10-23Fraction: Revert "fdo#84854 it seems long is not enough on 32 bit"Jan Holesovsky
This reverts commit 582ef22d3e8e30ffd58f092d37ffda30bd07bd9e. Conflicts: svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx Change-Id: I80abc7abdeddc267eaabc9f8ab49611bb3f8ae83
2014-10-16fdo#84854 it seems long is not enough on 32 bitDavid Tardon
Fraction used BigInt internally for computations, rational does nothing like that. Change-Id: I3e9b25074f979bc291208f7c6362c3c40eb77ff5
2014-10-09fdo#81356: convert Fraction to boost::rational<long> - wipJuan Picca
* Added rational util functions used by Fraction class not available in the boost::rational class. * Replaced usage of Fraction by boost::rational<long> * Removed code that relies on: 1. fraction.IsValid() -- rational only allow valid values, ie denominator() != 0 2. rational.denominator() == 0 -- always false 3. rational.denominator() < 0 -- always false but implementation detail: http://www.boost.org/doc/libs/release/libs/rational/rational.html#Internal%20representation * Simplified code that relies on: 1. rational.denominator() != 0 -- always true * BUGS EXIST because Fraction allows the creation of invalid values but boost::rational throws the exception boost::bad_rational Change-Id: I84970a4956afb3f91ac0c8f726547466319420f9 Reviewed-on: https://gerrit.libreoffice.org/11551 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2014-09-30reportdesign: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: If387245dd587d4191589fcf93c02f1ca12654456
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-06SfxHint: convert home-grown RTTI to normal C++ RTTINoel Grandin
Also note that I fixed a bug in SvxFontMenuControl::Notify where the if statement had the check the wrong way around. Change-Id: I611e8929c65818191e36bd80f2b985820ada4411 Reviewed-on: https://gerrit.libreoffice.org/11147 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2014-09-03convert RID_GROUPS_SORTING floating window to .uiCaolán McNamara
(recovers icons for up/down/delete in the process) Change-Id: I85a8de2ebe1321f972000a680a9f4308c26ae4c3
2014-09-02convert RID_NAVIGATOR floatingwindow to .uiCaolán McNamara
Change-Id: I40dbe9d315889a7c0033e940499b52aa4c137690
2014-08-16Consistently use size_t and SAL_MAX_SIZEMatteo Casalin
Change-Id: Ibab89984ec94556ec368653b6db50c6c2e380dec
2014-08-13update_pchThomas Arnhold
Change-Id: Ic1dae7aac2f4367b4196ba3128c0aea9be1fbbda
2014-07-08drop unused helpidsCaolán McNamara
Change-Id: I43c8e1327731796498c6da42179ff085c26279b9
2014-07-08Convert RID_CONDFORMAT to .uiPalenik Mihály
Change-Id: I23ac6a7328a43c2fb63f2f804f6718f64e73eb8e
2014-06-18Suppress implicit OObjectBase copy ctorStephan Bergmann
(that would choke on incomplete OPropertyMediator type used in rtl::Reference) Change-Id: I61dec2847d9ff387dca247d2d554c8f8f3147379
2014-06-18rtl::Reference fits just fine hereStephan Bergmann
Change-Id: I354b546654e665607d9be0d65f6327fabb5694de
2014-06-17improve the inlinesimplememberfunctions clang pluginNoel Grandin
Change-Id: I6d5a952901648e01904ef5c37f953c517304d31e
2014-06-05various: remove SAL_THROW macroNoel Grandin
Change-Id: I9464179a736b91f5bc32eb5e5e89b3b4e3da3494
2014-05-19hrc and src files: squeeze multiple newlinesThomas Arnhold
for i in `find . -name *.src -or -name *.hrc`; do FILE=$(cat -s "$i"); echo "$FILE" > "$i"; done Change-Id: I2bac5ad3e1eb3c566e5c867ccf45893a19e1561e
2014-05-14update_pch: add reportdesignThomas Arnhold
3m44s reduced to 53s... Change-Id: I9a7601e4cb23430b850fe4303e7da877ab1d63e2
2014-05-14fix-includes.pl: reportdesignThomas Arnhold
Change-Id: I01ad1f4c3a8e0ee8173ceb147ce20945b7d5433d
2014-05-08reportdesign: sal_Bool->boolNoel Grandin
Change-Id: Ib3e7a51a8b01165d4706857f7b347d622c2e624a
2014-05-02reportdesign: sal_Bool->boolNoel Grandin
Change-Id: I7a269dbf163f4c839b6c553c7b096185fe2f8a01
2014-04-23huge hrc and src file cleanupThomas Arnhold
* mostly fallout from ui conversion * some completely unused defines from src files * lots of unused HID ids Change-Id: I976561205798db3d06ee139de6223f638e58f47a Reviewed-on: https://gerrit.libreoffice.org/9142 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2014-04-19fixincludeguards.sh: reportdesignThomas Arnhold
2014-04-03remove unnecessary scope qualifier from sal_Bool usesNoel Grandin
i.e. convert "::sal_Bool" to "sal_Bool" Change-Id: Ie5943aee4fee617bf2670655558927ed25b7e067
2014-03-27Second batch of adding SAL_OVERRIDE to overriding function declarationsStephan Bergmann
...mostly done with a rewriting Clang plugin, with just some manual tweaking necessary to fix poor macro usage. Change-Id: Ie656f9d653fc716f72ac175925272696d509038f
2014-03-26Split TYPEINFO into plain and TYPEINFO_OVERRIDEStephan Bergmann
...where the latter contains SAL_OVERRIDE annotations Change-Id: Id64794b388d83dfe7026440e8b20a5b5efd412d1
2014-02-28fdo#63154 Remove unused solar.hAlexandre Vicenzi
Removed from dbaccess. editeng, filter, framwork, formula, lotuswordpro, reportdesing, rsc, uui Conflicts: framework/source/uielement/menubarwrapper.cxx reportdesign/inc/RptDef.hxx uui/source/iahndl.hxx Change-Id: Ia6f1d8679736c3de99bd8060d8a7f76975268273 Reviewed-on: https://gerrit.libreoffice.org/8118 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2014-02-26cppuhelper: retrofit std::exception into overriding exception specsStephan Bergmann
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
2014-02-26Remove visual noise from reportdesignAlexander Wilms
Change-Id: I2fea3ecefa24cfc0f3cc2a2f4de7c934eba5d6f7 Reviewed-on: https://gerrit.libreoffice.org/8295 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2014-02-21Replace deprecated std::auto_ptr with boost::scoped_ptrTakeshi Abe
Change-Id: I674b7ee507258555b667657a13db6fda9b8d8372
2014-02-11sal_Bool->boolNoel Grandin
Change-Id: I31fb9d5b49260fd1a8fc1312b01fd5632c97ab2e
2014-02-03Unused REPORTDESIGN_DLLPRIVATEStephan Bergmann
Change-Id: If06b7fdb749c7fca957c5cc4cb832a7a9cb167d6
2013-12-31convert related family of tabdialogs to .uiCaolán McNamara
Change-Id: I07581e59eb24383e0c2b25b5b46aeee37cc201e2
2013-12-31I can't see a route to create a RID_PAGEDIALOG_LINECaolán McNamara
so remove it Change-Id: I148714b469ac8cd065a85aef9ee04f8a32f35a45
2013-12-06Clean up includes of comphelper/stl_types.hxxStephan Bergmann
Change-Id: I00a8e794189d17ad91a90beb9ce6cb89b7bab2aa
2013-12-06Get rid of DECLARE_STL_USTRINGACCESS_MAPStephan Bergmann
Change-Id: I00d02eaeff3eaa5f49550eb9c1d4e4e7e0b2203c
2013-11-14Move MediaDescriptor from comphelper to unotoolsStephan Bergmann
...so it will be able to use SvtSecurityOptions internally. Change-Id: Id7433247e8fc53651935578510bedbcca5aa2ac9
2013-10-20drop unnecessary tools/string includesCaolán McNamara
Change-Id: I4278999b9b7d184c26036bbe9e3b98420f461e8c
2013-10-18convert String to OUString in reportdesign moduleNoel Grandin
Change-Id: I6c154dff7c613c8975136f2934df3b0f385dade4
2013-08-31fix existing commentsPhilipp Riemer
Change-Id: I06dca63053dae5d3dceb49bf67adb0c100b56e8b
2013-08-31fdo#62475 - remove visual noisePhilipp Riemer
This is a follow up commit to - 22d1beb78a475e4846af945afde1c4d6c263b5d6 - 1c7af455ab9345304a7ac48ce2e0310de2ac8a75 Change-Id: I102685391125f3b4f7bdf838f8bd17a2283d558d
2013-08-20Re-work 8bit characters in source code, or remove them.Michael Meeks
Change-Id: I93e14d4936c0ffbe03425d4a54bb0e09bc62b3e3 Reviewed-on: https://gerrit.libreoffice.org/5550 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@suse.com> Tested-by: Michael Meeks <michael.meeks@suse.com>
2013-08-02small expand tweakCaolán McNamara
+ a) use default dropdown count b) SAL_N_ELEMENTS Change-Id: I67f12137eedb19bcaf79309fc64bf5c29a70e64d
2013-08-01remove dangling helpids...Caolán McNamara
and bring the listbox beside its label Change-Id: I51f7e0b204b8a033f13d132b16444e06e0927e53
2013-08-01modern .ui widgetlayout for pagenumberCsikós Tamás
widget found at: database/insert/report -> insert/page numbers Change-Id: Ibc0336a5a61cea44451e9a30b7dba5666dbc0fed Reviewed-on: https://gerrit.libreoffice.org/5211 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-05-24fdo#64279 do not crash opening report for editingDavid Tardon
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
2013-04-07mass removal of rtl:: prefixes for O(U)String*Luboš Luňák
Modules sal, salhelper, cppu, cppuhelper, codemaker (selectively) and odk have kept them, in order not to break external API (the automatic using declaration is LO-internal). Change-Id: I588fc9e0c45b914f824f91c0376980621d730f09
2013-04-01remove unused GetCurDocViewWinThomas Arnhold
Change-Id: I7fe825cd1fb9e988eb8037e1f5dca7252c192f33
2013-03-08fdo#60691 add modelines to *.src and *.hrc filesBorim
use solenv/bin/add-modulelines script for the task and remove all UTF bom from *.src and *.hrc files svx/source/dialog/hdft.src Change-Id: I745d4f0fe9b05436a142a03f8512970f91c41bd4