diff options
author | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-20 22:41:38 +0100 |
---|---|---|
committer | Matúš Kukan <matus.kukan@collabora.com> | 2013-12-20 22:58:29 +0100 |
commit | 09af884e7b5712e0311a4c122a5213e7c89f626e (patch) | |
tree | f4291ccbae836111fa05ff6404f1b53d1ca94450 /svx/inc/tbunosearchcontrollers.hxx | |
parent | be053c9a80ad237afc6da0b4174e1c7afc94ed92 (diff) |
Revert "svx: split into direct implementation getFactories"
Also reverts "These services are in fact implemented in svxcore library."
This reverts commit 090674dcb085cd41f4628e4f07c9a2268a18e862
and commit 4a969ac35174520f1ffeb4f919f5d7bb6d99a628.
This is embarrassing; needs more work.
Diffstat (limited to 'svx/inc/tbunosearchcontrollers.hxx')
-rw-r--r-- | svx/inc/tbunosearchcontrollers.hxx | 55 |
1 files changed, 54 insertions, 1 deletions
diff --git a/svx/inc/tbunosearchcontrollers.hxx b/svx/inc/tbunosearchcontrollers.hxx index 51d31de94fc8..5f33b603cd4a 100644 --- a/svx/inc/tbunosearchcontrollers.hxx +++ b/svx/inc/tbunosearchcontrollers.hxx @@ -40,7 +40,8 @@ #include <map> #include <vector> -namespace { +namespace svx +{ class FindTextFieldControl : public ComboBox { @@ -104,6 +105,13 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException ); virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException ); + static OUString getImplementationName_Static() throw() + { + return OUString("com.sun.star.svx.FindTextToolboxController"); + } + + static ::com::sun::star::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); + // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException ); @@ -145,6 +153,13 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException ); virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException ); + static OUString getImplementationName_Static( ) throw() + { + return OUString( "com.sun.star.svx.ExitFindbarToolboxController" ); + } + + static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); + // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException ); @@ -177,6 +192,14 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException ); virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException ); + static OUString getImplementationName_Static( Type eType ) throw() + { + return eType == UP? OUString( "com.sun.star.svx.UpSearchToolboxController" ) : + OUString( "com.sun.star.svx.DownSearchToolboxController" ); + } + + static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); + // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException ); @@ -210,6 +233,13 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException ); virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException ); + static OUString getImplementationName_Static( ) throw() + { + return OUString( "com.sun.star.svx.MatchCaseToolboxController" ); + } + + static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); + // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException ); @@ -244,6 +274,13 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException ); virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException ); + static OUString getImplementationName_Static( ) throw() + { + return OUString( "com.sun.star.svx.FindAllToolboxController" ); + } + + static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); + // XComponent virtual void SAL_CALL dispose() throw ( css::uno::RuntimeException ); @@ -280,6 +317,13 @@ public: virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw( css::uno::RuntimeException ); virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw( css::uno::RuntimeException ); + static OUString getImplementationName_Static() throw() + { + return OUString("com.sun.star.comp.svx.Impl.FindbarDispatcher"); + } + + static css::uno::Sequence< OUString > getSupportedServiceNames_Static() throw(); + // XInitialization virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments ) throw ( css::uno::Exception, css::uno::RuntimeException ); @@ -298,6 +342,15 @@ private: }; +// createInstance +css::uno::Reference< css::uno::XInterface > SAL_CALL FindTextToolbarController_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr ); +css::uno::Reference< css::uno::XInterface > SAL_CALL DownSearchToolboxController_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr ); +css::uno::Reference< css::uno::XInterface > SAL_CALL UpSearchToolboxController_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr ); +css::uno::Reference< css::uno::XInterface > SAL_CALL MatchCaseToolboxController_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr ); +css::uno::Reference< css::uno::XInterface > SAL_CALL FindAllToolboxController_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr ); +css::uno::Reference< css::uno::XInterface > SAL_CALL ExitFindbarToolboxController_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr ); +css::uno::Reference< css::uno::XInterface > SAL_CALL FindbarDispatcher_createInstance( const css::uno::Reference< css::lang::XMultiServiceFactory >& rSMgr ); + } #endif // INCLUDED_SVX_INC_TBUNOSEARCHCONTROLLERS_HXX |