diff options
author | Noel Grandin <noel@peralex.com> | 2015-09-29 15:07:23 +0200 |
---|---|---|
committer | Noel Grandin <noelgrandin@gmail.com> | 2015-10-01 08:03:29 +0000 |
commit | e6534a6099cc667dba3fe154023cf2c573fda9f1 (patch) | |
tree | 9709aac0e9a745224d3c4fc95ec185cbfc5e6d7e /embeddedobj/source/inc/oleembobj.hxx | |
parent | 6a93b970c5e7e0bd113674fa5b2286edf7c1675a (diff) |
com::sun::star->css in embeddedobj/
Change-Id: Ia04fc28ce8e1d70f86520edf2df8c98f7b455465
Reviewed-on: https://gerrit.libreoffice.org/19024
Reviewed-by: Noel Grandin <noelgrandin@gmail.com>
Tested-by: Noel Grandin <noelgrandin@gmail.com>
Diffstat (limited to 'embeddedobj/source/inc/oleembobj.hxx')
-rw-r--r-- | embeddedobj/source/inc/oleembobj.hxx | 372 |
1 files changed, 186 insertions, 186 deletions
diff --git a/embeddedobj/source/inc/oleembobj.hxx b/embeddedobj/source/inc/oleembobj.hxx index 4b54ad336ee0..d33b22bee742 100644 --- a/embeddedobj/source/inc/oleembobj.hxx +++ b/embeddedobj/source/inc/oleembobj.hxx @@ -104,11 +104,11 @@ public: class OleComponent; class OwnView_Impl; class OleEmbeddedObject : public ::cppu::WeakImplHelper - < ::com::sun::star::embed::XEmbeddedObject - , ::com::sun::star::embed::XEmbedPersist - , ::com::sun::star::embed::XLinkageSupport - , ::com::sun::star::embed::XInplaceObject - , ::com::sun::star::container::XChild > + < css::embed::XEmbeddedObject + , css::embed::XEmbedPersist + , css::embed::XLinkageSupport + , css::embed::XInplaceObject + , css::container::XChild > { friend class OleComponent; @@ -125,26 +125,26 @@ class OleEmbeddedObject : public ::cppu::WeakImplHelper sal_Int32 m_nTargetState; sal_Int32 m_nUpdateMode; - ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory; + css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory; - ::com::sun::star::uno::Sequence< sal_Int8 > m_aClassID; + css::uno::Sequence< sal_Int8 > m_aClassID; OUString m_aClassName; - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedClient > m_xClientSite; + css::uno::Reference< css::embed::XEmbeddedClient > m_xClientSite; OUString m_aContainerName; - ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseListener > m_xClosePreventer; + css::uno::Reference< css::util::XCloseListener > m_xClosePreventer; bool m_bWaitSaveCompleted; bool m_bNewVisReplInStream; - ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > m_xNewCachedVisRepl; + css::uno::Reference< css::io::XStream > m_xNewCachedVisRepl; OUString m_aNewEntryName; - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > m_xNewParentStorage; - ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > m_xNewObjectStream; + css::uno::Reference< css::embed::XStorage > m_xNewParentStorage; + css::uno::Reference< css::io::XStream > m_xNewObjectStream; bool m_bStoreLoaded; - ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > m_xCachedVisualRepresentation; + css::uno::Reference< css::io::XStream > m_xCachedVisualRepresentation; bool m_bVisReplInitialized; bool m_bVisReplInStream; bool m_bStoreVisRepl; @@ -153,11 +153,11 @@ class OleEmbeddedObject : public ::cppu::WeakImplHelper // TODO/LATER: may need to cache more than one aspect in future bool m_bHasCachedSize; // the object has cached size - ::com::sun::star::awt::Size m_aCachedSize; + css::awt::Size m_aCachedSize; sal_Int64 m_nCachedAspect; bool m_bHasSizeToSet; // the object has cached size that should be set to OLE component - ::com::sun::star::awt::Size m_aSizeToSet; // this size might be different from the cached one ( scaling is applied ) + css::awt::Size m_aSizeToSet; // this size might be different from the cached one ( scaling is applied ) sal_Int64 m_nAspectToSet; @@ -169,8 +169,8 @@ class OleEmbeddedObject : public ::cppu::WeakImplHelper // embedded object related stuff OUString m_aEntryName; - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > m_xParentStorage; - ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > m_xObjectStream; + css::uno::Reference< css::embed::XStorage > m_xParentStorage; + css::uno::Reference< css::io::XStream > m_xObjectStream; // link related stuff OUString m_aLinkURL; // ??? @@ -190,20 +190,20 @@ class OleEmbeddedObject : public ::cppu::WeakImplHelper VerbExecutionController m_aVerbExecutionController; // if the following member is set, the object works in wrapper mode - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedObject > m_xWrappedObject; + css::uno::Reference< css::embed::XEmbeddedObject > m_xWrappedObject; bool m_bTriedConversion; OUString m_aFilterName; // if m_bTriedConversion, then the filter detected by that - ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > m_xParent; + css::uno::Reference< css::uno::XInterface > m_xParent; protected: - ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > TryToGetAcceptableFormat_Impl( - const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& xStream ) - throw ( ::com::sun::star::uno::Exception ); + css::uno::Reference< css::io::XStream > TryToGetAcceptableFormat_Impl( + const css::uno::Reference< css::io::XStream >& xStream ) + throw ( css::uno::Exception ); - ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > GetNewFilledTempStream_Impl( - const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xInStream ) + css::uno::Reference< css::io::XStream > GetNewFilledTempStream_Impl( + const css::uno::Reference< css::io::XInputStream >& xInStream ) throw( css::io::IOException, css::uno::RuntimeException ); #ifdef WNT void SwitchComponentToRunningState_Impl(); @@ -211,55 +211,55 @@ protected: void MakeEventListenerNotification_Impl( const OUString& aEventName ); #ifdef WNT void StateChangeNotification_Impl( sal_Bool bBeforeChange, sal_Int32 nOldState, sal_Int32 nNewState ); - ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > GetStreamForSaving(); + css::uno::Reference< css::io::XOutputStream > GetStreamForSaving(); - ::com::sun::star::uno::Sequence< sal_Int32 > GetIntermediateVerbsSequence_Impl( sal_Int32 nNewState ); + css::uno::Sequence< sal_Int32 > GetIntermediateVerbsSequence_Impl( sal_Int32 nNewState ); - ::com::sun::star::uno::Sequence< sal_Int32 > GetReachableStatesList_Impl( - const ::com::sun::star::uno::Sequence< ::com::sun::star::embed::VerbDescriptor >& aVerbList ); + css::uno::Sequence< sal_Int32 > GetReachableStatesList_Impl( + const css::uno::Sequence< css::embed::VerbDescriptor >& aVerbList ); #endif void Dispose(); void SwitchOwnPersistence( - const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xNewParentStorage, - const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& xNewObjectStream, + const css::uno::Reference< css::embed::XStorage >& xNewParentStorage, + const css::uno::Reference< css::io::XStream >& xNewObjectStream, const OUString& aNewName ); void SwitchOwnPersistence( - const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xNewParentStorage, + const css::uno::Reference< css::embed::XStorage >& xNewParentStorage, const OUString& aNewName ); void GetRidOfComponent(); void StoreToLocation_Impl( - 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 >& lObjArgs, + const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs, bool bSaveAs ) - throw ( ::com::sun::star::uno::Exception ); + throw ( css::uno::Exception ); #ifdef WNT - void StoreObjectToStream( ::com::sun::star::uno::Reference< ::com::sun::star::io::XOutputStream > xOutStream ) - throw ( ::com::sun::star::uno::Exception ); + void StoreObjectToStream( css::uno::Reference< css::io::XOutputStream > xOutStream ) + throw ( css::uno::Exception ); #endif void InsertVisualCache_Impl( - const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& xTargetStream, - const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& xCachedVisualRepresentation ) - throw ( ::com::sun::star::uno::Exception ); + const css::uno::Reference< css::io::XStream >& xTargetStream, + const css::uno::Reference< css::io::XStream >& xCachedVisualRepresentation ) + throw ( css::uno::Exception ); - void RemoveVisualCache_Impl( const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& xTargetStream ) - throw ( ::com::sun::star::uno::Exception ); + void RemoveVisualCache_Impl( const css::uno::Reference< css::io::XStream >& xTargetStream ) + throw ( css::uno::Exception ); void SetVisReplInStream( bool bExists ); bool HasVisReplInStream(); - ::com::sun::star::embed::VisualRepresentation GetVisualRepresentationInNativeFormat_Impl( - const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > xCachedVisRepr ) - throw ( ::com::sun::star::uno::Exception ); + css::embed::VisualRepresentation GetVisualRepresentationInNativeFormat_Impl( + const css::uno::Reference< css::io::XStream > xCachedVisRepr ) + throw ( css::uno::Exception ); - ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > TryToRetrieveCachedVisualRepresentation_Impl( - const ::com::sun::star::uno::Reference< ::com::sun::star::io::XStream >& xStream, + css::uno::Reference< css::io::XStream > TryToRetrieveCachedVisualRepresentation_Impl( + const css::uno::Reference< css::io::XStream >& xStream, bool bAllowRepair50 = false ) throw (); #ifdef WNT @@ -275,23 +275,23 @@ protected: // the following 4 methods are related to switch to wrapping mode void MoveListeners(); - ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > CreateTemporarySubstorage( OUString& o_aStorageName ); + css::uno::Reference< css::embed::XStorage > CreateTemporarySubstorage( OUString& o_aStorageName ); OUString MoveToTemporarySubstream(); bool TryToConvertToOOo(); public: // in case a new object must be created the class ID must be specified - OleEmbeddedObject( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory, - const ::com::sun::star::uno::Sequence< sal_Int8 >& aClassID, + OleEmbeddedObject( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory, + const css::uno::Sequence< sal_Int8 >& aClassID, const OUString& aClassName ); // in case object will be loaded from a persistent entry or from a file the class ID will be detected on loading // factory can do it for OOo objects, but for OLE objects OS dependent code is required - OleEmbeddedObject( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory, + OleEmbeddedObject( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory, bool bLink ); #ifdef WNT // this constructor let object be initialized from clipboard - OleEmbeddedObject( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xFactory ); + OleEmbeddedObject( const css::uno::Reference< css::lang::XMultiServiceFactory >& xFactory ); #endif virtual ~OleEmbeddedObject(); @@ -305,232 +305,232 @@ 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; // XLinkageSupport - virtual void SAL_CALL breakLink( const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, + virtual void SAL_CALL breakLink( const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName ) - 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; + throw ( css::lang::IllegalArgumentException, + css::embed::WrongStateException, + css::io::IOException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual sal_Bool SAL_CALL isLink() - 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 getLinkURL() - 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; // 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; // 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; // 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; // 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; // XInplaceObject ( only for wrapping scenario here ) - virtual void SAL_CALL setObjectRectangles( const ::com::sun::star::awt::Rectangle& aPosRect, - const ::com::sun::star::awt::Rectangle& aClipRect ) - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::Exception, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + virtual void SAL_CALL setObjectRectangles( const css::awt::Rectangle& aPosRect, + const css::awt::Rectangle& aClipRect ) + throw ( css::embed::WrongStateException, + css::uno::Exception, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; virtual void SAL_CALL enableModeless( sal_Bool bEnable ) - 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 translateAccelerators( - const ::com::sun::star::uno::Sequence< ::com::sun::star::awt::KeyEvent >& aKeys ) - throw ( ::com::sun::star::embed::WrongStateException, - ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE; + const css::uno::Sequence< css::awt::KeyEvent >& aKeys ) + throw ( css::embed::WrongStateException, + css::uno::RuntimeException, std::exception ) SAL_OVERRIDE; // XChild ( only for wrapping scenario here ) - virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getParent( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; - virtual void SAL_CALL setParent( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Parent ) throw (::com::sun::star::lang::NoSupportException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual css::uno::Reference< css::uno::XInterface > SAL_CALL getParent( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE; + virtual void SAL_CALL setParent( const css::uno::Reference< css::uno::XInterface >& Parent ) throw (css::lang::NoSupportException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE; }; |