summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2015-11-10loplugin:nullptr (automatic rewrite)Stephan Bergmann
Change-Id: If1b80da64ba575f07b31dce9bc0e34b7eb9f11a4
2015-11-09pptx: "fall" transition, which needed p15 namespaceTomaž Vajngerl
Added p15 namespace which is present in MSO 2013+ documents. It adds a "prstTrans" element with a string "prst" attribute which is a name of the transition to be performed. This was added to support "fall" transition which translates to "fallOver" preset transition. Change-Id: I429bb106a12c1b99cce756502508e917720daef3
2015-11-09pptx: import "Vortex" and "Ripple" transition + testTomaž Vajngerl
Change-Id: I29d71e9c07c4964275c13772cdb6042624550acb
2015-11-09pptx: export "Ripple" and "Vortex" transitionTomaž Vajngerl
Change-Id: I7e6683e8d4b461f193f64e2b1f077a5936008c1f
2015-11-09pptx: export "Turn around" and "Rochade" transitionTomaž Vajngerl
Change-Id: Id984b9bf3b67e3bb1d8287819c28c23a0b8a2a61
2015-11-09new loplugin: oncevarNoel Grandin
Change-Id: If57390510dde4d166be3141b9f658a7453755d3f Reviewed-on: https://gerrit.libreoffice.org/19815 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-11-08loplugin:defaultparamsStephan Bergmann
Change-Id: Ia4f51a3599afa6ffe7b689a8703a9634b4fb082d
2015-11-08pptx: export inside/outside turning cube transition as p14:prismTomaž Vajngerl
Add support for exporting p14 transitions with AlternativeContent fallback support. Export "inside/outside turning cube" transition as "prism" MSO transition with fallback to "fade" transition. Change-Id: I031d90f6465741847e1bda8991d45e7fed9e68e5
2015-11-08pptx: inside/outside turning cube transition testTomaž Vajngerl
Change-Id: Ida476a8e5a761c7721949b259b95184a88cc4e41
2015-11-08pptx: import/export of "cut through black" transitionTomaž Vajngerl
"Cut through black" is not supported in ppt so we detectit only in pptx specific export code. This needed some changes in the pptx code for exporting transitions. Change-Id: Ibc7361311017b3ffadd289db4e8ae233e1101ea8
2015-11-08pptx export: properly assert transitionsTomaž Vajngerl
Change-Id: Ia793d51c7df6987763fc37c8d73a98ae94a4822a
2015-11-08pptx: import/export corner directions correctlyTomaž Vajngerl
Change-Id: Id2e9234c200c9544af31c07e7c5a13c7ae69d9b3
2015-11-08pptx: add a testcase for wipe transitions import/exportTomaž Vajngerl
Change-Id: Ic82b95fc676957f26ce5e09b2343ba71b775c1b0
2015-11-08Write as comment the names of slide transitions in MS-PPT specsTomaž Vajngerl
Change-Id: Ied3203c0a4ce04a9c93f35ae4ce4fa55e82cf70e
2015-11-08pptx: export slide transition direction parameter correctlyTomaž Vajngerl
The direction of wipe transition was not exported correctly, left was right, right was left, up was down and down was up. :) Change-Id: Ibc709476c03d6c96204fb5fe91d37823a185fa97
2015-11-08get rid of c-style castTomaž Vajngerl
Change-Id: I88173997c2db33b2e67bde77cd48c6753b12ae9e
2015-11-08pptx: export/import newsflash and comb slide transitions + testTomaž Vajngerl
Change-Id: I8ec2e1bc6d6f46f741252085f68edc6c284124b6
2015-11-06loplugin:stringconstant: elide explicit ctor usage (manually due to macros)Stephan Bergmann
Change-Id: I894bfe3ee6b932930d3088b83e4d99788f8b145a
2015-11-06loplugin:stringconstant: elide explicit ctor usage (automatic rewrite)Stephan Bergmann
Change-Id: I60f792a9047d8d9ad9cfc2a442c4dd179efec53a
2015-11-06Add a 'Ripple' transitionTor Lillqvist
Change-Id: I18efe35c299bc3a4a2a5e449021323fc1f53f378
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-05afl-eventesting: deref of null mpTextObjCaolán McNamara
Change-Id: Icdb7d1cc250640f428984b96b0a51ac950013cb2
2015-11-05sd: CppunitTest_sd_svg_export_tests is Linux-only so farMiklos Vajna
Change-Id: If0f93ab9414f9013aab580bafc67f77891dfd8cc
2015-11-05sd: add support for svg export unit testsMarco Cecchetti
Change-Id: Iafeaecad612b724c4eeb85e0c01c942afb6445d8
2015-11-05fix tdf#95488, crash in report wizardNoel Grandin
This reverts commit bb76b8f10697f3d5ca1f9a2f19902b043bd61cd7 "loplugin:mergeclasses" Change-Id: Ib65459ab45cd4cefa859ed75f9ddc4f070879b1d
2015-11-05use uno::Reference::set method instead of assignmentNoel Grandin
Change-Id: Ib224c60d3e5afc968bf4ef5ff58c3a71893b811c
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-04yyyyyNoel Grandin
Change-Id: I9a947beefd2dfe21da8239e841ea3fb416bd1548
2015-11-04STR_MASTERPAGESSELECTOR appears to be unusedStephan Bergmann
...since d023339c2f85555212bdb9804854dcc2c403b50e "Turn sidebar back to non-experimental" Change-Id: I91bbeb60b2bd87cbd06139b586f93ec546df9e13
2015-11-04tdf#95298: corrected some out-of-bound accesses to arrayArmin Le Grand
the index variable m_FrameList used to reference the current frame uses the state EMTY_FRAMELIST to mark as invalid, which is the max integer number. Thus all usages have to be secured to not use m_FrameList if set to EMPTY_FRAMELIST. This was missing in some places. the max integer number. Thus all usages have to be secured to not use m_FrameList if set to EMPTY_FRAMELIST. This was missing in some places. Change-Id: Ie1cf4ae2cb79d821f634ec78b621a2647abc61a8 Reviewed-on: https://gerrit.libreoffice.org/19753 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-11-04Bin some use-once variables, use literals insteadTor Lillqvist
Change-Id: I3ccdc7c92b53f1f385cec8ebfa1a325f355da9ed
2015-11-04Bin some use-once variables, use literals insteadTor Lillqvist
Change-Id: Ic6e3540dce776b7851e41124d8dcceec73aadb4b
2015-11-03Bin a few pointless variablesTor Lillqvist
Change-Id: I5198163e43b17786d3646cf398ec1b8e6ab1b438
2015-11-03tdf#86595: Highlight color it isKatarina Behrens
Change-Id: Ic0a3083c05ba1cce974d76aecf60ed7bc4c72a36
2015-11-02afl-eventtesting: crash close impress with spelling dialog activeCaolán McNamara
Change-Id: I1085b655a9a589f2e92edfdacfea6621d2f67d9c
2015-11-02tdf#88276: New text background tab in char formatting dialogKatarina Behrens
Change-Id: I81880456d398e8bffd363626bac17ff9d54e7796 Reviewed-on: https://gerrit.libreoffice.org/19697 Reviewed-by: Oliver Specht <oliver.specht@cib.de> Tested-by: Oliver Specht <oliver.specht@cib.de>
2015-11-02cppcheck: noExplicitConstructorCaolán McNamara
Change-Id: I06186e8f0bbc8522f538e8639a68e816093becc2
2015-10-29Too much copy pasta is not good for youTor Lillqvist
Change-Id: Ie5a3cddd6fcf9d1a763284c1aea0fca579da4f8d
2015-10-29com::sun::star->css in sdNoel Grandin
Change-Id: Ic0cbc857a3a9c66241b94c30bf8c859435f5a4b4
2015-10-29Initialize Sequence<beans::NamedValue> from initializer_listsNoel Grandin
Change-Id: I216dcbd983dcf3df79df9fda371b93114540a9d8
2015-10-28What's a "mape"?Tor Lillqvist
Change-Id: I4f7895683d5e42fd9c901759615025958939eb76
2015-10-28vcl: getWindow() -> setClipboard() in ITiledRenderableMiklos Vajna
It's cleaner to let the apps do this themselves than exposing their underlying vcl::Window. Change-Id: Iff2442dd325fa65a0cf3ad4aa7f918542dab1e4c
2015-10-27Filter out non-VclWindowEventsStephan Bergmann
...to avoid bad casts like > sd/source/ui/slidesorter/controller/SlideSorterController.cxx:545:24: runtime error: downcast of address 0x7f2d4d9b0c40 which does not point to an object of type 'VclWindowEvent' > 0x7f2d4d9b0c40: note: object is of type 'VclMenuEvent' > 00 00 00 00 f0 f9 03 80 2d 7f 00 00 b2 04 00 00 00 00 00 00 40 51 72 00 10 61 00 00 01 00 00 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'VclMenuEvent' > sd::slidesorter::controller::SlideSorterController::ApplicationEventHandler(VclSimpleEvent&) sd/source/ui/slidesorter/controller/SlideSorterController.cxx:545:24 > sd::slidesorter::controller::SlideSorterController::LinkStubApplicationEventHandler(void*, VclSimpleEvent&) sd/source/ui/slidesorter/controller/SlideSorterController.cxx:543:1 > Link<VclSimpleEvent&, void>::Call(VclSimpleEvent&) const include/tools/link.hxx:84:45 > VclEventListeners::Call(VclSimpleEvent&) const vcl/source/app/vclevent.cxx:74:17 > Application::ImplCallEventListeners(VclSimpleEvent&) vcl/source/app/svapp.cxx:820:9 > Menu::ImplCallEventListeners(unsigned long, unsigned short) vcl/source/window/menu.cxx:339:9 > [...] (Even the VCLEVENT_APPLICATION_DATACHANGED handled in WindowEventHandler /is/ a VclWindowEvent, see how these events are created via ImplCallEventListeners in Application::SetSettings, vcl/source/app/svapp.cxx.) Change-Id: I107cbbff83e4a41090aadee6a66e715ef35901d4
2015-10-27Remove unncessary, wrong downcastStephan Bergmann
...which caused > sd/source/core/sdpage2.cxx:151:28: runtime error: downcast of address 0x611000ccf8c0 which does not point to an object of type 'SdrTextObj' > 0x611000ccf8c0: note: object is of type 'SdrPageObj' > 08 07 80 35 10 3e 04 ba 4f 7f 00 00 c0 1b 2c 00 b0 60 00 00 00 00 00 00 00 00 00 00 70 1c 2c 00 > ^~~~~~~~~~~~~~~~~~~~~~~ > vptr for 'SdrPageObj' > SdPage::SetPresentationLayout(rtl::OUString const&, bool, bool, bool) sd/source/core/sdpage2.cxx:151:28 > SdDrawDocument::SetMasterPage(unsigned short, rtl::OUString const&, SdDrawDocument*, bool, bool) sd/source/core/drawdoc3.cxx:1746:13 > AssistentDlgImpl::UpdatePreview(bool) sd/source/ui/dlg/dlgass.cxx:1513:13 > [...] Change-Id: I07afc4cd7ef0a0a32768db59b72ca94edd4026df
2015-10-27Reduce scope of #include <tools/stream.hxx>Matteo Casalin
Change-Id: I0752cbb0cb2e0f89607d81d9eda7ce7091449fd6
2015-10-27sal_uIntPtr to sal_uInt64, sal_uLong to sal_Size for streamsMatteo Casalin
Change-Id: I062f1f6c5b20ca47734a9a3cd1a229d51763a206
2015-10-27Initial work on a "Vortex" transitionTor Lillqvist
The actual transition is not yet at all like the one in the competing product. But some basic ideas are in place. Change-Id: Ie17a4fe03ae93abe51a2f1f760f417ee4b193e2c
2015-10-26sd: implement vcl::ITiledRenderable::isMimeTypeSupported()Miklos Vajna
Change-Id: I528ac9f9f687d2940c6477b1d33264f1e523051f
2015-10-26cppcheck:noExplicitConstructorNoel Grandin
Change-Id: I06f33af242c60e0349417ceab3ca4a6d47cd402d Reviewed-on: https://gerrit.libreoffice.org/19589 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-10-22sd: implement vcl::ITiledRenderable::getWindow()Miklos Vajna
Change-Id: I8bc7316d9304d9e764ee846fe3af34599bf6fc35