summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2013-09-18[Sidebar]: Fix the vague behaviour of color fill toolbox in DrawPrashant Pandey
Currently, in 'Draw' when we make any object, say a rectangle and fill color inside it, then in the sidebar 'Fill and Controls', the color of the rectangle made is shown over the entire button. This is vague and the color is to be shown such that it is only filled inside the color- button appropriately. Change-Id: I31502a2931364d83569ff04f9ee8429bfe2225ad Reviewed-on: https://gerrit.libreoffice.org/5930 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-17fdo#64455 Handle unknown color in color lineLaurent Balland-Poirier
Change-Id: Ice4205056cc64ae50bd3c8136aeae6f648adbd0b
2013-09-16Correct use of && where only & makes senseTor Lillqvist
Shows up as a warning from Clang: use of logical '&&' with constant operand I wonder how many cases we have where && is used instead of & but with both operands non-constant, thus not causing any warning? Change-Id: I8fbbcf9c08f54f8803a08a4e8c54d7bd873af800
2013-09-16Resolves: fdo#69236 route size request to layout widget, not hard-coded valueCaolán McNamara
a) For the sidebar the sidebars automatically handle scrolling, but for the older panel the widgets has to do the scrolling so add scrolling parents to the .ui b) Fold the DialogListBox scrolling widget implementation into VclScrolledWindow and remove the duplication. Change-Id: Ife9ccd8c501e5dee7bf3102a92c8261d979cd834
2013-09-16fdo#39468 Translate German comments in itemwin.cxxLaurent BP
Change-Id: Iee5b21c728071769335b7315d93b13fd8239f922
2013-09-15Use the shorter GetScaledWidth() methodZolnai Tamás
Change-Id: Id3ad483d3830310b8d13c86e407ff88d9a709464
2013-09-15use rtl::math::round for rounding, std:round is C++11Tomaž Vajngerl
Change-Id: Ibba1a3e712de56844be454a87a0bb65c26ae4fe1
2013-09-15include cmathTomaž Vajngerl
Change-Id: I34fd87a7599884340adbf6e3ae7df321cfc85e23
2013-09-15cleanup ruler items (rulritem.hxx) - remove comments, identationTomaž Vajngerl
Change-Id: I450ebe3ceab0acf03221970b33c8da4cbb2c6a52
2013-09-15remove CalcOrtho "redeclaration"Tomaž Vajngerl
Change-Id: I3a0d74e0232fedc8a3beabebadca45fa8ad841fb
2013-09-15Use vector instead of scoped_array to hold ruler itemsTomaž Vajngerl
Change-Id: I51f8d1d22da5f869e9937813de9649fddae1ffda
2013-09-15Fix ruler margin dragging in vertical modeTomaž Vajngerl
Change-Id: I4727bbb304059859f3f5b4a96f834b41191c0bab
2013-09-15ruler: RTL fixes for indents in tables and columnsTomaž Vajngerl
Change-Id: I6c0a819e4a294fcf50c96a51bb9eea3ddef84c57
2013-09-15Ruler: disable snapping, tooltipsTomaž Vajngerl
It is now possible to disable snapping of the ruler at dragging with holding the ALT key and coarse snapping with ALT+SHIFT key. Tooltips are shown when hovering over indents and borders. Change-Id: Ib1e9639e1e2824f2a75b5abd35765bbbd02c87f7
2013-09-15SvxColumnItem: indents, useless comments, clean-upTomaž Vajngerl
Change-Id: Ib1eb99e9e43526422e7e90e72cdbdaaeed678955
2013-09-14fdo#68874: Highlighter icon doesn't change color if no text is selectedIvan Timofeev
the problem is that bChoiceFromPalette becomes false too early when StateChanged is called with nSID=SID_ATTR_CHAR_COLOR_BACKGROUND_EXT (we don't handle it in the switch) and the following call with nSID=SID_ATTR_CHAR_COLOR_BACKGROUND (which we actually want to handle) is no-op. Change-Id: I024f6a443535411648bda44576e838c3d863e7de
2013-09-14callcatcher: update unused code listCaolán McNamara
No TriStateBoxes are loaded from .res files anymore. Change-Id: Ie897dc9a46a4e09e7fb1160a5bd4a65c63ba7979
2013-09-12Convert connector tab page to widget UIOlivier Hallot
Also: * Rename dimensionline.ui to dimensionlinetabpage for naming consistency * Fix connector and measure dialogs for connectors and dimension lines Change-Id: I921890b33a5f9807a6e12341ef7f374312abfc8b Reviewed-on: https://gerrit.libreoffice.org/5920 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-12CID#705986 avoid tmpnamCaolán McNamara
Change-Id: I47fa843284a074ef77da8631f4e4de914f4d0cf7
2013-09-11rework search/replace dialog to be shorter but widerCaolán McNamara
Change-Id: I1c452a8ae475795f0b1953cb0c709af15eceb716
2013-09-11convert include/editeng/brushitem.hxx from String to OUStringNoel Grandin
and convert String* to OUString, no need to hold a pointer to a ref-counted value type. Change-Id: I79c62979ee8ec0d5e6d2efc50609ad5595571a7d
2013-09-11convert include/editeng/editobj.hxx from String to OUStringNoel Grandin
Change-Id: I076ae20fb21accf8ff7e7fad096534e97ba7dab4
2013-09-11convert include/editeng/outliner.hxx from String to OUStringNoel Grandin
Change-Id: I53a9f334845e163625ed245859bdeb030ae61baa
2013-09-10CID#1038282 Resource leak in sidebarCaolán McNamara
Change-Id: I959b0b975f32158bcc0377a1a92c6c9c1b9190b6
2013-09-10convert singletons to preferred rtl::Static patternCaolán McNamara
Change-Id: I44c4f742027124c517a37fd8b6a62fc69f62d55f
2013-09-10CID#1038283 Resource leakCaolán McNamara
Change-Id: I7f8433a76079dc76d888fd250b3033d772887e4d
2013-09-10svx: fix deadlock in accessibility::ChildrenManagerImplMichael Stahl
svx_unoapi svx.AccessibleShape on Windows: One thread in ChildrenManagerImpl::GetChild() calling eventually SdXShape::getPropertyValue() blocking on SolarMutex, other thread calling ChildrenManagerImpl::CreateListOfVisibleShapes(). Not obvious if it's possible to release the maMutex in GetChild() around calling ShapeTypeHandler::Instance().CreateAccessibleObject(), since other methods here call GetChild() with maMutex locked themselves; so just give up and use the SolarMutex in ChildrenManagerImpl too. Change-Id: I9bf4e5926c4d01308513b1b4e88f20f9fd4c5648
2013-09-09Resolves: #i122777# Corrected texture mapping for 3D CustomShapesArmin Le Grand
(cherry picked from commit d747eabca2eab1032fd16257c9a502eaaa98c5d4) Change-Id: I19139af9e9530214d581720963da6739afd1b987
2013-09-09Fix fdo#67746 SIDEBAR Feature request: RTL\LTR buttonsabdulmajeed ahmed
Change-Id: I1684f0a4e66a395928f5fabcef0610867adb6eea Reviewed-on: https://gerrit.libreoffice.org/5871 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09unify strip previews optimal size in one placeCaolán McNamara
Change-Id: I6ae1073d013c9d9bbca39c505955436cd4950d1b
2013-09-09Convert dimension lines tab page to widget UIOlivier Hallot
Change-Id: I1d5176609e2acd0d70991a541196e2b9857576f8 Reviewed-on: https://gerrit.libreoffice.org/5879 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09callcatcher: update unused codeCaolán McNamara
Change-Id: I76825425ff084d3fb1e331fb7ff13b097744c208 Reviewed-on: https://gerrit.libreoffice.org/5882 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-09Seems an explicit destructor is neededTor Lillqvist
Otherwise it is unresolved in an optimising Clang build when linking libsc. Change-Id: I5f4d3facfe79793607396b83722ebd65ad8bb2ba
2013-09-08fdo#39468 Comment translation GER-ENG in svx/source/gallery2/Matthias Freund
Translate some german comments and remove ascii art. :-) Change-Id: Ie0ba349b95e4f73aea7b6e20ed3fc86ded14c444 Reviewed-on: https://gerrit.libreoffice.org/5870 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org>
2013-09-06Resolves: #i122985# Various speedups for graphic object swappingArmin Le Grand
(cherry picked from commit f18ad6132d79540431bf04f090a7472e21a23e49) Conflicts: svtools/source/filter/jpeg/jpeg.cxx svx/inc/svx/svdundo.hxx svx/source/svdraw/svdograf.cxx vcl/source/gdi/pngread.cxx Change-Id: I733551fa9447eb8f45e9163a9c0189f013b03e82
2013-09-05Include <sfx2/sidebar/Tools.hxx> for A2STor Lillqvist
It is included in the precompiled svx header, so have to include it explicitly too for A2S to be visible in the non-pch case. Change-Id: Ic90272699979001645b42eebba9bb27dce2b7022
2013-09-05WaE: C4005: 'A2S' : macro redefinitionTor Lillqvist
Change-Id: Ieb670eb832f22e62bcfdbb8ffb8f96e8aad55cf2
2013-09-05update pchThomas Arnhold
Change-Id: I6d5e8d3fd69189935a3338fee19b60022f70a7eb
2013-09-05getFallbackStrings() with bIncludeFullBcp47 parameterEike Rathke
so the various places that check the full tag first do not have to get it just to delete it again. Change-Id: Ib4e3cf1b16988464db875f1b6ac5cf4a0ab60fe5
2013-09-05Resolves: #i123181# Corrected mirroring of shear angle...Armin Le Grand
in SdrObjCustomShape::TRSetBaseGeometry, this was wrong (cherry picked from commit 7462607928247310b6426325e374c2f9e6f33bd9) Conflicts: svx/source/svdraw/svdoashp.cxx Change-Id: I40c0b16075f5849b4514a7a282afa283793282ea
2013-09-05match original intent of String::Erase(String::Search))Caolán McNamara
the single argument String::Erase erased from the passed in index to the end of the string Search returns STRING_NOTFOUND on failure, which results in String::Erase erasing nothing and so leaving the original string untouched. Change-Id: I83939fce2a92c38fbfb62196b7248908117c1e69
2013-09-05svx: new InteropGrabBag UNO prop in Shape serviceAndres Gomez
Added the new InteropGrabBag property to the Shape service and modified the JUnit UNO unit tests for it. Added specific implementation in the svx module for the SvxShape class. This new property is intended by now for its usage on preserving OOX's Smart-Art but it could also be used for preserving other attributes for interoperability among document formats. Change-Id: Idc7a8e91592399ff05effd4da6eaa2935f8f4d42 Reviewed-on: https://gerrit.libreoffice.org/5769 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-09-05Make use replaceFirstThomas Arnhold
Change-Id: Ieedb318f36afc5d85fa90533578e847a1d9d6840
2013-09-05fix windows buildThomas Arnhold
Change-Id: Id09c09b402866b5fb00114c47da7d85d17866ca3
2013-09-05XubString to OUStringThomas Arnhold
And simplify: SdrMarkView::ImpTakeDescriptionStr SdrUndoObj::GetDescriptionStringForObject ImpTakeDescriptionStr checks for %1 occurence first, this seems to me like an optimization. So I left it in. Change-Id: I2d0ecfdf2b83a9a535bd893578837e549dd691c1
2013-09-05convert svx/* from XubString to OUStringNoel Grandin
Change-Id: Ifa063924d95bfe397bd512411a44247d4c016018
2013-09-05convert svx/source/accessibility/*.cxx from String to OUStringNoel Grandin
Change-Id: I98ddae6dafea9c52e4b96274c5f2881d929cf096
2013-09-05convert svx/source/customshapes/*.cxx from String to OUStringNoel Grandin
Change-Id: Ie66bbb6280d050d908e0522cc2cb7a1efe627a6a
2013-09-05convert svx/source/dialog/*.cxx from String to OUStringNoel Grandin
Change-Id: Icba1afdaf0d6ec16d2d09788ed3346160cb7564d
2013-09-05convert svx/source/engine3d/*.cxx from String to OUStringNoel Grandin
Change-Id: I0ef33d146a54c35ff9ad6ed8e1105de55d2fb78a