summaryrefslogtreecommitdiff
path: root/framework/inc/services.h
AgeCommit message (Collapse)AuthorFilesLines
2016-08-22GSoC: tdf#101249 Toolbar Mode switchingSzymon Kłos1-0/+1
+ added registry entry for storing current toolbar mode for each application + registry entries to store toolbar mode configuration, remember additional visible toolbars activated by user + changing toolbar mode hides and shows suitable toolbars + added menu controller for toolbar mode + notebookbar implementation entries are disabled when notebookbar mode is not active + each mode can open/collapse the sidebar Change-Id: I2b03f87c6dce53190d12102892d9ad30fbfd3bf6 Reviewed-on: https://gerrit.libreoffice.org/27991 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2016-08-16GSoC notebookbar: multiple .ui implementationsSzymon Kłos1-0/+1
+ added menu controller for .uno:Notebookbar showing all implementations + switching between .ui files + officecfg stores implementation description + added second implementation file notebookbar_groups.ui Change-Id: I9f406daced7a111793f61a2e9f939cba27d92184 Reviewed-on: https://gerrit.libreoffice.org/28067 Reviewed-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com> Tested-by: Samuel Mehrbrodt <s.mehrbrodt@gmail.com>
2016-05-12framework: initial implementation of a dispatch disabler.Michael Meeks1-0/+1
This should allow remote, eg. URE dispatchers to trivially disable lots of the UI without requiring a large volume of round-trip IPC. Change-Id: Ibd0681ac993196f826b4ed411da5ffedb7f85786 Reviewed-on: https://gerrit.libreoffice.org/24938 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Miklos Vajna <vmiklos@collabora.co.uk>
2015-11-02loplugin:stringconstantNoel Grandin1-28/+26
Change-Id: I865efc1884b82d430fe7df2e432d43f5425a83d4
2015-01-08brute-force find-and-remove of unused #define constants.Noel Grandin1-36/+0
Change-Id: I7223530ae37297a76654cd00cc1fedb56dbe3adb
2014-12-18framework: Use appropriate OUString functions on string constantsStephan Bergmann1-7/+7
Change-Id: I5da5cd3254102c742021b3e7b4e1f907ca897ca5
2014-04-06Kill superfluous vertical whitespaceTor Lillqvist1-4/+0
Change-Id: Ia1bb2b40c74efb17e655dd6f00d7ba48c16c65ae
2014-03-14remove com.sun.star.comp.framework.LicenseCaolán McNamara1-2/+0
its unused and removing it allows us to remove the associated dialog and resources Change-Id: If2796ca67428f3ba9b12e92728194967a1ab124a
2014-03-04Remove unused SERVICENAME_FRAMECONTROLLERStephan Bergmann1-1/+0
Change-Id: I603d5bd978b7e7a6737ab90c6de1be5c02bbf311
2014-02-26Remove visual noise from frameworkAlexander Wilms1-4/+4
Conflicts: framework/inc/dispatch/oxt_handler.hxx framework/inc/services/layoutmanager.hxx framework/inc/tabwin/tabwindow.hxx framework/source/dispatch/menudispatcher.cxx framework/source/helper/dockingareadefaultacceptor.cxx framework/source/helper/ocomponentaccess.cxx framework/source/helper/ocomponentenumeration.cxx framework/source/helper/oframes.cxx framework/source/layoutmanager/toolbarlayoutmanager.hxx framework/source/recording/dispatchrecorder.cxx framework/source/services/desktop.cxx framework/source/services/frame.cxx framework/source/services/urltransformer.cxx Change-Id: Ibb04e3f6f0796e7f2be16dcce38542f8b90708d4 Reviewed-on: https://gerrit.libreoffice.org/8265 Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
2013-11-05fixincludeguards.sh: frameworkThomas Arnhold1-3/+3
Change-Id: Ia6f3cb21977095df45a176db2bf68f508c70191c
2013-08-20Improve some debug outputStephan Bergmann1-1/+0
Change-Id: I1008822ba8592ea43f87805bf00adbfdaf4f02fc
2013-08-06startcenter: Move BackingComp & BackingWindow to sfx2Krisztian Pinter1-1/+0
BackingWindow will use ThumbnailView from sfx2 and it had to be moved to avoid a circular dependency Change-Id: I33a5982ed9e51307476c837f3f534ded7ed38ee0
2013-07-23fdo#46808, Convert ui::ModuleUIConfigurationManager service to new styleNoel Grandin1-2/+0
.. and convert it to WeakImplHelper at the same time. Change-Id: I20549f5cc6efb60c5210d3f9b6ecf3ade7e4a75a
2013-06-03fdo#46808, Convert FrameLoaderFactory and ContentHandlerFactory to new styleNoel Grandin1-2/+0
by creating a common service interface for them to implement Change-Id: Icec85c55ed0ac13a6c785fdad6b0cd9c11878ba5
2013-06-03fdo#46808, Convert SfxFrameLoader service to new styleNoel Grandin1-1/+0
Change-Id: I6cdef298d69fef388e79b241abbe3a9a03d61492
2013-06-03fdo#46808, Convert frame::AppDispatchProvider to new styleNoel Grandin1-1/+0
The service already existed, it just needed an IDL file. Change-Id: I9553c8e7c4922f2106bc13034e0cc35669b28b7e
2013-05-28fdo#46808, Convert ui:*AcceleratorConfiguration to new styleNoel Grandin1-5/+0
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-28fdo#46808, Convert frame::LayoutManager service to new sty;eNoel Grandin1-2/+0
Change-Id: I46c3950aee336548d6e0acc6a7d1da655c158175
2013-05-21UI Controller Factory fixesAriel Constenla-Haile1-1/+1
- "ModuleName" --> "ModuleIdentifier": the IDL definition for css::frame::PopupMenuControllerFactory and css::frame::StatusbarControllerFactory tells to use a property named "ModuleIdentifier", but in the code it is named "ModuleName" - Undocumented css::frame::ToolbarControllerFactory - Fix service name of ToolbarControllerFactory (ToolbarControllerFactory instead of ToolBarControllerFactory) - Convert the three service factories to new style, and use these new-style services in the source code - Implement multiple inheritance: added new css::frame::XUIControllerFactory - Added a (true) base class and implemented the three factories in a single file (cherry picked from commit acc7fed28f54f836b0923180431a0c180f91e98c) Conflicts: framework/inc/pch/precompiled_framework.hxx framework/inc/uielement/toolbarmanager.hxx framework/inc/uifactory/popupmenucontrollerfactory.hxx framework/inc/uifactory/statusbarcontrollerfactory.hxx framework/inc/uifactory/uicontrollerfactory.hxx framework/source/uielement/addonstoolbarmanager.cxx framework/source/uielement/menubarmanager.cxx framework/source/uielement/popupmenucontroller.cxx framework/source/uielement/statusbarmanager.cxx framework/source/uielement/toolbarmanager.cxx framework/source/uifactory/popupmenucontrollerfactory.cxx framework/source/uifactory/statusbarcontrollerfactory.cxx framework/source/uifactory/uicontrollerfactory.cxx framework/source/unotypes/fwk.xml offapi/com/sun/star/frame/PopupMenuControllerFactory.idl offapi/com/sun/star/frame/StatusbarControllerFactory.idl offapi/com/sun/star/frame/makefile.mk svtools/source/uno/toolboxcontroller.cxx Change-Id: Ia8580539badf650a84bc6e57a6b832071e011f0a
2013-05-21Revert "fdo#46808, Adapt frame::PopupMenuControllerFactory UNO service"Caolán McNamara1-0/+1
This reverts commit e93a0018871ebea4da1959c72c06f3c7f4dc7b27. Conflicts: desktop/source/app/app.cxx framework/source/uielement/menubarmanager.cxx framework/source/uielement/popupmenucontroller.cxx offapi/UnoApi_offapi.mk Change-Id: I3d4d49f98603e75357fb315a603a10851b3a7090
2013-05-21Revert "fdo#46808, Create new-style frame::ToolBarControllerFactory service"Caolán McNamara1-0/+1
This reverts commit ecae523d9603eaf7ff0acc98682576813e50c94a. Conflicts: framework/source/uielement/toolbarmanager.cxx offapi/UnoApi_offapi.mk Change-Id: I9f5fe49ffdf3176f0d742d28277c4ec2afbc1ed4
2013-05-21Related: #i121442# Remove unused UNO StatusbarControllersAriel Constenla-Haile1-3/+0
(cherry picked from commit 06b91eb4cc81dde86875445c5acaa5c57111333b) Conflicts: framework/inc/uielement/logoimagestatusbarcontroller.hxx framework/inc/uielement/logotextstatusbarcontroller.hxx framework/inc/uielement/simpletextstatusbarcontroller.hxx framework/source/classes/resource.src framework/source/register/registerservices.cxx framework/source/uielement/logoimagestatusbarcontroller.cxx framework/source/uielement/logotextstatusbarcontroller.cxx framework/source/uielement/simpletextstatusbarcontroller.cxx officecfg/registry/data/org/openoffice/Office/UI/Controller.xcu Change-Id: I799bd0fa29191efce4fe9a09f74247e38d8f8873
2013-05-14fdo#46808, Convert ui::ImageManager to new styleNoel Grandin1-2/+0
The service already existed, it just needed an IDL file. Change-Id: I5bdc3064b0a3caa5a0d2abf4ef5ba3159889c7af
2013-05-13fdo#46808, Convert ui::UICategoryDescripion to new styleNoel Grandin1-2/+0
Change-Id: I4fbba222b8429b5935c8e15c74d1670edd4fb303
2013-05-13fdo#46808, Convert util::PathSettings service to new styleNoel Grandin1-2/+0
Change-Id: I302be46b46518e1e872771e1c8a0647f7c330b30
2013-04-08fdo#46808, Convert frame::Frame to new styleNoel Grandin1-2/+0
Change-Id: I74427d1e0059808f04960c648b93245b06c20f7f
2013-03-07fdo#46808, Convert ui::UIConfigurationManager to new-styleNoel Grandin1-2/+0
Change-Id: I62c37eb6d0e0b2a681a84e1fa0067d0a9f967cf2
2013-03-04fdo#46808, Use service constructor for task::InteractionHandlerNoel Grandin1-1/+0
a lot of code was loading the service using it's implementation name, which is why this got missed earlier. Change-Id: I0b150bc9383a1a3a09ab905c4ddb7f914e69638d
2013-03-04fdo#46808, convert task::StatusIndicatorFactory to new styleNoel Grandin1-2/+0
the service already existed, it just needed an IDL file. Change-Id: I84c8e48e176ec3a38ac48a7abcec7463390523b9
2013-03-04fdo#46808, Convert frame::DispatchRecorder to new styleNoel Grandin1-2/+0
API CHANGE: dropped the XIndexReplace interface because no-one is using it. Change-Id: Iad77af588a070b22f2fce007a6ec4641758997a8
2013-01-15fdo#46808, Adapt frame::SessionListener UNO service to new styleNoel Grandin1-1/+0
The service already existed, it just did not have an IDL file. Change-Id: I88b914995eaa52708c1d51271455478fedb65a63
2013-01-15fdo#46808, Adapt frame::TaskCreator UNO service to new styleNoel Grandin1-1/+0
The service already existed, it just did not have an IDL file. Change-Id: I157c53d09b612da0178432100b8928013f811706
2013-01-15fdo#46808, Adapt frame::StartModule UNO service to new styleNoel Grandin1-1/+0
The service already existed, it just did not have an IDL file. Change-Id: I400551d34d074cc8cf36fad58badc921422a2efa
2012-12-21Remove unused definesStephan Bergmann1-18/+0
Change-Id: Icb8ccabba162a838187d737ff30888f64dd695b6
2012-12-21fdo#46808, Convert frame::Desktop to new style service.Noel Grandin1-1/+0
I had to drop XEventBroadcaster from the merged interface because it introduced method name conflicts (addEventListener). Shouldn't be an issue since it was scheduled to be dropped anyhow, and the service implementation still implements it, so existing clients will be fine. I dropped the interface XPropertySet from the combined IDL because nobody seems to be using it, and it's primary purpose appears to be to set weird flags. I dropped the optional interfaces XStatusIndicatorFactory XDispatchInformationProvider from the combined IDL because the service does not implement them, and nobody seems to be using them. I suspect they were mistakenly copied from XFrame. I also did not convert the Title, UserDefinedAttributes and LayoutManager properties to attributes, again because no-one is using them. Change-Id: I678a00006ed2cca2d6c37c4e39465811442c33af
2012-12-21fdo#46808, Adapt frame::PopupMenuControllerFactory UNO service to new styleNoel Grandin1-1/+0
Required creating a new merged interface. The service interface is going to be shared by some other services, which is why it's name is != the service name. Change-Id: I9af3c27b367807147a0052fb6fa4e42eb1ad32de
2012-12-21fdo#46808, Create new-style frame::ToolBarControllerFactory serviceNoel Grandin1-1/+0
The service already existed, it just did not have an IDL file. Change-Id: I70d0e1a3fe77deaeec399761cadefb20954f1c92
2012-12-21fdo#46808, Use service constructor for frame::UICommandDescriptionNoel Grandin1-1/+0
Change-Id: I8950afd1e49fda9e3336a79024e603262d717dad
2012-12-13fdo#46808, remove awt::DisplayAccess service.Noel Grandin1-1/+0
This service was never documented in an IDL file. All it did was provide a wrapper around some VCL module API. Now that we can link the VCL stuff into SD and SDEXT, just access the API directly. Change-Id: Ic0ba34c2bca797baa7319878d98cfe3a4ec59d4d
2012-12-13fdo#46808, Adapt ui::UIElementFactoryManager UNO service to new styleNoel Grandin1-1/+0
Required creating a new merged interface. Change-Id: I12be54e7e4c0614a31a04715342aa244d1687c42
2012-12-13fdo#46808, Create new-style ui::WindowContentFactoryManager serviceNoel Grandin1-1/+0
The service already existed, it just did not have an IDL file. Change-Id: Ie059e8d81fdfb4c3a5eca274a2406f806ee77b5c
2012-12-13fdo#46808, use service constructor for ui::WindowStateConfigurationNoel Grandin1-1/+0
Change-Id: I0b7f773a7db47049d7df4138d07e7fc38c657a65
2012-12-13fdo#46808, use service constructor for ui::Noel Grandin1-1/+0
::ModuleUIConfigurationManagerSupplier Change-Id: I06e8b3ef9b525da014a2bb7702587d360779aebc
2012-12-13fdo#46808, use service constructor for ui::GlobalAcceleratorConfigurationNoel Grandin1-1/+0
Change-Id: Icab69ba138b28c3baed4352da86a1b3b0c0cc195
2012-12-13fdo#46808, use service constructor for embed::FileSystemStorageFactoryNoel Grandin1-1/+0
Change-Id: Ic523e4b0a662a68a1a222b7697fcdae56d69903c
2012-12-10fdo#46808, use service constructor for embed::StorageFactoryNoel Grandin1-1/+0
Change-Id: I26cd1cf86118122f392f16801a646df753a7df26
2012-10-31fdo#46808, Deprecate configuration::ConfigurationProvider old-style serviceNoel Grandin1-1/+0
...in favor of existing new-style configuration::theDefaultProvider singleton. Theoretically, ConfigurationProvider instances can be created with specific Locale and EnableAsync arguments, but this is hardly used in practice, and thus effectively all uses of the ConfigurationProvider service use the theDefaultProvider instance, anyway. theDefaultProvider is restricted to the XMultiServiceFactory interface, while ConfigurationProvider also makes available XComponent. However, dispose must not be called manually on theDefaultProvider singleton anyway, and calls to add-/removeEventListener are so few (and in dubious code that should better be cleaned up) that requiring an explicit queryInterface does not really hurt there. This commit originated as a patch by Noel Grandin to "Adapt configuration::ConfigurationProvider UNO service to new style [by creating] a merged XConfigurationProvider interface for this service to implement." It was then modified by Stephan Bergmann by deprecating ConfigurationProvider instead of adding XConfigurationProvider and by replacing calls to ConfigurationProvider::create with calls to theDefaultProvider::get. Change-Id: I9c16700afe0faff1ef6f20338a66bd7a9af990bd
2012-10-29fdo#46808, Create new-style frame::AutoRecovery serviceNoel Grandin1-1/+0
The service already existed, it just did not have an IDL file.
2012-10-29fdo#46808, use service constructor for frame::DispatchRecorderSupplierNoel Grandin1-1/+0