summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)AuthorFilesLines
2013-09-18valgrind: init. member variablesDavid Tardon1-0/+6
Change-Id: I7e0d99f549841d466d5dfb69cde74b424ae98b0b (cherry picked from commit 38797f7f4129e1e09be9308a36311cf2f1afef79) (cherry picked from commit 86128f3b24a830df87db4ed2f7176d84ede7230f) Reviewed-on: https://gerrit.libreoffice.org/5994 Reviewed-by: Eike Rathke <erack@redhat.com> Tested-by: Eike Rathke <erack@redhat.com>
2013-09-17fdo#64455 Handle unknown color in color lineIvan Timofeev1-1/+37
Change-Id: Ice4205056cc64ae50bd3c8136aeae6f648adbd0b Signed-off-by: Ivan Timofeev <timofeev.i.s@gmail.com>
2013-09-16fdo#68874: Highlighter icon doesn't change color if no text is selectedIvan Timofeev1-1/+1
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 (cherry picked from commit 1d0e18703523139e5fd6d11b6f3d72bb0b368036) Reviewed-on: https://gerrit.libreoffice.org/5942 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2013-08-22Related: fdo#68396 FrameSelectorImpl draws before being initializedCaolán McNamara1-0/+2
Change-Id: Iae13a7484643117a6f0f40c298c95f6b2a2a4467 (cherry picked from commit ecf12c8286fece4e6f86dccbb37bff6794f0867e) Reviewed-on: https://gerrit.libreoffice.org/5583 Tested-by: Fridrich Strba <fridrich@documentfoundation.org> Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-19don't unconditionally enable buttons on switching to accept/reject pageCaolán McNamara1-5/+15
we want to disable all of them when switch to the options page and *restore* the original enable/disable state when switching back i.e. don't enable them if they were disabled due to change tracking password protection regression since 8655095a4910ca795dfd182e6796d9375727a694 Change-Id: I2dd6c83fd9613adf42571684a08bff81b86c9ee1 (cherry picked from commit 30ba8fa46aafb0868ada3b0092cd33524c145989) Reviewed-on: https://gerrit.libreoffice.org/5502 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-08-17fdo#68186: prevent integer underflowIvan Timofeev1-1/+1
since commit eb1ecd8bc2936e28be852722d6cb0c9fb0baeac4 the Basic Latin subset starts at 0, previously it started at 0x20. Change-Id: I2fe0ee66438b8f11775b1bb8feab547b564622f0 (cherry picked from commit b12e0b522b7f13d15d2ce41dc1e99997c0159d53) Reviewed-on: https://gerrit.libreoffice.org/5469 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-08-13Resolves: fdo#67944 set dialogcontrol bit to tab into simpletableCaolán McNamara1-1/+1
(cherry picked from commit ae035a32737a77be75c9d017f7f5a90a05048e06) Conflicts: svtools/source/contnr/simptabl.cxx Change-Id: I1ea653d5546961096a9368b4d1d9a1dd39a80745 Reviewed-on: https://gerrit.libreoffice.org/5366 Reviewed-by: Miklos Vajna <vmiklos@suse.cz> Tested-by: Miklos Vajna <vmiklos@suse.cz>
2013-08-10metric strings loaded from wrong .srcCaolán McNamara2-7/+7
Change-Id: I5261a699a44bc7eb6ecca1842f2390a0778d7b09 (cherry picked from commit e3cf54875031b8740b3ed76d6f530c44d2d8c44e) Reviewed-on: https://gerrit.libreoffice.org/5335 Reviewed-by: Norbert Thiebaud <nthiebaud@gmail.com> Tested-by: Norbert Thiebaud <nthiebaud@gmail.com>
2013-08-08fdo#67871: Revert "coverity#705731 Resource leak"Ivan Timofeev1-0/+2
... and delete pContourPolyPolygon instead. Otherwise there is a null pointer dereference. This reverts commit e3258713793f03d6cf96c19ff4c5d15a0cd666f1. Change-Id: Id9d8c514c786b42233a35a9ade55d0c05986fb08 (cherry picked from commit 2a0dd33a384009dcc92238cec344c9b0e98cf25f) Reviewed-on: https://gerrit.libreoffice.org/5315 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
2013-08-04fdo#67235 adapt form control code to time nanosecond API changeLionel Elie Mamane2-22/+27
squash of steps 1, 2 and 3 in master Change-Id: If68ecf0691919d71d06d7b97d46db115013f9805 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
2013-07-31Resolves: fdo#67378 merge the label into the disclosure buttonCaolán McNamara1-0/+1
(cherry picked from commit 479bba2cdcda8dbd86861ea62c8c25bfef633148) (cherry picked from commit 06ac689a8d3887519d98a616f9a1727fcc7d0bf6) (cherry picked from commit 5718ffbf0e3e68e43f87541ce0368a15de8ec90e) Change-Id: I11c9a35e3d50a827127e4542a40f6f29580d4e8b 8b65b4986bf316e352131e737ebf736d91173d16 43df94c16a178c90da9c006565390a81c2fda29b Related: fdo#67378 rows missing HIG 6pixel spacing Change-Id: I6d4767c3159c1e9ebef19978a94ad994aab6ff4b (cherry picked from commit c2ce9bf0c2bfd2b38262de8571257c8f02b076b4) Reviewed-on: https://gerrit.libreoffice.org/5202 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30Related: fdo#67395 adjust height of font name tabpage, etc.Caolán McNamara1-4/+8
+ put the language label beside the language listbox which reduces height by a line + use standard spacing between frames in position tabpage + use standard spacing horizonally between elements (cherry picked from commit 1d33fc35f787061c9440ba44dfd53de405bd430a) Related: fdo#67395 drop 'Preview' frame title it's clear that it's a preview, move that string into its Accessible name for those that can't see the preview (cherry picked from commit 1193dc782f4479a81f3d283c99df2f5c7e022682) Related: fdo#67395 drop 'Font' frame title + promote the family, style, size to frame titles and drop the surrounding 'Font' one + bottom align the previews again + drop empty spacing labels in favour of 6pixel spacing (cherry picked from commit 63ced8e54f1786e5814f082c9fb87c89e5c850a9) Related: fdo#67395 add border to preview to cut up whitespace (cherry picked from commit 167416c3ed3ed52249559ff3548c0fc06d0d0eef) Change-Id: I1191db7aaf0922978bf6dd8da17ec4f133944b94 684f451542f5300cc206c9ade7f3b130b1c3c876 2c0b78163894c5283162c37bd71fa1bbc3c341c7 c66bf59294f7c9fb4059574765734749a40b043f Reviewed-on: https://gerrit.libreoffice.org/5200 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-07-30fdo#55955 select first column if possibleLionel Elie Mamane1-0/+6
Change-Id: I131cb0395c481d9cc1de210abc207221dab14bf4 Reviewed-on: https://gerrit.libreoffice.org/5178 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-07-26Resolves: fdo#67344 wrong relative menu positionCaolán McNamara1-1/+1
Change-Id: I4a0cc610cc3c6a9c4164a69d40a9b0230aa702a4 (cherry picked from commit b11d022aeba5f981a9a3e4d8322ca5797f16944a) Reviewed-on: https://gerrit.libreoffice.org/5123 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-07-15fdo#57631 fix collection of property statesDavid Tardon1-10/+2
Change-Id: I607518da26c9430916d922b8e36143cc6dd76f25 (cherry picked from commit d3d95afe5856ef06659d61c3572c7682e5a03766) Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/4910 Reviewed-by: Petr Mladek <pmladek@suse.cz> Tested-by: Petr Mladek <pmladek@suse.cz>
2013-06-28fix text position for custom shapes with zoom != 100% fdo#59862Noel Power1-1/+3
custom shapes that had text suffered from strange display at zoom levels != 100%, this was because there was a bug in the code to correct the textposition Change-Id: I8d1817cc6be91b3e6379200eb21eb2966d3c2aa9 (cherry picked from commit 443c13e92c6f900a41e6e383684623ead3e088f5) Reviewed-on: https://gerrit.libreoffice.org/4514 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-27fdo#47646 fix undo of ungroupingDavid Tardon1-4/+22
(cherry picked from commit 66480d15a04204b0f60008b9cd8e25a66ca6db6a) Change-Id: If20e645d8d708ebe17e2d9455c896c94592993bb Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/4573 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-06-25fdo#58029: replace quadratic child window loop with linearMichael Stahl2-22/+34
... which should speed things up without introducing problems. (Window::GetChild(n) is inefficient because the children are a linked list) Change-Id: I343d51a6866c5014cbca4c256b0c15f938958c39 (cherry picked from commit 38dcfadda85058a0ee87292c8943aec82e34b81e) Reviewed-on: https://gerrit.libreoffice.org/4488 Tested-by: Thorsten Behrens <tbehrens@suse.com> Reviewed-by: Thorsten Behrens <tbehrens@suse.com>
2013-06-25fdo#60444: Revert "fdo#58029 - substantially accelerate re-rendering..."Michael Stahl1-4/+17
This reverts commit 6c98ad71478cb72b51634b32d6e553ccaec30190. This breaks selection of transparent form controls (fdo#60444), because the Update method is not called on the children. Change-Id: Id0b6a34a15aa1ed7bd5aa0d7b5626e60bee57e30 (cherry picked from commit f022f39638fbe970f1b839c757dcccd3baa69445) Reviewed-on: https://gerrit.libreoffice.org/4487 Reviewed-by: Thorsten Behrens <tbehrens@suse.com> Tested-by: Thorsten Behrens <tbehrens@suse.com>
2013-06-24FmGridControl: handle non-existing propertiesMichael Stahl1-1/+8
Fix crash with unhandled exception requesting "Description". Change-Id: I6b6cb61273fb042532ab63620729f4129239fe81 (cherry picked from commit 32e2c6456fb3bf3bf75f9b11c90193c537b4ef26) Reviewed-on: https://gerrit.libreoffice.org/4397 Reviewed-by: David Tardon <dtardon@redhat.com> Tested-by: David Tardon <dtardon@redhat.com>
2013-06-24Don't display the "broken OLE link" icon except on WindowsTor Lillqvist1-2/+2
Change-Id: Iede3d98ab5e5f9cd1896465e2a8c61605601999f (cherry picked from commit fbb7c74a2c5cd37d4ff27deb154656655f047bbc) Reviewed-on: https://gerrit.libreoffice.org/4472 Reviewed-by: Michael Stahl <mstahl@redhat.com> Tested-by: Michael Stahl <mstahl@redhat.com>
2013-06-23l10n of additional gradients in standard paletteAndras Timar1-0/+121
Change-Id: I66a1d963e8b8616d372af28963edea4acbcc7858 Reviewed-on: https://gerrit.libreoffice.org/4445 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-06-22fdo#42134 FORMATTING: Autofit does not work properly on long textsNeil Voss (fourier)1-0/+6
Change-Id: I18e314913122ffbc15659ced9d1b746d10ccc17c (cherry picked from commit bddf3bba1fa13b57a69f2bd5f7c7f96bb945066d) Signed-off-by: Thorsten Behrens <tbehrens@suse.com>
2013-06-19fdo#65870 fix changing shape height via dialogDavid Tardon1-0/+1
(cherry picked from commit 8c1d1b66904cdd95e8eec746a81cf1c57ad0e85a) Change-Id: I7c61be2c3d368dfd3ea66427c77636f797a7e88a Signed-off-by: David Tardon <dtardon@redhat.com> Reviewed-on: https://gerrit.libreoffice.org/4362 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-06-19Resolves: #i121917# Corrected access to text objectArmin Le Grand1-26/+31
(cherry picked from commit 2c9c9923fdf042c41cebaf9a15def7caac86032d) Conflicts: sw/source/core/draw/dcontact.cxx Change-Id: Ia214127ca540c4f4036a0006e7c227649fb39134 (cherry picked from commit 6c5c5584eb1adb64fee3aaf76196115ba3812e2c)
2013-06-16l10n of additional colors in standard paletteAndras Timar2-0/+40
Change-Id: I9200ce7f0e18491f2a1b8b60a43883df6dcb6cf2
2013-06-13fdo#62224 set spacing to content tooDavid Tardon1-0/+42
Change-Id: Idafcd96ff8b01139dfc22cf3d0d2f5e98759488e (cherry picked from commit 14c139e3705c537556f493657f9cb01818d1f80d) Signed-off-by: David Tardon <dtardon@redhat.com>
2013-06-12Related: #i122453# Initialize and update units of PosSize panel spin fieldsAndre Fischer1-0/+9
(cherry picked from commit 5d8bbe5fe43f94d1c29dda7f1e6e06668a304f78) Change-Id: Ibfcca05efddbcee9983ac4d6bc75703234ea6d67 (cherry picked from commit 4ea968a7b051e4e0f6febeb9996ed7689b08672f)
2013-06-10Resolves: #i122493# Corrected Enable/Disable for some DropDowns/Texts...Armin Le Grand2-0/+14
in Line/AreaPropertyPanel (cherry picked from commit 2890568e3ac8e140d12f05d8ac74f3be50ffa45d) Change-Id: I6436b165a873e6f79af29690170231af939fcccc (cherry picked from commit d1a0b4f01b9c3a54dfcbee65e13d6dd4d1a78dfe)
2013-06-10Resolves: fdo#65546 set Panel Layouts as DialogControl widgetsCaolán McNamara1-0/+1
Change-Id: Iaf0e1dccf1af3bcec1057e42934d2931ccebfd32 (cherry picked from commit a4c07d983ab5562c914dad0d06cb24c61a7f3b41)
2013-06-10update graphicrepository links for new icon-theme locationsCaolán McNamara1-2/+2
Change-Id: I8de2dbfa6eb98a9b879af362b850c487ab28fa7f (cherry picked from commit 09b054fc4c2a8d9ee2a6ed28194b828d8ff7dd0f)
2013-06-06Resolves: #i122455# Change tab order of paragraph panel. CleanupAndre Fischer2-380/+375
(cherry picked from commit 2a7381f63b45e6a341db2ece259cd0d6f6b6b02d) Conflicts: svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Change-Id: Ibcb11980989b9821929e5261765a3973bbbefd9a (cherry picked from commit 3106ed122c927c2a732cc92b2ee5f5066d27d5f8)
2013-06-05sidebar: Don't overlap widgets in the .ui based panels.Jan Holesovsky1-0/+4
Change-Id: I32c978188a38d54f2b05d40b5d47b9d5520f3cca (cherry picked from commit b441420e072a1f09098f89ed646e423c60e1895b)
2013-06-05sidebar: Convert TextPropertyPanel to .ui + adapt code.Jan Holesovsky8-564/+588
Change-Id: I1e446ca520b10f0fba4f79d2e840d10835850f66 (cherry picked from commit 415b70061036e67e00786836856f7eeda8cea938)
2013-06-05sidebar: Allow creation of toolboxes using Widget layout / .ui.Jan Holesovsky1-2/+2
Change-Id: Idc07614005a00401a51007b1a0aef00e17507daa (cherry picked from commit 6fe1ff54c667a4f669feee6954dd9b859fd442b2)
2013-06-05sidebar: Introduce PanelLayout class.Jan Holesovsky2-0/+36
This allows sidebars to be defined using Widget layout / .ui files. Change-Id: I7d5daf2579d6359ba48d4df4be344bb75ce16273 (cherry picked from commit 4f14ed6d346a488976262e69fdbc2fd21881b659)
2013-06-05adjust para_numbullet icons for high-contrast themesCaolán McNamara4-9/+1
Change-Id: I7bd91a345a2891b80b0997bccf3b7f42ff31c3da (cherry picked from commit 34c1b7bdd0bca4753f66a7d17ef46647a64a319e)
2013-06-05Resolves: #i122446# Use different icons in Paragraph panel for...Andre Fischer4-31/+28
increasing or decreasing inter-paragraph spacing (cherry picked from commit 2dc77c47146c622ffbe37996c319000e55c2f697) Change-Id: I1f44c6a8a12853120016128975016572245c8981 (cherry picked from commit 701afd6b82dc4b9caec4db42a2d06b8d04fc433a)
2013-06-04vcl: add a console-only mode to avoid problems on Mac for gengal.Michael Meeks1-1/+4
Change-Id: Ie5332330e6f398c3cd7e58df9b12fac121f5426f
2013-06-04fix "ambiguous call" errorTomaž Vajngerl1-1/+1
Change-Id: Ib6c95e87d8b8e6dd8bfd1e5a7579067383586e67
2013-06-04fdo#60120 Modify DialControl to store 100th degree angle.Tomaž Vajngerl1-5/+10
DialControl internally stores the angle to a 100th of a degree percision, but when SetRotation is called, the value was always rounded to a 1 degree percision. This has now been modified to round only on DialControl mouse interaction. Additionally add add a parameter to SetLinkedField which states the number of decimal places the NumericField is set to. This change makes possible to set the NumericField to 100th of a Degree as the internal angle is represented in. Default value is 0, so no change is needed to existing DialControls. Change-Id: I1f0c20092cdfccbd0878d7eb620bfdad7825b0fb
2013-06-03#121437# Added patch from Regina which implements QuadraticBezier segemnts ↵Armin Le Grand1-12/+25
to CustomShapes Patch by: Regina Review by: ALG (cherry picked from commit 4faa46872cad4ed779b07803b7f616b32d800284) (cherry picked from commit a3b384ee41f352b5b99ea1265018f2d14405df65)
2013-06-03copy values from the original item setDavid Tardon1-1/+2
... because SfxAbstractDialog::GetOutputItemSet() only contains the items that have been _changed_ in the dialog. Change-Id: Iaf20bb42b65e420fe4e7aff979378eff7b5e5df2 (cherry picked from commit 9cd71f996e3625e8174c46bf85e336c1ee90df7f) Signed-off-by: David Tardon <dtardon@redhat.com>
2013-06-03fdo#62224 reconstruct border state for table dialogDavid Tardon1-1/+218
Change-Id: I68a4cd1974579119a2d6dccba008441a9bec78df (cherry picked from commit 67e87f8b88a5a6a741717cc4a8e64f65f9c9cd52) Signed-off-by: David Tardon <dtardon@redhat.com>
2013-05-31make SvxColorValueSet not squish all colours into avail spaceCaolán McNamara1-0/+9
instead hook SvxColorValueSet::Resize() to layoutToGivenHeight and let it add a scrollbar if the height would squish them Change-Id: Ia94b01b247f734f3640b15f7161d28530e65d538 (cherry picked from commit b425c2964b0f35fe12383b47c41816d612b6981b)
2013-05-31autosize the frame direction listboxCaolán McNamara1-1/+3
Change-Id: I440ca0255a6079c28b2314b12511c6c41d6a05f5 (cherry picked from commit c799a1e5522971405fa45d3df7ebf259229df63e)
2013-05-31Resolves: #i122410# extended Undo/Redo for text to broadcastArmin Le Grand1-0/+10
(cherry picked from commit d2c3483aa1c4fcce2678f9602d4204c908b4f874) Conflicts: svx/source/svdraw/svdundo.cxx Change-Id: If4e96f6c192d381324e12a3acea87f624ef194ea (cherry picked from commit 1de66ba440855050a794b3b2a8647c1b02c210b8)
2013-05-30Resolves: #i122380# Use quick help text as accessible name...Andre Fischer1-0/+7
for some paragraph panel controls (cherry picked from commit 3f1d43bd6d7a2c5841ad3b0fbcd417393df74329) Conflicts: svx/source/sidebar/paragraph/ParaPropertyPanel.cxx Change-Id: Ic1fdbf1bfa5c04e844c03e6909fef41b76e6c6c5 (cherry picked from commit d7609ad71524207b847f07e7df9bea1c24fb3b70)
2013-05-30Resolves: #i122096# apply default bullet numbering rule on toggle on...Oliver-Rainer Wittmann1-39/+52
if the current numbering rule is not a bullet numbering rule. - improve application default bullet numbering rule by add corresponding spacing to the first list level - refactoring of code introduced for paragraph property panel to handle toggle and set of bullets and numbering (cherry picked from commit 8c142809c7e16853d5634487cc9ed4e53caa3f91) Conflicts: editeng/inc/editeng/outliner.hxx editeng/source/outliner/outlin2.cxx editeng/source/outliner/outliner.cxx editeng/source/outliner/outlvw.cxx sd/source/ui/func/fuolbull.cxx Change-Id: If2807b2b81f8ade1e5b3282aa636cc2c0d8ea76a (cherry picked from commit 0ff751efaa49a5b3d22d324a43527bfd21e5a17c)
2013-05-29typo: Ssymbols -> SymbolsAndras Timar1-1/+1
Change-Id: Ifc518e65ccdce4e853fc419b87547b00d0e437a4