summaryrefslogtreecommitdiff
path: root/sd/inc
AgeCommit message (Collapse)Author
2016-01-18basebmp now only used from vcl/headless codeCaolán McNamara
Change-Id: I068d404431d3565f6ad5741edbd3693225824a4d
2016-01-18drawmodes header goneCaolán McNamara
Change-Id: Ia1b9ad96dbe41bebc5c2819385950a6d2980608b
2016-01-14loplugin:unusedmethods unused return value in sdNoel Grandin
Change-Id: I9bf87cad19b7371076fd0b2333c83697021fe0e1
2016-01-05tdf#96708: don't modify document while copying to clipboardMike Kaganski
I.e., don't try to create auto-layout for clipboard pages which don't contain one; don't resize objects to text. Also, don't invalidate items that are equal to defaults, because explicitly set items are not the same as absent items: pasting an object without an item makes the property to inherit new target's default, while when the item is present, the default doesn't apply. Also, don't consider selected state of the page while stringifying - this makes selected page string to differ from not-selected clipboard page. Change-Id: I172e03e1a8c428e5fcae3a116cc9ad8de79f1a87 Reviewed-on: https://gerrit.libreoffice.org/20871 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-12-22Rearrangement of various context menus in ImpressYousuf Philips
Change-Id: I6674254898dc6d7351ec4450e2aa5ac3f177bdbf Reviewed-on: https://gerrit.libreoffice.org/20640 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-12-21loplugin:unusedmethodsNoel Grandin
Change-Id: Ifafdaf6da0225f244853a0042a6458643b570623
2015-12-12No need for a separate <vcl/lstbox.h>Tor Lillqvist
Change-Id: Ib8d0e3d240e693c678d575b4791f69ca760919ec
2015-12-11No need for a separate <vcl/graph.h>Tor Lillqvist
Change-Id: I962544005b5d408f7c044a02eefe09b87d8a81fe
2015-12-11No need for a separate <vcl/combobox.h>Tor Lillqvist
Change-Id: Iebf7b44e78fc28c20bdf0cbea84dbfd730b04016
2015-12-04Remove image color conversion menu from ImpressTomaž Vajngerl
In impress there is (or was) a submenu "Mode" for images that containted color transforms for images to various bitdepths and palettes. The action is destructable - which means the original is replaced by a new image. This also has little use today as I don't think many people want to shrink image (byte) size this way. The only useful transform is to 8-bit indexed for certain types of images to save space without a bigger color degradation, but it makes more sense to add this option to "compress image dialog". Change-Id: I7450b2ec3507fb5d180cbd1ec879cb5560a2dd22
2015-11-23loplugin:unusedfields in sd/Noel Grandin
Change-Id: Id6da990828ece02132032285116f3a20de423519
2015-11-18Impress: Rework the way the display modes are presented.Philippe Jung
TODO: take into account remarks from Gerrit New combo to select display mode among: - Slide edition (Normal) - Outline - Notes - Slide sorter - Slide master - Notes master - Handout (master, as we are designing the template used to generate the handout) The combo is based on uno command .uno:DisplayMode Center pane tabs are hidden by default. A new uno dispatch command (.uno:ToggleTabBarVisibility) is available to show/hide this tab bar. Modified uno dispatch commands: No uno name has been modified. .uno:DiaMode : SID_DIAMODE renamed SID_SLIDER_SORTER_MODE .uno:OutlineMode SID_OUTLINEMODE renamed SID_OUTLINE_MODE .uno:NotesMode No change .uno:HandoutMode SID_HANDOUT_MODE renamed SID_HANDOUT_MASTER_MODE All internal code also considers the edit mode as master .uno:SlideMasterPage SID_SLIDE_MASTERPAGE renamed SID_SLIDE_MASTER_MODE If the input parameter SfxBoolItem Isactive is true or not provided, activates Slide Master mode. If parameter is false, activates the "Normal" (slide editing) mode. .uno:NotesMasterPage SID_NOTES_MASTERPAGE renamed SID_NOTES_MASTER_MODE If the input parameter SfxBoolItem Isactive is true or not provided, activates Notes Master mode. If parameter is false, activates the "Notes" mode. Modified behaviours: Now only one mode can be chosen. It is possible to navigate from a mode to any other mode. Previous behaviour: the following navigation Normal -> Slide Master -> Notes -> Normal was displaying slide master. It was required to activate Normal once more to get back to normal. Now the same commands will display the requested mode. Still to come (at least): - Fix reopen the last display mode. - Center pane tabs are now presenting all buttons for all modes (TODO). Change-Id: I11ab59d2f3caa9149260c5e55d44d598d0ce3390 Reviewed-on: https://gerrit.libreoffice.org/16723 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Jan Holesovsky <kendy@collabora.com> Tested-by: Jan Holesovsky <kendy@collabora.com>
2015-11-18Removal of SID_TITLE_MASTER related codePhilippe Jung
i35731 fixed a bug by deprecating SID_TITLE_MASTER dispatch command in 2004. So the feature can not be called anymore since 2004. Ten years after, this changeset removes the code that could be considered as dead code. Change-Id: Ie212baf7ece2897578d2494030d790bcadd16f5f Reviewed-on: https://gerrit.libreoffice.org/16933 Reviewed-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de> Tested-by: Samuel Mehrbrodt <Samuel.Mehrbrodt@cib.de>
2015-11-17loplugin:unnecessaryvirtualNoel Grandin
update the plugin with lessons learned from the mergeclasses plugin and re-run it Change-Id: I9d622eb3d05fceaf8fa764c533c8fa5dfb4c7711 Reviewed-on: https://gerrit.libreoffice.org/20015 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-15Fast PCH generator and optimized PCH filesAshod Nakashian
Ported update_pch.sh to Python with improved performance and features. The new script is invoked from the same update_pch.sh which calls it for each library in parallel, although it can be invoked directly. The ported script (update_pch) updates all PCH files in ~15 seconds where the old script took ~4500 seconds. In addition, the new script supports 3-tiered headers (system, module, and local) and is very flexible to support other improvement. It has a per-library optimal configuration settings that can be updated using another new scripts (update_pch_autotune.sh) which finds optimal per-PCH settings. PCH files have been generated using the new scripts which builds significantly faster (2-3x, depending on module and configuration) and the intermediate binaries are noticably smaller (by several GBs). The new script stamps each generated PCH file with the command that generated it to make it trivial for users to update them, and also adds the command to invoke another script (update_pch_bisect) that helps find missing headers or conflicting headers that may break the build after updating the PCH. Finally update_pch has built-in unit-tests for makefile parsing and other core functionality. Change-Id: Ib933b50e50374d7e2e7e3e95ba8799b0cc8a27fa Reviewed-on: https://gerrit.libreoffice.org/19965 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-11-13sd: rename static variable SdDrawDocument::pDocLockedInsertingLinksMichael Stahl
Change-Id: I6092d64f0e64d295253505b27c9aee7874d9ecce
2015-11-12sd: boost::ptr_vector->std::vectorNoel Grandin
Change-Id: I59ecb4a46c21ceb82beb28c65b1fb43b329567da
2015-11-115th step to remove tools/rtti.hxxOliver Specht
tools/rtti.hxx removed completed the interface of some Sdr.* Items and removed pseudo items Change-Id: I0cdcd01494be35b97a27d5985aa908affa96048a Reviewed-on: https://gerrit.libreoffice.org/19837 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Oliver Specht <oliver.specht@cib.de>
2015-11-10Missing includesAshod Nakashian
Restored some missing includes and refactored sot/formats.hxx. Change-Id: I11b7102b06889f426f5e0f3efa3a835c6e774d88 Reviewed-on: https://gerrit.libreoffice.org/19891 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: If1b80da64ba575f07b31dce9bc0e34b7eb9f11a4
2015-11-05tdf#36946: Organise transitions hierarchicallyTor Lillqvist
Introduce the concept of transition groups and sets. (Suggestions for other terminology welcome.) A collection of transitions that differ only in the direction the transition is applied, or similar minor fashion, are called a set, and they show up only once in the long list of transitions in the UI. Each set also has an icon. Sets are then collected into groups based on some overall common feature, like "subtle" or "3D". Groups do not yet show up in the UI, but are only present in the configuration registry. I made only a few silly icons as I am not an artist. Not intended to be a final design in any way for them. Change-Id: I148cb7f8dc2e3ecd70cae188908dd02053308239 Reviewed-on: https://gerrit.libreoffice.org/19797 Reviewed-by: Tor Lillqvist <tml@collabora.com> Tested-by: Tor Lillqvist <tml@collabora.com>
2015-11-04STR_3DOBJECTBARSHELL, STR_FONTWORKOBJECTBARSHELL appear to be unusedStephan Bergmann
...ever since they got introduced with 24862ad6ea4e8014c83d6d32535835a729f71695, 980c162657f425f9072fdb00b9fe2ac2092ee1b5 "INTEGRATION: CWS sj05: #i20484# adding autoshape ui" Change-Id: I672bf11310f0887efb501de437fe704bcc2551e0
2015-11-04STR_MASTERPAGESSELECTOR appears to be unusedStephan Bergmann
...since d023339c2f85555212bdb9804854dcc2c403b50e "Turn sidebar back to non-experimental" Change-Id: I91bbeb60b2bd87cbd06139b586f93ec546df9e13
2015-11-02afl-eventtesting: crash close impress with spelling dialog activeCaolán McNamara
Change-Id: I1085b655a9a589f2e92edfdacfea6621d2f67d9c
2015-10-29com::sun::star->css in sdNoel Grandin
Change-Id: Ic0cbc857a3a9c66241b94c30bf8c859435f5a4b4
2015-10-28What's a "mape"?Tor Lillqvist
Change-Id: I4f7895683d5e42fd9c901759615025958939eb76
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-14sd tiled rendering: search rectangle is part-specificMiklos Vajna
Change-Id: I88865db539779bc401550d7b4a3729b89d7e18b1
2015-10-14sd tiled rendering: initial search allMiklos Vajna
Change-Id: Icee3a07103fad1bf70637fbf23299f50b7ad838d
2015-10-12Replace "SAL_OVERRIDE" with "override" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I2ea407acd763ef2d7dae2d3b8f32525523ac8274
2015-10-12Replace "SAL_DELETED_FUNCTION" with "= delete" in LIBO_INTERNAL_ONLY codeStephan Bergmann
Change-Id: I328ac7a95ccc87732efae48b567a0556865928f3
2015-10-09sd: add SdPage::dumpAsXml()Miklos Vajna
Change-Id: Ifef668530d660b0b6330f1e60ed558501a74611e
2015-10-02loplugin:unusedmethodsNoel Grandin
Change-Id: Ie1603adf3908fd0668bcbe8f75c6bafa0d0bfd6c Reviewed-on: https://gerrit.libreoffice.org/19072 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-09-30implement save slide background for impressCaolán McNamara
to go along with the existing "set background", same sort of thing as the competitor's effort Change-Id: I2a1106771ead2cd926f3d631850447499340697c
2015-09-24sd/inc boost::scoped_ptr->std::unique_ptrCaolán McNamara
Change-Id: I3830c451f685d7603c0271107bd1a0d477be464b Reviewed-on: https://gerrit.libreoffice.org/18749 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-23boost::shared_ptr->std::shared_ptrCaolán McNamara
Change-Id: I2c6ac98f0984534894759cfbf4449eb554801cf8 Reviewed-on: https://gerrit.libreoffice.org/18678 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-09-21convert Link<> to typedNoel Grandin
Change-Id: If3e2b00092440ebd42ae5b73ae2b0e44c3702683
2015-09-17revert for mac and win unit case crashes after boost->stdCaolán McNamara
Change-Id: I82c7084f203a834c2d42f9527705288e6036019b
2015-09-17boost->stdCaolán McNamara
Change-Id: I1e6a7fd66f90e6acd803c6cd464f1d73252f7bcb
2015-09-17remove unused Link<> fieldsNoel Grandin
Change-Id: Ifad5e3646a519c2dd41ff62b798ebd0811377e5e
2015-09-16convert Link<> to typedNoel Grandin
Change-Id: I9ce05712af8300c8bcea6ea0f670b57cce1ca43d
2015-09-09convert Link<> to typedNoel Grandin
Change-Id: I184d836e944d6dcfd17233a7a83680f1c1bff9bf
2015-08-31sd: tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants. Change-Id: I01909ee45c31d17356e13b1ff2430440daff9aa7 Reviewed-on: https://gerrit.libreoffice.org/18146 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-26add ppt to fftesterCaolán McNamara
Change-Id: I49162355ce5a58c6aaadfcfb9f45471e5c2a1424
2015-08-17o3tl: rename compat_functional headerThorsten Behrens
After the cleanup, the stuff there really stands on its own (and the remaining usage of select1st/2nd is more descriptive than lambdas). Change-Id: I0aba131d5dc550189f8130d167dc94167e404540 Reviewed-on: https://gerrit.libreoffice.org/17806 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-08-05loplugin:unusedmethodsNoel Grandin
Change-Id: I6801618efb5a66d24156fa429e026acb6ca03aba Reviewed-on: https://gerrit.libreoffice.org/17506 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-03sd: replace boost::function with std::functionMichael Stahl
Change-Id: If70426d6d93a8c3b7c585b1c69e9b1c58643d140
2015-07-24-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: I3104a661b7c00851f6e444eb6899483bfc9c7417
2015-07-21loplugin:unusedmethods sdNoel Grandin
Change-Id: I9b5399ace50db3259df2e619f28ae547a38e6c6d Reviewed-on: https://gerrit.libreoffice.org/17254 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-16Convert FontWorkShapeTypeControl to the generic controllerMaxim Monastirsky
Change-Id: I7824136aa2780c4062a66f7a5284a342862f319a