summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2015-03-02V813: Decreased performanceCaolán McNamara
Change-Id: I6a988077a3a2e2adf33a2c00a84b929e8133133f
2015-03-02remove executable bit from c / h / cxx / hxx / l filesMichael Stahl
Change-Id: I90d7788208fb86c8aea36c4944ca11d881f11720
2015-03-02sd::Window::LogicInvalidate: add missing mm100 -> twips conversionMiklos Vajna
The method assumed that the map mode of the output device is twips, but that's not true for Impress. If paintTile() does the twips -> mm100 conversion, then LogicInvalidate() has to do the reverse of that. This fixes typing into the main placeholder shape of an empty Impress document: with our 256x256px tiles only the 3rd and 4th row was repainted previously, while the interesting content is in the 2nd row. Change-Id: I8bda113e73335e465c1c4626a58b6be2b232a190
2015-03-02sd::ViewShell::LogicMouseButtonDown(): typoMiklos Vajna
SetPointerPosPixel() was the method I modified locally before implementing the dedicated SetLastMousePos(), just forgot to adapt sd code to call the new one. Change-Id: Ic4958459c42d5b2cced01b686fa192f43fc3c965
2015-03-02Introduce SdXImpressDocument::postMouseEvent() overrideMiklos Vajna
It's far from perfect, but the following use-case works: - open an empty document with a singe slide (only two placeholder shapes) - type a few characters (into the title shape), Esc to finish editing - click into the non-title placeholder - type + Esc -> characters appear in the non-title shape Change-Id: Idc97c1fbeda0fb3ac53769e78b7cd665d8aee67b
2015-03-02convert PARAFLAG_ constants to enum classNoel Grandin
Change-Id: I71f5ea8e91fe0f50a471e33e4e2c02840a76b707
2015-03-02convert SVX_SEARCHAPP_ constants to enum classNoel Grandin
Change-Id: I2b9d379e56e0af655aa06afb5391140de952b9d6
2015-03-02replace SVX_SEARCHCMD_ constants with enum classNoel Grandin
Change-Id: I675c488742219cc19624a21d1fc8e5033e7cbefa
2015-03-01WaE: implicit conversion (IntegralToBoolean) of literal of type 'sal_Bool' ...Tor Lillqvist
... (aka 'unsigned char') to 'bool'. Change-Id: I7b6ed29c750ad26925f4875c0a38cb800a9f693f
2015-03-01condition is always true because of wrongly placed )David Tardon
Change-Id: Id5f2c623375419daa4433fc2f925921e6013846f
2015-02-28TyposJulien Nabet
Change-Id: I151957e415eff793e3d054050526b7d6892d28d4
2015-02-28TyposJulien Nabet
Change-Id: I5e938a0b53ea7a1b020bc73634bff70913f3ebc3
2015-02-28Typo: skiped->skippedJulien Nabet
Change-Id: I88c53ade0101cfd7735a45b2038879bd027b0314
2015-02-27gbuild: CppunitTest: always use unittest configurationMichael Stahl
The sc_subsequent_filters_test was failing because of a lock file because it did not use the unittest configuration. Refactor gb_CppunitTest_use_configuration so it uses both the instdir and unittest configuration to prevent such errors. In case there ever is a test that does not work with the unittest configuration it should call gb_CppunitTest_use_instdir_configuration. Change-Id: Ibc00d42f8b6102d50d922f51173120798fa45c6e
2015-02-26TyposJulien Nabet
Change-Id: Ic03fb2ee6470eac6034be13908dd9ec92cf175b6
2015-02-26tdf#84909 Remove presentation button from outline toolbarYousuf Philips
Change-Id: I5d1244fa50974c63133d0ca98de11cba0d7fb902 Reviewed-on: https://gerrit.libreoffice.org/14639 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-02-25convert SFX_CHILDWIN constants to enum classNoel Grandin
Change-Id: I8eb0c9bda0883bc08aed3acd7eaa72480848c6f3
2015-02-25convert SFX_SLOT_ constants to enum classNoel Grandin
Change-Id: Icc3aad14d9d0c59c1c1c8f124f0626a9f947b93f
2015-02-24Ensure listener is removed during ~SdModuleStephan Bergmann
Change-Id: I17fb441eac2593a0b43809f177250d46d6862a58
2015-02-23Typo: initialy->initiallyJulien Nabet
Change-Id: I458b2e4c812f727b4254137aa48627522576df3b
2015-02-23tdf#84909 rearrangement of Impress' drawing toolbarYousuf Philips
Change-Id: I6d83b3655536142e05e56929356f89a762fd9f96 Reviewed-on: https://gerrit.libreoffice.org/14576 Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-02-23Extract LibreOfficeKitEnums.h from LibreOfficeKit.hMiklos Vajna
This massively reduces the rebuild time in case only a new enumeration value is added to one of the enums. Change-Id: I4e58adf36fcd29da1672a5e5091bd3f6744f148d
2015-02-23sd::ViewShell -> SdrModel for LOK callbackMiklos Vajna
One one hand, this fixes missing invalidations after typing characters in editeng on Android. Previously it was assumed that there is only one sd::ViewShell for one Impress document, but that's obviously not true. On the other hand, this will be handy when later svx code wants to invoke the LOK callback as well, when it was stored in sd, that wasn't possible. Change-Id: Id467be01ad008aecaaabdd85b2a6b29a14f1eb86
2015-02-23ImpEditEngine::UpdateViews: need to go via Invalidate() for tiled renderingMiklos Vajna
This makes typed characters appear as you type it (and not only after the editing of the shape text is finished) in Impress. Change-Id: Id47efe8223ddfdbad36f436366c9c8c8e0cb45f4
2015-02-23CppunitTest_sd_uimpress: missing libxml2 externalMiklos Vajna
Change-Id: Idd087e41c54bf1cf3d0f5d92f9a8058d982c0a80
2015-02-23sd: initial ViewShell::libreOfficeKitCallback()Miklos Vajna
With this, typing into an empty document + pressing Esc makes those typed characters visible. Change-Id: I57d05f40d1bb6afa2b8c68ce1d10906203aa4bc8
2015-02-23sd: initial Window::LogicInvalidate()Miklos Vajna
Change-Id: I070e5ccac61061730f5d0fecfc197d9fb88dca51
2015-02-23sd: add SdDrawDocument::dumpAsXml()Miklos Vajna
SdDrawDocument inherits from SdrModel which already has an XML dumper, so just add an sd method that can create the XML writer and then we get the rest for free. Change-Id: Iac9bfb779e111f9887f171db6f5bd5151dd7e447
2015-02-23SdXImpressDocument::initializeForTiledRendering: missing guardMiklos Vajna
Change-Id: Idc006b63157daea880ba1eeac3832617a0992d48
2015-02-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-22IndentJulien Nabet
Change-Id: Iabdb9864d7e0e4740331aead895332ec027a82f5
2015-02-21Disable more tests with _use_library_objects for mergelibsMatúš Kukan
Change-Id: Iad803091864fb1a1a974df7c8eea6dba566d186c
2015-02-18TyposJulien Nabet
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-18boost->stdCaolán McNamara
Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6
2015-02-17boost->stdCaolán McNamara
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-16boost::foo_ptr->std::foo_ptrCaolán McNamara
Change-Id: I9219619b538b6530a89f5932ac51eb3b62eb396a
2015-02-16add GetSelectEntryData to ListBox and ComboBoxNoel Grandin
to reduce code clutter like pLbSelect->GetEntryData(pLbSelect->GetSelectEntryPos()) since this is a fairly frequent operation. Change-Id: I41daf30fdeda2442ad1ac829e12f553233bae184 Reviewed-on: https://gerrit.libreoffice.org/14472 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-02-12fix tdf#85027 Add button to StatusBar: Fit page to windowRodolfo Ribeiro Gomes
Change-Id: Ibc6d2b8d3699caa0ba2baa51dbbf357f935fe5b2 Signed-off-by: Rodolfo Ribeiro Gomes <libo@rodolfo.eng.br> Reviewed-on: https://gerrit.libreoffice.org/14363 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-12draw/impress - zoom in/out to the mouse positionRodolfo Ribeiro Gomes
Change-Id: I2bff851c683fdffe9a6074fedc2f2151650f79da Signed-off-by: Rodolfo Ribeiro Gomes <libo@rodolfo.eng.br> Reviewed-on: https://gerrit.libreoffice.org/14307 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-12partial fix tdf#86611 (item #5) Draw statusbar tipRodolfo Ribeiro Gomes
Change-Id: I5096c5ea1272e16969f9572ed40c60cdb9378b57 Signed-off-by: Rodolfo Ribeiro Gomes <libo@rodolfo.eng.br> Reviewed-on: https://gerrit.libreoffice.org/14308 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-09android: In Impress, switch to the 'Normal' (slides) view.Jan Holesovsky
Other modes are not fit for the tiled rendering, and crash the viewer. Change-Id: I6fb17663203d9eb298bba2b9bd143fdd28ffb470
2015-02-07fdo#87706 correct object/image styles dialog title and tooltipYousuf Philips
Change-Id: I36bcd859e5b3da933ed1cd1c54b34b71ca9f52d2 Reviewed-on: https://gerrit.libreoffice.org/13673 Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Katarina Behrens <bubli@bubli.org> Tested-by: Katarina Behrens <bubli@bubli.org>
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: Id38a70a88cf03413763f3feaefb07d2e748a6ba8
2015-02-07tdf#88836: UI: in-form navigation bar icons goneZolnai Tamás
Regression from: 6419c745e5e9802da264250d5e131fb9a3b6e4de Revert it and use IsEmpty() instead of operator!(). Change-Id: Icc4f5dbba848a1d4ef807e598f0aa3b940459c82
2015-02-06shared_ptr<T>(new T(args)) -> make_shared<T>(args)Caolán McNamara
and boost:make_shared->std::make_shared Change-Id: Ic1e187c52c856a7b27817967b2caa8920f23a98d
2015-02-05No need for rtl::Reference hereStephan Bergmann
Change-Id: I9c31d91dab2bc47148c0439947c331e411159891
2015-02-05Don't hold refcounted objects by naked pointerStephan Bergmann
(and no need to hold css::uno::Sequence objects by pointer either). Regression from e537d227d3a801076aff98c113650942fb6b3699 "hard to find accidental leaks with all the deliberate ones" caused JunitTest_svx_unoapi to sometimes crash. Change-Id: I3579c4bbac58d7e341c8acb52dd3f0f06f7b2245
2015-02-05Updated all precompiled headers.Ashod Nakashian
Change-Id: I955c8ac4dbe002d23531df7eb10fb4444d6b5157 Reviewed-on: https://gerrit.libreoffice.org/14292 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-02-04hard to find accidental leaks with all the deliberate onesCaolán McNamara
so make these globals belong to the SfxModule which gets torn down before exit Change-Id: Iad655f8726ba6784a5d606ef469522950906360a
2015-02-04coverity#1265801 Dereference null return valueCaolán McNamara
Change-Id: I7ac111ad66dd51d13df866bac4396cdb2aecb27e