summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2017-01-10New loplugin:conststringvar: svxStephan Bergmann
Change-Id: I440b34fca4b084e0702bbc9a7b836bfd39258bfe
2017-01-09replace C-style casts with const_castJochen Nitschke
Change-Id: Ica6522b4bfe2aa4517469e89cabe5d4d057cb6b7 Reviewed-on: https://gerrit.libreoffice.org/32657 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2017-01-09New loplugin:externvar: svxStephan Bergmann
Change-Id: Ia6d7c52389bbc957190bc59dadb62b1840befe73
2017-01-08unused mpToolBoxFontColorSwCaolán McNamara
Change-Id: Ic1902a4160589cb9937f938f4a98484f0be487bc
2017-01-08TextPropertyPanel cleanupMaxim Monastirsky
Change-Id: If9fe62643ad33c2d832b146a5dc7248dbba32f1a
2017-01-08XSubToolbarController is only used by SvxColorToolBoxControlMaxim Monastirsky
Change-Id: I10c31aa9c773649c99b52c2d34cb648a37bf42ac
2017-01-07default copy ctor and assignment operator are good enoughCaolán McNamara
and block default move equivalents Change-Id: Ib8a1050803446c2e099f66602fae0465bd8165cf
2017-01-05unwind RID_SVXBMP_FRMSEL_ARROWS imagelistCaolán McNamara
Change-Id: Id74ebd81b3688383271b581b69734fecfe3eb079
2017-01-05flatten and simplify this resource hierarchyCaolán McNamara
Change-Id: I622dae5f36b44c08e597d94fe8184ad92504d038
2017-01-05convert from bmp to pngCaolán McNamara
Change-Id: I7fe47f47f19b93eab5d0cef0afde63e6f61c21b4
2017-01-05Base SvxLineEndWindow on ToolbarPopupMaxim Monastirsky
Fixes size and position issues under gtk3/wayland Change-Id: I357a5935e2b44fd3d5effde8cf7d3499e26384db
2017-01-05Prefix SvxLineEndWindow membersMaxim Monastirsky
Change-Id: I0cfe88c65cc75757938a9f8004c219fbe39f88dd
2017-01-05Get rid of SvxLineEndWindow resizingMaxim Monastirsky
Change-Id: I0135f084f64b9709688f0f9205940baf193c5d83
2017-01-05Support icon theme change in a floating border controlMaxim Monastirsky
was unintentionally broken by 64a2dc962cd68c86281ed747d3dc96bc996115eb Change-Id: I3358d8104dd1e2200f84019a2c4c41f1e0019399
2017-01-05Use command labels for the color popup titleMaxim Monastirsky
Change-Id: I2f61e25ef4451775320f8fa1761a951ab94af7d5
2017-01-04last bitmaps that pMaskColor arg was used on converted to true transparencyCaolán McNamara
Change-Id: I99bb32355bc53e2c870f84e60fc1e35b9dfe8270
2017-01-03tdf#39674: translated German to English in svdtrans.cxxkerem
Change-Id: Ic46e747a9dbec99e6037c6b35e175ce5b1efdd82 Reviewed-on: https://gerrit.libreoffice.org/32594 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-01-01fdo#39674: translated German to English in svdmodel.cxxkerem
Change-Id: I48992d2738de40060239b4c25c4adbe64c97b4be Reviewed-on: https://gerrit.libreoffice.org/32537 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2017-01-01Add custom HIDs for the Page Style - Footer tabpageGabor Kelemen
This is necessary because the Header and Footer tabpages use a shared .ui file and I can't link different help content to the same ui elements. Change-Id: I5718dc3bf1dfae5962ebe1f49f5c3d75d958f1c5 Reviewed-on: https://gerrit.libreoffice.org/32499 Reviewed-by: Andras Timar <andras.timar@collabora.com> Tested-by: Andras Timar <andras.timar@collabora.com>
2016-12-30cleanup tailing backslashesJochen Nitschke
Change-Id: Idb4bfc97e7d758c58118742affd9a9345c7a99f2 Reviewed-on: https://gerrit.libreoffice.org/32491 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-26use std::vector instead of naked array in SfxItemPoolNoel Grandin
Change-Id: I2d4ac010ff5818e673567cee05700872588918e4 Reviewed-on: https://gerrit.libreoffice.org/32384 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-12-24tdf#70998 Text change: graphics/picture to imagetamsil1amani3
Changed files: sd/source/ui/app/strings.src svx/source/svdraw/svdstr.src Change-Id: I380f2c568120cdef2be7a5203307d5cda8b65530 Reviewed-on: https://gerrit.libreoffice.org/32337 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-12-23tdf#87700 command to rotate 180 degreesgiacco
added command to rotate an image 180 degrees in Writer Change-Id: I4a1e40f4c3475aceb24edd44691a74372f61b49a Reviewed-on: https://gerrit.libreoffice.org/30074 Reviewed-by: Jan Holesovsky <kendy@collabora.com> Reviewed-by: Heiko Tietze <tietze.heiko@googlemail.com> Reviewed-by: jan iversen <jani@documentfoundation.org> Tested-by: jan iversen <jani@documentfoundation.org>
2016-12-23tdf#70998 Change word "Graphic(s)" to "Image(s)"Huzaifa Iftikhar
There was an error in the previous patch inside the file embeddedobjectcontainer.cxx This is fixed in this patch. Change-Id: I01c9e254e58e1683a8e6e9a0bcff3c4663bf32e0 Reviewed-on: https://gerrit.libreoffice.org/32353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: jan iversen <jani@documentfoundation.org>
2016-12-23merge IScript with NewStyleUNOScriptNoel Grandin
Change-Id: Iae70d0780678eb8df8a9e57fce5fc2f6c5ed427e Reviewed-on: https://gerrit.libreoffice.org/32375 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-23merge svx::sidebar::BulletsSettings with svx::sidebar::BulletsSettings_ImplNoel Grandin
Change-Id: I7cf6bb4cf3aa532718753904c2100882b0df6775 Reviewed-on: https://gerrit.libreoffice.org/32373 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-22unwind RID_SVXIMGLIST_FMEXPL ImageListCaolán McNamara
Change-Id: If9d733c5242e2f2b9947b251cfe832d1c10bd4bd Reviewed-on: https://gerrit.libreoffice.org/32350 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-12-22convert BasePrimitive2D::get2DDecomposition to use a visitorNoel Grandin
which lets us avoid constructing the decomposition when we are only interesting in the bounding box, e.g. for hit testing Change-Id: Icd8d430b75d207063f1db70e5a0822d5d82a7d00 Reviewed-on: https://gerrit.libreoffice.org/30835 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-22convert BmpFilter to scoped enumNoel Grandin
Change-Id: I22c5b49f108d4ce103dea5098a2a0dc9d6bc854c Reviewed-on: https://gerrit.libreoffice.org/32292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-21unwind RID_SVXIMGLIST_XFORMS_TBX ImageListCaolán McNamara
Change-Id: Ib2e41e65dbc5079db12bf7ad63f857c8473cf0f3
2016-12-21convert VclButtonsType to scoped enumNoel Grandin
Change-Id: I9b91108c18e190060dc71546977aa8a3c11f06e1 Reviewed-on: https://gerrit.libreoffice.org/32285 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Thomas Arnhold <thomas@arnhold.org>
2016-12-21unwind RID_SVXIL_FRAME ImageListCaolán McNamara
Change-Id: I18f567d3ff7f415c75e29043ef29a460be8a21c5
2016-12-21drop unused IL_IMAPDLG resourceCaolán McNamara
since commit 149c7ac26a97c96574fbbd86225d1486cef13417 Author: Caolán McNamara <caolanm@redhat.com> Date: Fri Sep 5 12:51:01 2014 +0100 convert floating RID_SVXDLG_CONTOUR to .ui Change-Id: I184bea52b5937f940b3cfbfb60fcb325ae6ae5c3
2016-12-21Useless namespace around a #defineStephan Bergmann
Change-Id: Ife6c034a2303ff7cd3ece615b690a14dc8ac3463
2016-12-21Merge unogalthemeprovider.hxx into .cxxStephan Bergmann
Change-Id: I6f5ab0096ba66fde4ec68065997fedf21ad59034
2016-12-21Merge tbunosearchcontrollers.hxx into .cxxStephan Bergmann
Change-Id: Ic577e2dd4d6cc1d62c3c6f54e73ba891f8bad4a2
2016-12-21tdf#104737: Bullets and Numbering: inconsistent naming of last tab pageTamás Zolnai
Change-Id: Id1d1d92933c110942fd232067620e8224686a915 Reviewed-on: https://gerrit.libreoffice.org/32256 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Maxim Monastirsky <momonasmon@gmail.com> Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-12-21unwind RID_SVXIL_DATANAVI ImageListCaolán McNamara
Change-Id: I0aae6774ee0b42d32838b9010ddddaa33324c6c6
2016-12-21convert EnumContext::Context to scoped enumNoel Grandin
Change-Id: I16ec63beb801073e5d604d852892c2fd6e8d8fc3 Reviewed-on: https://gerrit.libreoffice.org/32272 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-21convert EnumContext::Application to scoped enumNoel Grandin
Change-Id: Ia289a7b63bf8797085315218785e2a2a4c45d232 Reviewed-on: https://gerrit.libreoffice.org/32230 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-20Fix metric spinbox tool item sizeJan-Marek Glogowski
Instead of guessing, use the CalcMinimumSize(), which also knows about theming. Change-Id: I747571b48c81166d11d03f99ab564b1a25165ef3
2016-12-20Result of css::ui::ContextChangeEventMultiplexer::get cannot be nullStephan Bergmann
Change-Id: I00fba6c2a79404c824feaa5bb302d37c4158f9a3
2016-12-20convert SFX_EVENT constants to scoped enumNoel Grandin
SFX_EVENT_CLOSEAPP and SFX_EVENT_TOGGLEFULLSCREENMODE are never generated, so remove them and delete the code that receives them Change-Id: I2d003ba73fff0b02120ba29ff58e1d2399dedf00 Reviewed-on: https://gerrit.libreoffice.org/32168 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-19make sure the variables are set upMarkus Mohrhard
Change-Id: Ib710f1ee291fb15ad7b05a5d36824a129d407ccc
2016-12-19no need to wrap calls to SAL_INFO in #ifdef DBG_UTILNoel Grandin
Change-Id: Ic373a8f145f3f78c3f109e36a9c1dd9156f0dd75 Reviewed-on: https://gerrit.libreoffice.org/32034 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-12-17tdf#104722: Wrong text alignment when text box is smaller than the text insideTamás Zolnai
The default TextHorizontalAlignment is block. Setting paragraph alignment (on UI) works when this text alignment property is set to block (otherwise has no effect). In general this works on this way, but the existing algorithm did not work in those cases when the text was bigger than the container shape. Change-Id: I02dba76f8e3033a465bb14dc826521966bb30987 Reviewed-on: https://gerrit.libreoffice.org/32123 Reviewed-by: Tamás Zolnai <tamas.zolnai@collabora.com> Tested-by: Tamás Zolnai <tamas.zolnai@collabora.com>
2016-12-17Adapt to no-longer explicit OUStringLiteral ctorStephan Bergmann
...from previous commit Change-Id: I062b7cd212c17e7eb5274476e6859228d0477c7f Reviewed-on: https://gerrit.libreoffice.org/32098 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2016-12-17fix !HAVE_FEATURE_DBCONNECTIVITY buildCaolán McNamara
Change-Id: I7a4fe41d6ff5c7b9fe9ed243b84779da9d2c8a68
2016-12-16svx: remove nonsense exception throwing codeMichael Stahl
Commit 60f11adb950e4f9645cc9ecb0f5af8235cc97366 added code to AccessibleShape::getAccessibleStateSet() that tries to retrieve some state from the parent, but the implementation of the base class AccessibleContextBase::getAccessibleParent() throws if it is already disposed, which is the condition checked just before, so surely this doesn't have any other effect than throw DisposedException, except possibly in the mpText == null case which is already handled in the other branch with identical code. Change-Id: Iaf109f69036437989abbbf914ef32cca1528a97e
2016-12-16tdf#104488 editeng,svx: throw less Accessible exceptionsMichael Stahl
For some of these functions it doesn't make sense to throw DisposedException as they can return a sensible default value. Particularly AccessibleShape::getAccessibleChildCount() was throwing an exception that was never caught. Change-Id: I000149cf9bb0fd13f69650ad8224a8daf26f7bee