summaryrefslogtreecommitdiff
path: root/include/svx
AgeCommit message (Collapse)Author
2015-04-09use std::unique_ptr for Impl in SvxStyleToolBoxControlTomaž Vajngerl
Change-Id: Ia01755ee617002ef2c234e29b1edd497b031ef8a
2015-04-09cleanup header tbcontrl.hxxTomaž Vajngerl
Change-Id: I8b424a21b7a1fcc72b607fec00cbfaa6a6961c8b
2015-04-07Change "blink times" to be of type sal_uInt64Stephan Bergmann
...and thus consistent with Timer::Get/SetTimeout since 9c7016b5b530ca212b1275f44f9e2fc0527109ee "Scheduler: Changed uLong to uInt32/uInt64." Otherwise, at least JunitTest_forms_unoapi on 32-bit Linux would stay busy forever in vcl::Cursor::ImplTimerHdl, alternating among ImplRestore() and ImplDraw(). Change-Id: Ic3fd349344c105078b52749ca85559fce485d0c4
2015-04-07Remove unused getBlinkTime functionsStephan Bergmann
Change-Id: I9820f0ede94e1b335410a3aa803ff10b6f246b00
2015-04-07sd tiled rendering: support turning an editeng selection into a table oneMiklos Vajna
With this, it's possible to drag the selection handle of an editeng selection in an Impress table and drag it outside the table cell to create an Impress table selection. Some unexpected graphic selection still appears, though. Change-Id: Ia7b36036ce2bda5cca570e8b6075238d5167090f
2015-04-04callcatcher: update unusedcodeCaolán McNamara
mostly changed due to loplugin:constantfunction Change-Id: Ib677c78db256f8032a99b3f02a3e363fee68ebcc
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I4791f064f223487ce57e68f8e0b1e3d74e66e868
2015-03-30Add SvxTableController::setCursorLogicPosition()Miklos Vajna
With this, it's possible to drag the start or end handle of an Impress table selection and let it grow/shrink. Change-Id: Icdee1207c1c3a6b1c4fb15d00008db6327d6e2de
2015-03-30SdrMarkView tiled rendering: partially disable SdrTableObj graphic selectionMiklos Vajna
If one or more cells are selected in an Impress table, then the shape already provides its own text selection, don't overwrite it with the generic graphic selection in this case. Change-Id: I4f84a220df6cd9d225ed67d6f70ba2df6eff38af
2015-03-30svx, sw: can avoid vcl/ITiledRenderable.hxx include hereMiklos Vajna
Change-Id: I27f1770d0e1d3409d51887565f67d4d456ca9692
2015-03-29Clean up template-parameter-dependent C-style castsStephan Bergmann
Change-Id: Ia1ab134a0afbeeb3ae40264bd4233a47df26b734
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I5f4029fc583952ae6392dbf2d478155982ccecef
2015-03-26tdf#81073 :Addition of text zoom levels to print preview zoomRishabh Kumar
SvxZoomItem includes text zoom level Ids unlike SfxUInt16Iem which only includes zoom percent id.SfxUInt16Item is the base class for SvxZoomItem. Change-Id: I8ad2a8cf48632853538aa2d99993f8dfccf49f4c Reviewed-on: https://gerrit.libreoffice.org/14488 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Ic90647cc4da716b54b00520b683cee027a664c22
2015-03-25Typo: formated->formattedJulien Nabet
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-24convert SVX_ZOOM_ENABLE constants to enum classNoel Grandin
Change-Id: Iead354b95b832edd72eb8e881855f228fd85be70
2015-03-20Typo: (O/o)veride(n)->(O/o)verride(n)Julien Nabet
Change-Id: Ied81ede9aaf045866596adc40d357cbbddb3d704
2015-03-19loplugin:constantfunction: svxNoel Grandin
Change-Id: Ib8c3599d245fbc371d00f28d812138b26c3f706d
2015-03-18create new 'enum class' SotClipboardFormatId to unify typesNoel Grandin
of which there are several. There are some issues here I am unsure of - the SW and SC and CHART2 modules essentially ignore the enum values and assign their own ids Perhaps I should change them to use the common values and create new enum values where necessary? - the sc/qa/ and sq/qa/ and starmath/qa/ code was doing some dodgy stuff. I translated the code to pass down the stuff numeric values to the underlying code, but perhaps further fixing is necessary? Change-Id: Ic06d723e404481e3f1bca67c43b70321b764d923
2015-03-17tdf#90030 Jump to Last Edited Slide Menu EntryAnurag Kanungo
Change-Id: I40aec11a5132ce8d1a416144707f3840a7f5ab01 Reviewed-on: https://gerrit.libreoffice.org/14882 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-16Add ImpEditView::libreOfficeKitCallback()Miklos Vajna
And various other methods, so that it's possible to invoke the callback in ImpEditView. This will be needed by the blinking editeng cursor. Change-Id: Ie1b6957e5c48f606e71d5808df3f632924d3a2ec
2015-03-16drawinglayer::processor2d::HitTestProcessor2D: ignore pixel size of ...Miklos Vajna
... candidate when tiled rendering. Tiled rendering works entirely in twips, so pixel sizes are not relevant. One step closer to working image resizing in the tiled rendering case. Change-Id: I1d5e33071a383b333e0fdb9d30ea09fcea23a8fc
2015-03-09V801: Decreased performanceCaolán McNamara
Change-Id: Iba139ede7bd72e23c0b7a28a8a4ff38ea816725a
2015-03-09sdr::overlay::OverlayObjectList: when tiled rendering, don't work with pixelsMiklos Vajna
Change-Id: Iaf7c31db65ecc4945f9d19e9031632443fa3823f
2015-03-09Add sdr::overlay::OverlayManager::getModel()Miklos Vajna
Can't access the SdrModel from sdr::overlay::OverlayObjectList otherwise. Change-Id: I0530985fb79659bd9de95d944b06edfb883f4403
2015-03-08svx: nAnz -> nCountMiklos Vajna
Change-Id: I88bff880a5fb27b259b66984a0637fe7d2ab51f6
2015-03-07sdr::overlay::OverlayManager: rmOutputDevice -> mrOutputDeviceMiklos Vajna
Change-Id: I8fa5cc15e2d69b572f59f254eeeae051865a5b5f Reviewed-on: https://gerrit.libreoffice.org/14785 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-03-07SdrMarkView: aHdl -> maHdlListMiklos Vajna
aHdl is an SdrHdlList, so reading aHdl.GetHdl() as "get the handle of the handle" was confusing. Change-Id: Ib21fa74cc1daa4b6d2034f07715147a8fb0cf934 Reviewed-on: https://gerrit.libreoffice.org/14779 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-03-06Timer/Idle: adapted inherited funktionsTobias Madl
Change-Id: I7714a4638b03d020820b276028c0819ef054fa26
2015-03-06idle includes and enum useJennifer Liebel
Change-Id: I8a280c54d81c7da74c9ab03ff3fc788e373ca4e4
2015-03-06Timer: Adapted all idle includes and enum usesTobias Madl
Change-Id: Id4ef36d6c80ad62306bdbaa7094c2cb0b8ff77da
2015-03-04V813: Decreased performanceCaolán McNamara
Change-Id: Ica2563d9e8da15e19eb38246d4de54a1fcb75655
2015-03-02HiDPI: increase size of handles including anchorTomaž Vajngerl
Change-Id: I9692c0674d8cb56dab6dd65e48a868aaf7b38e38
2015-03-01-Werror,-Wunused-private-fieldStephan Bergmann
Change-Id: Idaa0d4a22b97e477ce3cde6a978ea0ab99367190
2015-03-01tdf#84002 Add support for .ase color palettesChris Laplante
CMYK, RGB, and gray color models are supported. LAB colors are replaced by just black since the conversion to RGB is very complicated. Change-Id: I689e6ce972cd7b7f03725f99be4761dea4a81743 Reviewed-on: https://gerrit.libreoffice.org/14661 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Tomaž Vajngerl <quikee@gmail.com> Tested-by: Tomaž Vajngerl <quikee@gmail.com>
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-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-23remove unnecessary parenthesis in return statementsNoel Grandin
found with $ git grep -lP 'return\s*\(\s*\w+\s*\)\s*;' Change-Id: Ic51606877a9edcadeb647c5bf17bc928b69ab60e
2015-02-18TyposJulien Nabet
Change-Id: I845a85e1aad4a0708f2b43f7d94606b4b5513ee4
2015-02-18boost->stdCaolán McNamara
Change-Id: Ifa87783f68b0fab98f8a0f7cd6ed867202b4532f
2015-02-18boost->stdCaolán McNamara
Change-Id: I412137e7e7b9b2b87f401bc140a9499d1fc012c6
2015-02-17boost->stdCaolán McNamara
Change-Id: I8371b942d915f777a29ca01cd0aed674db0ca853
2015-02-17some more de-boostificationCaolán McNamara
Change-Id: I8ee8fd7b99598e484430d91e17e468951288d72d
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-14related tdf#89004 move to std:set instead of std::vectorUrsache Vladimir
Conflicts: sc/source/core/data/document10.cxx sw/source/core/doc/docfmt.cxx Change-Id: I1312f476607ea3a78b162a7e59323b0a142f6629
2015-02-09Fix of a few typosAndrea Gelmini
Change-Id: Ib2a311f0341d165a8f9d3f7a11ec36378fd69519 Reviewed-on: https://gerrit.libreoffice.org/14373 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2015-02-09tdf#47577 Zoom slider should only react to full clickRodolfo Ribeiro Gomes
Change-Id: If859754c956a634a96066ac407b70d6dd2759d53 Signed-off-by: Rodolfo Ribeiro Gomes <libo@rodolfo.eng.br> Reviewed-on: https://gerrit.libreoffice.org/14265 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <mstahl@redhat.com>
2015-02-07loplugin:deletedspecialStephan Bergmann
Change-Id: I1ffc6af694367f0ff70b7598c093203f1f68882c