summaryrefslogtreecommitdiff
path: root/svx
AgeCommit message (Collapse)Author
2013-06-04fix "ambiguous call" errorTomaž Vajngerl
Change-Id: Ib6c95e87d8b8e6dd8bfd1e5a7579067383586e67
2013-06-04fdo#60120 Modify DialControl to store 100th degree angle.Tomaž Vajngerl
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 Grand
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 Tardon
... 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 Tardon
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 McNamara
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 McNamara
Change-Id: I440ca0255a6079c28b2314b12511c6c41d6a05f5 (cherry picked from commit c799a1e5522971405fa45d3df7ebf259229df63e)
2013-05-31Resolves: #i122410# extended Undo/Redo for text to broadcastArmin Le Grand
(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 Fischer
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 Wittmann
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 Timar
Change-Id: Ifc518e65ccdce4e853fc419b87547b00d0e437a4
2013-05-28Resolves: #i122387# Use the right tool box for font color in text sidebarAndre Fischer
(cherry picked from commit 08159967126946849906827ceadd802053d132c0) Conflicts: sfx2/inc/sfx2/sidebar/EnumContext.hxx Change-Id: If40d3dee7c11e4ea6b01d40d713280e1dc19484d Unname unused argument to prevent compiler warnings. (cherry picked from commit f68dfc2cc8754d9cf72ae1b09f119e683ad44124) Change-Id: I6450c6e46d5971abc871ed378d2ad6307e8f7a3e (cherry picked from commit 21747cae6ad12ec6566e6dd9a06f3c268c72404d)
2013-05-28Resolves: #i122332# Don't change sidebar context when switching...Andre Fischer
to other application window (cherry picked from commit 604502e2a4b53f35aedbf0205598a9b691c0d532) Conflicts: sd/source/ui/view/drviewsa.cxx sfx2/inc/sfx2/shell.hxx sfx2/source/control/shell.cxx svx/inc/svx/sidebar/SelectionAnalyzer.hxx svx/inc/svx/sidebar/SelectionChangeHandler.hxx Change-Id: Id3c427e02714ef0d6686a78094e2f7f3b390a693 (cherry picked from commit 0143805a565418d2a114c16b7eeba3b784176d9e)
2013-05-28Fix editing text in draw object undo regressionCaolán McNamara
Regression since 6e29f56895cd38aa7dee85112370a7cfc0d24632 and 28d2a0c162b477a013c7c51c19a94fb08b55b276 pText1 can legally be NULL Change-Id: I0d54f4aeaa18834c32daeabad43776bc4f68088b (cherry picked from commit 90df8be13d8f72e0d431161a864f108e74549aff)
2013-05-27reintroduce removed line, fdo#62402Markus Mohrhard
This line was removed with dd3e879cfdacbc8b9fff7556ae2d8698a22e9235 but is needed. Special thanks to Joren for bibisecting and bisecting. Change-Id: Id2b3de4098db75571006e6e62b77efe8c491b06f (cherry picked from commit 17f21e6bcc5283c5485cc42344610e8125547c0f)
2013-05-27fix typos reported by localizersAndras Timar
Change-Id: I0b9a36f0c6f081ff35f0b8bc6e420d881036576c
2013-05-25translatable="yes" for some elements in .ui filesAndras Timar
Conflicts: starmath/uiconfig/smath/ui/alignmentdialog.ui starmath/uiconfig/smath/ui/spacingdialog.ui Change-Id: I915cd6e73f907850f17b102c7860a827b91eef37
2013-05-25i did not intend to commit thisDavid Tardon
Change-Id: I126cb90919155ae2dae30a6ed98ca207f6e81d9f
2013-05-24Robustify and fix leak in NBOTypeMgrBase::ImplLoad().Mark Wielaard
The >>operator of SvStream doesn't initialize a variable if the stream is faulty. So initialize the variables before usage. Also delete the SvStream even if it was faulty. Change-Id: I5a7f31016e060c3b9fb4f0fd1889f444877cb89d Reviewed-on: https://gerrit.libreoffice.org/4031 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com> (cherry picked from commit 38de05c720693a9025ea77a7ccc5f2b56dda68cb)
2013-05-24fdo#63035 Add "Match Case" to Find bar.Andrzej J.R. Hunt
Change-Id: I1339767de7980426d32960bf5ee60e2f5c011be4 Signed-off-by: Michael Meeks <michael.meeks@suse.com>
2013-05-24fdo#64279 do not crash opening report for editingDavid Tardon
There are two problems: 1) The classes derived from SdrObject cache their SvxShape, but do not implement impl_setUnoShape(). 2) There is a lifetime issue in association of a SdrObject and its SvxShape. SvxDrawPage::CreateSdrObject not only creates a new SdrObject for a shape, but also inserts it into the page. At this point, the shape has not been attached to the object yet. That means that the object creates another shape at one point during the InsertObject call, which is then destroyed again. But reportdesign shapes own their objects, which means that destuction of the shape causes destruction of the object too... My first idea was to disable the insertion in SvxDrawPage::CreateSdrObject, but it has been there since the dawn of time, so I did not gather the courage to do that. Instead, I put in a hack to allow to skip the insertion. Change-Id: I888a54067be1934578434d8b476a13a7ff8d02b3 (cherry picked from commit 02d03eb4ad6e64744659c5fe04282b25b66c28d8) Signed-off-by: David Tardon <dtardon@redhat.com>
2013-05-22Resolves: #i121960# Improve creation of toolbox/toolbar controllersAndre Fischer
(cherry picked from commit 3608a33d8362cbc44a2eb7203b7d1bffe481c7ab) Conflicts: sfx2/inc/sfx2/sidebar/ControlFactory.hxx sfx2/inc/sfx2/sidebar/ControllerFactory.hxx sfx2/inc/sfx2/sidebar/SidebarToolBox.hxx sfx2/inc/sfx2/sidebar/Tools.hxx sfx2/source/sidebar/ToolBoxBackground.cxx Change-Id: I833a33bbc58ebe46bd28c6d97a4d76329f1f0186 (cherry picked from commit edaca7c6e1d1ade6bf6cdae753028ee62297f0b1)
2013-05-22WaE: unused variablesTor Lillqvist
Change-Id: Ib46ec040c4adc5bdab3c5219157ae60582604c63 (cherry picked from commit 2b4b867304a666b8d412fd6ff0f88519a3db753b)
2013-05-22Fix warning: statement aligned as second statement in if body ... [loplugin]Tor Lillqvist
Change-Id: Ic3ef17414cbae5fea5a62d61d33e64727603d058 (cherry picked from commit 61493e499f44821405c10c4347038bde16a9072c)
2013-05-21fdo#46808, Use service constructorsNoel Grandin
Change-Id: Ib428bb78751e9707c89dcf311b8ab86ad8184775
2013-05-21remove unnecessary macrosNoel Grandin
Change-Id: Ie73092fa6fc4fa7a95900ef4ba772af0c27d0f39
2013-05-21Remove unnecessary namespacingNoel Grandin
Change-Id: I0ea52709f9a77d928a6704797ebd5be4c375e964
2013-05-20Resolves: i122145 Multiselection with mix of DrawObjects and OLE...Armin Le Grand
will allow LineStyle and FillStyle panel, single selection of OLE offers these, too, but in default closed state (cherry picked from commit 8a2531d3d98ad3afb2b233be2d5dd7b67febeba6) Change-Id: Iba8f99afb4324d33be0469e3b0835f08fe142b0a (cherry picked from commit 3c33a28233dfbb0db44553f13511107976f18363)
2013-05-20WaE: macro is not usedTor Lillqvist
Change-Id: I1f88819c85f0c0539bfa3b48ffc215e279c007d0
2013-05-20Fix warnings: unused variables [loplugin]Tor Lillqvist
Change-Id: Id5c62c21f65165085616390d24605efe35ca9924
2013-05-20WaE: unused parameter 'pBindings'Tor Lillqvist
Change-Id: I4569c83fad5974d95f667e6ddd40648e4951e10f
2013-05-20WaE: private field 'mpBindings' is not usedTor Lillqvist
Change-Id: I58cb45ac54b54f9c0f65640dfad05185b2c01b16
2013-05-20WaE: unused function 'GetItemId_Impl_line'Tor Lillqvist
Change-Id: Icc8ff462995491d153532eeb0218c2cac480511e
2013-05-20WaE: unused function 'GetAutomaticColor'Tor Lillqvist
Change-Id: I247d8e0fbfa8c050806a08d2e387d9bc761de534
2013-05-20WaE: private field 'bInput' is not usedTor Lillqvist
Change-Id: I0a220120e312b901549f7243c0d1bf750a1227a1
2013-05-20No 'mnPreferredColumnCount' any moreTor Lillqvist
Change-Id: I0dfebc75b94b1be723ecc5e58d3a0227415b3121
2013-05-20drawinglayer: Fix typo Primitrive -> Primitive.Jan Holesovsky
Change-Id: Iec1f5192fb052e884c4878ffb017dfd2f5f99350
2013-05-20WaE: private field 'mnPreferredColumnCount' is not usedTor Lillqvist
Change-Id: Ife3d5b26b1f8f1c41d681aa3543ddc3813779a6b
2013-05-20move some new includes files to new include locationsCaolán McNamara
Change-Id: I34b18fb2e0f1eae01eff5b8e849dd5f5744335f6
2013-05-20Resolves: #i122302# Use tool bar controls for color controls...Andre Fischer
in text property panel (cherry picked from commit 3b252796e1126b5ec1216082f55b8d12017eaeb1) Conflicts: sfx2/Package_inc.mk sfx2/inc/sfx2/sidebar/ControlFactory.hxx sfx2/inc/sfx2/sidebar/ControllerFactory.hxx sfx2/inc/sfx2/sidebar/EnumContext.hxx sfx2/source/sidebar/SidebarToolBox.cxx svx/source/sidebar/insert/InsertPropertyPanel.cxx svx/source/sidebar/insert/InsertPropertyPanel.hxx svx/source/sidebar/text/TextPropertyPanel.cxx Change-Id: Ifa1947c9e9bfdc3635dbb5b0c7a79f8ead613a90
2013-05-20getProcessServiceFactory->getProcessComponentContextCaolán McNamara
Change-Id: I2c4c44cb5758ef8fa2d83e0488fba65a390c466f
2013-05-20Related: #i122218# Replaced local tool box controller...Andre Fischer
with existing GenericToolboxController (cleanup) (cherry picked from commit 784ed0d2e9cc2de7e3de8420d4708ee5c4631a5c) Conflicts: svx/source/sidebar/insert/SimpleToolBoxController.cxx svx/source/sidebar/insert/SimpleToolBoxController.hxx Change-Id: I9c409c2979982ccd5d7a76c10db6c3f7dd59c307
2013-05-20correct context switch handling in paragraph property panel...Oliver-Rainer Wittmann
and position and size property panel (cherry picked from commit de52e4d0e544f6a6c2ab51631870d682885c30cd) Change-Id: I9330bcb21103da65b00251786340076c8b1a4346
2013-05-20Resolves: #i122270# paragraph property panel, line spacing controlOliver-Rainer Wittmann
do not directly select item via cursor travelling; removing obsolete code (cherry picked from commit 6ca31d904b343c76899dfa2bfef3e7d20db23364) Conflicts: svx/source/sidebar/paragraph/ParaLineSpacingControl.cxx Change-Id: I8b8ff06008dc0fdfc617f83a4a9c0f9569a8bd36
2013-05-20Resolves: #i121981# Don't change sidebar context while in Impress tableAndre Fischer
(cherry picked from commit a97c4ca2c235a4654243cbbdf970800454b5aa56) Change-Id: I66ece2edb436b6e9f6bff110149d6c0c2aa37c7d
2013-05-20Related: #i122047# Remove last traces of unused toolbox controllerAndre Fischer
(cherry picked from commit ba6704b01ebc30b06485ef7f914b873201a08e85) Change-Id: I6107fd3f840e07f546e8ae7aa8e6eb60f8b4d566
2013-05-20valgrind: Conditional jump or move depends on uninitialised valueCaolán McNamara
Change-Id: I9bfa7274befb34b67ac3c322eda805e78b3d0b8d
2013-05-20Related: #i122082# Disable controls of text property sidebar...Andre Fischer
panel for disabled document parts (cherry picked from commit ffcc8c326640dfbc6b765cd25875adf9e0ab66ad) Conflicts: sfx2/inc/sfx2/sidebar/ControllerItem.hxx svx/source/sidebar/text/TextPropertyPanel.cxx Change-Id: I9f38c71c6415f3d255b5607a67a110bca47358b0 Related: #i122082# Remove temporary change (cherry picked from commit f213ea43fac43326a643f30ff13abd9d77f6aed7) Change-Id: I157542fd5dbbda17b63900be9a41782ee581309c
2013-05-20Resolves: #i122230# Fixed focus traveling in the sidebarAndre Fischer
(cherry picked from commit bab3ddce4b3d5330835494f54b68406335821b76) Conflicts: sfx2/source/sidebar/FocusManager.cxx Change-Id: I8853a92da3c4fe41a0110c630cc6af556ffc2ce4
2013-05-20Resolves: #i122049# Changed text of 'empty' panelAndre Fischer
(cherry picked from commit 1f317e0580d267b3cc6b6b410bc3d14a4e70e1fe) Change-Id: I348ea9c84db10268d964e788ed5622123a9fa405