summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
2015-04-17loplugin:implicitboolconversion clean-upStephan Bergmann
Change-Id: If12ec14db83001fe2b51bda25fc71302953d0496
2015-04-17SvStream: WriteUChar -> WriteBoolStephan Bergmann
Change-Id: I89aa0e22c31d368ab36fe46917db6aacb11c7b14
2015-04-17convert SCRIPTTYPE_ constants to scoped enumNoel Grandin
Change-Id: I5be3980ac865162d8d7626556ca47eca4b0ee433 Reviewed-on: https://gerrit.libreoffice.org/15344 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-16Revert "make more classes dllpublic"David Tardon
This reverts commit add2ca7b3ab10ed9d18e60d8e50020168d922836. It causes too much breakage on windows. It is better to start again from scratch.
2015-04-16fix windows buildDavid Tardon
error C2487: member of dll interface class may not be declared with dll interface Change-Id: I63898789eb9c9ee767a5c72e31156e23d50c81fb
2015-04-16make more classes dllpublicDavid Tardon
... to fix asan+ubsan+dbgutil build Change-Id: I1400774d383879bbff9bf28251a104cd53bafaed
2015-04-15tdf#62101: Show only file extensions we're able to insertKatarina Behrens
Change-Id: If8f53ac8af85f15958cd488fb0fd4c37997963c9
2015-04-15Use cross-app filter directlyKatarina Behrens
and bypass SfxFilterMatcher, which will likely not find it. We're able to insert .odp file into Draw and .odg file into Impress anyway Change-Id: I02332f0ebd6856d088261ce014bd04f87acfbac6
2015-04-15convert SFX_VIEW constants to scoped enumNoel Grandin
Change-Id: I327dc1ec722fa9445f13fc5168ad646e272ba9d4 Reviewed-on: https://gerrit.libreoffice.org/15300 Tested-by: Noel Grandin <noelgrandin@gmail.com> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-04-15remove unnecessary use of void in function declarationsNoel Grandin
ie. void f(void); becomes void f(); I used the following command to make the changes: git grep -lP '\(\s*void\s*\)' -- *.cxx \ | xargs perl -pi -w -e 's/(\w+)\s*\(\s*void\s*\)/$1\(\)/g;' and ran it for both .cxx and .hxx files. Change-Id: I314a1b56e9c14d10726e32841736b0ad5eef8ddd
2015-04-14fix assert on re-export of ooo48994-1.ppt to pptCaolán McNamara
Change-Id: Ic8274e7d060f315d7891f8f5cf576f834ca89117
2015-04-14fix export of ooo120353-1.odp to pptx, mismatch of start and end elementCaolán McNamara
cut and paste error I guess from the block above it Change-Id: I121e1d1a9f08ea3731bb7f65c385f264b3c2d2f4
2015-04-14Add SdXImpressDocument::resetSelection() testcase.Miklos Vajna
Change-Id: I5bd6965bde1a5dcbe26abc197a67e09c06a2bb21
2015-04-14Add SdXImpressDocument::setGraphicSelection() testcase.Miklos Vajna
Change-Id: Ifdf3ef84cd886b338536629fb36ebba694916d6a
2015-04-14Related tdf#87862: some HIG tweaks to slide transition panelKatarina Behrens
Change-Id: Ifed4f53d1b831a0cf9f05fb148e6752d19f717f6
2015-04-14tdf#87862: Rearrange lower half of slide transition panelKatarina Behrens
Change-Id: I2e020061516602171cf1f0732f138afa91b97f47
2015-04-14implement SfxObjectShell subclasses' LOK interfaceSiqi Liu
Change-Id: Iee2fbf71375631a349992a90c67c1c4c34e6ba3b
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