summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2016-10-10tdf#89307: Removed SvRef::operator T*()Jacek Fraczek
Conditional statements are using SvRef::Is() method. Changed static_cast<T*>(svRef<T>) occurances to svRef.get(). Added operator == and != to SvRef. SbxObject::Execute is using SbxVariableRef internally. SbxObject::FindQualified is using SbxVariableRef internally. Change-Id: I45b553e35d8fca9bf71163e6eefc60802a066395 Reviewed-on: https://gerrit.libreoffice.org/29621 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
2016-10-10Show dialog when starting in safe modeSamuel Mehrbrodt
Change-Id: Ie4b5f5b7309735dfa844bbaba9cb2763a3de3dc1
2016-10-10Fix typoSamuel Mehrbrodt
Change-Id: I20bb74183e134c9bf597cd8b471fd6dc4104eb24
2016-10-09Improve checkbox label in header/footer tabYousuf Philips
Change-Id: I608c18433ee27d3628a65ca3d0d666e384fce950 Reviewed-on: https://gerrit.libreoffice.org/29615 Reviewed-by: Yousuf Philips <philipz85@hotmail.com> Tested-by: Yousuf Philips <philipz85@hotmail.com>
2016-10-09convert CELL constants to typed_flagsJochen Nitschke
clarify some comments Change-Id: Ib6d55deb52eabc4289c20fd45eacb30fef6b1165 Reviewed-on: https://gerrit.libreoffice.org/29087 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-0860x86 is the logical size not pixel sizeCaolán McNamara
Change-Id: I84ad47f33dd142296a0f57cf8002861807c3b282
2016-10-07de-src SvxStyleBox_Impl comboboxCaolán McNamara
Change-Id: I42963a03fcc2657f55fb7b807aa5312c654928cd
2016-10-07loplugin:staticmethods: svxStephan Bergmann
Change-Id: If03d9797fddd88662cf7d0ba2a70c2841983b37b
2016-10-07Base SvxLineWindow_Impl on ToolbarPopupMaxim Monastirsky
Change-Id: I93dbb180fc65bca77e0eb58f116d0a0a5266556a
2016-10-06rtl::math::approxEqual(value,0.0) never yields true for value!=0.0Eike Rathke
... so replace with a simple value == 0.0 also in other modules than sc. Change-Id: Ie7316505a1cf9c15100114b45d300facceb03b7e Reviewed-on: https://gerrit.libreoffice.org/29575 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-06We pass the controller anyway, so get the frame from itMaxim Monastirsky
Change-Id: Idd8fc19b24f4d55cd0f836761d5f155b9310c3ca
2016-10-06Fontwork controls should not allow tearoffMaxim Monastirsky
Change-Id: I243d29779247a8ebf622e989161d90a8b343704e
2016-10-06Just use a referenceMaxim Monastirsky
Change-Id: Ie070591ca92f8ab74c738bcf6a86b94329ab8b88
2016-10-06no ValueSetWithTextControls are loaded from src filesCaolán McNamara
Change-Id: If19daf643a9dfcebe57d5d4860f1f4282b39e5fa
2016-10-06Extrusion controls should not allow tearoffMaxim Monastirsky
Change-Id: Ie4e2b42d3f261ded4f2c8778e6a099103d7d3663
2016-10-06I can't see any evidence of any remaining magenta mask using image resourcesCaolán McNamara
Change-Id: I12865d743daa3e6479edb60584d5bd01f88e818d
2016-10-06ImageList just reads and discards the MaskColor, so drop itCaolán McNamara
Change-Id: I243e739fea28e3f38b91534182cc54c2aa660f0e
2016-10-06drop now unused sfx2/sidebar/ResourceDefinitions.hrcCaolán McNamara
Change-Id: I151a37a37435a44e7331d957bd9d36f84cdf8677
2016-10-06drop unused hids and hrcsCaolán McNamara
Change-Id: Id9a49391de6283ee15cb6e12564c3f57762ddffc
2016-10-06convert AreaTransparencyGradientPopup to .uiCaolán McNamara
and 1) merge with AreaTransparencyGradientControl 2) grab focus for keyboard a11y like similar popups 3) use degree symbol instead of "degrees" text and it now grows nicely to fit everything in correctly Change-Id: I326f3393165f7a098d739be70b644b29dd5238f0
2016-10-06drop empty ItemBitmap fieldCaolán McNamara
Change-Id: If59c1a2bda49229ff48f8ec28c23491e6d9c8c83
2016-10-05convert the last two lonely FixedInfos to FixedTextCaolán McNamara
Change-Id: Ia6ed5f71931a6141efb3d5e5eb329149d6850342
2016-10-05NoAppFocusClose is for menus that have submenusCaolán McNamara
and don't want the parent menu to be auto popped down when the submenu gains focus. or floating windows that explicitly don't want to go away when they lose focus, which all these popups aren't Change-Id: I53f1f3ac586ff295597c4b9046032d3d976d053e
2016-10-05loplugin:unnecessaryoverride in svxNoel Grandin
Change-Id: Ib5e84838888b5fb56eb18c5334ffa3fdd203b997
2016-10-05SvxFrameWindow_Impl: Try to fix size calculationMaxim Monastirsky
Change-Id: I7119f46a483615636cef57432a2c536af8ecd4c5
2016-10-05Base SvxFrameWindow_Impl on ToolbarPopupMaxim Monastirsky
Change-Id: I2061125068bd94b5cdc46aa18a7aa7e21726e22c
2016-10-05Base SvxFrameToolBoxControl on PopupWindowControllerMaxim Monastirsky
Change-Id: I7666c7c5c99b1705bc8ece2913c2cdf9fdecced3
2016-10-05remove various unused hrc defines and headersCaolán McNamara
Change-Id: If0b47fbe1f01d84697a0c25b82ca031c32fca66e
2016-10-05convert MapUnit to scoped enumNoel Grandin
I left a prefix on the names "Map" so that I would not have to re-arrange each name too much, since I can't start identifiers with digits like "100thMM" And remove RSC_EXTRAMAPUNIT, which doesn't seem to be doing anything anymore. Change-Id: I5187824aa87e30caf5357b51b5384b5ab919d224 Reviewed-on: https://gerrit.libreoffice.org/29096 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-05Remove _TYPED suffix from tools/link.hxx macrosStephan Bergmann
...which was introduced with 3ead3ad52f9bb2f9d1d6cf8dfc73a0a25e6778ed "Gradually typed Link" to distinguish the new, typed versions from the old, untyped ones, but is no longer necessary since 382eb1a23c390154619c385414bdbe6f6e461173 "remove untyped Link<>" removed the old versions. Change-Id: I494025df486a16a45861fcd8192dfe0275b1103c
2016-10-04can now remove both PopupContainer copiesCaolán McNamara
the recently unused svx one, and the forgotten not-built sfx2 one Change-Id: I1a4ede49dc74bb71f250ee3eee999d1a3dfbee57
2016-10-04These are just floating windows, no need for all the special intrastructureCaolán McNamara
get rid of the roundabout way that these popups are popup controllers (of a kind) for real popups for the moment keeping them as loaded from resources Change-Id: I083e8609ab133e3dc4a036daf8bfb44c08a6719f
2016-10-04remove PopupControl as an intermediate stepCaolán McNamara
Change-Id: I31438860511af6ae00bf7a94fb29326c3ed1a10c
2016-10-03set translatable attributes in .ui filesAndras Timar
Change-Id: Idcdf9fbbc6b980a376fc0b5d607cbb48aa1dc5f1 Reviewed-on: https://gerrit.libreoffice.org/29503 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Andras Timar <andras.timar@collabora.com>
2016-10-03Resolves: tdf#101711 problems with attempt to remove unused bg imagesCaolán McNamara
only do the save, unset (and possibly restore) of a bg image on the stylesheet if it has one owner, this continue to make the original scenario function without (so far anyway) the various reported problems Change-Id: I73382961973b1c53bf2ceff205615727dd378c77
2016-10-03Resolves: tdf#101470 don't restore last value when submenu appearsCaolán McNamara
Change-Id: Ia0cce8607334289b619b1f59dbdd67b000a06e01
2016-10-03add more dumpAsXml()Noel Grandin
and make it format the output nicely, so I don't have to use 'xmllint --format' before I can read it. Change-Id: I065ee93193f3c6c7bab87212ab96021fb0d7c5ed Reviewed-on: https://gerrit.libreoffice.org/29407 Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk> Tested-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-01support crop and rotating for drawinglayer object in UI testingMarkus Mohrhard
Change-Id: I57a9a43dc5289a9a987e4bf54a3c8d8d40824e67 Reviewed-on: https://gerrit.libreoffice.org/29421 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-10-01Fix typosAndrea Gelmini
Change-Id: I6aeda978911b25caa45d4e459e581fc743e93d2c Reviewed-on: https://gerrit.libreoffice.org/29442 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-01Fix typosAndrea Gelmini
Change-Id: I9701cc93a9f4315e71c133237fdd96ef6964c8ff Reviewed-on: https://gerrit.libreoffice.org/29438 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-10-01add resizing support to drawinglayer ui test objectsMarkus Mohrhard
Change-Id: Ic17b32c25677855388ff49f2f7daeb1a84557fde Reviewed-on: https://gerrit.libreoffice.org/29419 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Jenkins <ci@libreoffice.org>
2016-10-01add initial drawinglayer support to UI testing frameworkMarkus Mohrhard
Change-Id: Id0450cdf655accb6bd1a50871e83d5c8ecdaab5f Reviewed-on: https://gerrit.libreoffice.org/29417 Reviewed-by: Markus Mohrhard <markus.mohrhard@googlemail.com> Tested-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
2016-10-01coverity#1373442 Uninitialized scalar fieldCaolán McNamara
Change-Id: If827f7ed98be2cf123910ae8944a5f1da9cb7016
2016-09-30loplugin:constantparamNoel Grandin
Change-Id: Idbe8c8e6b3d44cacce296ec8c79b2b244281057c Reviewed-on: https://gerrit.libreoffice.org/29321 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noel.grandin@collabora.co.uk>
2016-09-29tdf#101827 - mend busy contour dialog.Michael Meeks
Previous impl. had an un-necessary timeout to update the screen constantly. Change-Id: I28ba50166530d516d299b9c873cf59577043bf82 Reviewed-on: https://gerrit.libreoffice.org/29392 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Meeks <michael.meeks@collabora.com>
2016-09-29LOK: conditionally include part number in invalidation payloadMiklos Vajna
Since desktop/ code queues, compresses and only emits callbacks on idle, it's possible that two invalidations are in the queue, and there was a setPart() call between them. In this case it's impossible to tell what part the invalidation was sent for. Fix this by conditionally including the part number in the invalidation payload. It's off by default, a new feature flag is added to request this behavior. gtktiledviewer enables this feature flag by default, though just to show the part number in the debug output. Android doesn't enable it. Change-Id: I73e6def848c0eb61d64e71026002c7a0e750aab4
2016-09-29merge SdrPageView::IsObjSelectable and SdrPageView::IsObjMarkableJochen Nitschke
These member functions have the same purpose and share same functionality in great parts. The checks are rewritten for better readability and merged into IsObjMarkable. This adds IsInserted and a same page check to the function. Tested selection of nested grouped objects. Tested selection of objects in front of objects on master pages. The fix for #i43302# doesn't seem nessasary (saw no way to create empty groups) but leaving it on for now. Change-Id: I35d84c66dfd832d626ba2700f22d4c437593cac7 Reviewed-on: https://gerrit.libreoffice.org/27786 Reviewed-by: Jochen Nitschke <j.nitschke+logerrit@ok.de> Tested-by: Jochen Nitschke <j.nitschke+logerrit@ok.de>
2016-09-28tdf#101549: Remove tooltip_markup from glade .ui filesMuhammet Kara
where there is also an identical tooltip_text. And convert the remaining tooltip_markup properties to tooltip_text. Change-Id: Id9995217468fb7046a2822dcef9a99072a7269ee Reviewed-on: https://gerrit.libreoffice.org/29367 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Tested-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com>
2016-09-27Resolves: tdf#101884 keyboard navigation in User defined border controlCaolán McNamara
Change-Id: I92ea37754f057c560d19b41f814a1d649ea74876
2016-09-26convert eNBOType constants to scoped enumNoel Grandin
and remove unused constants, which means we can remove the GraphicBulletsTypeMgr and MixBulletsTypeMgr classes Change-Id: I395691b48987543355379708e2c60d0de438d72c