summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2015-08-14remove default value from SfxPoolItem::PutValueNoel Grandin
more useful to make it explicit. Specifically, otherwise my defaultvalue clang plugin would want to remove lots of places that contains #define constants which, while technically the same as the default value, convey semantic information which is quite useful. Change-Id: I918ad5b0e73ba279fa1b1489b62d900339ff71eb
2015-08-14make Link<> instances typedNoel Grandin
and remove some unused code Change-Id: I934824401b5c528b07ad76f753f78440c4492885 Reviewed-on: https://gerrit.libreoffice.org/17703 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-08-13make Link<> instances typedNoel Grandin
Change-Id: I0727c3ac6e6e5cf087d63ddfb633845ae578cdbb
2015-08-13make Link<> instances typedNoel Grandin
Change-Id: I0805c49b1ae7f324d5235e46b3c55e67239195c7
2015-08-13remove unused codeNoel Grandin
Change-Id: I5bd42970f485bd1456f8c81934ee23e09a37a6bf
2015-08-13make Link<> instances typedNoel Grandin
Change-Id: I7d20875cc498d54140cfe75b21373fdab9c369ce
2015-08-11loplugin: defaultparamsNoel Grandin
Change-Id: Ibff26c023655d36f0fa71ead399a6116c2988607
2015-08-11Related: tdf#78111 Try to guard against too wide panel layoutsMaxim Monastirsky
The sidebar has width limit, so a panel shouldn't attempt to resize more than that. Otherwise we'll get an endless loop. Change-Id: Ia36535637e3585595c673c7fc46a1a7b162b74ba
2015-08-10cppcheck: badBitmaskCheckCaolán McNamara
Change-Id: I0a6787379317e5077c5a4520e5144fe091a01538
2015-08-09tdf#89592 Initialize PropertyValue Sequences from initializer_listsFlorian Effenberger
Change-Id: I8d7b503bde5960094b1051d38400e52ce46bf986 Reviewed-on: https://gerrit.libreoffice.org/17503 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Björn Michaelsen <bjoern.michaelsen@canonical.com>
2015-08-09tdf#93310 No top margin for "Open Remote File"Maxim Monastirsky
Change-Id: Ic43e99654ff28fe9a44eaed104f1847e273a51c6
2015-08-07cppcheck:noExplicitConstructorNoel Grandin
Change-Id: I940714e303b905b756ba077eeda6c41746bd421f
2015-08-05support more command in chart sidebarMarkus Mohrhard
We now have a complete toolbar controller in chart2. Change-Id: I007d9b058e3d6800204ac035cc2aef5e93c1208b
2015-08-04include: inline some use-once typedefsNoel Grandin
Change-Id: I064e95c72e5f67178cf2875f457adac241cee529
2015-08-04shell,sfx2,sd: inline some use-once typedefsNoel Grandin
Change-Id: Ifde52b0d92163f99d399b4a9544a196defad1ba4
2015-07-31sfx2: replace boost::function with std::functionMichael Stahl
Change-Id: I72acc5f396553eb464338a395ef40f95ed57a07e
2015-07-31fix crash in writer, thanks to my new assert in typed_flags_setNoel Grandin
and clean up the duplication of constants between filter/ and comphelper/ in the process Change-Id: I0d1525b559c63a3d39deae51accff5dcdbb0aa82 Reviewed-on: https://gerrit.libreoffice.org/17446 Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk> Tested-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-07-30small fix to reduce UnknownPropertyException in chart2Markus Mohrhard
accidently introduced with f1531cdaaebe706d909dc6ddde439ccb5f4ad36d Change-Id: I292097c5f61ecb32a28a90e9f5be48fcfd6bcd7b
2015-07-28inline the "old" SbxErr constantsNoel Grandin
Change-Id: I1c54c792e0397d61c97d5067963b343f912275fc
2015-07-27Fix mismergeMaxim Monastirsky
Change-Id: I48971707410c05e0af1ffa80ed50e5f43615795b
2015-07-26handle more than one chart with chart sidebarMarkus Mohrhard
Change-Id: I4998904a9273f2c67114a246d7f234843602573c
2015-07-26remove unused propertyMarkus Mohrhard
Change-Id: Ia4b0c6985c9e52fed756edc08b959d3b60a122f0
2015-07-24in SfxFrameDescriptor, use normal boolNoel Grandin
instead of hard to understand bitmasking Change-Id: I5f694285af87223b8ccaa50031cbb3c09924e1a8
2015-07-24Don't show open remote entry in the recent doc menuMaxim Monastirsky
We use the same menu controller for both the Open toolbar button and the Recent Documents menu. While it's reasonable to put the open remote file command under the open button, it has nothing to do with recent documents, so it shouldn't appear there. Also don't add the "No Document" entry in case the open remote entry is visible. The whole point of the "No Document" entry is that we can't leave the menu empty, but if there is another visible entry, it's not needed. Change-Id: Ibefbdc6dc7d1d49f555d8ee23f67b47eba19b445 Signed-off-by: Szymon Kłos <eszkadev@gmail.com>
2015-07-24convert WindowAlign to scoped enumNoel Grandin
Change-Id: I028d108b3a83bd5541d873c4d03b87339cd3be52
2015-07-24convert WALLPAPER constants to scoped enumNoel Grandin
Change-Id: I3b4b4e8a94904e22823a263bd5446a2e1aa47661
2015-07-21tdf#36796 Status updates for custom shapes buttonsMaxim Monastirsky
We're dealing here with 2 bugs: 1. Single shape buttons (like rectangle, ellipse etc.) don't get the pressed state when active. The cause is that all commands of the same kind (Basic Shapes, Symbol Shapes etc.) are handled as one internally, allowing only one type of status updates. It used to transport the current active shape, but it was changed to a boolean value in the fix for i#41753, and since then used for the pressed state of the group buttons. 2. The pressed state of a group button shows always, even when a user activates a shape from a place other than the drop-down of that button. But in this case the image of the group button doesn't update with the current shape, thus confusing the user on what is currently active. The cause here is that we use (since i#41753) the XSubToolbarController interface to update the last selected function (instead of the old-style status based update), and ToolBarManager notifies a controller about a new selection only if it was made from a particular toolbar that the controller claimed to use in the getSubToolbarName method. Since 7352a7c17875e5adcc4226c45f4a03e11c44ff49 there is a similar regression for other group buttons in sd (like lines, 3D Objects and other), with the same cause. This is also fixed now. Change-Id: Ida074a001ff78bf5bd5bcb8151516daa6e27cbce
2015-07-20svtools: change these SvTreeListEntry functions to unique_ptrMichael Stahl
... parameters to make it clear that they take ownership. Change-Id: I572c5fa6268438a86d0a4fa1d2aef15382cb5607
2015-07-20convert to typed Link<> in sfx2Noel Grandin
Change-Id: Ifa42bd14d7329ff1043fa736513c468dda30485e Reviewed-on: https://gerrit.libreoffice.org/17195 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-20tdf#88206 replace cppu::WeakImplHelper* etc.Takeshi Abe
with the variadic variants, for comphelper. This also includes extra changes in other modules required accordingly. Change-Id: Id1537f46f1c90f760a0d8987a6dafa0e1da03b8f Reviewed-on: https://gerrit.libreoffice.org/16929 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-18Convert SdTbxControl to the generic controllerMaxim Monastirsky
And remove the now unused stuff from SfxToolBoxControl. Change-Id: I8805ba96a5dc41076d9cb8d887759a578a33526d
2015-07-18tdf#91495 don't change tree entry height when preview is disabledTomaž Vajngerl
Change-Id: Ic707f4407bb3aef5f2a7b9d13a0340c6d9afb3fe
2015-07-17tdf#92758: no more duplication of document in CMIS after checkinVasily Melenchuk
Document now is correctly reloaded after checkin, so no copy of closed on server private working copy remains. Change-Id: I1625bda2f960827d60018b0702447b93886043f3 Reviewed-on: https://gerrit.libreoffice.org/17118 Reviewed-by: Thorsten Behrens <Thorsten.Behrens@CIB.de> Tested-by: Thorsten Behrens <Thorsten.Behrens@CIB.de>
2015-07-17formatting of public/private/protected section qualifiersNoel Grandin
make it consistent across the codebase, no space between keyword and the colon Change-Id: Idca61ddfc74ad2460fb05fe417499324b05e5de5 Reviewed-on: https://gerrit.libreoffice.org/17148 Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2015-07-17use search from StyleManager in "Style & Formatting"Tomaž Vajngerl
Change-Id: I09fff1816b1d569cbfd50c7cafb19c9b169528bf
2015-07-17StyleManager: move style search to its own methodTomaž Vajngerl
And remove obsolete CreateStylePreviewRenderer method with style name as input parameter. Change-Id: I0fdf54fd40148b417250b5a6bf2453994eb83634
2015-07-17tdf#91495 add property to turn off stlye previewsTomaž Vajngerl
Newly added property Office::Common::StylesAndFormatting::Preview can now be used to turn off "Style And Formatting" style preview. Change-Id: I2e01de2a74e2d295557c87022a7b745ce23b4800
2015-07-16add more chart sidebar contextsMarkus Mohrhard
Change-Id: Icce69a0f5662ba06a3b57da089889aac5028de30
2015-07-16this is assigned back to a sal_Int8 anywayCaolán McNamara
Change-Id: I3b1a4b30da3c538e347758e01dbe2f1cecc4a0e7
2015-07-16loplugin:simplifyboolStephan Bergmann
Change-Id: If72974c49113c64b3ac6269779c5013c554ebdcc
2015-07-16fix windows buildNoel Grandin
warning C4245: '=' : conversion from 'int' to 'sal_uInt8', signed/unsigned mismatch Change-Id: I4856a096a647ef47cdb208211f588f98fab71290
2015-07-16removed warning: 'Unknown item detected'Szymon Kłos
Change-Id: I36b2faca9205aba870aa993214d0c062ae4f83d9
2015-07-16SaveAsRemote: corresponding dialog typeSzymon Kłos
Change-Id: I5face9064bafc3c99b9a7af7809bd40a105b11bd
2015-07-16Working toolbar entry: Save As > Remote fileSzymon Kłos
Change-Id: I5601c7847f30a7d5fb7ede5f90b2a6a89f4c8693
2015-07-16'Save As' popup menu in the Writer's toolbarSzymon Kłos
Change-Id: I1b1cb7fcd2ae0e0f50e4d8e3900bc416435e60bf
2015-07-16removed redundant includeSzymon Kłos
Change-Id: I7385b03f59a23345439561eed996db2afacbd972
2015-07-16added RemoteFilesDialog support in FileDialogHelper_ImplSzymon Kłos
Change-Id: Ic4854841deeebeccd31cd1b78680755cd97fdfbb
2015-07-16open only if RET_OKSzymon Kłos
Change-Id: Ib9a62d2540ed2d6fad6efedd1fba59bfa4eb635b
2015-07-16OK button handler & opening the files (very basic)Szymon Kłos
Change-Id: I14ea89b118fdd5d97cb162523b55ca61cee0c97a
2015-07-16filter select handlerSzymon Kłos
Change-Id: Iec362f7cf6540a5f312a9fdb4898c94433f68a9d