summaryrefslogtreecommitdiff
path: root/svx/source/sidebar
AgeCommit message (Collapse)Author
2014-01-04hidpi: Sidebar, fontwork, autoformat and other improvements.Keith Curtis
This is a second batch of HiDPI changes. It fixes the following areas: Sidebar * Impress Master pages preview * deck title height * tab (icon) bar * valueset dropdown control * wider maximum width * Draw and other misc. buttons which didn't get fixed by earlier change to Toolbar.SetItemImage There are several more sidebar issues, but it is much improved. Other changes * Writer and Calc auto-format dialog text * file-properties document image * fontwork gallery preview size * Calc table border control Change-Id: I95a0169a3b011836b1c75b3dcacb2733c9567ef3
2013-12-31svx: Use constructor feature for sidebar::PanelFactory.Matúš Kukan
Change-Id: Iafc01d943c9862a8e8775b79b81c885ab9565dbc
2013-12-27cppcheck: remove dupsJulien Nabet
Change-Id: I59622a66358a688caac36b7da220588dc2da440a
2013-12-24Fix typoMaxim Monastirsky
Change-Id: Ie2e3cfa3c35f5ccb59420afb13f5142ecdcb659e Reviewed-on: https://gerrit.libreoffice.org/7033 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-24fdo#71748 Fix also for hicontrast and sifr themesMaxim Monastirsky
A follow-up of commit e239f372c6abcd8371d0a666c828bf1c31195dd4. Didn't notice there is fill_color.png also in these themes. Also fixed the ugly yellow color flash of paragraph color picker while initializing the sidebar (introduced by the above commit). This color picker shows the actual color of a paragraph, so there is no reason to set some default color there. Change-Id: I17eed733d1e35ec71c482e3df906523733383e96 Reviewed-on: https://gerrit.libreoffice.org/7035 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-20Revert "svx: split into direct implementation getFactories"Matúš Kukan
Also reverts "These services are in fact implemented in svxcore library." This reverts commit 090674dcb085cd41f4628e4f07c9a2268a18e862 and commit 4a969ac35174520f1ffeb4f919f5d7bb6d99a628. This is embarrassing; needs more work.
2013-12-20svx: split into direct implementation getFactoriesMatúš Kukan
Change-Id: I888f10a923dc2b97247b2a66cc6bd116eee280a7
2013-12-02fdo#71748 Fix color pickersMaxim Monastirsky
This commit includes the following changes: 1) Remove boxes from PNG files, and draw them ourselves. This will ensure that the color rec will always fit the box. Also it will make all color pickers look the same, and greatly simplify the code. (a part of the code was not reachable anyway.) 2) Fix color preview for toolbar large icons. (a regression of commit f59c47fc1e79050d3342924e6173b0f4b6ddaf02.) 3) Fix sidebar paragraph color picker initial drawing. reset should be called *after* the icon assignment. Change-Id: I13ae02bc3dd68dd14877ccc949784072c58bf211 Reviewed-on: https://gerrit.libreoffice.org/6882 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-12-02Drop duplicate #includeTakeshi Abe
Change-Id: Ife8ebbb5e46704c5d2ff46cc345b4ed926e7dc12
2013-11-27Integrate branch of IAccessible2Steve Yin
Change-Id: I8327fb4ba2a86d4caa52b875221175b80464842a
2013-11-20convert equalsAsciiL calls to startsWith callsNoel Grandin
Convert code like: aStr.equalsAsciiL( RTL_CONSTASCII_STRINGPARAM( "ActiveConnection" ) ) to aStr.startsWith( "ActiveConnection" ) which compiles down to the same machine code. Change-Id: Id4b0c5e0f9afe716a468d3afc70374699848dc33
2013-11-19remove most use of RTL_CONSTASCII_USTRINGPARAM macroNoel Grandin
This is largely unnecessary when working with OUString Change-Id: I3cf4d68357a43665d01162ef4a2d5346a45da9be
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: I7eab6d628cd2bd7a68a79ff69ba835f37fc67711
2013-11-14-Werror,-Wunused-member-functionStephan Bergmann
Change-Id: Icc6ca35623a53449d812e3f09004b926f379c889
2013-11-13expand out the A2S macroNoel Grandin
Which is not doing anything useful anymore. Change-Id: I83422e811d52a77b65655924c07b55dd7229449c
2013-11-09TypoJulien Nabet
Change-Id: Ifb3b9c7a33b7faccbf7dad1886d953d845de3196
2013-11-08remove unnecessary use of OUString constructor in SVX moduleNoel Grandin
Change-Id: I1506daaa4a3b736ee6bbb00100fca24df8368298
2013-11-04Convert code that calls OUString::getStr()[] to use the [] operatorNoel Grandin
This also means that this code now gets bounds checked in debug builds. Change-Id: Id777f85eaee6a737bbcb84625e6e110abe0e0f27
2013-10-28fixincludeguards.sh: svxThomas Arnhold
Change-Id: I885bbc431322ee233f8e67ec2bb5701af909046c
2013-10-28remove some stray using rtl::OUStringThomas Arnhold
Change-Id: I47d84f1b0c758bd390d8a5c1895dbb3548999bb6
2013-10-28remove local css namespace definitionsThomas Arnhold
As we have it globally in sal/types.h those are not necessary. Change-Id: I18bba2c763c4680c4fa7fde4c5158953b5cfad82
2013-10-23convert code to use OUString::endsWithNoel Grandin
Convert places that call aStr[aStr.getLength()-1] == 'x' to use the shorter form aStr.endsWith("x") Change-Id: I1b3a19c0e89b8989cdbeed440f95fc76f9a4b6b6
2013-10-22vcl: mark more Image constructors as "explicit"Michael Stahl
Change-Id: If59d7c75c89a102a573738d15d8593cb8ac5c486
2013-10-21remove uses of COMPARE_*Caolán McNamara
Change-Id: Icdc36b4b24d2f399f481065df3200feb98025135
2013-10-17CID#1028073: possible memory leakMarkus Mohrhard
Change-Id: Ifbc7d7b04b20fbf46204866a82aa10319c5dddf2
2013-10-07fix string conversionIvan Timofeev
Change-Id: I1fbb5d4c8a279d572fe1ff0d9f06c3eeb7d9a0de
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I629a17a03b9c5fcd6630a2dbab992f89956f12e7
2013-10-02-Werror,-Wunused-const-variableStephan Bergmann
Change-Id: I48b1a515ada0fe10e58bacddb0118d520274611c
2013-10-01convert remnants of String in SVX to StringNoel Grandin
Change-Id: I66fd6387c3fcd33c6ae0b431810abf6679345767
2013-09-30Sidebar: Show default line-color in 'Draw'Prashant Pandey
Currently, the default color shown in Sidebar>Line>Color is yellow and is not updated until and unless one hovers a mouse on top of it. This is wrong and the default color of the line-color should be updated and shown by default. Change-Id: I213cba84a0fc726220acfe547955a96d6bb4446b Reviewed-on: https://gerrit.libreoffice.org/5932 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-09-30merge queue_layout and queue_resizeCaolán McNamara
so that any window derived class, and not just dialogs, can trigger layouting of their children. Merge together the handful of hacked-up impls of this. Do that then for the sidebar PanelLayout so that when the label of the custom animation frame changes that the frame allocates enough space for the new label to display fully Change-Id: I9a95f6c3f60cd6cea47656e66cb9ffcc154a3a5a
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-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-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-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-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-05convert svx/* from XubString to OUStringNoel Grandin
Change-Id: Ifa063924d95bfe397bd512411a44247d4c016018
2013-09-05convert svx/source/sidebar/*.cxx from String to OUStringNoel Grandin
Change-Id: I57bd0ade23a17cd2c8edfd2549ae131d80ab7592
2013-09-05convert svx/.../sidebar/*.hxx from String to OUStringNoel Grandin
Change-Id: Id50f78d33608d76bf5142597d9cf2434ab03702d
2013-09-05convert svx/.../TextCharacterSpacingControl.hxx from String to OUStringNoel Grandin
Change-Id: I3430848f9c978c65066b9f326aeec3ee60694488
2013-09-05convert include/svx/XPropertyEntry.hxx from String to OUStringNoel Grandin
Change-Id: Ie112b2e8af32eba60f67f767dd6a098980d907b4
2013-09-05convert include/svx/nbdtmg.hxx from String to OUStringNoel Grandin
Change-Id: I278acc5df9c934d42b9747df00704a5a9b3ef56e
2013-09-05convert include/svx/sidebar/ColorControl.hxx from String to OUStringNoel Grandin
Change-Id: I15787484a74e82fdc8f6c16287317fecf4e80557
2013-09-02callcatcher: updated unused codeCaolán McNamara
Change-Id: I78a287b3e4767fde1d0df7f54362f4587a21ed27
2013-09-01callcatcher: update unused codeCaolán McNamara
Change-Id: I3f304f97b91b26b445174255a63e15c6668ad438
2013-08-28XubString->OUStringCaolán McNamara
Change-Id: I7b76026012af2b57861ec8d3dfd285d9e871d74c