summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2014-09-26coverity#1194914 Overflowed return valueCaolán McNamara
Change-Id: Ic7ec1238a85fd0395aeccc8a10e5f27c63deae95
2014-09-25Resolves: fdo#83010 remove svx::WrapFieldCaolán McNamara
in favour of a wrap property on NumericField Change-Id: I62c6bdb69a16f37ae6018a2fe41070fb18dbe4a0
2014-09-25coverity#1241199 Unchecked dynamic_castCaolán McNamara
Change-Id: I53ace3f34036f2c78201aea7fb4a4a2e7c750654
2014-09-25editeng: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I25e3599a37d720cbcf70ea13ab30234e54637d53
2014-09-25coverity#1241102 Uninitialized pointer fieldCaolán McNamara
Change-Id: I10580e92da47b97d8d496366833e79a89cbd9260
2014-09-25Revert "fdo#73151 Always open Styles&Formatting dialog in the sidebar"Stephan Bergmann
This reverts commit 473ed449a4b6f550dc1af47a07c6e0ef243a98b2, which made JunitTest_toolkit_unoapi fail, as AccessibleDropDownListBox.createTestEnvironment (qadevOOo/tests/java/mod/_toolkit/AccessibleDropDownListBox.java) was no longer able to find its AccessilbeRole.COMBO_BOX AccessibleDropDownListBox, which it apparently expected to find in a docked stylist (cf. DesktopTools.dockStylist in AccessibleDropDownListBox.initialize).
2014-09-25connectivity: std::auto_ptr -> std::unique_ptrStephan Bergmann
Change-Id: I796dc05d1846f140a56b5a6f14a69a239324ae5b
2014-09-24fdo#62081: Add split menus to items in the style dropdownSzymon Kłos
I added buttons to the Style dropdown. Each button opens a menu. So far I added "apply style" and "edit style" options. Change-Id: I3b5c153a0674d06541d403bb0f34ec73418bb778 Reviewed-on: https://gerrit.libreoffice.org/11581 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-24fdo#73151 Always open Styles&Formatting dialog in the sidebarSamuel Mehrbrodt
This removes the floating window for Styles&Formatting as discussed in fdo#73151. Change-Id: I352d27a4d30632dcfda8963c23629e62ab850524 Reviewed-on: https://gerrit.libreoffice.org/11253 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-24Replace some std::auto_ptr function parameters with std::unique_ptrStephan Bergmann
Change-Id: Ic66d325fd9559c6dde9556c26e5b2a7e60376c49
2014-09-23fdo#84256 Prepopulate findbar with last search termSamuel Mehrbrodt
Change-Id: I6a6fa994e3e90ade206ffea73b8047ac8b2af90e
2014-09-23loplugin: cstylecast, update PTR_CAST macro to use static_castNoel Grandin
I introduce a template method into the PTR_CAST machinery to maintain constness. There is now a FIXME in sd/../docshell.cxx because I needed to use a dynamic_cast there to work around the games it appears to be playing with OLE in-place activation. Signed-off-by: Stephan Bergmann <sbergman@redhat.com>, dropping the GCC-extension, unnecessary use of typeof from tools/rtti.hxx Change-Id: Iba5ace1aa27e02b34fcc91af1e658c43371afd03
2014-09-23fdo#82577: Handle WindowNoel Grandin
Put the VCL Window class in the vcl namespace. Avoids clash with the X11 Window typedef. Change-Id: Ib1beb7ab4ad75562a42aeb252732a073d25eff1a
2014-09-22remove unused fields pName and pMethodName in SfxSlot classNoel Grandin
Change-Id: Icca5a0dee296fae1abeb78ea8ffa2f9e934bb111
2014-09-21Remove dead codeSamuel Mehrbrodt
Change-Id: I0bbfdbdc7ef4674260771f15b9c2aa40c4bf5f36
2014-09-21Improve gallery look for small width (Sidebar)Samuel Mehrbrodt
* Remove the path column in details view * Only show the theme name next to the view switch buttons * Only show the horizontal scrollbar when necessary Change-Id: Ia3f5d854217e883275b1a7056489dba9fac6aabb
2014-09-21fdo#82502 Ctrl-F should select the text in the search bar, not close itSamuel Mehrbrodt
Change-Id: Ica9851e66e8d8f32b8e353c0b2e541c7ce7d45e3 Reviewed-on: https://gerrit.libreoffice.org/11110 Reviewed-by: Thomas Arnhold <thomas@arnhold.org> Tested-by: Thomas Arnhold <thomas@arnhold.org> Reviewed-by: Adolfo Jayme Barrientos <fitojb@ubuntu.com> Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-21Changed some options from picture/graphics to imagePhyzer
Change-Id: If86fae691d4926c896c6d1da1863cd8397a38718 Reviewed-on: https://gerrit.libreoffice.org/11429 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2014-09-19fdo#84061 Fix setting text style sheet listeners in SdrTextObjTobias Lippert
The code in SdrTextObj::ImpSetTextStyleSheetListeners is obviously not working correctly. The families of the stylesheets are appended to the name of the family for further usage. An encoded string looks like "STYLE_NAME|3 " The family is then extracted by copying the first (length-6) bytes, e.g., "STYLE_NAME" in this example. Then another copy starting a position 1 is created, e.g., "TYLE_NAME". This string is cast to an Int32. Since this is not possible, 0 is returned, and the originally stored family is lost. This patch corrects this behavior, and adds a unit test. Change-Id: I60c0add6e4b670acbbc264cc77672452f282f737 Reviewed-on: https://gerrit.libreoffice.org/10818 Reviewed-by: Matúš Kukan <matus.kukan@collabora.com> Tested-by: Matúš Kukan <matus.kukan@collabora.com>
2014-09-19fdo#83891 Show document names including " - " during autorecoveryMatthew J. Francis
Change-Id: I9c8076ec51858967ddde0dbbf109f30025975d57 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2014-09-19bogus warning C4701: potentially uninitialized local variableStephan Bergmann
Change-Id: Ide596b01efeba720ce313df86d3d4578728d968e
2014-09-18callcatcher: update unused codeCaolán McNamara
Change-Id: I3010bdd736c15a086f3ce61cacbb34159f0b2abf
2014-09-18Update the status only after colors loadMaxim Monastirsky
This is required to get the current color selection on the palette upon opening. Change-Id: I1660b9d17a76bf6c7ae4b6b860c7ee75c5fc857e
2014-09-18Adapt the code for the new automatic buttonMaxim Monastirsky
It's now used instead of the 0 item of the ValueSet, but part of the code wasn't adapted: * Set the correct text (Automatic/No Fill) depending on the command. * Hide the button for frame/line colors, since there is no such thing as "Automatic" color. * Remove the selection and the status update code of the 0 item. Change-Id: Ib7d3d97a16368f2a59373efd6b81a220151881d5
2014-09-18fdo#82577: Handle FontNoel Grandin
Put the VCL Font class in the vcl namespace. Avoids clash with the X11 Font typedef. Change-Id: I1a84f7cad8b31697b9860a3418f7dff794ff6537
2014-09-18Use svxcorelo-SvxColorValueSet insteadMaxim Monastirsky
Change-Id: Ib2ad71326d0ff45eae01a16d675c3d40e1ba1f2c
2014-09-17Typo: excatly->exactlyJulien Nabet
Change-Id: Ica1e1399bc4a9b9ca61d09cf26e8c47e2368f644
2014-09-17WaE: passing class rtl::OUString by value, rather pass by referenceTor Lillqvist
Change-Id: Ie42cc9cbf13467d6c1644dc35e361250bd3a9533
2014-09-17fdo#60712 - Inherits cell styles in inserting rows/columnsHideki Ikeda
Add the code to copy cell styles from the caret row/column to new rows/columns. The span is also copiedl. Change-Id: I39596a33141ed2159ea2d09e422892cbd68cd81a Reviewed-on: https://gerrit.libreoffice.org/10373 Reviewed-by: Kohei Yoshida <libreoffice@kohei.us> Tested-by: Kohei Yoshida <libreoffice@kohei.us>
2014-09-17Fix the Windows build.Jan Holesovsky
Change-Id: I38fd1856044863b46792e3a1d6f69e51e9fffe0f
2014-09-17Don't manually set the SvxColorWindow sizeTomaž Vajngerl
Change-Id: Idd5ba4480c5323fb15dbb4c850b46e3f0604737b
2014-09-17Adjust color window UI & align with FloatWindow changesTomaž Vajngerl
Change-Id: I6a402bf29af6edc153e661b28e53166c509823af
2014-09-17Add recent colorsKrisztian Pinter
Change-Id: Id6b2239149bf7d0b3c9242efb7a72091e32c3384
2014-09-17Make small UI tweaks to SvxColorWindow_ImplKrisztian Pinter
Change-Id: I604cbf8ca6f7ebb14c1c95e62f997c3150370119
2014-09-17Remove redundant class SvxLineColorToolBoxControlKrisztian Pinter
Change-Id: I882ee959baae429307218d3076a2a198ff960ddd
2014-09-17Make .soc loading lazyKrisztian Pinter
Change-Id: If7475d6c46faaa6f6f6cde494990e6573b3aadff
2014-09-17Change vector<Palette*> to ptr_vector<Palette>Krisztian Pinter
Change-Id: I1f2832235e8d2ea3517efdce809970ed5f1c6769
2014-09-17Make color picker apply color immediatelyKrisztian Pinter
Change-Id: I38695a43ced63bd5207b631a072231d81aa7e0f9
2014-09-17Change palette selection ComboBox to ListBoxKrisztian Pinter
Change-Id: Id844781c06e37d66f3eebac9d905c58a62682cb0
2014-09-17Change NamedColor to use OUStringKrisztian Pinter
Change-Id: Id84d761b33f12dfc50f980e61ab44565693f2e5a
2014-09-17Add loading .soc palettesKrisztian Pinter
Change-Id: Ie0d084a70d9b135658840bb7529f2099a702d280
2014-09-17Add SvxLineColorToolBoxControl functionality to SvxColorToolBoxControlKrisztian Pinter
This is the first step in merging SvxLineColorToolBoxControl into SvxColorToolBoxControl. Change-Id: I6a725fef5f9a08524d509b70de15c7a0202e7ed6
2014-09-17Convert SvxColorWindow_Impl to Widget LayoutKrisztian Pinter
Change-Id: I8c830de56892fd8eb1c14add25f65c25046d47fd
2014-09-17Move palette selection ComboBox to top of popup windowKrisztian Pinter
Change-Id: Iff958cc8d2ef301a43db406aa38dd446bb2242a5
2014-09-17Change SvxColorWindow_Impl to use ComboBox for palette selectionKrisztian Pinter
Change-Id: I0fb9b46298f45bbdf9ae9198c145b9ea5e403bbf
2014-09-17Add color picker to color paletteKrisztian Pinter
Change-Id: I651f485598ee57af815780e234031f101b63fa24
2014-09-17Fix variable and method namesKrisztian Pinter
Change-Id: I2f02dbeaa61e959d9420410100c6e958580a6567
2014-09-17Fix SvxColorWindow_Impl::StateChanged updatingKrisztian Pinter
Change-Id: Ifb884f8830280d44ea3c73caf319109593bbebf9
2014-09-17Add PaletteManager, refactor palette codeKrisztian Pinter
Change-Id: I7e30fc895834318514b51bc648d32aa6d297bfae
2014-09-17Add GIMP palette loading codeKrisztian Pinter
Change-Id: Ie0d0787342bc806a1848cb904114f0ca16c9df69