diff options
Diffstat (limited to 'embeddedobj/source/inc/dummyobject.hxx')
-rw-r--r-- | embeddedobj/source/inc/dummyobject.hxx | 234 |
1 files changed, 117 insertions, 117 deletions
diff --git a/embeddedobj/source/inc/dummyobject.hxx b/embeddedobj/source/inc/dummyobject.hxx index 81e2c39523cb..4d93ee5508c2 100644 --- a/embeddedobj/source/inc/dummyobject.hxx +++ b/embeddedobj/source/inc/dummyobject.hxx @@ -45,27 +45,27 @@ namespace cppu { } class ODummyEmbeddedObject : public ::cppu::WeakImplHelper - < ::com::sun::star::embed::XEmbeddedObject - , ::com::sun::star::embed::XEmbedPersist > + < css::embed::XEmbeddedObject + , css::embed::XEmbedPersist > { ::osl::Mutex m_aMutex; ::cppu::OMultiTypeInterfaceContainerHelper* m_pInterfaceContainer; bool m_bDisposed; OUString m_aEntryName; - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > m_xParentStorage; + css::uno::Reference< css::embed::XStorage > m_xParentStorage; sal_Int32 m_nObjectState; - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedClient > m_xClientSite; + css::uno::Reference< css::embed::XEmbeddedClient > m_xClientSite; sal_Int64 m_nCachedAspect; - ::com::sun::star::awt::Size m_aCachedSize; + css::awt::Size m_aCachedSize; bool m_bHasCachedSize; // following information will be used between SaveAs and SaveCompleted bool m_bWaitSaveCompleted; OUString m_aNewEntryName; - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > m_xNewParentStorage; + css::uno::Reference< css::embed::XStorage > m_xNewParentStorage; protected: void CheckInit_WrongState(); //throw WrongStateException on m_nObjectState == -1 @@ -88,193 +88,193 @@ public: // XEmbeddedObject virtual void SAL_CALL changeState( sal_Int32 nNewState ) - throw ( ::com::sun::star::embed::UnreachableStateException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::UnreachableStateException, + css::embed::WrongStateException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL getReachableStates() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual css::uno::Sequence< sal_Int32 > SAL_CALL getReachableStates() + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL getCurrentState() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL doVerb( sal_Int32 nVerbID ) - throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::embed::UnreachableStateException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::embed::UnreachableStateException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Sequence< ::com::sun::star::embed::VerbDescriptor > SAL_CALL getSupportedVerbs() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual css::uno::Sequence< css::embed::VerbDescriptor > SAL_CALL getSupportedVerbs() + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setClientSite( - const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedClient >& xClient ) - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Reference< css::embed::XEmbeddedClient >& xClient ) + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedClient > SAL_CALL getClientSite() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual css::uno::Reference< css::embed::XEmbeddedClient > SAL_CALL getClientSite() + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL update() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setUpdateMode( sal_Int32 nMode ) - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Int64 SAL_CALL getStatus( sal_Int64 nAspect ) - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setContainerName( const OUString& sName ) - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XVisualObject - virtual void SAL_CALL setVisualAreaSize( sal_Int64 nAspect, const ::com::sun::star::awt::Size& aSize ) - throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setVisualAreaSize( sal_Int64 nAspect, const css::awt::Size& aSize ) + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::awt::Size SAL_CALL getVisualAreaSize( sal_Int64 nAspect ) - throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual css::awt::Size SAL_CALL getVisualAreaSize( sal_Int64 nAspect ) + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - virtual ::com::sun::star::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect ) - throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual css::embed::VisualRepresentation SAL_CALL getPreferredVisualRepresentation( ::sal_Int64 nAspect ) + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Int32 SAL_CALL getMapUnit( sal_Int64 nAspect ) - throw ( ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + throw ( css::uno::Exception, + css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XEmbedPersist virtual void SAL_CALL setPersistentEntry( - const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, + const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName, sal_Int32 nEntryConnectionMode, - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArguments, - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) - throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::io::IOException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; - - virtual void SAL_CALL storeToEntry( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, const OUString& sEntName, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArguments, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) - throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::io::IOException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Sequence< css::beans::PropertyValue >& lArguments, + const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs ) + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::io::IOException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + + virtual void SAL_CALL storeToEntry( const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName, const css::uno::Sequence< css::beans::PropertyValue >& lArguments, const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs ) + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::io::IOException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL storeAsEntry( - const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, + const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName, - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArguments, - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) - throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::io::IOException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Sequence< css::beans::PropertyValue >& lArguments, + const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs ) + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::io::IOException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL saveCompleted( sal_Bool bUseNew ) - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL hasEntry() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual OUString SAL_CALL getEntryName() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XCommonEmbedPersist virtual void SAL_CALL storeOwn() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::io::IOException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::io::IOException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL isReadonly() - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL reload( - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArguments, - const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) - throw ( ::com::sun::star::lang::IllegalArgumentException, - ::com::sun::star::embed::WrongStateException, - ::com::sun::star::io::IOException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Sequence< css::beans::PropertyValue >& lArguments, + const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs ) + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::io::IOException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XClassifiedObject - virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getClassID() - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual css::uno::Sequence< sal_Int8 > SAL_CALL getClassID() + throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual OUString SAL_CALL getClassName() - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL setClassInfo( - const ::com::sun::star::uno::Sequence< sal_Int8 >& aClassID, const OUString& aClassName ) - throw ( ::com::sun::star::lang::NoSupportException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Sequence< sal_Int8 >& aClassID, const OUString& aClassName ) + throw ( css::lang::NoSupportException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XComponentSupplier - virtual ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > SAL_CALL getComponent() - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual css::uno::Reference< css::util::XCloseable > SAL_CALL getComponent() + throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XStateChangeBroadcaster - virtual void SAL_CALL addStateChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStateChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL removeStateChangeListener( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStateChangeListener >& xListener ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL addStateChangeListener( const css::uno::Reference< css::embed::XStateChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL removeStateChangeListener( const css::uno::Reference< css::embed::XStateChangeListener >& xListener ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; // XCloseable virtual void SAL_CALL close( sal_Bool DeliverOwnership ) - throw ( ::com::sun::star::util::CloseVetoException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + throw ( css::util::CloseVetoException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL addCloseListener( - const ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseListener >& Listener ) - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Reference< css::util::XCloseListener >& Listener ) + throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL removeCloseListener( - const ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseListener >& Listener ) - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Reference< css::util::XCloseListener >& Listener ) + throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XEventBroadcaster virtual void SAL_CALL addEventListener( - const ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventListener >& Listener ) - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Reference< css::document::XEventListener >& Listener ) + throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL removeEventListener( - const ::com::sun::star::uno::Reference< ::com::sun::star::document::XEventListener >& Listener ) - throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Reference< css::document::XEventListener >& Listener ) + throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; }; |