summaryrefslogtreecommitdiffstats
path: root/svx/inc/sdr
Commit message (Collapse)AuthorAgeFilesLines
* Experimental: draw handles instead of getting them from bitmapTomaž Vajngerl2015-03-272-0/+78
| | | | | | | | | | | | Currently object handles are defined in the bitmap which is a pain when using in HiDPI as they have to be scaled and don't look pretty. They are also hard to change and non theme-able (change of color needs a change the bitmap). This commit experimentaly enables the drawn handles (enable with environment variable SVX_DRAW_HANDLES) which currently exchanges the default some basic handles. Change-Id: If80aa7fe756a6d8d6991e9515f2951ee21b31b72
* Add sdr::overlay::OverlayManager::getModel()Miklos Vajna2015-03-091-0/+2
| | | | | | | Can't access the SdrModel from sdr::overlay::OverlayObjectList otherwise. Change-Id: I0530985fb79659bd9de95d944b06edfb883f4403
* Timer/Idle: adapted inherited funktionsTobias Madl2015-03-061-1/+1
| | | | Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
* Idle and Timer are now completely independentTobias Madl2015-03-061-0/+1
| | | | | | And everything is functionating pretty well. Change-Id: Id7f5a995362f6f7c5235f2e9facb7c7f119f3140
* idle includes and enum useJennifer Liebel2015-03-061-1/+2
| | | | Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
* loplugin:deletedspecialStephan Bergmann2015-02-072-9/+6
| | | | Change-Id: I1ffc6af694367f0ff70b7598c093203f1f68882c
* make OverlayTriangle public, allow to change each pointTomaž Vajngerl2015-01-161-62/+0
| | | | Change-Id: Ifdc8df1852e29173ee571102aed1c21d5611171b
* override the overloading of "overload" to decrease cognitive (over-)loadMichael Stahl2015-01-097-9/+9
| | | | Change-Id: I4d0e1de89d0bbdbea23bc5a46bf75ae0ce4e2796
* changed inherited timer to idleTobias Madl2014-12-091-1/+1
| | | | Change-Id: I9da6d08964c32e4aafbc9cebc7840eb517f9c33a
* Fix common typos. No automatic tools. Handmade…Andrea Gelmini2014-11-121-1/+1
| | | | | | | Change-Id: I1ab4e23b0539f8d39974787f226e57a21f96e959 Reviewed-on: https://gerrit.libreoffice.org/12164 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* Bin unused include files, thanks to Andrea GelminiTor Lillqvist2014-11-061-71/+0
| | | | Change-Id: I848505b1d4ff03779b89a08d4aeefd6ea0ff205b
* overlayermanagerbuffered: timer to idleLászló Németh2014-11-051-1/+1
| | | | Change-Id: I40d19b20259f2d2dada32467efe4defe3ed4b07c
* Unindent.Kohei Yoshida2014-11-041-49/+42
| | | | Change-Id: Ib274ec26768e8a3bd1006601679404799fed986a
* Avoid re-constructing chart shapes when it's not in visible range.Kohei Yoshida2014-11-041-0/+2
| | | | | | The re-construction will be deferred until it becomes visible again. Change-Id: I364ea8d38d48078dfd803b0e5bb20bfc8a2913ba
* CreateObjectSpecificItemSet to return a pointer, not a reference.Kohei Yoshida2014-11-0412-12/+12
| | | | | | I hope the reason is obvious.... Change-Id: Ibe30038991b4916a6af230043176f09bd9952ff9
* Unindent.Kohei Yoshida2014-11-011-19/+11
| | | | Change-Id: I32afaeb71f57b4f8741758a1db98e04365bd2a77
* Add class description.Kohei Yoshida2014-10-311-0/+7
| | | | Change-Id: I400efc68f7fdcfcb3be56804c9491775341782ce
* Remove repetitive namespace close / open / close etc & unindent.Kohei Yoshida2014-10-311-226/+136
| | | | Change-Id: I4fefd9ad6dbbc23aa0c96cf6dae6ab0b7400f27b
* Move these headers from include to svx; they are not used outside svx.Kohei Yoshida2014-10-2818-16/+490
| | | | Change-Id: I8685b451a39e890250a3309ddb70346bac4084b2
* Fraction: Revert "fdo#81356: convert Fraction to boost::rational<long> - wip"Jan Holesovsky2014-10-231-2/+2
| | | | | | | | | | | | | | 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
* Fraction: Revert "do not forward-declare templates"Jan Holesovsky2014-10-231-3/+4
| | | | This reverts commit 091742e86aeb5287f7236f666fee48946ab4c67b.
* Fraction: Revert "fdo#84854 it seems long is not enough on 32 bit"Jan Holesovsky2014-10-231-1/+1
| | | | | | | | | | | | This reverts commit 582ef22d3e8e30ffd58f092d37ffda30bd07bd9e. Conflicts: svx/source/svdraw/svdedtv1.cxx svx/source/svdraw/svdibrow.cxx sw/source/filter/ww1/w1filter.cxx Change-Id: I80abc7abdeddc267eaabc9f8ab49611bb3f8ae83
* fdo#84854 it seems long is not enough on 32 bitDavid Tardon2014-10-161-1/+1
| | | | | | | Fraction used BigInt internally for computations, rational does nothing like that. Change-Id: I3e9b25074f979bc291208f7c6362c3c40eb77ff5
* loplugin: cstylecastNoel Grandin2014-10-1511-65/+35
| | | | Change-Id: I0ccdd2ce18336afea67a3f296b26b2de50f14808
* do not forward-declare templatesDavid Tardon2014-10-141-4/+3
| | | | Change-Id: I3b0a145f70406f0c8a12b6c4b7876c4148f76e93
* fdo#81356: convert Fraction to boost::rational<long> - wipJuan Picca2014-10-091-2/+2
| | | | | | | | | | | | | | | | | | | | | * 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>
* loplugin: cstylecastNoel Grandin2014-10-065-42/+15
| | | | Change-Id: Id2b5b2510fb13f77592d7a0455f34ccd8a20c2d7
* fdo#82577: Handle PolyPolygonNoel Grandin2014-09-302-2/+2
| | | | | | | Put the TOOLS PolyPolygon class in the tools namespace. Avoids clash with the Windows PolyPolygon typedef. Change-Id: I811ecbb3d55ba4ce66e4555a8586f60fcd57fb66
* fdo#82577: Handle RegionNoel Grandin2014-09-301-4/+4
| | | | | | | Put the VCL Region class in the vcl namespace. Avoids clash with the X11 Region typedef. Change-Id: I6e008111df7cf37121fbc3eaabd44a8306338291
* svx: std::auto_ptr -> std::unique_ptrStephan Bergmann2014-09-291-1/+1
| | | | Change-Id: Ib70d974817bcdd9a582e9be28d28b007cdc3a7a7
* fdo#82577: Handle WindowNoel Grandin2014-09-234-8/+8
| | | | | | | Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
* Turn SfxItemState into a C++11 scoped enumerationStephan Bergmann2014-09-122-2/+2
| | | | | | | | | | | ...to gain further confidence in the claim "that none of the existing code tries to uses combinations of these enum values" (d92602c5b13d0a60439d86c5a033d124178726ca "more fixes for SfxItemState") Change-Id: I987922d945e8738e38adfde83b869adf3ff35b13 Reviewed-on: https://gerrit.libreoffice.org/11384 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
* svx: Cleanup ASCII art and useless commentsChris Laplante2014-08-191-3/+0
| | | | | | | Change-Id: I5399362056276f324fd43eda05d3f606dc6f8c71 Reviewed-on: https://gerrit.libreoffice.org/11011 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
* loplugin: inlinesimplememberfunctionsNoel Grandin2014-06-091-1/+1
| | | | Change-Id: I42119f656ca528286fb25d2d36c0af54b7d04a6b
* clean up, remove eof commentsThomas Arnhold2014-05-161-6/+0
| | | | Change-Id: I166e781cb54181a8e5d08021cf5f6dfcd1fde5cb
* Resolves fdo#70681: fixincludeguards.pl: all that's leftThomas Arnhold2014-05-1567-199/+199
| | | | | | | Change-Id: I3e51a62710bb46c8255fd228d41d9300c90a1fb5 Reviewed-on: https://gerrit.libreoffice.org/9360 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
* Move headers included only in svx from include/svx/sdr/* to svx/inc/sdr/*Tor Lillqvist2014-05-0667-0/+5679
Change-Id: I084cbab30dfb0a7d567d1b172a79320687d20a06