summaryrefslogtreecommitdiff
path: root/svx/source
AgeCommit message (Collapse)Author
2015-03-31Reduce to static_cast any reinterpret_cast from void pointersStephan Bergmann
Change-Id: I571893a8340ee0f4a0de393395b5eef7a4795451
2015-03-30sc tiled editing: Hide the cell selection when we select graphic.Jan Holesovsky
Change-Id: I50f68cc292e971af8bb59782e0495d6142007d67
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-30svx tiled rendering: double-click in empty table cell selects itMiklos Vajna
This brings Impress tables in sync with Writer, where long push on Android selects the empty cell. Change-Id: If8403ec43daeea6ca79b488a54253cb8b71794d9
2015-03-30SdrTableObj tiled rendering: implement selection callbacksMiklos Vajna
This makes selections of Impress tables visible. Double-click in an empty cell doesn't select the cell yet, neither extending cell text selections into table ones work, but it's a start. Change-Id: Idb8921d980ac9d7ab363c68c91c1a9e6cf0918e3
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-30SdrMarkView tiled rendering: fix unexpected empty graphic selection eventsMiklos Vajna
There are a number of mark views, but we're only interested in the one that belongs to the editing window. Ignore the virtual device of the slide sorter and everything else. With this, a shape remains selected after resized, and can be resized multiple times again properly. Change-Id: I7f31c72567b9d01aaa75871ff5d1efdb3151a0e4
2015-03-30svx tiled rendering: grow hittest size when map mode is in mm100Miklos Vajna
Change-Id: I908b7a5687e49f8cc9ec7e6ca333fe7cab84fcfd
2015-03-30SdrMarkView::SetMarkHandles: perform the mm100 -> twip conversion on a copyMiklos Vajna
Otherwise the position of the mark handles will depend on if we do tiled rendering or not, which is not wanted. Change-Id: Id415aa75977bb0224866ad0defc3c256357c366f
2015-03-30SdrObject::dumpAsXml: show bounding rectangleMiklos Vajna
Change-Id: I15e7d9645ce97a1014e0e74c116aebeb2e3a9ab7
2015-03-30svx tiled rendering: fix Impress graphic selectionMiklos Vajna
With this, shapes on Impress slides can be selected and the graphic selection appears correctly around the expected shape. Change-Id: Ie819918a34952e8182553b26ff892fe9b5ae0258
2015-03-28sdr::table::SvxTableController::onMouseMove: remove dead codeMiklos Vajna
Change-Id: I7df271e5542359cbc1570244ba1381b0e18607b2
2015-03-28Clean up C-style casts from pointers to voidStephan Bergmann
Change-Id: I5f4029fc583952ae6392dbf2d478155982ccecef
2015-03-27ambiguous symbolCaolán McNamara
Change-Id: I90798a036ba630456939d383e7e4288eb630cd86
2015-03-27fix macro and enum name collision using CamelCaseNoel Grandin
so that the enum names remain consistent Change-Id: I656069b484038d3bf17ecbb4f3e26395ca5a1b6d
2015-03-27convert CUTFLAG_ constants to enum classNoel Grandin
Change-Id: I98dc5488954a4d46f7e0158790a4c3dabebfc1b3
2015-03-27convert AVMEDIA_ constants to enum classNoel Grandin
Change-Id: Ic4918f57a1575a24cf0b9251cc7e7c6180ee25fd
2015-03-27convert BUTTON_ constants to enum classNoel Grandin
Change-Id: I0fd391a6b2850e5d7dcbf2cb95cfa39ee5561bd9
2015-03-27Experimental: draw handles instead of getting them from bitmapTomaž Vajngerl
Currently object handles are defined in the bitmap which is a pain when using in HiDPI as they have to be scaled and don't look pretty. They are also hard to change and non theme-able (change of color needs a change the bitmap). This commit experimentaly enables the drawn handles (enable with environment variable SVX_DRAW_HANDLES) which currently exchanges the default some basic handles. Change-Id: If80aa7fe756a6d8d6991e9515f2951ee21b31b72
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-26Cleanup comments for easyhacksPopa Adrian Marius
Change-Id: Ic6bd4d277bc464bf96573ba95c0cf5c0cc96ab73 Reviewed-on: https://gerrit.libreoffice.org/15019 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-26survive 'enable jre' dialog interrupting CreateAccessibilityObjectsCaolán McNamara
Change-Id: I4395160780fc055d14554ad62c6ec757ec8dbbe1
2015-03-26convert SvxNumRuleType to enum classNoel Grandin
Change-Id: I4707b2f0325d2e39c11bb99ef687100eb55639e1
2015-03-26convert NUM_ constants to enum clasNoel Grandin
Change-Id: Id41ea91aaf618c7f3f323698c09caa7c8df2290a
2015-03-25Typo: formated->formattedJulien Nabet
Change-Id: Iefd4d375a0dfb36732233852f906c6b85dccc2a5
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-25convert VALID_ constants to enum classNoel Grandin
Change-Id: Id63d0e0dcf550b4d4f9cf3a2800aeb40f9f9bbce
2015-03-24Properly map from empty aBoundRange to empty rRectStephan Bergmann
Change-Id: Ic8cf3a71d168f4679347ac493c08fef1daf4ce84
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-23fdo#39440 cppcheck cleanlinessMichael Dunphy
Reduce scope of local variables. Change-Id: I5f06dc0d9d16e92a7a0afb599eb3a93d9d5cc878 Reviewed-on: https://gerrit.libreoffice.org/14943 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2015-03-23SdrMarkView tiled rendering: suppress handles during text editMiklos Vajna
Without this, graphic selection was still around during text editing, so long push on an editeng word (in a Writer shape) triggered the shape movement action, not a word selection in editeng. Change-Id: I2ec2f1f9a417bacd08d8b357b4203d48ebaf15c7
2015-03-23svx: if the handle bitmap is empty - create a replacement bitmapTomaž Vajngerl
When the bitmap with handles is not found (usually happens when using LO as a library (for example on Android)), the returned bitmap was empty. This caused that the hit test for the handle always returned false. This commit replaces the empty bitmap with a black 13x13 bitmap which should respond to hit test. This should not influence normal behaviour when the bitmap with handles is present. Change-Id: I39330b1867abfb540c215f03b77e5eac2447f0dc
2015-03-23remove SFX_SLOTMAP macroNoel Grandin
an impediment to understanding Change-Id: Ic88f52a921a9f6f3e4244b73d4e1e8970c77677f
2015-03-22svx: nMarkAnz -> nMarkCountMiklos Vajna
Change-Id: I7b1357621470694cd7ee23735e88dce91c2c0a57
2015-03-22LinePropertyPanel - scoped_ptr -> unique_ptrTomaž Vajngerl
Change-Id: I52708b6ca13f76391355b1c0eefc1dcf22dcc273
2015-03-22cleanup sidebar: LinePropertyPanelTomaž Vajngerl
Change-Id: Ic8de5d12ee83713b04e947fbabfe1a1184f868ca
2015-03-22Typo: coment->commentJulien Nabet
Change-Id: Ica4a473291ddfe80f50f2cda4c8b6ac7fd7c290b
2015-03-21svx: nObAnz -> nObjCountMiklos Vajna
Change-Id: I964d02b94f63ee5c3aea7375b0d833ea7ba99105 Reviewed-on: https://gerrit.libreoffice.org/14939 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Jenkins <ci@libreoffice.org>
2015-03-20Typo: (O/o)veride(n)->(O/o)verride(n)Julien Nabet
Change-Id: Ied81ede9aaf045866596adc40d357cbbddb3d704
2015-03-19Percentages should also be translatable…Adolfo Jayme Barrientos
as they are not written the same way in all languages. Change-Id: Ibc3a5963bf8bd737516a003618befd1de5f3f5ca Reviewed-on: https://gerrit.libreoffice.org/14767 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2015-03-19loplugin:constantfunction: svxNoel Grandin
Change-Id: Ib8c3599d245fbc371d00f28d812138b26c3f706d
2015-03-19loplugin:constantfunction: sfx2Noel Grandin
Change-Id: I7b4c18b1f9644048f506fc1b1d1fb8c8c590ea7f
2015-03-19loplugin:constantfunction: unotoolsNoel Grandin
Change-Id: Icf543973dc9edde270016c8af7e4c08c57eff650