summaryrefslogtreecommitdiff
path: root/sd/source
AgeCommit message (Collapse)Author
2016-08-24convert SdrFitToSizeType to scoped enumNoel Grandin
Change-Id: Id732c74b590db7006058d1919be2438b649a795e
2016-08-24convert ViewType to scoped enumNoel Grandin
Change-Id: I4904ceae765f3452d8695adcf73043a4a42bbf0b
2016-08-23convert SearchLabel to scoped enumNoel Grandin
Change-Id: I0c62a3166b9284895f119c600776dc2c7d6d1078
2016-08-23convert SdrHorAlign to scoped enumNoel Grandin
Change-Id: Ibddc5458c363b4174186c73bd0b3d9501933171a
2016-08-23convert SdrVertAlign to scoped enumNoel Grandin
Change-Id: Ie517acfea6b8e34def35e0362a8e9e387de588c4
2016-08-23convert SdrMergeMode to scoped enumNoel Grandin
Change-Id: I4569733d0c0b4a63e364f0d136bef8de71d62724
2016-08-23convert SdrEndTextEditKind to scoped enumNoel Grandin
Change-Id: Ic331db66ad937eba6488e6a9bbb30131230a29d7
2016-08-23convert SdrHdlKind to scoped enumNoel Grandin
Change-Id: Ib0a06d94f8b51cce1f29f20d1c00d54be939c076
2016-08-23convert SdrHelpLineKind to scoped enumNoel Grandin
Change-Id: I640fc5497571f93068f613dff2f02e12848124f0
2016-08-23convert SdrIterMode to scoped enumNoel Grandin
Change-Id: Iaa4631039e6b96627d8e547f21136f107e157d8a
2016-08-23clean up the SdrObjFactory create callbacksNoel Grandin
passing params by setting fields on yourself is just gross Change-Id: Iee98a9e8e266b56fc886c76eab470ab1ff7ff8e4
2016-08-23tdf#95416 remove ../ style includeJochen Nitschke
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łos
+ 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: Fix slide orientationSusobhan Ghosh
Change-Id: I19d8e56154cd36bc0e50fe08674d3f3566c133fb Reviewed-on: https://gerrit.libreoffice.org/28261 Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2016-08-22convert SdrHintKind to scoped enumNoel Grandin
Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78
2016-08-22convert SdrViewEditMode to scoped enumNoel Grandin
Change-Id: I1f58efceaee7346187f92c7ebaf901abc305ac33
2016-08-22convert SdrHitKind to scoped enumNoel Grandin
Change-Id: Ia7a18814fed7787e47ac2d3c02654a3648c5491e
2016-08-19Resolves: coverity#705366 Mixing enum typesCaolán McNamara
and coverity#705367 Mixing enum types coverity#705371 Mixing enum types coverity#982694 Mixing enum types coverity#1027717 Mixing enum types coverity#1371228 Mixing enum types coverity#1371242 Mixing enum types coverity#1371280 Mixing enum types coverity#1371310 Mixing enum types MapUnit and SfxMapUnit share the same values and are freely cast from one to the other. Now that commit d30a4298bdb5ba53cd1fe659f2b742f218a2e527 Date: Thu Aug 11 15:02:19 2016 +0200 loplugin:unusedenumconstants in package..svtools removed the SfxMapUnit entries that were directly unused, they don't match anymore and casting from one to the other is dangerous. Why there was two of these anyway escapes me, get rid of SfxMapUnit and just use MapUnit universally Change-Id: I4db5dcd04b59be2f85b62b728f96c90afe00c57e Reviewed-on: https://gerrit.libreoffice.org/28234 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2016-08-19convert SdrUserCallType to scoped enumNoel Grandin
Change-Id: I0121b17242faee4238d82836453cec695f508db0
2016-08-19convert SdrAnimationMode to scoped enumNoel Grandin
Change-Id: I8a88a7ee538dab020e2ee08e4dce4b100f0bfa3b
2016-08-19convert SdrCrookMode to scoped enumNoel Grandin
Change-Id: If7c62d6c6f5bfa5f4f4f7bdb1af9384f3fa7cea8
2016-08-19convert SdrCreateCmd to scoped enumNoel Grandin
Change-Id: I8772032dee25c790314384750b8c7277c4879318
2016-08-19convert SdrDragMode to scoped enumNoel Grandin
Change-Id: I244132d2240a46f42f14d453e5987968d274e907
2016-08-19convert SdrViewContext to scoped enumNoel Grandin
Change-Id: Ic41d522cdb7f80614bd5f269fe1d63f022d8dd84
2016-08-19convert SdrEventKind to scoped enumNoel Grandin
Change-Id: I96c298089d9ca75909380843c7dbc255c4953b88
2016-08-18coverity#1371443 Uninitialized scalar fieldCaolán McNamara
Change-Id: I801ca445a89fb1b613323201c3cbfeb26381a8e5
2016-08-18cppcheck: passedByValueCaolán McNamara
Change-Id: I3ffcfe1294a1cbb06aadd3a1a79e9259876e38cc
2016-08-18convert SdrEdgeKind to scoped enumNoel Grandin
Change-Id: Icadffb10750f8792ebd88c4f33f272fe565a3c7a
2016-08-18convert SvXMLEmbeddedObjectHelperMode to scoped enumNoel Grandin
Change-Id: I12ccc8c7ba0885b3bacd0c17d430a853d327524b
2016-08-18screenshots: clang plugin & tabpage usage fixesArmin Le Grand
Adapted clang compiler results, made TabDialog implementaions of ScreenShot API work with real UXMLDescription names, including a solution for using multiple tabPages with the same *.ui file Change-Id: I56df878b3db3bcc18fa2b4713b7ad72d42e8eb30
2016-08-18screenshots: fallback screenshot to ui filesArmin Le Grand
Besides the already existing methods to dump adapted dialogs and create and dump fallback dialogs I added a possibility to process a given input file which may contain a list of UXMLDescription files (*.ui files), one per line. This file is processed (empty lines and comment lines using '#' allowed) and for each descriptor first tries to find a known, adapted dialog. If found it gets used, else fallback is tried. Added ui-definition files for sd and sc which contain all ui-files from these dialogs. Adapted the test base class to hold the needed functionality. Change-Id: I1d4c64af8cd5d9c89a53b193951c3e49669f5852
2016-08-18screenshots: names to copy screenshot IDsKatarina Behrens
For tab dialogs. While at it, factor out file-saving code into a separate function. Change-Id: Ideffc9934c0d562fe365d0bb1942f31056d4a486
2016-08-18screenshots: added pretty much all sd dialogsArmin Le Grand
Windows version works well. Linux needs some adaptions, working on it. Also need to take a look at tpure TabDialog/TabPage cases (see case 23) Change-Id: Id0d32e14810dbc62b7735becf1826a9b436ce546
2016-08-18screenshots: added more virtualization/abstractionArmin Le Grand
TabPabe Identification to UI-File names. Isolated some data initialization constructs. Added more dialogs to dump. Should dump on all systems now Change-Id: I7ee07309e0bf88064f789c13bcbff93c17370f77
2016-08-18screenshots: extend default paths where stuff gets writtenArmin Le Grand
Change-Id: I1886d832bb9474371ea27d4d36f0446b221246d0
2016-08-17convert SvXMLGraphicHelperMode to scoped enumNoel Grandin
Change-Id: Ib0360b395fafe3c8123a0cc0fd0cbfd581fa5414
2016-08-17convert XPolyFlags to scoped enumNoel Grandin
Change-Id: Ic2a6fad90a0f8c8516469db240ec9910824c1286
2016-08-17convert XPropertyListType to scoped enumNoel Grandin
Change-Id: I071c0d17c7c5982af47bccd92580bbac62bdf7b3
2016-08-17convert SvxEscapement to scoped enumNoel Grandin
and fix a potential bug with footnotes and superscripts in writer in ndtxt.cxx, where it was passing bad args to the SvxEscapementItem constructor Change-Id: I0d2de34c056e7824f3b456a86d502e10ac93a1c1
2016-08-17convert SvxSpecialLineSpace to scoped enumNoel Grandin
And move it inside editeng, since it's not really used anywhere else. And fix a bunch of places that were incorrectly calling the constructor with the enum. Change-Id: I74e8ab8bcf315eb5ad0720e74d04a450f0a3e5c9
2016-08-17sd lok: limit undo/redo access to undo actions created by the same viewMiklos Vajna
Unlike in Writer, the state and the exec method of .uno:Undo is different codepath so for now ignore the Repair argument of the command, assuming that the command is only dispatched if the command is enabled. Change-Id: I3bfe8d72522f32efe436e21c383c99b3612eab6b
2016-08-16Fix 'AddressSanitizer: container-overflow' problem detected on OS XNoel Grandin
Patch by Noel. Committed and this message written by tml, who doesn't fully understand what the code does, but this definitely fixes the problem. Change-Id: Ifdc9faac0323028fa2888eb4a2d68e6ae5a905ae
2016-08-16Remove unnecessary UcbStreamHelper::CreateStream overloadStephan Bergmann
...with an explicit XInteractionHandler, but which was only ever called with a null XInteractionHandler, so could just as well call the overload that doesn't specify one (but internally uses a special SimpleFilaAccessInteraction handler since f60eaab748add19683e66c7e4bc073c9ce7887f7 "Related: tdf#99312, add specialized interaction handler", which is probably also what is wanted for these two calls to UcbStreamHelper::CreateStream in cui and sd). Change-Id: I2bf7bebd32f1c06b7414a4646631a19b689ee52f
2016-08-16GSoC notebookbar: multiple .ui implementationsSzymon Kłos
+ added menu controller for .uno:Notebookbar showing all implementations + switching between .ui files + officecfg stores implementation description + added second implementation file notebookbar_groups.ui Change-Id: I9f406daced7a111793f61a2e9f939cba27d92184 Reviewed-on: https://gerrit.libreoffice.org/28067 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2016-08-16new loplugin to check for static OUStringsNoel Grandin
that are better declared as OUStringLiteral Change-Id: Ifb5d9a12bb31a68641940bec16971a8181a46567 Reviewed-on: https://gerrit.libreoffice.org/27377 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-15tdf#100782 have XPropertyList hold unique_ptrJochen Nitschke
Change-Id: I928f297e1be76b965898d83cb3dd2e79b23b7974 Reviewed-on: https://gerrit.libreoffice.org/28095 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-13tdf#89466 Add Master Slide and Close Master View buttonSusobhan Ghosh
Impress only. Change panel title on master slide context. Disable controls in master view. Change-Id: Ic355a6c74d3f61ea23bcf80e2a2d7e7d7a7980b8 Reviewed-on: https://gerrit.libreoffice.org/27840 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-08-11loplugin:constantparamNoel Grandin
Change-Id: Ia06b9b189033b9409d7a59a211866f66a0614886 Reviewed-on: https://gerrit.libreoffice.org/28016 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-08silence false positive OSL_ASSERTJochen Nitschke
and assert hard as rRectangle size is MAX_PRESOBJS Change-Id: Ia486d4237e9efdf4f7b89dc3ec5c58916bdfd950 Reviewed-on: https://gerrit.libreoffice.org/27941 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2016-08-05[GSoC] Add Transparency tab to background dialogRishabh Kumar
Change-Id: I33dffe2435c44116842240e4b481947415317b5b Reviewed-on: https://gerrit.libreoffice.org/27906 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Rishabh Kumar <kris.kr296@yahoo.in>