summaryrefslogtreecommitdiff
path: root/include/svx
AgeCommit message (Collapse)Author
2015-05-08callcatcher: update unused codeCaolán McNamara
Change-Id: I8563922204d3ec93bf138cbd1aaba620c0215bf7
2015-05-07Fix typo informations -> informationAndrea Gelmini
Change-Id: Ie8a7bc9800ed0122092f88cedadb126b7891f2a6 Reviewed-on: https://gerrit.libreoffice.org/15655 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-05-07Fix MSVC buildStephan Bergmann
Change-Id: Ic8d5e8c82c19d21553fabadcb9949182e6162da0
2015-05-07Remove unnecessary includes of sot/storage.hxx from include/Stephan Bergmann
Change-Id: I242cd126814bbebdb99ea38d9e66513189c313d9
2015-05-07Unwind SotStorageStreamRef typedefStephan Bergmann
Change-Id: If7652a7c0251b741660365848a717c06954ca419
2015-05-07Unwind SotStorageRef typedefStephan Bergmann
Change-Id: I8d5363bb2ad813ef29b4078848914f4b0989b9f1
2015-05-07Remove unused CreatePopupWindowCascading virtual methods.Michael Meeks
Change-Id: I44125b9909c0d81abd84c9666d44225e99c94c54
2015-05-06tdf#90258 Toggle Thousand Separator with Engineering NotationLaurent Balland-Poirier
If scientific format is selected, "Thousands separator" option is almost useless. It could be replaced by "Engineering Notation". Rebase of https://gerrit.libreoffice.org/15152 Update with more robust tests. Change-Id: Ie2b88b1f149fce26c32a43ace623cf1f45f38e6e Reviewed-on: https://gerrit.libreoffice.org/15606 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2015-05-06convert BMP_MIRROR constants to scoped enumNoel Grandin
and fix bug in svx/source/xoutdev/_xoutbmp.cxx,XOutBitmap::MirrorGraphic where it was not correctly translating between different flags types. Change-Id: I78b4965544da2aa54b67ec18307fa54c8ffc3aee
2015-05-06convert BMP_SCALE constant to scoped enumNoel Grandin
Change-Id: Ibc9f88d2588c028cd71aa86c26d970a73025ef22
2015-05-06Use various typed ToolBox::Set*Hdl LinksStephan Bergmann
Change-Id: Iddfd36ae0de86fdd2d4febb2c05d1fe0c02801f0
2015-05-05vertically center toolbox/listboxesCaolán McNamara
Change-Id: I01270b85e019362e8343f4b097620620674f0443
2015-05-05Use new color selector in the toolbar for area fillsCaolán McNamara
Change-Id: I4da718620f4864c1c7742ecb9a0fcb8fc787f573
2015-05-05vcl: rename other members of StateChangedType for consistencyMichael Stahl
Change-Id: Ifd3339813e5d3dfb54566fd226aaf2d2a199d59a
2015-05-05-Werror,-Winconsistent-missing-overrideStephan Bergmann
Change-Id: Ibd9d3858f833c24f38f982a941353204d9aa9081
2015-05-05Use typed Idle::SetIdleHdl LinkStephan Bergmann
Change-Id: I189937950325dc4ef663f7f49cb45f38f8537de9
2015-05-05tdf#34555 add crop features to svxPhilippe Jung
Adds crop feature to SdrObject. In EndSdrDrag related to Crop, there is a new branch. If object is a regular SdrGrafObj (known inside svx), it is used. Else, a virtual method on the object is used. This enables to forward End of crop action to SwVirtFlyDrawObj objects (when you crop with handles in writer). Regarding writer, coordinates based on Twip/MM100 are used, not the matrix based one. This is part of a serie of 4 patches that adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) in all products (scalc, sdraw, simpress, swriter). Main menus, toolbars and contextual menus are updated accordingly. Change-Id: Ie1a133d18487f51bb9c44ae2f000e63d911bf6b3 Reviewed-on: https://gerrit.libreoffice.org/15588 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-05-05Use typed Timer::SetTimeoutHdl LinkStephan Bergmann
Change-Id: Iaaf0c93e5b28c0f7dbe4f02eda8beeae30708100
2015-05-05typo: strech -> stretchAndras Timar
Change-Id: I0de1cfaa0df460c7bc8e49752b31056f95c30053 Reviewed-on: https://gerrit.libreoffice.org/15628 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2015-05-02tdf#34555 Moving SID_OBJECT_CROP out of sdPhilippe Jung
The crop action in impress is defined in impress but uses code shared in svx. This patch move the declaration of the Crop action in svx so that it can be shared with sc & writer. This is part of a serie of 4 patches that adds Save graphic, Change Picture, Edit with external tool, Crop (by handles) in all products (scalc, sdraw, simpress, swriter). Main menus, toolbars and contextual menus are updated accordingly. Change-Id: Idb6907aa09c0efd456c2ad51232cf37edb28d977 Reviewed-on: https://gerrit.libreoffice.org/15587 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com>
2015-05-01coverity#1296292 merge these two enum typesCaolán McNamara
Change-Id: I4f82ca5f7a6b392322225c0b871dbaffeba44377
2015-05-01missing header for CheckboxCaolán McNamara
Change-Id: I7eab4aa6b248bd57aca3c2ef2a68b79a29fa9dac
2015-04-30Gradually typed LinkStephan Bergmann
Turn the Link class into a template abstracting over the link's argument and return types, but provide default template arguments that keep the generic, unsafe "void* in, sal_IntPtr out" behvior. That way, individual uses of the Link class can be updated over time. All the related macros are duplicated with ..._TYPED counterparts, that additionally take the RetType (except for LINK_TYPED, which manages to infer the relevant types from the supplied Member). (It would have been attractive to change the "untyped" LinkStubs from taking a void* to a properly typed ArgType parameter, too, but that would cause -fsanitize=function to flag uses of "untyped" Link::Call.) Change-Id: I3b0140378bad99abbf240140ebb4a46a05d2d2f8
2015-04-30Get rid of initial :: for the sdr namespaceTor Lillqvist
Change-Id: Ibbeb069b6fcb2aa0581429ac5cb6db519548fd00
2015-04-30Get rid of initial :: for the svx namespaceTor Lillqvist
Change-Id: I03e428a749bca409ebac9c142acaddafcbfeca23
2015-04-30Get rid of the initial :: for the vcl namespaceTor Lillqvist
We used it all over the place without leading :: already anyway, even in many files in include. So let's be consistent. In the majority of cases, prefer the easier-on-the-eyes choice, not the "safe" one. In those files in include where *all* existing uses of ::vcl:: indeed used the :: prefix, there let's keep it for consistency. Change-Id: If99cb41d3bf290d38c601d91125c3c8d935e61d0
2015-04-30Bin some pointless comments and reduce some vertical whitespaceTor Lillqvist
Bin pointless '// predeclarations' or '// forward declarations' comments. If a programmer doesn't know what a forward declaration is, well, why read C++ source code? Also bin some pointless '// end of namespace foo' comments after namespace blocks just a handful of lines long, and some superfluous vertical whitespace. Change-Id: I2a31c5d73d9b4de8825fb8eb9e7559dbd7303ef9
2015-04-29WaE: declaration of ‘FILE’ shadows a global declarationDavid Tardon
Change-Id: I544e1154c846a8b5da4ab3dee72e3aa1332557e6
2015-04-29convert ZOOMBTN constants to scoped enumNoel Grandin
Change-Id: Ia7641f736fa4f84dce0b5ea8bf68339c1309e74b
2015-04-29convert CT_ constants to scoped enumNoel Grandin
Change-Id: Icd1f009e879965feb936c6268688cdcd1edbd231
2015-04-29convert SDRMOUSE constants to scoped enumNoel Grandin
Change-Id: Ia5389095683a1c012a988ed71bf769a1f25d80fb
2015-04-29convert SDRSNAP_ constants to scoped enumNoel Grandin
Change-Id: Ida0b0e3f017c53588ea9208d078c24948a63eb92
2015-04-29convert SDRGRAPHOBJ constants to scoped enumNoel Grandin
Change-Id: Ie1fba429e809ae235b9c2390071b61d8b6d115c9
2015-04-29convert CUSTOMSHAPE_HANDLE_ constants to scoped enumNoel Grandin
Change-Id: I4cbbf9d2e42ef5e361449fff8bc9280ac337720e
2015-04-29convert IMPSDR_ constants to scoped enumNoel Grandin
Change-Id: Id267196397e2aa743d75f03932b3301ad462d800
2015-04-29simplify SDRSEARCHPASS_ constantsNoel Grandin
the calling code only cared about direct or not-direct, so a bool suffices here Change-Id: I39c01dedf391777d3a7bc7338afc6de4c6d3a531
2015-04-29convert SDRSEARCH_ constants to scoped enumNoel Grandin
Change-Id: I1495dbaf05b642d98f41639d41f831f007601df3
2015-04-29convert SDR_SWAPGRAPHICS constants to scoped enumNoel Grandin
and drop unused DOC constant Change-Id: Id35d18241642742500cc007c575a8a54b5b8dd97
2015-04-29convert SDR*ALIGN constants to scoped enumNoel Grandin
Change-Id: I29b7b4fe1181133cbbb0bb43a1835941cf12210d
2015-04-29convert SDRESC_ constants to scoped enumNoel Grandin
Change-Id: I9488088d006ceae15368fae775aeebebfa7ce229
2015-04-29convert SDRINSERT constants to scoped enumNoel Grandin
Change-Id: I6335e00cae161cea7ece922ecfa845c205626cd9
2015-04-29convert SVXRULER_SUPPORT constants to scoped enumNoel Grandin
Change-Id: Id6c2571b5a060530437509a8dc203dc1a346f773
2015-04-29convert DRAG_ constants to scoped enumNoel Grandin
Change-Id: I7946a1406bfbbc894a0a2aca32ead43e4cc89508
2015-04-29convert _EDIT constants to scoped enumNoel Grandin
Change-Id: I1502692f9491bc55856b7477040bd5918faf4df8
2015-04-29convert LANG_LIST constants to scoped enumNoel Grandin
Change-Id: Ibd699cfdfd3266c2965a5b6368cfe2f4431b7fb4
2015-04-29convert GALLERY_HINT constants to scoped enumNoel Grandin
Change-Id: I4e33f2ebfc00d9c5c75ddbb0625aaf7c39802e7f
2015-04-29convert SGX_IMPORT constants to scoped enumNoel Grandin
Change-Id: I5c80b8b762682bc666761710039b3b57bb3d579d
2015-04-29convert SVX_ flags to scoped enumNoel Grandin
Change-Id: I6ca73a459597f06fc301a12d6556775a77a7c4c7
2015-04-29convert SW_BORDER_MODE constants to scoped enumNoel Grandin
Change-Id: I7b2e03a5cacf5d2a706ba8e2d3b276fcb3f7e88b
2015-04-29convert CS_ constants to scoped enumNoel Grandin
Change-Id: I7fb03a04f086c1952a6f186a00fffad0b6c1236b