summaryrefslogtreecommitdiff
path: root/sd
AgeCommit message (Collapse)Author
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
2015-03-26add GtkLongPressGesture support and implement long-press in slideshowCaolán McNamara
so a long press shows the context menu to e.g. allow switching on/off draw-on-slide mode Change-Id: Icd6ea52d2172217794f4fc802246ccf13020e134
2015-03-26const_cast: convert some C-style casts and remove some redundant onesStephan Bergmann
Change-Id: Iad769ac61d17f6e348681a38ae11c832f75f6353
2015-03-26tdf#86606 remove direct formatting entries from context menuYousuf Philips
Change-Id: I57ec4cb36aa0e3a921653d337bcf5029fc5d3fc8 Reviewed-on: https://gerrit.libreoffice.org/14979 Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-03-26add GtkSwipeGesture support and implement swipe left/right to change slidesCaolán McNamara
keep it simple for now. deliver to the same target window that gets the MouseWheel events, maybe worth combining MouseWheel and Gestures into the same thing and use it in slideshows so swipe toward the left to advance to the next slide, to the right to return to the previous slide. swipes are followed by mouse up events, impress already has a similar hack to hide an mouse-up from the (incredibly complicated) interaction with the slideshow so simply use that Change-Id: Ib34f6fa0f15f3aa34eef887eb9d5642de9e5cdd1
2015-03-26convert BS_ constants to SvxBulletStyle enum classNoel Grandin
Change-Id: I8d68394c29b7602b21f8d972552aa7226778d3ff
2015-03-26convert NUM_ constants to enum clasNoel Grandin
Change-Id: Id41ea91aaf618c7f3f323698c09caa7c8df2290a
2015-03-25Typo: formated->formattedJulien Nabet
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
2015-03-25Revert "tdf#90174 FILESAVE: export of bullet color for pptx"Stephan Bergmann
This reverts commit 8707670cb39f5777cd54f8b180ec342416ef259f (plus follow-up 53e89ab25c0cd7df1b900a2e1048cfa402ea4353 "WaE: uninitialized nBulletColor") as it broke CppunitTest_sd_export_tests. Change-Id: Ib7433ba6e43b2f90767b0333dceb0f732d6659df
2015-03-25convert SPELLCMD_ constants to enum classNoel Grandin
Change-Id: I0f57a60a44ddac63a73e0bb35df59b3b25857d43
2015-03-25WaE: potentially uninitialized local variableCaolán McNamara
Change-Id: Icb4a7d71e23d202078ad27bee255b6f812a74707
2015-03-25convert EE_STAT constants to enum classNoel Grandin
Change-Id: I2967cdbfd0303844892150bbff7aa5ce1a57054f
2015-03-25convert EV_CNTRL constants to enum classNoel Grandin
Change-Id: I0ffc0e222c978ce7c734228f712e88422d3a615f
2015-03-25convert EE_CNTRL constants to enum classNoel Grandin
there were a couple of lines in SC and SW where the code was using a EV_CNTRL constant. I switched it to used the same-valued constant from EE_CNTRL Change-Id: I027183cc3b6e700bf365d48833e37eddc9b50f04
2015-03-24tdf#90174 FILESAVE: export of bullet color for pptxPriyankaGaikwad
Added pptx export support for bullet color. Change-Id: I69306c8b3ace359f8dc243b83f89cfb570b9b73b Reviewed-on: https://gerrit.libreoffice.org/14966 Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>
2015-03-24tdf#90090 reduce the size of the right page/slide paneYousuf Philips
Change-Id: If06f33cc2a8a85f7595c5dbf1c6549eff00cec19 Reviewed-on: https://gerrit.libreoffice.org/14983 Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-03-24convert SFX_PRINTER constants to enum classNoel Grandin
Change-Id: I5dca39f7668be2c03c904c33b6181ba769b70990
2015-03-24convert SfxPopupWindowType to enum classNoel Grandin
Change-Id: I03813103d648c5745beab740403c7912cdff2756
2015-03-24convert SVX_ZOOM_ENABLE constants to enum classNoel Grandin
Change-Id: Iead354b95b832edd72eb8e881855f228fd85be70
2015-03-24convert SvxZoomType to enum classNoel Grandin
Change-Id: I7308e848d3f9ac391dc656a145139dabbc792df3
2015-03-24convert sfxlink to enum classNoel Grandin
Change-Id: I4466af8d40e7860b20a26c5ccf2265ee40c5a9ab
2015-03-24convert SfxChildAlignment to enum classNoel Grandin
Change-Id: I9013bc6dace79421b0a9ad0401a4fb59365d4dcf
2015-03-23Fix mistaken 'u' inserted into xmlYousuf Philips
Change-Id: I1bdc2ec3cf9c94b0d48be99a4409b39dc6d77389 Reviewed-on: https://gerrit.libreoffice.org/14961 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-23sd: when tiled rendering, disable map mode earlyMiklos Vajna
This brings sd in sync with sw, that does the same for some time already. With this, we no longer do a complete repaint 6 times after every postMouseEvent(). Change-Id: I38754f4bdbb977abbdbb0f32e1460ab2f6290f87
2015-03-23OutputDevice::LogicInvalidate: take a RectangleMiklos Vajna
At the end this gets exported in the LOK API as a rectangle anyway, so better to convert the vcl::Regions into a Rectangle, and not the other way around. Change-Id: I81fede6e30af112d17bb74328801915d90474863
2015-03-23OutputDevice::LogicInvalidate: clean up sc/sd duplicationMiklos Vajna
Writer is not affected, as there the map mode is disabled and everything is in twips internally. Change-Id: I3b5289f82e89be5943a0b14a5167b33132cf78d0
2015-03-23sd tiled rendering: draw documents have no slides viewMiklos Vajna
With this, at least a simple .odg document is now loaded again without crashing. Change-Id: I47200ffec680aefc0ee7769f9311a550c0329dc7
2015-03-23loplugin:constantfunction: sdNoel Grandin
Change-Id: I4313ecd06a4a55685d55830aa5cc15321848652e
2015-03-23remove SFX_SLOTMAP macroNoel Grandin
an impediment to understanding Change-Id: Ic88f52a921a9f6f3e4244b73d4e1e8970c77677f
2015-03-23tdf#84909 rearranged the buttons in the standard, drawing and line toolbarsYousuf Philips
Change-Id: I3bc46ee3425cabfac342368ff302e16379227172 Reviewed-on: https://gerrit.libreoffice.org/14957 Tested-by: Yousuf Philips <philipz85@hotmail.com> Reviewed-by: Yousuf Philips <philipz85@hotmail.com>
2015-03-21coverity#1291170 unchecked dynamic_castCaolán McNamara
Change-Id: I6d141fcaff4877cfee6400f104d3c41fd967d6f3
2015-03-20tdf#83889:FILEOPEN:PPTX bullet point is followed by spurious symbolPriyankaGaikwad
If we have first numeric bullet and then insert any symbol bullet on same level then suffix of numeric bullet continues with symbol bullet as well. Solution : Reset suffix to none if it is symbol bullet. Change-Id: I06dddec55c6f3d8cc1545d30f7228ca08cb81396 Reviewed-on: https://gerrit.libreoffice.org/14890 Tested-by: Jenkins <ci@libreoffice.org> Tested-by: David Tardon <dtardon@redhat.com> Reviewed-by: David Tardon <dtardon@redhat.com>