summaryrefslogtreecommitdiff
path: root/embeddedobj/source/inc
diff options
context:
space:
mode:
authorNoel Grandin <noel@peralex.com>2015-09-29 15:07:23 +0200
committerNoel Grandin <noelgrandin@gmail.com>2015-10-01 08:03:29 +0000
commite6534a6099cc667dba3fe154023cf2c573fda9f1 (patch)
tree9709aac0e9a745224d3c4fc95ec185cbfc5e6d7e /embeddedobj/source/inc
parent6a93b970c5e7e0bd113674fa5b2286edf7c1675a (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')
-rw-r--r--embeddedobj/source/inc/closepreventer.hxx8
-rw-r--r--embeddedobj/source/inc/commonembobj.hxx384
-rw-r--r--embeddedobj/source/inc/docholder.hxx118
-rw-r--r--embeddedobj/source/inc/dummyobject.hxx234
-rw-r--r--embeddedobj/source/inc/intercept.hxx84
-rw-r--r--embeddedobj/source/inc/oleembobj.hxx372
-rw-r--r--embeddedobj/source/inc/specialobject.hxx62
-rw-r--r--embeddedobj/source/inc/xcreator.hxx30
8 files changed, 646 insertions, 646 deletions
diff --git a/embeddedobj/source/inc/closepreventer.hxx b/embeddedobj/source/inc/closepreventer.hxx
index 892585e233d0..1a0c126a3a4b 100644
--- a/embeddedobj/source/inc/closepreventer.hxx
+++ b/embeddedobj/source/inc/closepreventer.hxx
@@ -23,12 +23,12 @@
#include <com/sun/star/util/XCloseListener.hpp>
#include <cppuhelper/implbase.hxx>
-class OClosePreventer : public ::cppu::WeakImplHelper < ::com::sun::star::util::XCloseListener >
+class OClosePreventer : public ::cppu::WeakImplHelper < css::util::XCloseListener >
{
- virtual void SAL_CALL queryClosing( const ::com::sun::star::lang::EventObject& Source, sal_Bool GetsOwnership ) throw (::com::sun::star::util::CloseVetoException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL notifyClosing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL queryClosing( const css::lang::EventObject& Source, sal_Bool GetsOwnership ) throw (css::util::CloseVetoException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL notifyClosing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
#endif
diff --git a/embeddedobj/source/inc/commonembobj.hxx b/embeddedobj/source/inc/commonembobj.hxx
index c035282e801c..676847a7a907 100644
--- a/embeddedobj/source/inc/commonembobj.hxx
+++ b/embeddedobj/source/inc/commonembobj.hxx
@@ -71,12 +71,12 @@ namespace comphelper {
class Interceptor;
-class OCommonEmbeddedObject : public ::com::sun::star::embed::XEmbeddedObject
- , public ::com::sun::star::embed::XEmbedPersist2
- , public ::com::sun::star::embed::XLinkageSupport
- , public ::com::sun::star::embed::XInplaceObject
- , public ::com::sun::star::container::XChild
- , public ::com::sun::star::chart2::XDefaultSizeTransmitter
+class OCommonEmbeddedObject : public css::embed::XEmbeddedObject
+ , public css::embed::XEmbedPersist2
+ , public css::embed::XLinkageSupport
+ , public css::embed::XInplaceObject
+ , public css::container::XChild
+ , public css::chart2::XDefaultSizeTransmitter
, public ::cppu::OWeakObject
{
protected:
@@ -95,11 +95,11 @@ protected:
sal_Int32 m_nTargetState; // should be -1 except during state changing
sal_Int32 m_nUpdateMode;
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > m_aDocMediaDescriptor;
+ css::uno::Sequence< css::beans::PropertyValue > m_aDocMediaDescriptor;
- ::com::sun::star::uno::Sequence< sal_Int8 > m_aClassID;
+ css::uno::Sequence< sal_Int8 > m_aClassID;
OUString m_aClassName;
OUString m_aDocServiceName;
@@ -107,13 +107,13 @@ protected:
sal_Int64 m_nMiscStatus;
- ::com::sun::star::uno::Sequence< ::com::sun::star::embed::VerbDescriptor > m_aObjectVerbs;
+ css::uno::Sequence< css::embed::VerbDescriptor > m_aObjectVerbs;
- ::com::sun::star::uno::Sequence< sal_Int32 > m_aAcceptedStates;
- ::com::sun::star::uno::Sequence< sal_Int32 > m_pIntermediateStatesSeqs[NUM_SUPPORTED_STATES][NUM_SUPPORTED_STATES];
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Sequence< sal_Int32 > > m_aVerbTable;
+ css::uno::Sequence< sal_Int32 > m_aAcceptedStates;
+ css::uno::Sequence< sal_Int32 > m_pIntermediateStatesSeqs[NUM_SUPPORTED_STATES][NUM_SUPPORTED_STATES];
+ css::uno::Sequence< css::uno::Sequence< sal_Int32 > > m_aVerbTable;
- ::com::sun::star::uno::Reference< ::com::sun::star::embed::XEmbeddedClient > m_xClientSite;
+ css::uno::Reference< css::embed::XEmbeddedClient > m_xClientSite;
OUString m_aContainerName;
OUString m_aDefaultParentBaseURL;
@@ -124,21 +124,21 @@ protected:
// 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;
- ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > m_xNewObjectStorage;
- ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue > m_aNewDocMediaDescriptor;
+ css::uno::Reference< css::embed::XStorage > m_xNewParentStorage;
+ css::uno::Reference< css::embed::XStorage > m_xNewObjectStorage;
+ css::uno::Sequence< css::beans::PropertyValue > m_aNewDocMediaDescriptor;
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > m_xClientWindow; // ???
- ::com::sun::star::awt::Rectangle m_aOwnRectangle;
- ::com::sun::star::awt::Rectangle m_aClipRectangle;
+ css::uno::Reference< css::awt::XWindow > m_xClientWindow; // ???
+ css::awt::Rectangle m_aOwnRectangle;
+ css::awt::Rectangle m_aClipRectangle;
bool m_bIsLink;
// 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::embed::XStorage > m_xObjectStorage;
- ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage > m_xRecoveryStorage;
+ css::uno::Reference< css::embed::XStorage > m_xParentStorage;
+ css::uno::Reference< css::embed::XStorage > m_xObjectStorage;
+ css::uno::Reference< css::embed::XStorage > m_xRecoveryStorage;
// link related stuff
OUString m_aLinkURL;
@@ -146,34 +146,34 @@ protected:
bool m_bLinkHasPassword;
OUString m_aLinkPassword;
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > m_xParent;
+ css::uno::Reference< css::uno::XInterface > m_xParent;
bool m_bHasClonedSize; // the object has cached size
- ::com::sun::star::awt::Size m_aClonedSize;
+ css::awt::Size m_aClonedSize;
sal_Int32 m_nClonedMapUnit;
- ::com::sun::star::awt::Size m_aDefaultSizeForChart_In_100TH_MM;//#i103460# charts do not necessaryly have an own size within ODF files, in this case they need to use the size settings from the surrounding frame, which is made available with this member
+ css::awt::Size m_aDefaultSizeForChart_In_100TH_MM;//#i103460# charts do not necessaryly have an own size within ODF files, in this case they need to use the size settings from the surrounding frame, which is made available with this member
private:
- void CommonInit_Impl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObjectProps );
+ void CommonInit_Impl( const css::uno::Sequence< css::beans::NamedValue >& aObjectProps );
- void LinkInit_Impl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObjectProps,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescr,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aObjectDescr );
+ void LinkInit_Impl( const css::uno::Sequence< css::beans::NamedValue >& aObjectProps,
+ const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr,
+ const css::uno::Sequence< css::beans::PropertyValue >& aObjectDescr );
void SwitchOwnPersistence(
- const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xNewParentStorage,
- const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xNewObjectStorage,
+ const css::uno::Reference< css::embed::XStorage >& xNewParentStorage,
+ const css::uno::Reference< css::embed::XStorage >& xNewObjectStorage,
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 );
OUString GetDocumentServiceName() const { return m_aDocServiceName; }
OUString GetPresetFilterName() const { return m_aPresetFilterName; }
- ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >
+ css::uno::Reference< css::io::XInputStream >
StoreDocumentToTempStream_Impl( sal_Int32 nStorageFormat,
const OUString& aBaseURL,
const OUString& aHierarchName );
@@ -186,14 +186,14 @@ private:
void SwitchStateTo_Impl( sal_Int32 nNextState );
- ::com::sun::star::uno::Sequence< sal_Int32 > GetIntermediateStatesSequence_Impl( sal_Int32 nNewState );
+ css::uno::Sequence< sal_Int32 > GetIntermediateStatesSequence_Impl( sal_Int32 nNewState );
OUString GetFilterName( sal_Int32 nVersion ) const;
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > LoadDocumentFromStorage_Impl();
+ css::uno::Reference< css::util::XCloseable > LoadDocumentFromStorage_Impl();
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > LoadLink_Impl();
+ css::uno::Reference< css::util::XCloseable > LoadLink_Impl();
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > InitNewDocument_Impl();
+ css::uno::Reference< css::util::XCloseable > InitNewDocument_Impl();
void StoreDocToStorage_Impl(
const css::uno::Reference<css::embed::XStorage>& xStorage,
@@ -204,53 +204,53 @@ private:
bool bAttachToStorage );
void SwitchDocToStorage_Impl(
- const ::com::sun::star::uno::Reference< ::com::sun::star::document::XStorageBasedDocument >& xDoc,
- const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage );
+ const css::uno::Reference< css::document::XStorageBasedDocument >& xDoc,
+ const css::uno::Reference< css::embed::XStorage >& xStorage );
void FillDefaultLoadArgs_Impl(
- const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& i_rxStorage,
+ const css::uno::Reference< css::embed::XStorage >& i_rxStorage,
::comphelper::NamedValueCollection& o_rLoadArgs
) const;
void EmbedAndReparentDoc_Impl(
- const ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable >& i_rxDocument
+ const css::uno::Reference< css::util::XCloseable >& i_rxDocument
) const;
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > CreateDocFromMediaDescr_Impl(
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMedDescr );
+ css::uno::Reference< css::util::XCloseable > CreateDocFromMediaDescr_Impl(
+ const css::uno::Sequence< css::beans::PropertyValue >& aMedDescr );
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > CreateTempDocFromLink_Impl();
+ css::uno::Reference< css::util::XCloseable > CreateTempDocFromLink_Impl();
OUString GetBaseURL_Impl() const;
static OUString GetBaseURLFrom_Impl(
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArguments,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs );
+ const css::uno::Sequence< css::beans::PropertyValue >& lArguments,
+ const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs );
public:
OCommonEmbeddedObject(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObjectProps );
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Sequence< css::beans::NamedValue >& aObjectProps );
// no persistence for linked objects, so the descriptors are provided in constructor
OCommonEmbeddedObject(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObjectProps,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aMediaDescr,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aObjectDescr );
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Sequence< css::beans::NamedValue >& aObjectProps,
+ const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr,
+ const css::uno::Sequence< css::beans::PropertyValue >& aObjectDescr );
virtual ~OCommonEmbeddedObject();
void SaveObject_Impl();
- void requestPositioning( const ::com::sun::star::awt::Rectangle& aRect );
+ void requestPositioning( const css::awt::Rectangle& aRect );
// not a real listener and should not be
void PostEvent_Impl( const OUString& aEventName );
// XInterface
- virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& rType )
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType )
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
virtual void SAL_CALL acquire()
throw() SAL_OVERRIDE;
@@ -261,165 +261,165 @@ 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;
// XEmbedPersist2
@@ -428,75 +428,75 @@ public:
// XInplaceObject
- 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;
// 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;
// XChild
- 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;
// XDefaultSizeTransmitter
//#i103460# charts do not necessaryly have an own size within ODF files, in this case they need to use the size settings from the surrounding frame, which is made available with this method
- virtual void SAL_CALL setDefaultSize( const ::com::sun::star::awt::Size& rSize_100TH_MM ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL setDefaultSize( const css::awt::Size& rSize_100TH_MM ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
#endif
diff --git a/embeddedobj/source/inc/docholder.hxx b/embeddedobj/source/inc/docholder.hxx
index 7fe554989a33..0eb8a1bf5620 100644
--- a/embeddedobj/source/inc/docholder.hxx
+++ b/embeddedobj/source/inc/docholder.hxx
@@ -42,30 +42,30 @@ class Interceptor;
class DocumentHolder :
public ::cppu::WeakImplHelper<
- ::com::sun::star::util::XCloseListener,
- ::com::sun::star::frame::XTerminateListener,
- ::com::sun::star::util::XModifyListener,
- ::com::sun::star::document::XEventListener,
- ::com::sun::star::frame::XBorderResizeListener,
- ::com::sun::star::embed::XHatchWindowController >
+ css::util::XCloseListener,
+ css::frame::XTerminateListener,
+ css::util::XModifyListener,
+ css::document::XEventListener,
+ css::frame::XBorderResizeListener,
+ css::embed::XHatchWindowController >
{
private:
OCommonEmbeddedObject* m_pEmbedObj;
Interceptor* m_pInterceptor;
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor > m_xOutplaceInterceptor;
+ css::uno::Reference< css::frame::XDispatchProviderInterceptor > m_xOutplaceInterceptor;
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > m_xComponent;
+ css::uno::Reference< css::util::XCloseable > m_xComponent;
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > m_xFrame;
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > m_xOwnWindow; // set for inplace objects
- ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindow > m_xHatchWindow; // set for inplace objects
+ css::uno::Reference< css::frame::XFrame > m_xFrame;
+ css::uno::Reference< css::awt::XWindow > m_xOwnWindow; // set for inplace objects
+ css::uno::Reference< css::awt::XWindow > m_xHatchWindow; // set for inplace objects
- ::com::sun::star::awt::Rectangle m_aObjRect;
- ::com::sun::star::frame::BorderWidths m_aBorderWidths;
+ css::awt::Rectangle m_aObjRect;
+ css::frame::BorderWidths m_aBorderWidths;
OUString m_aContainerName;
OUString m_aDocumentNamePart;
@@ -79,49 +79,49 @@ private:
sal_Int32 m_nNoBorderResizeReact;
sal_Int32 m_nNoResizeReact;
- ::com::sun::star::uno::Reference< ::com::sun::star::ui::XDockingAreaAcceptor > m_xCachedDocAreaAcc;
+ css::uno::Reference< css::ui::XDockingAreaAcceptor > m_xCachedDocAreaAcc;
- ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any > m_aOutplaceFrameProps;
+ css::uno::Sequence< css::uno::Any > m_aOutplaceFrameProps;
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > GetDocFrame();
+ css::uno::Reference< css::frame::XFrame > GetDocFrame();
bool LoadDocToFrame( bool );
- ::com::sun::star::awt::Rectangle CalculateBorderedArea( const ::com::sun::star::awt::Rectangle& aRect );
- ::com::sun::star::awt::Rectangle AddBorderToArea( const ::com::sun::star::awt::Rectangle& aRect );
+ css::awt::Rectangle CalculateBorderedArea( const css::awt::Rectangle& aRect );
+ css::awt::Rectangle AddBorderToArea( const css::awt::Rectangle& aRect );
- void ResizeWindows_Impl( const ::com::sun::star::awt::Rectangle& aHatchRect );
+ void ResizeWindows_Impl( const css::awt::Rectangle& aHatchRect );
- ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > RetrieveOwnMenu_Impl();
+ css::uno::Reference< css::container::XIndexAccess > RetrieveOwnMenu_Impl();
bool MergeMenus_Impl(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager >& xOwnLM,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager >& xContLM,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& xContDisp,
+ const css::uno::Reference< css::frame::XLayoutManager >& xOwnLM,
+ const css::uno::Reference< css::frame::XLayoutManager >& xContLM,
+ const css::uno::Reference< css::frame::XDispatchProvider >& xContDisp,
const OUString& aContModuleName );
public:
static void FindConnectPoints(
- const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& xMenu,
+ const css::uno::Reference< css::container::XIndexAccess >& xMenu,
sal_Int32 nConnectPoints[2] )
- throw ( ::com::sun::star::uno::Exception );
+ throw ( css::uno::Exception );
- static ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess > MergeMenusForInplace(
- const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& xContMenu,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& xContDisp,
+ static css::uno::Reference< css::container::XIndexAccess > MergeMenusForInplace(
+ const css::uno::Reference< css::container::XIndexAccess >& xContMenu,
+ const css::uno::Reference< css::frame::XDispatchProvider >& xContDisp,
const OUString& aContModuleName,
- const ::com::sun::star::uno::Reference< ::com::sun::star::container::XIndexAccess >& xOwnMenu,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& xOwnDisp )
- throw ( ::com::sun::star::uno::Exception );
+ const css::uno::Reference< css::container::XIndexAccess >& xOwnMenu,
+ const css::uno::Reference< css::frame::XDispatchProvider >& xOwnDisp )
+ throw ( css::uno::Exception );
- DocumentHolder( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& xContext,
+ DocumentHolder( const css::uno::Reference< css::uno::XComponentContext >& xContext,
OCommonEmbeddedObject* pEmbObj );
virtual ~DocumentHolder();
OCommonEmbeddedObject* GetEmbedObject() { return m_pEmbedObj; }
- void SetComponent( const ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable >& xDoc, bool bReadOnly );
+ void SetComponent( const css::uno::Reference< css::util::XCloseable >& xDoc, bool bReadOnly );
void ResizeHatchWindow();
void FreeOffice();
@@ -133,66 +133,66 @@ public:
return m_aContainerName + " - " + m_aDocumentNamePart;
}
- void SetOutplaceFrameProperties( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aProps )
+ void SetOutplaceFrameProperties( const css::uno::Sequence< css::uno::Any >& aProps )
{ m_aOutplaceFrameProps = aProps; }
- void PlaceFrame( const ::com::sun::star::awt::Rectangle& aNewRect );
+ void PlaceFrame( const css::awt::Rectangle& aNewRect );
- static bool SetFrameLMVisibility( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame >& xFrame,
+ static bool SetFrameLMVisibility( const css::uno::Reference< css::frame::XFrame >& xFrame,
bool bVisible );
- bool ShowInplace( const ::com::sun::star::uno::Reference< ::com::sun::star::awt::XWindowPeer >& xParent,
- const ::com::sun::star::awt::Rectangle& aRectangleToShow,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& xContainerDP );
+ bool ShowInplace( const css::uno::Reference< css::awt::XWindowPeer >& xParent,
+ const css::awt::Rectangle& aRectangleToShow,
+ const css::uno::Reference< css::frame::XDispatchProvider >& xContainerDP );
bool ShowUI(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager >& xContainerLM,
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider >& xContainerDP,
+ const css::uno::Reference< css::frame::XLayoutManager >& xContainerLM,
+ const css::uno::Reference< css::frame::XDispatchProvider >& xContainerDP,
const OUString& aContModuleName );
bool HideUI(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XLayoutManager >& xContainerLM );
+ const css::uno::Reference< css::frame::XLayoutManager >& xContainerLM );
void Show();
- bool SetExtent( sal_Int64 nAspect, const ::com::sun::star::awt::Size& aSize );
- bool GetExtent( sal_Int64 nAspect, ::com::sun::star::awt::Size *pSize );
+ bool SetExtent( sal_Int64 nAspect, const css::awt::Size& aSize );
+ bool GetExtent( sal_Int64 nAspect, css::awt::Size *pSize );
sal_Int32 GetMapUnit( sal_Int64 nAspect );
void SetOutplaceDispatchInterceptor(
- const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProviderInterceptor >&
+ const css::uno::Reference< css::frame::XDispatchProviderInterceptor >&
xOutplaceInterceptor )
{
m_xOutplaceInterceptor = xOutplaceInterceptor;
}
- ::com::sun::star::uno::Reference< ::com::sun::star::util::XCloseable > GetComponent() { return m_xComponent; }
+ css::uno::Reference< css::util::XCloseable > GetComponent() { return m_xComponent; }
// XEventListener
- virtual void SAL_CALL disposing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL disposing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XCloseListener
- virtual void SAL_CALL queryClosing( const ::com::sun::star::lang::EventObject& Source, sal_Bool GetsOwnership ) throw (::com::sun::star::util::CloseVetoException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL notifyClosing( const ::com::sun::star::lang::EventObject& Source ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL queryClosing( const css::lang::EventObject& Source, sal_Bool GetsOwnership ) throw (css::util::CloseVetoException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL notifyClosing( const css::lang::EventObject& Source ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XTerminateListener
- virtual void SAL_CALL queryTermination( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::frame::TerminationVetoException, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL notifyTermination( const ::com::sun::star::lang::EventObject& Event ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL queryTermination( const css::lang::EventObject& Event ) throw (css::frame::TerminationVetoException, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL notifyTermination( const css::lang::EventObject& Event ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XModifyListener
- virtual void SAL_CALL modified( const ::com::sun::star::lang::EventObject& aEvent ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual void SAL_CALL modified( const css::lang::EventObject& aEvent ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XEventListener
- virtual void SAL_CALL notifyEvent( const ::com::sun::star::document::EventObject& Event ) throw ( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
+ virtual void SAL_CALL notifyEvent( const css::document::EventObject& Event ) throw ( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE;
// XBorderResizeListener
- virtual void SAL_CALL borderWidthsChanged( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& aObject, const ::com::sun::star::frame::BorderWidths& aNewSize ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL borderWidthsChanged( const css::uno::Reference< css::uno::XInterface >& aObject, const css::frame::BorderWidths& aNewSize ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XHatchWindowController
- virtual void SAL_CALL requestPositioning( const ::com::sun::star::awt::Rectangle& aRect ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::awt::Rectangle SAL_CALL calcAdjustedRectangle( const ::com::sun::star::awt::Rectangle& aRect ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL activated( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual void SAL_CALL deactivated( ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL requestPositioning( const css::awt::Rectangle& aRect ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::awt::Rectangle SAL_CALL calcAdjustedRectangle( const css::awt::Rectangle& aRect ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL activated( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual void SAL_CALL deactivated( ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};
#endif
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;
};
diff --git a/embeddedobj/source/inc/intercept.hxx b/embeddedobj/source/inc/intercept.hxx
index c5d554c9c854..9cbe1df2498e 100644
--- a/embeddedobj/source/inc/intercept.hxx
+++ b/embeddedobj/source/inc/intercept.hxx
@@ -31,9 +31,9 @@
class StatusChangeListenerContainer;
class DocumentHolder;
-class Interceptor : public ::cppu::WeakImplHelper< ::com::sun::star::frame::XDispatchProviderInterceptor,
- ::com::sun::star::frame::XInterceptorInfo,
- ::com::sun::star::frame::XDispatch>
+class Interceptor : public ::cppu::WeakImplHelper< css::frame::XDispatchProviderInterceptor,
+ css::frame::XInterceptorInfo,
+ css::frame::XDispatch>
{
public:
@@ -45,87 +45,87 @@ public:
//XDispatch
virtual void SAL_CALL
dispatch(
- const ::com::sun::star::util::URL& URL,
- const ::com::sun::star::uno::Sequence<
- ::com::sun::star::beans::PropertyValue >& Arguments )
- throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ const css::util::URL& URL,
+ const css::uno::Sequence<
+ css::beans::PropertyValue >& Arguments )
+ throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
virtual void SAL_CALL
addStatusListener(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XStatusListener >& Control,
- const ::com::sun::star::util::URL& URL )
+ const css::uno::Reference<
+ css::frame::XStatusListener >& Control,
+ const css::util::URL& URL )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
virtual void SAL_CALL
removeStatusListener(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XStatusListener >& Control,
- const ::com::sun::star::util::URL& URL )
+ const css::uno::Reference<
+ css::frame::XStatusListener >& Control,
+ const css::util::URL& URL )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
//XInterceptorInfo
- virtual ::com::sun::star::uno::Sequence< OUString >
+ virtual css::uno::Sequence< OUString >
SAL_CALL getInterceptedURLs( )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
//XDispatchProvider ( inherited by XDispatchProviderInterceptor )
- virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XDispatch > SAL_CALL
+ virtual css::uno::Reference<
+ css::frame::XDispatch > SAL_CALL
queryDispatch(
- const ::com::sun::star::util::URL& URL,
+ const css::util::URL& URL,
const OUString& TargetFrameName,
sal_Int32 SearchFlags )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence<
- ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XDispatch > > SAL_CALL
+ virtual css::uno::Sequence<
+ css::uno::Reference<
+ css::frame::XDispatch > > SAL_CALL
queryDispatches(
- const ::com::sun::star::uno::Sequence<
- ::com::sun::star::frame::DispatchDescriptor >& Requests )
+ const css::uno::Sequence<
+ css::frame::DispatchDescriptor >& Requests )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
//XDispatchProviderInterceptor
- virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XDispatchProvider > SAL_CALL
+ virtual css::uno::Reference<
+ css::frame::XDispatchProvider > SAL_CALL
getSlaveDispatchProvider( )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
virtual void SAL_CALL
setSlaveDispatchProvider(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XDispatchProvider >& NewDispatchProvider )
+ const css::uno::Reference<
+ css::frame::XDispatchProvider >& NewDispatchProvider )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XDispatchProvider > SAL_CALL
+ virtual css::uno::Reference<
+ css::frame::XDispatchProvider > SAL_CALL
getMasterDispatchProvider( )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
virtual void SAL_CALL
setMasterDispatchProvider(
- const ::com::sun::star::uno::Reference<
- ::com::sun::star::frame::XDispatchProvider >& NewSupplier )
+ const css::uno::Reference<
+ css::frame::XDispatchProvider >& NewSupplier )
throw (
- ::com::sun::star::uno::RuntimeException, std::exception
+ css::uno::RuntimeException, std::exception
) SAL_OVERRIDE;
@@ -135,10 +135,10 @@ private:
DocumentHolder* m_pDocHolder;
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > m_xSlaveDispatchProvider;
- ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatchProvider > m_xMasterDispatchProvider;
+ css::uno::Reference< css::frame::XDispatchProvider > m_xSlaveDispatchProvider;
+ css::uno::Reference< css::frame::XDispatchProvider > m_xMasterDispatchProvider;
- static ::com::sun::star::uno::Sequence< OUString > m_aInterceptedURL;
+ static css::uno::Sequence< OUString > m_aInterceptedURL;
cppu::OInterfaceContainerHelper* m_pDisposeEventListeners;
StatusChangeListenerContainer* m_pStatCL;
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;
};
diff --git a/embeddedobj/source/inc/specialobject.hxx b/embeddedobj/source/inc/specialobject.hxx
index 0d4895aa7879..b8820e04761c 100644
--- a/embeddedobj/source/inc/specialobject.hxx
+++ b/embeddedobj/source/inc/specialobject.hxx
@@ -27,51 +27,51 @@
class OSpecialEmbeddedObject : public OCommonEmbeddedObject
{
private:
- com::sun::star::awt::Size maSize;
+ css::awt::Size maSize;
public:
OSpecialEmbeddedObject(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext,
- const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& aObjectProps );
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext,
+ const css::uno::Sequence< css::beans::NamedValue >& aObjectProps );
// XInterface
- virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type& rType )
- throw( ::com::sun::star::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
+ virtual css::uno::Any SAL_CALL queryInterface( const css::uno::Type& rType )
+ throw( css::uno::RuntimeException, std::exception ) SAL_OVERRIDE ;
// XVisualObject
- 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 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 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;
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 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;
};
#endif
diff --git a/embeddedobj/source/inc/xcreator.hxx b/embeddedobj/source/inc/xcreator.hxx
index b01dfb503ff1..ccc74c2542c4 100644
--- a/embeddedobj/source/inc/xcreator.hxx
+++ b/embeddedobj/source/inc/xcreator.hxx
@@ -28,45 +28,45 @@
#include <comphelper/mimeconfighelper.hxx>
class UNOEmbeddedObjectCreator : public ::cppu::WeakImplHelper<
- ::com::sun::star::embed::XEmbeddedObjectCreator,
- ::com::sun::star::lang::XServiceInfo >
+ css::embed::XEmbeddedObjectCreator,
+ css::lang::XServiceInfo >
{
- ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > m_xContext;
+ css::uno::Reference< css::uno::XComponentContext > m_xContext;
::comphelper::MimeConfigurationHelper m_aConfigHelper;
public:
UNOEmbeddedObjectCreator(
- const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext >& rxContext )
+ const css::uno::Reference< css::uno::XComponentContext >& rxContext )
: m_xContext( rxContext )
, m_aConfigHelper( rxContext )
{
OSL_ENSURE( rxContext.is(), "No service manager is provided!\n" );
}
- static ::com::sun::star::uno::Sequence< OUString > SAL_CALL impl_staticGetSupportedServiceNames();
+ static css::uno::Sequence< OUString > SAL_CALL impl_staticGetSupportedServiceNames();
static OUString SAL_CALL impl_staticGetImplementationName();
- static ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL
+ static css::uno::Reference< css::uno::XInterface > SAL_CALL
impl_staticCreateSelfInstance(
- const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager );
+ const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager );
// XEmbedObjectCreator
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceInitNew( const ::com::sun::star::uno::Sequence< sal_Int8 >& aClassID, const OUString& aClassName, 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 >& lObjArgs ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceInitFromEntry( 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 >& aMedDescr, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::container::NoSuchElementException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceInitFromMediaDescriptor( 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 >& aMediaDescr, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceInitNew( const css::uno::Sequence< sal_Int8 >& aClassID, const OUString& aClassName, const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName, const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs ) throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceInitFromEntry( const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName, const css::uno::Sequence< css::beans::PropertyValue >& aMedDescr, const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs ) throw (css::lang::IllegalArgumentException, css::container::NoSuchElementException, css::io::IOException, css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceInitFromMediaDescriptor( const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName, const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr, const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs ) throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XEmbedObjectFactory
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceUserInit( const ::com::sun::star::uno::Sequence< sal_Int8 >& aClassID, const OUString& sClassName, const ::com::sun::star::uno::Reference< ::com::sun::star::embed::XStorage >& xStorage, const OUString& sEntName, sal_Int32 nEntryConnectionMode, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aArgs, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aObjectArgs ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceUserInit( const css::uno::Sequence< sal_Int8 >& aClassID, const OUString& sClassName, const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName, sal_Int32 nEntryConnectionMode, const css::uno::Sequence< css::beans::PropertyValue >& aArgs, const css::uno::Sequence< css::beans::PropertyValue >& aObjectArgs ) throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XLinkCreator
- virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL createInstanceLink( 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 >& aMediaDescr, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lObjArgs ) throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::io::IOException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Reference< css::uno::XInterface > SAL_CALL createInstanceLink( const css::uno::Reference< css::embed::XStorage >& xStorage, const OUString& sEntName, const css::uno::Sequence< css::beans::PropertyValue >& aMediaDescr, const css::uno::Sequence< css::beans::PropertyValue >& lObjArgs ) throw (css::lang::IllegalArgumentException, css::io::IOException, css::uno::Exception, css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
- virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (::com::sun::star::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception) SAL_OVERRIDE;
};