summaryrefslogtreecommitdiffstats
path: root/sd
Commit message (Collapse)AuthorAgeFilesLines
* convert SdrPathSegmentKind to scoped enumNoel Grandin2016-08-242-5/+5
| | | | Change-Id: I1f5da7fb90b0100610677279e93b6e02347c120f
* convert SdrObjClosedKind to scoped enumNoel Grandin2016-08-242-4/+4
| | | | Change-Id: Icb3a6ce66687ea66f72df956dc695e0a4147365e
* convert PaperSizeApp to scoped enumNoel Grandin2016-08-241-1/+1
| | | | Change-Id: Ifd452ed0ca53223ae9b45e1b3b232fcfc6d29496
* convert SdrFitToSizeType to scoped enumNoel Grandin2016-08-244-6/+6
| | | | Change-Id: Id732c74b590db7006058d1919be2438b649a795e
* convert ViewType to scoped enumNoel Grandin2016-08-241-5/+5
| | | | Change-Id: I4904ceae765f3452d8695adcf73043a4a42bbf0b
* convert SearchLabel to scoped enumNoel Grandin2016-08-231-5/+5
| | | | Change-Id: I0c62a3166b9284895f119c600776dc2c7d6d1078
* convert SdrHorAlign to scoped enumNoel Grandin2016-08-231-6/+6
| | | | Change-Id: Ibddc5458c363b4174186c73bd0b3d9501933171a
* convert SdrVertAlign to scoped enumNoel Grandin2016-08-231-6/+6
| | | | Change-Id: Ie517acfea6b8e34def35e0362a8e9e387de588c4
* convert SdrMergeMode to scoped enumNoel Grandin2016-08-231-3/+3
| | | | Change-Id: I4569733d0c0b4a63e364f0d136bef8de71d62724
* convert SdrEndTextEditKind to scoped enumNoel Grandin2016-08-232-5/+5
| | | | Change-Id: Ic331db66ad937eba6488e6a9bbb30131230a29d7
* convert SdrHdlKind to scoped enumNoel Grandin2016-08-237-32/+32
| | | | Change-Id: Ib0a06d94f8b51cce1f29f20d1c00d54be939c076
* convert SdrHelpLineKind to scoped enumNoel Grandin2016-08-234-18/+18
| | | | Change-Id: I640fc5497571f93068f613dff2f02e12848124f0
* convert SdrIterMode to scoped enumNoel Grandin2016-08-2312-29/+29
| | | | Change-Id: Iaa4631039e6b96627d8e547f21136f107e157d8a
* clean up the SdrObjFactory create callbacksNoel Grandin2016-08-232-7/+7
| | | | | | passing params by setting fields on yourself is just gross Change-Id: Iee98a9e8e266b56fc886c76eab470ab1ff7ff8e4
* tdf#95416 remove ../ style includeJochen Nitschke2016-08-233-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>
* GSoC: tdf#101249 Toolbar Mode switchingSzymon Kłos2016-08-223-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>
* tdf#89466: Adjust alignment and add left and right marginsYousuf Philips2016-08-221-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>
* tdf#89466: Fix slide orientationSusobhan Ghosh2016-08-222-12/+17
| | | | | | | 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>
* convert SdrHintKind to scoped enumNoel Grandin2016-08-2212-25/+23
| | | | Change-Id: I77ad33425d440263a71bc94f41d8e141f16dfb78
* convert SdrViewEditMode to scoped enumNoel Grandin2016-08-225-15/+15
| | | | Change-Id: I1f58efceaee7346187f92c7ebaf901abc305ac33
* convert SdrHitKind to scoped enumNoel Grandin2016-08-226-41/+41
| | | | Change-Id: Ia7a18814fed7787e47ac2d3c02654a3648c5491e
* tdf#89466: Resize color and gradient controls to 150pxSusobhan Ghosh2016-08-201-0/+3
| | | | | | | Change-Id: I7a622bc47d3a070f6ad441a1fe3baac615b25058 Reviewed-on: https://gerrit.libreoffice.org/28258 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
* Resolves: coverity#705366 Mixing enum typesCaolán McNamara2016-08-198-26/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* convert SdrUserCallType to scoped enumNoel Grandin2016-08-191-4/+4
| | | | Change-Id: I0121b17242faee4238d82836453cec695f508db0
* convert SdrAnimationMode to scoped enumNoel Grandin2016-08-191-1/+1
| | | | Change-Id: I8a88a7ee538dab020e2ee08e4dce4b100f0bfa3b
* convert SdrCrookMode to scoped enumNoel Grandin2016-08-191-3/+3
| | | | Change-Id: If7c62d6c6f5bfa5f4f4f7bdb1af9384f3fa7cea8
* convert SdrCreateCmd to scoped enumNoel Grandin2016-08-198-9/+9
| | | | Change-Id: I8772032dee25c790314384750b8c7277c4879318
* convert SdrDragMode to scoped enumNoel Grandin2016-08-196-23/+23
| | | | Change-Id: I244132d2240a46f42f14d453e5987968d274e907
* convert SdrViewContext to scoped enumNoel Grandin2016-08-193-7/+7
| | | | Change-Id: Ic41d522cdb7f80614bd5f269fe1d63f022d8dd84
* convert SdrEventKind to scoped enumNoel Grandin2016-08-193-6/+6
| | | | Change-Id: I96c298089d9ca75909380843c7dbc255c4953b88
* coverity#1371443 Uninitialized scalar fieldCaolán McNamara2016-08-181-0/+1
| | | | Change-Id: I801ca445a89fb1b613323201c3cbfeb26381a8e5
* cppcheck: passedByValueCaolán McNamara2016-08-183-8/+8
| | | | Change-Id: I3ffcfe1294a1cbb06aadd3a1a79e9259876e38cc
* convert SdrEdgeKind to scoped enumNoel Grandin2016-08-181-3/+3
| | | | Change-Id: Icadffb10750f8792ebd88c4f33f272fe565a3c7a
* convert SvXMLEmbeddedObjectHelperMode to scoped enumNoel Grandin2016-08-182-4/+4
| | | | Change-Id: I12ccc8c7ba0885b3bacd0c17d430a853d327524b
* screenshots: add new global make targetArmin Le Grand2016-08-181-1/+2
| | | | | | | | | Up to now the screenshot creation was added/dependent of target slowcheck. Since quite some modules have added screenshot creations now, I added an own target 'screenshot' to allow to keep current slowcheck and screenshot creation separated Change-Id: I80a49a0db607edf8e0405672d570f624d29912e7
* screenshots: clang plugin & tabpage usage fixesArmin Le Grand2016-08-181-1/+1
| | | | | | | | 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
* screenshots: unify dumping of dialog test batch fileArmin Le Grand2016-08-181-43/+18
| | | | Change-Id: Ia1e79216d9537c65f8b7362778a2e1ad3ec6c2c2
* screenshots: add dialog test cases for svxArmin Le Grand2016-08-181-9/+15
| | | | | | All *.ui files create a screenshot, but not all look useful Change-Id: I5aeec438b90488ea19cdb1251fee7dcf23e1c2cb
* screenshots: add dialog test cases for writerArmin Le Grand2016-08-182-2/+5
| | | | | | | | | Writer has currently no known dialogs that get created with an opened writer document. There are some ui files that do not work with fallback (7), but most work (167). Not all look good, though. Change-Id: I92a6a5077e3a8c93148e162455093399ba1f99ed
* screenshots: fix fallback cases for sd and scArmin Le Grand2016-08-181-9/+10
| | | | Change-Id: I27dab5552e3924df30c8b09c46994b2d645bcde9
* screenshots: fallback screenshot to ui filesArmin Le Grand2016-08-183-65/+165
| | | | | | | | | | | | | | | 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
* screenshots: Use UI string and fallback for UI-String onlyArmin Le Grand2016-08-181-34/+88
| | | | | | | | | | | | | | | Two changes in this commit: The Dialogs to be dumped are identified in their test files using their UXMLDescription to allow later to 'find' the known dialogs and use the specialized construction for these. Also added a fallback to construct a vcl Dialog based on only the UXMLDescription and the VclBuilder. This will be constructed without any active initialization/layouting, so should only be used for unknown Dialogs. Also added a dumpDialogToPath version to the tooling that can work directly with a vcl Dialog instead of a VclAbstractDialog. Change-Id: I90abb6f59c2fcc5d534907ae7e4b9a15edc2d694
* screenshots: use new bootstrap fixture in sc and sdKatarina Behrens2016-08-181-95/+5
| | | | Change-Id: Ida0d3179726896b32b0876b1855b1f0be12d3b48
* screenshots: this is really unusedKatarina Behrens2016-08-181-2/+0
| | | | Change-Id: Iaaf171f7b91476be0f2d668402e6f309b81d53c3
* screenshots: use smart pointersKatarina Behrens2016-08-181-22/+12
| | | | Change-Id: I7b3780aecc7807e5905865f8d7eca816993ab148
* screenshots: gen screenshots during 'make slowcheck'Katarina Behrens2016-08-181-0/+4
| | | | Change-Id: I666dfcb451367f5ac9f36207703cf090c1846b35
* screenshots: rPath argument is now unusedKatarina Behrens2016-08-181-3/+3
| | | | Change-Id: Icd3c66b83419f25b198937b05ede9b22f1344726
* screenshots: names to copy screenshot IDsKatarina Behrens2016-08-182-20/+43
| | | | | | | For tab dialogs. While at it, factor out file-saving code into a separate function. Change-Id: Ideffc9934c0d562fe365d0bb1942f31056d4a486
* screenshots: write created screenshots into workdirKatarina Behrens2016-08-181-16/+14
| | | | | | Use osl file abstractions for that Change-Id: I876ca61e1d42b29f7c592b2778d8847b15513b98
* screenshots: kill work-around for pseudo-headless modeKatarina Behrens2016-08-182-9/+1
| | | | | | Start test with use_vcl_non_headless_with_windows instead Change-Id: Id6ff9c6f15ec927e1cbe2c599c526857982a76d2