summaryrefslogtreecommitdiff
path: root/sfx2
AgeCommit message (Collapse)Author
2013-06-03fix broken service name "com.sun.star.rendering.VCLCanvas"Noel Grandin
The service is actually called "com.sun.star.rendering.Canvas.VCL" It looks like the code in SidebarPanel is a copy'n'paste from PresenterHelper, and it looks like the PresenterHelper code has been broken since 2008. Change-Id: I78a0fa3bf9333d6473a743cffdb1dc41a7a1266d
2013-06-03fdo#46808, Convert XMultiServiceFactory to XComponentContextNoel Grandin
Change-Id: Ice5ec3a056f7f2f5184523bda1c709ccac876736
2013-06-03fdo#46808, Convert SfxFrameLoader service to new styleNoel Grandin
Change-Id: I6cdef298d69fef388e79b241abbe3a9a03d61492
2013-06-03fdo#46808, Convert frame::AppDispatchProvider to new styleNoel Grandin
The service already existed, it just needed an IDL file. Change-Id: I9553c8e7c4922f2106bc13034e0cc35669b28b7e
2013-06-02fix Werror tinderbox problemMarkus Mohrhard
2013-06-02sidebar: Restrict the minimal width of the sidebar.Jan Holesovsky
Change-Id: I99051830c4393b420125332e787c3abdc5a6aa61
2013-06-02sidebar: Allow creation of SidebarToolBoxes via .ui.Jan Holesovsky
Change-Id: If8789fd423a609a18514e5a798df5b5992dac34f
2013-06-02sidebar: Introduce PanelLayout class.Jan Holesovsky
This allows sidebars to be defined using Widget layout / .ui files. Change-Id: I7d5daf2579d6359ba48d4df4be344bb75ce16273
2013-06-01switch to size_t in sfx2::LinkManagerMarkus Mohrhard
Change-Id: I7558ead872ab0e6894689f78fcfbbd1d8fb69877
2013-05-31Resolves: #i120030# optimize thumbnail creation/paintingJürgen Schmidt
(cherry picked from commit 255beb8f56a074ce85eaf1db3cdf168f9c09466e) Conflicts: sfx2/inc/sfx2/objsh.hxx sw/source/core/layout/paintfrm.cxx Change-Id: I23157f7a6983ba81b1c8ddcc409a4989915be2ed
2013-05-31Resolves: #i122271# FOCUSABLE flag at accessibility object sidebar title barsAndre Fischer
so that bridges create focus events and title bars become visible to AT devices. (cherry picked from commit 6055c2b50b36a0fc1b26c18b030827e3e08a51fc) Conflicts: sfx2/source/sidebar/TitleBar.cxx Change-Id: If863c2c9d5ba19ba627639b294a430869f245abd
2013-05-30show experimental tab-layout only if in experimental modeCaolán McNamara
Change-Id: I10cb366abfeedf50b4c3be21968997a260e020ea
2013-05-30Clean zoom redundances in Math and fix fdo#55929Rodolfo Ribeiro Gomes
Zoom can be handled by sfx2 in many ways: - 50%, 75%, 100%, 150%, 200% - Optimal view (fit in window) - Entire page - Page width The math module was doing the first two by itself. Remove it. Strange enough, state methods for zoom interface definitions on sfx2's appslots.sdi were needed. I thought 'Container' property in sfx.sdi should do the job. It seems to do nothing, though. (The zoom should be disabled only if the object is an OLE/Container). The Help-Ids from pop-up menu in Math/Formula were kept, because they doesn't exist in sfx2. Change-Id: Ie1ae413780551b34aa36b338f9a9df79a198319c Reviewed-on: https://gerrit.libreoffice.org/4076 Reviewed-by: Luboš Luňák <l.lunak@suse.cz> Tested-by: Luboš Luňák <l.lunak@suse.cz>
2013-05-29Resolves: #i122405# Sidebar panels no longer dispose...Andre Fischer
XUIElement's inner objects (cherry picked from commit 3464c3499e708370359a9c0864bd4edc76d3a4c0) Change-Id: I860e09fe2436bb8a08458e4f49fb88f05d34dbd8
2013-05-29Resolves: #i122394# Force creation of new sidebar panels on DATACHANGED eventsAndre Fischer
(cherry picked from commit c726a12e1833af2f06858e5a797bcbd03bf9e996) Conflicts: sfx2/source/sidebar/SidebarController.cxx Change-Id: Ie28ff4371e42fd57534eeca75dab1a4bfda2ead6
2013-05-29fdo#60724 change spelling error REMOVEABLE -> REMOVABLE IIThomas Arnhold
Change-Id: I0057b9174af6a83f3fde0e27c3a91a4aeca95873 Signed-off-by: Stephan Bergmann <sbergman@redhat.com>
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
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
2013-05-28fdo#46808, Convert ui:*AcceleratorConfiguration to new styleNoel Grandin
The services already existed, they just needed IDL files. API CHANGE: The return type of XUIConfigurationManager#getShortcutManager() is now XAcceleratorConfiguration instead of XInterface. This should not be a problem because XUIConfigurationManager is unpublished and the client code was relying on the service returning that type. Change-Id: I399fe35de3394b02a4166b75eb7ff93b28be8bef
2013-05-24WaE: implicit conversion of NULL constant to nullptr_tTor Lillqvist
Change-Id: I2eefbca1ef986219f04504cba4ca09a22972e8cb
2013-05-23Resolves: #i122247# Improved focus traveling in sidebarAndre Fischer
(cherry picked from commit 4b0aafb8182b1f86b9edf947a4c62ff9948c6676) Change-Id: Ieae8e44fe147309cc3ff447a6dbc375d1b2f34d0
2013-05-23rhbz#961460: Don't needlessly pass URLs through INetURLObjectStephan Bergmann
The WebDAV UCP uses https/davs URLs that may contain a userinfo (cf. RFC 3986) part, and INetURLObject does not support that (in accordance with RFCs 2818 and 2616) and thus creates an empty INET_PROT_NOT_VALID INetURLObject for such a URL, leading to failure when trying to save a document to such a URL. (Regression introduced with 966d20e35d5a2be2fce6c204af5c156c3ead7063 "CMIS ucp: write documents back to CMIS server.") Change-Id: Ifd396852b211cab1d29575da7fccb32306479f93
2013-05-22Resolves: #i122366# Uncheck sidebar menu button after menu is closedAndre Fischer
(cherry picked from commit ac41d4c3e1972e3968ce9cf6949adc13e2b198e6) Change-Id: I4eef19a3b4ad9ea3ff7fd40b22c2854f569b69b6
2013-05-22Use the new type-checking Reference constructor to reduce code noiseNoel Grandin
Also create a Clang compiler plugin to detect such cases. Change-Id: I61ad1a1d6b1c017eeb51f226d2dde0e9bb7f1752 Reviewed-on: https://gerrit.libreoffice.org/4001 Tested-by: LibreOffice gerrit bot <gerrit@libreoffice.org> Reviewed-by: Noel Grandin <noelgrandin@gmail.com> Tested-by: Noel Grandin <noelgrandin@gmail.com>
2013-05-22WaE: unreferenced local variableTor Lillqvist
Change-Id: Ib1d6a1c154d521a9de211467799a723f83d48554
2013-05-21Resolves: #i122336# Show docked tab bar after closing undocked sidebarAndre Fischer
(cherry picked from commit d8b17867f3c58d5623cca129d6459bae0eb11729) Change-Id: I5579c8f12cad696da94674c4f1a52bb2bed68cb5
2013-05-21Resolves: #i122057# Fixed layouting of legacy sidebar panelsAndre Fischer
(cherry picked from commit ff4875ae18c417a74621559bd2d2e9ad05929a82) Change-Id: I6c97144981fbebc591fe595274c2f01055dd1979
2013-05-21Resolves: #i122352# Do not allow selection of disabled decks via menuAndre Fischer
(cherry picked from commit b27563ac5988d7ce407b045466e952114f54e07c) Change-Id: Id36b8fd12d0fce8f8717e5dd21538d1871a005b0
2013-05-21Resolves; #i122219# Show 'Cell Appearance' and 'Number Format' panels...Andre Fischer
when editing cells.(cherry picked from commit 09d043596e8283dd6ced26d1e4ff0da530252df0) Change-Id: I2fe0f9655efa24fb99b566f5c515b0fd1f651f6b
2013-05-21avoid static OUStrings hereCaolán McNamara
Change-Id: Idd53eeaccc7d99b35ce16e30ee6d531e0cf6c34c
2013-05-21Resolvs: #i122082# React to changes read-only <-> read-write more reliablyAndre Fischer
(cherry picked from commit a30912ea805a74f2ef47e10511d6e85ed4600b73) Change-Id: I735ea32a498413f663efaf0e22051ab4d2d92ef5
2013-05-21Related: #i122315# Include the Tools.hxx header alwaysAndre Fischer
(cherry picked from commit e65bf3376ec742e2d5e69cad097d17f77fb19a73) Change-Id: I5ba72f2e30e4e3a306fafc45dfc2c38997f07f0f
2013-05-21Resolves: #i122315# Disable 'More Options' buttons when...Andre Fischer
their commands are disabled (cherry picked from commit 10e1831ad2e9597c5197bafb6e03b098f8e81454) Conflicts: sfx2/inc/sfx2/sidebar/SidebarToolBox.hxx sfx2/source/sidebar/SidebarToolBox.cxx sfx2/source/sidebar/TitleBar.cxx Change-Id: Iff83e024bd58ce4a6f27a8cde66b287d3bf710a3
2013-05-21Resolves: #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
2013-05-21Related: #i121442# Adapt existing code in other modulesAriel Constenla-Haile
(cherry picked from commit 6c640ee420df6f7c9f3ab981e49ee304f1d2319e) Conflicts: reportdesign/source/ui/misc/statusbarcontroller.cxx sfx2/inc/sfx2/stbitem.hxx svtools/inc/svtools/statusbarcontroller.hxx svtools/source/uno/statusbarcontroller.cxx Change-Id: If03a201214a4afe09efa4e3e996aded9b6a57bdf
2013-05-21Fix two SfxFilterMatcher_Impl memory leaks.Mark Wielaard
First SfxFilterMatcher_Impl::InitForIterating() will set pList to either the global filter array matcher pFilterArr, or to a new SfxFilterList_Impl. This new SfxFilterList_Impl should be deleted in the destructor. Second getSfxFilterMatcher_Impl() keeps a cache of SfxFilterMatcher_Impls. If a SfxFilterMatcher_Impl for a given name doesn't exist yet a new one will be created. But the cache stored objects by service name (aName), but looked object up by factory name (rName). So it always created a new SfxFilterMatcher_Impl instead of using the one from the aImplArr cache. Change-Id: I7840aaddc861f609fbe14d5b6c0ea20d997f690f Reviewed-on: https://gerrit.libreoffice.org/3989 Reviewed-by: Fridrich Strba <fridrich@documentfoundation.org> Tested-by: Fridrich Strba <fridrich@documentfoundation.org>
2013-05-21Remove unnecessary namespacingNoel Grandin
Change-Id: I0ea52709f9a77d928a6704797ebd5be4c375e964
2013-05-21fix alignment in codeNoel Grandin
Change-Id: I0272e46cf34b52f578810ad0d17f33dd78accdd3
2013-05-20Resolves: #i122329# Disable undocking of stylist in the sidebarAndre Fischer
(cherry picked from commit 8dc875f17c0cdd41e7ba6ad2f4c1ea3bda1a8be2) Change-Id: I1a19135d3496463c8759e341449fa51d389fa264 (cherry picked from commit 048eca411083bc8a2ef95e5701bf7eba5d232a2d)
2013-05-20Resolves: #i122321# Fix processing of scroll wheel...Andre Fischer
to not block other events (cherry picked from commit 0a5d252c19fdd4e1e705668a604fb319dc6ceccb) Change-Id: Ib1a3fa50e071688df41983ce8e2cb6b1c93e18c9 (cherry picked from commit 58da1dc5061fcd9abc7dd296d0d7d04d651dc10f)
2013-05-20Resolves: #i122320# Show closer after docking sidebar.Andre Fischer
Prevent sidebar from being docked above or below edit view. (cherry picked from commit ca7264d7ab7e8b70693362d60227c7dd7626df8b) Change-Id: I634e0b68c27039613054160b7add5d2d07b666cd (cherry picked from commit 3c451f893663c118201ccdd4688fe97f1524d21e)
2013-05-20Resolves: #i122271# Provide accessible for panels that...Andre Fischer
includes the panel title. (cherry picked from commit e785c5125994bbfdb4e69108b5a73a184b3ced49) Change-Id: I97cf9f5f78382dfbd69dcff33b7066380d47313d (cherry picked from commit 35c18dc890a8883b974ff73c585033fc3ee3b73e)
2013-05-20WaE: 'e' : unreferenced local variableTor Lillqvist
Change-Id: I4e67dece0ead3097eb945d8f67795d93b8595eb1
2013-05-20Fix warning C4273: 'ToolbarValue::~ToolbarValue' : inconsistent dll linkageTor Lillqvist
That destructor is defined in vcl/source/gdi/outdevnative.cxx anyway. (As empty there, too.) What is going on here? Change-Id: Id27f07d47d819a4eaf272819a2e058f5f930b7be
2013-05-20fdo#48775 - presumed fix for missing bibliography database exception crash.Michael Meeks
2013-05-20WaE: unused variable 'aWindowPosition'Tor Lillqvist
Change-Id: I6db9f3848d6d786dbf60bd5b0b250b0c9e447ad7
2013-05-20Fix warning: unused variable 'sModuleName' [loplugin]Tor Lillqvist
Change-Id: Ifa4dc5d704e4452824445d9652e135ddb6cb61e6
2013-05-20remove redundant mmeeks comments around the place for misc. code pointers.Michael Meeks
Change-Id: I53cf0596b39b00b634724db701d784dd4ab12281
2013-05-20sidebar: The sidebar uses only small icons.Jan Holesovsky
Force the Color toolbar buttons etc. to small icons too, otherwise it's inconsistent. Change-Id: I7eea09c47c2d2f888611d04b2177f490f4977ebb
2013-05-20sidebar: Kill DrawBevelBorder(), nobody uses that now.Jan Holesovsky
Change-Id: I7901ad17515002c8568a46f9a11c0c9919c0841e