summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)AuthorFilesLines
2016-09-08Related tdf#64575 Only allow "Fill Slide" for 1 Image/SlideSamuel Mehrbrodt2-0/+12
Change-Id: I4887a5dd727eecacf7c80a581428f6440218bf86
2016-09-07Adjust labels in the bullets and numbering dialogYousuf Philips2-2/+2
Change-Id: If8892446dcabd8dc51d1193fe1fcccd64fa07bac Reviewed-on: https://gerrit.libreoffice.org/28706 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-09-07Photo Album Dialog: Don't add caption by defaultSamuel Mehrbrodt1-3/+1
Change-Id: I025a42b765200cfa6ac9664c03051a9f523700a0
2016-09-07tdf#101390 Add Arrows toolbox functions on writer drawingbar.Gulsah Kose2-152/+0
Writer arrows toolbox includes following commands .uno:LineArrowEnd .uno:LineCircleArrow .uno:LineSquareArrow .uno:LineArrows .uno:LineArrowStart .uno:LineArrowCircle .uno:LineArrowSquare .uno:Line Change-Id: I91af27826ea411eabfa61c11962cfb85d2d2aab2 Reviewed-on: https://gerrit.libreoffice.org/28363 Signed-off-by: Gulsah Kose <gulsah.1004@gmail.com>
2016-09-07tdf#64575 Photo Album: Better Image LayoutAbhilash3-4/+63
Change-Id: I021c5fa921eb80edd996e0224e69e3b3d54b76d3 Reviewed-on: https://gerrit.libreoffice.org/27654 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-09-07loplugin:constantparam in vclNoel Grandin2-2/+2
Change-Id: I0cae8e5de1170dec4c82df7f1f5377143a079876 Reviewed-on: https://gerrit.libreoffice.org/28686 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-09-05convert Orientation to scoped enumNoel Grandin5-19/+19
Change-Id: Ifbfcf3557ca2a16d21e7a1d613ee54c1c6625f07
2016-09-05convert ToolBoxButtonSize to scoped enumNoel Grandin1-1/+1
Change-Id: I365b0e34361eb339b04e5f4792f54eff5bf582a5
2016-09-05convert GradientStyle to scoped enumNoel Grandin1-3/+3
Change-Id: Ib740da708612df7a5f4b8c82262b9b1bd436604d
2016-09-04coverity#1371177 default assign is good enoughCaolán McNamara2-24/+0
and coverity#1371311 coverity#1371240 Change-Id: I1f792b9a8e3e386633d4026d8b073ab615d243f3
2016-09-02sd lok: implement SfxViewShell::NotifyCursor() APIMiklos Vajna3-1/+31
The same API is already implemented in sw and sc already, the sd implementation allows selecting a shape in one view, then creating a second view, and seeing the selection of the first view in the second view, without de-selecting and re-selecting the shape in question in the first view. Change-Id: Ia36e4772584d132f1ff6a7eb07ca4cadaa384ee9 Reviewed-on: https://gerrit.libreoffice.org/28623 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-02svx: move GetSfxViewShell() to SdrMarkViewMiklos Vajna1-0/+33
... from SdrObjEditView. This way SdrMarkView can avoid SfxViewShell::Current() calls, and it can avoid clearing the LOK graphic selection of the old view when constructing a new view. With this, an existing graphic selection in an Impress LOK view is no longer cleared when creating a new view, thanks to the sd::View::GetSfxViewShell() override. Change-Id: I70a287aa9c2265bf59a9fb18e0c3839b8f119bbc Reviewed-on: https://gerrit.libreoffice.org/28618 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2016-09-01loplugin:countusersofdefaultparamsNoel Grandin1-1/+1
Change-Id: Ifc9cdbda77048791203e89350c2efa9a6c34c4a5 Reviewed-on: https://gerrit.libreoffice.org/28555 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-09-01std::list<sal_Int16> to vectorNoel Grandin1-3/+3
Change-Id: I3b8b902108d632ea992018ca023984bf1366e804
2016-09-01std::list<sal_Int16> to dequeNoel Grandin1-5/+4
Change-Id: I5e841fd7a9de74bba359c7e39d23d9a9b3fbc1f2
2016-09-01convert RefDevMode to scoped enumNoel Grandin1-1/+1
and fix the bForceZeroExtleadBug TODO Change-Id: Iac9295c6ce31112d69a870e3a229823eb1e9a4f2
2016-08-31let's make Impress crash less - SfxStyleFamily editionMichael Stahl3-8/+8
Commit bcb41235deaf4b7ca90522bda3ba21a686819e6e - in addition to introducing the enum SfxStyleFamily - inconsistently converted one call of DrawDocShell::SetStyleFamily to use enum SfxStyleFamily instead of a mysterious "5", but did not adapt all of the code that extracts the SfxUInt16Item that subsequently extracts this value and expects a number 0-5. Since it's clearly inexcusably stupid to have 2 different public sets of integers identifying styles, make the usage of the second "array index" integers private to templdlg.cxx; the SfxUInt16 item now always contains enum SfxStyleFamily. (regression from bcb41235deaf4b7ca90522bda3ba21a686819e6e) Change-Id: I333575c504277c2046f8f5a6b36ae3f86b3b3201
2016-08-31sd: fix un-sorted SidArray in FuChar::DoExecute()Michael Stahl1-1/+1
Triggers an assert in SfxBindings::Invalidate(). (regression from ecc7308efa973fd1f1985ff9a0a0f01414b73f2b) Change-Id: Ida5b6c006ef6b8a839962c4f09c8341eee980270
2016-08-30tdf#56403: Text is right aligned in RTL localesKhaled Hosny1-5/+0
Draw/Impress is setting writing mode to RTL (which in turn sets text alignment to right) if the current locale is RTL one. This does not make sense at all since it means document prepared on a LTR locale and contains LTR text will appear right aligned on RTL locales. It would have slightly more sense if SetDefaultWritingMode() actually just set a default (for e.g. new documents), but that is not the case here as it affects all documents. This was introduced in 2c32696a04bc195c8ce61a0df6dcafb8c0c49fe0 with a branch merge and no further explanation. Change-Id: Idee0f58e153498a6676a22242d2edd5054b908c6 Reviewed-on: https://gerrit.libreoffice.org/28411 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Khaled Hosny <khaledhosny@eglug.org>
2016-08-30loplugin:stringconstant: adapt to improved OUStringLiteral1 (sd)Stephan Bergmann6-7/+7
Change-Id: Ib044294174c665407dd2c1e8fd083e9f34733ec6
2016-08-30convert DescriptionGenerator::PropertyType to scoped enumNoel Grandin1-3/+3
Change-Id: Id55ccb4bf0109f1bb6f870b38792e3454b567877
2016-08-30drop extraneous acquireDavid Tardon1-1/+0
Change-Id: I1f26d0994f5895f8bb8ccd6c2ddce7fc1ec24ecc
2016-08-30Let OUStringLiteral1 take its arg as ctor arg, not template argStephan Bergmann3-3/+3
...which makes it more flexible, can now also be used on non-const arguments. The drawback of the argument no longer being a compile-time constant is remedied by making the ctor constexpr. Change-Id: Ia4903a2cc86791fece92eac0cb8406b6659dd19d
2016-08-29Adapt loplugin:stringconstant to improved OUStringLiteral1Stephan Bergmann1-1/+1
Change-Id: Ibc5128df8bcf8cb5f2f09551c0de6dfdb46bdee0 Reviewed-on: https://gerrit.libreoffice.org/28447 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-08-29loplugin:countusersofdefaultparamsNoel Grandin3-6/+6
Change-Id: I26f46ddac3d7d810ebfa1c3e7f1a77427369828e Reviewed-on: https://gerrit.libreoffice.org/28451 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-27put StreamMode masks in scope of enum classJochen Nitschke6-12/+12
Change-Id: I77682f7e289a59b986bb84edf014029a20266470 Reviewed-on: https://gerrit.libreoffice.org/28420 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-25Notebookbar: Single contextual toolbar implementationYousuf Philips2-0/+134
Change-Id: I72a0bffc3f1093d9f07ea9d4ba9101df2cf4d032 Reviewed-on: https://gerrit.libreoffice.org/28331 Reviewed-by: Szymon Kłos <eszkadev@gmail.com> Tested-by: Szymon Kłos <eszkadev@gmail.com>
2016-08-25loplugin:staticaccess: Extend loplugin:staticcall to cover all access...Stephan Bergmann1-2/+2
to static members (data, in addition to function) via class member access syntax. Also covers the (somewhat obscure) access to enumerator members. Change-Id: Iec54b8df2fdb423c0caf21a0dd0f9fe8fdf33897
2016-08-25tdf#100726 - Improve readability of OUString concatanationsGökhan Gurbetoğlu1-14/+14
Improved readability of OUString concatanations. Also removed unused OUStrings "sColor" and "sEntry" from the code. Change-Id: Ie9792f499cd880be72229f8a8c71f05ff8e258b6 Reviewed-on: https://gerrit.libreoffice.org/28375 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2016-08-25GSoC notebookbar: container with context supportSzymon Kłos2-2/+2
+ added sfxlo-ContextVBox + notebookbar's .ui file must contain control implementing NotebookbarContextControl interface with id "ContextContainer" Change-Id: Ice81e23c4ba742564ebceeda95be120ea3f58c99 Reviewed-on: https://gerrit.libreoffice.org/28247 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-08-25drop enum IAccessibleViewForwarderListener::ChangeTypeNoel Grandin6-29/+14
since only one of it's values was in use, and simplify the ViewForwarderChanged method as a consequence. Change-Id: I00544c9b0a601c01e49519be5bafe192c6f735f6
2016-08-25new loplugin: countusersofdefaultparamsNoel Grandin1-1/+1
Change-Id: I79e2c690f3e664c14af12cf763dd5a8ac20d6b04 Reviewed-on: https://gerrit.libreoffice.org/28353 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-24convert SdrPathSmoothKind to scoped enumNoel Grandin2-11/+11
Change-Id: I9b4a4226322c4d4eb2ab220ecf0b0efb068eea8e
2016-08-24convert SdrPathSegmentKind to scoped enumNoel Grandin2-5/+5
Change-Id: I1f5da7fb90b0100610677279e93b6e02347c120f
2016-08-24convert SdrObjClosedKind to scoped enumNoel Grandin2-4/+4
Change-Id: Icb3a6ce66687ea66f72df956dc695e0a4147365e
2016-08-24convert PaperSizeApp to scoped enumNoel Grandin1-1/+1
Change-Id: Ifd452ed0ca53223ae9b45e1b3b232fcfc6d29496
2016-08-24convert SdrFitToSizeType to scoped enumNoel Grandin4-6/+6
Change-Id: Id732c74b590db7006058d1919be2438b649a795e
2016-08-24convert ViewType to scoped enumNoel Grandin1-5/+5
Change-Id: I4904ceae765f3452d8695adcf73043a4a42bbf0b
2016-08-23convert SearchLabel to scoped enumNoel Grandin1-5/+5
Change-Id: I0c62a3166b9284895f119c600776dc2c7d6d1078
2016-08-23convert SdrHorAlign to scoped enumNoel Grandin1-6/+6
Change-Id: Ibddc5458c363b4174186c73bd0b3d9501933171a
2016-08-23convert SdrVertAlign to scoped enumNoel Grandin1-6/+6
Change-Id: Ie517acfea6b8e34def35e0362a8e9e387de588c4
2016-08-23convert SdrMergeMode to scoped enumNoel Grandin1-3/+3
Change-Id: I4569733d0c0b4a63e364f0d136bef8de71d62724
2016-08-23convert SdrEndTextEditKind to scoped enumNoel Grandin2-5/+5
Change-Id: Ic331db66ad937eba6488e6a9bbb30131230a29d7
2016-08-23convert SdrHdlKind to scoped enumNoel Grandin7-32/+32
Change-Id: Ib0a06d94f8b51cce1f29f20d1c00d54be939c076
2016-08-23convert SdrHelpLineKind to scoped enumNoel Grandin4-18/+18
Change-Id: I640fc5497571f93068f613dff2f02e12848124f0
2016-08-23convert SdrIterMode to scoped enumNoel Grandin12-29/+29
Change-Id: Iaa4631039e6b96627d8e547f21136f107e157d8a
2016-08-23clean up the SdrObjFactory create callbacksNoel Grandin2-7/+7
passing params by setting fields on yourself is just gross Change-Id: Iee98a9e8e266b56fc886c76eab470ab1ff7ff8e4
2016-08-23tdf#95416 remove ../ style includeJochen Nitschke3-3/+8
Change-Id: Ie3228d4cdaabfcc6034ee3ac6dd2295a33021e71 Reviewed-on: https://gerrit.libreoffice.org/27942 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2016-08-22GSoC: tdf#101249 Toolbar Mode switchingSzymon Kłos3-8/+8
+ added registry entry for storing current toolbar mode for each application + registry entries to store toolbar mode configuration, remember additional visible toolbars activated by user + changing toolbar mode hides and shows suitable toolbars + added menu controller for toolbar mode + notebookbar implementation entries are disabled when notebookbar mode is not active + each mode can open/collapse the sidebar Change-Id: I2b03f87c6dce53190d12102892d9ad30fbfd3bf6 Reviewed-on: https://gerrit.libreoffice.org/27991 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2016-08-22tdf#89466: Adjust alignment and add left and right marginsYousuf Philips1-3/+3
Change-Id: Ifcdd7586523d0cf839c9d896ce0d38570f822175 Reviewed-on: https://gerrit.libreoffice.org/28268 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>