summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2015-04-13loplugin:redundantcast: redundant const_cast followed by implicit upcastStephan Bergmann
Change-Id: I58297ba336d96358eb0683684bbd763870ef56cb
2015-04-13tdf#90255 FILESAVE:PPTX 'startAt' tag for bullet numbering is not exportedPriyankaGaikwad
Problem Description : XML Difference Original : <a:buAutoNum type="arabicPeriod" startAt="3"/> Roundtrip : <a:buAutoNum type="arabicPeriod"/> Solution : Added export support for 'startAt' tag of <a:buAutoNum> for pptx. Change-Id: If86bce98e222795d851d4a5b3cbb65da5cee85fc Reviewed-on: https://gerrit.libreoffice.org/15028 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-04-13loplugin:staticmethodsNoel Grandin
Change-Id: I332d3b3158b46cf130540c6e1479dd01cb457d03
2015-04-13loplugin:staticmethodsNoel Grandin
Change-Id: I33a8ca28b0c3bf1c31758d93238e74927bebde9c
2015-04-13convert SFX_LOADED_ to scoped enumNoel Grandin
Change-Id: I065a07e1bb5f5a7f85429c919830b6b9605206ea
2015-04-13Add SdXImpressDocument::postKeyEvent() testcase.Miklos Vajna
Change-Id: I87edb9c4693b1634942d8dbda4050920f439cbbf
2015-04-13sd: SetCursorLogicPosition -> SetCursorMm100PositionMiklos Vajna
To be consistent with SetGraphicMm100Position. Change-Id: Ic6775f9f1350ceb41381b4090cd32c4bd4393e67
2015-04-10tdf#89641 Page numbering in Calc and Draw/ImpressDobra Gabor
Change-Id: I5ce2f528ae4a243ea8402c787b5c77cf75052d2e Format: "Slide 2 / 3" changed to "Slide 2 of 3 (1)". Reviewed-on: https://gerrit.libreoffice.org/14806 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Katarina Behrens <Katarina.Behrens@cib.de> Tested-by: Katarina Behrens <Katarina.Behrens@cib.de>
2015-04-10convert SFXOBJECTSHELL_ constants to scoped enumNoel Grandin
Change-Id: I5a159be0c342b778730cedb0fe35843c2c368c97
2015-04-10convert SFXMODEL_ to scoped enumNoel Grandin
and fix up some confusion in SC and STARMATH about which constants to use Change-Id: Ib75bc78a24bd2fad6ec6d7c94c4c1ad7dc222c1a
2015-04-10convert SfxObjectCreateMode to scoped enumNoel Grandin
and fix some dodgy usage in /sc in the process Change-Id: Ia2bee267df31aba431fc8cb81195bb83e5b64deb
2015-04-10convert SfxSlotFilterState to scoped enumNoel Grandin
Change-Id: I424a1c71429078f8f83f8f0138c6e12567628ef8
2015-04-09Change tools::Time::GetSystemTicks to sal_uInt64Stephan Bergmann
...as follow-up clean-up after 71fefe1dc2bcda3a4cc18d71e1acaf161cc059f2 "Change 'blink times' to be of type sal_uInt64 and thus consistent with Timer::Get/SetTimeout since 9c7016b5b530ca212b1275f44f9e2fc0527109ee 'Scheduler: Changed uLong to uInt32/uInt64.'" Transitively meant to change quite a number of further time-related places from sal_uLong/sal_uIntPtr to consistently use sal_uInt64. Change-Id: I38eb493943906356138bf58eb098d2f54a3dee34 Reviewed-on: https://gerrit.libreoffice.org/15214 Reviewed-by: Stephan Bergmann <sbergman@redhat.com> Tested-by: Stephan Bergmann <sbergman@redhat.com>
2015-04-09loplugin:staticmethodsNoel Grandin
Change-Id: I715374b531da2850434b2436633b6042ecb9ebe0
2015-04-08A UNO Any can't contain an AnyStephan Bergmann
...and css::uno::makeAny<css::uno::Any>() was never meant to be used. Introduce css::uno::toAny for the (template-code) cases that shall return an Any for both Any and non-Any inputs. Change-Id: Ifa977d73f1da71b2fedde7e8140b19497c4a0257
2015-04-07loplugin:unreffunStephan Bergmann
Change-Id: Id6370750cb42fdfb7b5b920e1a84317d0a2a4acb
2015-04-07Remove dead INetProtocol::VimStephan Bergmann
...which removes the need to abstract over the standard URI '%' escape prefix vs. the silly vim '=' special case invention. Change-Id: I54a52dd912c3aafc38275a0ac2466a6daeec328f
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-07convert SvtModuleOptions::EModule to scoped enumNoel Grandin
Change-Id: I9665fc003cb3a44f4db857b24584fa3a70487259
2015-04-07Add SdXImpressDocument::setTextSelection() testcase.Miklos Vajna
Also, avoid early dispose in testRegisterCallback(), that was just a hack as I did not find SdrBeginTextEdit(). Change-Id: Ic0576306297b4081979c2409c376867c7f530e2c
2015-04-07LOK: reimplement lok::Document::postKeyEvent()Miklos Vajna
Instead of posting an event to the main loop of the soffice thread, do what every other methods do: take the solar mutex and execute the task on the thread. This fixes random lost/delayed key events on Android. Change-Id: Ibe819282b5f3bb64e44d4b6f0a92611fe651bb39
2015-04-07vcl tiled rendering: don't do anything with disabled mapmode and mm100 mapunitMiklos Vajna
Turns out Impress wants an mm100 -> twips conversion in this case, while Calc wants a pixel -> twips one, so there isn't anything here that can be abstracted in VCL. Change-Id: Ieb961afa97affbf682e13c0a56585396ae09f552
2015-04-07sd::ViewShell::SetGraphicMm100Position: can avoid FuPoor::DRGLOG hereMiklos Vajna
Change-Id: I6d006b21091cce8576693f4ee974906fecfe3d38
2015-04-07Add SdXImpressDocument::postMouseEvent() testcase.Miklos Vajna
Change-Id: I1bb371a897e71044d4acd05d7482b6a1c4bdcb4b
2015-04-07Change the Logic in SetGraphicLogicPosition()Miklos Vajna
Seeing that SetGraphicLogicPosition works in twips in sw but in mm100 in sd, change the Logic in then name to the actual unit. Change-Id: I825f735eac8c626efcb11d85532ea30e85416acd
2015-04-07sd::ViewShell::LogicMouseButtonUp: typoMiklos Vajna
See commit 845708fcc8e9a5a18aa7e70741008c6602f08eae (Add vcl::Window::SetLastMousePos(), 2015-02-24), what we really want is to set the remembered mouse click position, i.e. SetLastMousePos(), not SetPointerPosPixel(), which would move the mouse (and is a NOP for the headless backend). Change-Id: I126836a72ba09a92b4f70169257d7293bb5e980c
2015-04-07Add testcase for sd::Window::LogicInvalidate().Miklos Vajna
Change-Id: I1d2e6ed9691ca43abb18bdf04fcf5a6c73a66f18
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-03tdf#90403 PPTX import: use real table sizeAndras Timar
PowerPoint ignores a:ext cx and cy value of p:xfrm, and uses real table width and height. PowerPoint 2010 saves files where cx and cy contains good values, but I found files in the wild whose cx and cy values did not match to actual table width and height, and there was a visible difference between rendering of Impress and PowerPoint. Change-Id: I3f80c0cea4cac46763d449f918bb78dca1a6562d Reviewed-on: https://gerrit.libreoffice.org/15123 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-04-02Change INetProtocol enumerators to CamelCaseStephan Bergmann
...to avoid clashes with macros and poor warnings about hiding global FILE Change-Id: I444e8b958f029201b228937e088efabc4b6d3050
2015-04-02Change INetProtocol to scoped enumerationStephan Bergmann
...and fix o3tl::enumarray::operator [] const overload Change-Id: I749b1b9d68686b03a97074253478d9d2d9d32b0b
2015-04-02We can no longer import those formatsKatarina Behrens
so presumably can't paste them from clipboard either Change-Id: I1d544cbf6e19cf7def510383659bc0f6a26905b7
2015-04-02loplugin:staticmethodsNoel Grandin
Change-Id: Ibf0c73ac17ec19ed672f66907db47057920babca
2015-04-01convert BOX_LINE and BOXINFO_LINE to enum classNoel Grandin
since their usage is intertwined. Also introduce new o3tl utilities enumrange and enumarray to make working with scoped enums a little simpler. Change-Id: I2e1cc65dd7c638e59f17d96dfae504747cad6533
2015-04-01Replace remaining getCppuType et al with cppu::UnoTypeStephan Bergmann
Change-Id: I9518da89384c60a1b153a3146cbfb8dc48638b10
2015-03-31tdf#63905: fix regression by using paper size set in printer propertiesClément Lassieur
Change-Id: I51407c4b7ebbe3782539e1cb6f3c8294ae29566e Reviewed-on: https://gerrit.libreoffice.org/13763 Reviewed-by: Katarina Behrens <bubli@bubli.org> Tested-by: Katarina Behrens <bubli@bubli.org>
2015-03-31bnc#910045 wrong cell fill color defined by table styleZolnai Tamás
Problems were with those table styles which used color themes to define cell fill color. Change-Id: Ibde90df81ff253ba65618dde4038093d1caabfe8 Reviewed-on: https://gerrit.libreoffice.org/15089 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I0b1cbc96f85b6345b8abc843e5d609f9cc8a24b9
2015-03-30bnc#902652 OOXML: fix import of insets when shape and/or shape text is rotatedAndras Timar
5ac575ee3e109 did not get it right, the vert attribute (i.e. the rotation of text) is relevant, not the rotation of the shape. In that case both text and shape rotation were 270 degrees. I checked that the bugdoc of bnc#773048 looked good after this. Change-Id: I6e0401cd138a82040df82d7da1a47311db7771e4 Reviewed-on: https://gerrit.libreoffice.org/15076 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
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-30SdXImpressDocument: implement resetSelection()Miklos Vajna
With this, when editing is finished, no text edit is active, also both editeng and sdr selections are reset. Change-Id: If953e1d8683171c1f1ed8c7d97ae34a163d14765
2015-03-30SdXImpressDocument: implement setGraphicSelection()Miklos Vajna
With this, it's possible to resize an Impress shape. Change-Id: I6d81aee71853092a02bfad414fb107b514556247
2015-03-30sd tiled rendering: increase hit testing toleranceMiklos Vajna
Change-Id: Ibab0aeb6b9b605d1cc964e7858404b1e0919fc10
2015-03-30SdXImpressDocument: implement setTextSelection()Miklos Vajna
With this, it's possible to adjust an Impress shape text selection, using the selection handles already provided by editeng. Change-Id: I16fe3222c9e1289a0a1b5bea9469c88513994e75
2015-03-28Missing constStephan Bergmann
Change-Id: I5f85d7b995d933cb2839ee37a83770f4761b96f8
2015-03-28loplugin:cstylecastStephan Bergmann
Change-Id: Iffcc1b4fff1293c34f8f8d4eb11465ecb0a873d7
2015-03-28Blind fix for non-standard send(2) signature on WindowsStephan Bergmann
Change-Id: I0cff8d60aea0d9d0f41209ea04380259142ed607
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I57277cd1356a99ee7c806d84a9446936d13a87c0
2015-03-27convert GETATTRIBS_ constants to enum classNoel Grandin
Change-Id: I236caa9e2dc80455198b442e72e8d9df58f03adc
2015-03-26vexing parseCaolán McNamara
Change-Id: I6c91d94f7eec6001980fb221891157d1e436e1fb