Kaydet (Commit) e26245b3 authored tarafından Noel Grandin's avatar Noel Grandin Kaydeden (comit) Noel Grandin

com::sun::star->css in smoketest,sot

Change-Id: I59a083cd53baa76ea271cfc0470487899b92dca4
Reviewed-on: https://gerrit.libreoffice.org/19666Tested-by: 's avatarJenkins <ci@libreoffice.org>
Reviewed-by: 's avatarNoel Grandin <noelgrandin@gmail.com>
üst 95b22704
...@@ -142,8 +142,7 @@ void Test::test() { ...@@ -142,8 +142,7 @@ void Test::test() {
css::uno::Sequence< css::beans::PropertyValue > args(2); css::uno::Sequence< css::beans::PropertyValue > args(2);
args[0].Name = "MacroExecutionMode"; args[0].Name = "MacroExecutionMode";
args[0].Handle = -1; args[0].Handle = -1;
args[0].Value <<= args[0].Value <<= css::document::MacroExecMode::ALWAYS_EXECUTE_NO_WARN;
com::sun::star::document::MacroExecMode::ALWAYS_EXECUTE_NO_WARN;
args[0].State = css::beans::PropertyState_DIRECT_VALUE; args[0].State = css::beans::PropertyState_DIRECT_VALUE;
args[1].Name = "ReadOnly"; args[1].Name = "ReadOnly";
args[1].Handle = -1; args[1].Handle = -1;
...@@ -170,7 +169,7 @@ void Test::test() { ...@@ -170,7 +169,7 @@ void Test::test() {
css::uno::UNO_QUERY_THROW); css::uno::UNO_QUERY_THROW);
Result result; Result result;
// Shifted to main thread to work around potential deadlocks (i112867): // Shifted to main thread to work around potential deadlocks (i112867):
com::sun::star::awt::AsyncCallback::create( css::awt::AsyncCallback::create(
connection_.getComponentContext())->addCallback( connection_.getComponentContext())->addCallback(
new Callback( new Callback(
disp, url, css::uno::Sequence< css::beans::PropertyValue >(), disp, url, css::uno::Sequence< css::beans::PropertyValue >(),
......
...@@ -45,9 +45,9 @@ using namespace::com::sun::star::datatransfer; ...@@ -45,9 +45,9 @@ using namespace::com::sun::star::datatransfer;
*/ */
struct DataFlavorRepresentation struct DataFlavorRepresentation
{ {
const char* pMimeType; const char* pMimeType;
const char* pName; const char* pName;
const ::com::sun::star::uno::Type* pType; const css::uno::Type* pType;
}; };
namespace namespace
......
...@@ -285,7 +285,7 @@ bool StgEntry::Init() ...@@ -285,7 +285,7 @@ bool StgEntry::Init()
static OUString ToUpperUnicode( const OUString & rStr ) static OUString ToUpperUnicode( const OUString & rStr )
{ {
// I don't know the locale, so en_US is hopefully fine // I don't know the locale, so en_US is hopefully fine
static CharClass aCC( LanguageTag( com::sun::star::lang::Locale( "en", "US", "" )) ); static CharClass aCC( LanguageTag( css::lang::Locale( "en", "US", "" )) );
return aCC.uppercase( rStr ); return aCC.uppercase( rStr );
} }
......
...@@ -273,7 +273,7 @@ bool SotStorageStream::Commit() ...@@ -273,7 +273,7 @@ bool SotStorageStream::Commit()
return GetError() == SVSTREAM_OK; return GetError() == SVSTREAM_OK;
} }
bool SotStorageStream::SetProperty( const OUString& rName, const ::com::sun::star::uno::Any& rValue ) bool SotStorageStream::SetProperty( const OUString& rName, const css::uno::Any& rValue )
{ {
UCBStorageStream* pStg = dynamic_cast<UCBStorageStream*>( pOwnStm ); UCBStorageStream* pStg = dynamic_cast<UCBStorageStream*>( pOwnStm );
if ( pStg ) if ( pStg )
...@@ -821,7 +821,7 @@ bool SotStorage::IsOLEStorage( SvStream* pStream ) ...@@ -821,7 +821,7 @@ bool SotStorage::IsOLEStorage( SvStream* pStream )
return Storage::IsStorageFile( pStream ); return Storage::IsStorageFile( pStream );
} }
SotStorage* SotStorage::OpenOLEStorage( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage, SotStorage* SotStorage::OpenOLEStorage( const css::uno::Reference < css::embed::XStorage >& xStorage,
const OUString& rEleName, StreamMode nMode ) const OUString& rEleName, StreamMode nMode )
{ {
sal_Int32 nEleMode = embed::ElementModes::SEEKABLEREAD; sal_Int32 nEleMode = embed::ElementModes::SEEKABLEREAD;
...@@ -858,7 +858,7 @@ SotStorage* SotStorage::OpenOLEStorage( const com::sun::star::uno::Reference < c ...@@ -858,7 +858,7 @@ SotStorage* SotStorage::OpenOLEStorage( const com::sun::star::uno::Reference < c
return new SotStorage( pStream, true ); return new SotStorage( pStream, true );
} }
SotClipboardFormatId SotStorage::GetFormatID( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage ) SotClipboardFormatId SotStorage::GetFormatID( const css::uno::Reference < css::embed::XStorage >& xStorage )
{ {
uno::Reference< beans::XPropertySet > xProps( xStorage, uno::UNO_QUERY ); uno::Reference< beans::XPropertySet > xProps( xStorage, uno::UNO_QUERY );
if ( !xProps.is() ) if ( !xProps.is() )
...@@ -868,7 +868,7 @@ SotClipboardFormatId SotStorage::GetFormatID( const com::sun::star::uno::Referen ...@@ -868,7 +868,7 @@ SotClipboardFormatId SotStorage::GetFormatID( const com::sun::star::uno::Referen
xProps->getPropertyValue("MediaType") >>= aMediaType; xProps->getPropertyValue("MediaType") >>= aMediaType;
if ( !aMediaType.isEmpty() ) if ( !aMediaType.isEmpty() )
{ {
::com::sun::star::datatransfer::DataFlavor aDataFlavor; css::datatransfer::DataFlavor aDataFlavor;
aDataFlavor.MimeType = aMediaType; aDataFlavor.MimeType = aMediaType;
return SotExchange::GetFormat( aDataFlavor ); return SotExchange::GetFormat( aDataFlavor );
} }
...@@ -876,7 +876,7 @@ SotClipboardFormatId SotStorage::GetFormatID( const com::sun::star::uno::Referen ...@@ -876,7 +876,7 @@ SotClipboardFormatId SotStorage::GetFormatID( const com::sun::star::uno::Referen
return SotClipboardFormatId::NONE; return SotClipboardFormatId::NONE;
} }
sal_Int32 SotStorage::GetVersion( const com::sun::star::uno::Reference < com::sun::star::embed::XStorage >& xStorage ) sal_Int32 SotStorage::GetVersion( const css::uno::Reference < css::embed::XStorage >& xStorage )
{ {
SotClipboardFormatId nSotFormatID = SotStorage::GetFormatID( xStorage ); SotClipboardFormatId nSotFormatID = SotStorage::GetFormatID( xStorage );
switch( nSotFormatID ) switch( nSotFormatID )
......
...@@ -657,13 +657,13 @@ UCBStorageStream_Impl::UCBStorageStream_Impl( const OUString& rName, StreamMode ...@@ -657,13 +657,13 @@ UCBStorageStream_Impl::UCBStorageStream_Impl( const OUString& rName, StreamMode
try try
{ {
// create the content // create the content
Reference< ::com::sun::star::ucb::XCommandEnvironment > xComEnv; Reference< css::ucb::XCommandEnvironment > xComEnv;
OUString aTemp( rName ); OUString aTemp( rName );
if ( bRepair ) if ( bRepair )
{ {
xComEnv = new ::ucbhelper::CommandEnvironment( Reference< ::com::sun::star::task::XInteractionHandler >(), xProgress ); xComEnv = new ::ucbhelper::CommandEnvironment( Reference< css::task::XInteractionHandler >(), xProgress );
aTemp += "?repairpackage"; aTemp += "?repairpackage";
} }
...@@ -679,8 +679,8 @@ UCBStorageStream_Impl::UCBStorageStream_Impl( const OUString& rName, StreamMode ...@@ -679,8 +679,8 @@ UCBStorageStream_Impl::UCBStorageStream_Impl( const OUString& rName, StreamMode
if ( nErr == rtl_Digest_E_None ) if ( nErr == rtl_Digest_E_None )
{ {
sal_uInt8* pBuffer = aBuffer; sal_uInt8* pBuffer = aBuffer;
::com::sun::star::uno::Sequence < sal_Int8 > aSequ( reinterpret_cast<sal_Int8*>(pBuffer), RTL_DIGEST_LENGTH_SHA1 ); css::uno::Sequence < sal_Int8 > aSequ( reinterpret_cast<sal_Int8*>(pBuffer), RTL_DIGEST_LENGTH_SHA1 );
::com::sun::star::uno::Any aAny; css::uno::Any aAny;
aAny <<= aSequ; aAny <<= aSequ;
m_pContent->setPropertyValue("EncryptionKey", aAny ); m_pContent->setPropertyValue("EncryptionKey", aAny );
} }
...@@ -1405,7 +1405,7 @@ bool UCBStorageStream::CopyTo( BaseStorageStream* pDestStm ) ...@@ -1405,7 +1405,7 @@ bool UCBStorageStream::CopyTo( BaseStorageStream* pDestStm )
return true; return true;
} }
bool UCBStorageStream::SetProperty( const OUString& rName, const ::com::sun::star::uno::Any& rValue ) bool UCBStorageStream::SetProperty( const OUString& rName, const css::uno::Any& rValue )
{ {
if ( rName == "Title") if ( rName == "Title")
return false; return false;
...@@ -1676,11 +1676,11 @@ void UCBStorage_Impl::Init() ...@@ -1676,11 +1676,11 @@ void UCBStorage_Impl::Init()
if ( !pStream->GetError() ) if ( !pStream->GetError() )
{ {
::utl::OInputStreamWrapper* pHelper = new ::utl::OInputStreamWrapper( *pStream ); ::utl::OInputStreamWrapper* pHelper = new ::utl::OInputStreamWrapper( *pStream );
com::sun::star::uno::Reference < ::com::sun::star::io::XInputStream > xInputStream( pHelper ); css::uno::Reference < css::io::XInputStream > xInputStream( pHelper );
// create a manifest reader object that will read in the manifest from the stream // create a manifest reader object that will read in the manifest from the stream
Reference < ::com::sun::star::packages::manifest::XManifestReader > xReader = Reference < css::packages::manifest::XManifestReader > xReader =
::com::sun::star::packages::manifest::ManifestReader::create( css::packages::manifest::ManifestReader::create(
::comphelper::getProcessComponentContext() ) ; ::comphelper::getProcessComponentContext() ) ;
Sequence < Sequence < PropertyValue > > aProps = xReader->readManifestSequence( xInputStream ); Sequence < Sequence < PropertyValue > > aProps = xReader->readManifestSequence( xInputStream );
...@@ -1715,7 +1715,7 @@ void UCBStorage_Impl::Init() ...@@ -1715,7 +1715,7 @@ void UCBStorage_Impl::Init()
if ( !m_aContentType.isEmpty() ) if ( !m_aContentType.isEmpty() )
{ {
// get the clipboard format using the content type // get the clipboard format using the content type
::com::sun::star::datatransfer::DataFlavor aDataFlavor; css::datatransfer::DataFlavor aDataFlavor;
aDataFlavor.MimeType = m_aContentType; aDataFlavor.MimeType = m_aContentType;
m_nFormat = SotExchange::GetFormat( aDataFlavor ); m_nFormat = SotExchange::GetFormat( aDataFlavor );
...@@ -1736,13 +1736,13 @@ void UCBStorage_Impl::CreateContent() ...@@ -1736,13 +1736,13 @@ void UCBStorage_Impl::CreateContent()
try try
{ {
// create content; where to put StreamMode ?! ( already done when opening the file of the package ? ) // create content; where to put StreamMode ?! ( already done when opening the file of the package ? )
Reference< ::com::sun::star::ucb::XCommandEnvironment > xComEnv; Reference< css::ucb::XCommandEnvironment > xComEnv;
OUString aTemp( m_aURL ); OUString aTemp( m_aURL );
if ( m_bRepairPackage ) if ( m_bRepairPackage )
{ {
xComEnv = new ::ucbhelper::CommandEnvironment( Reference< ::com::sun::star::task::XInteractionHandler >(), xComEnv = new ::ucbhelper::CommandEnvironment( Reference< css::task::XInteractionHandler >(),
m_xProgressHandler ); m_xProgressHandler );
aTemp += "?repairpackage"; aTemp += "?repairpackage";
} }
...@@ -1821,10 +1821,10 @@ void UCBStorage_Impl::ReadContent() ...@@ -1821,10 +1821,10 @@ void UCBStorage_Impl::ReadContent()
// streams can be external OLE objects, so they are now folders, but storages! // streams can be external OLE objects, so they are now folders, but storages!
OUString aName( m_aURL + "/" + xRow->getString(1)); OUString aName( m_aURL + "/" + xRow->getString(1));
Reference< ::com::sun::star::ucb::XCommandEnvironment > xComEnv; Reference< css::ucb::XCommandEnvironment > xComEnv;
if ( m_bRepairPackage ) if ( m_bRepairPackage )
{ {
xComEnv = new ::ucbhelper::CommandEnvironment( Reference< ::com::sun::star::task::XInteractionHandler >(), xComEnv = new ::ucbhelper::CommandEnvironment( Reference< css::task::XInteractionHandler >(),
m_xProgressHandler ); m_xProgressHandler );
aName += "?repairpackage"; aName += "?repairpackage";
} }
...@@ -1968,7 +1968,7 @@ void UCBStorage_Impl::SetProps( const Sequence < Sequence < PropertyValue > >& r ...@@ -1968,7 +1968,7 @@ void UCBStorage_Impl::SetProps( const Sequence < Sequence < PropertyValue > >& r
if ( !m_aContentType.isEmpty() ) if ( !m_aContentType.isEmpty() )
{ {
// get the clipboard format using the content type // get the clipboard format using the content type
::com::sun::star::datatransfer::DataFlavor aDataFlavor; css::datatransfer::DataFlavor aDataFlavor;
aDataFlavor.MimeType = m_aContentType; aDataFlavor.MimeType = m_aContentType;
m_nFormat = SotExchange::GetFormat( aDataFlavor ); m_nFormat = SotExchange::GetFormat( aDataFlavor );
...@@ -2120,7 +2120,7 @@ sal_Int16 UCBStorage_Impl::Commit() ...@@ -2120,7 +2120,7 @@ sal_Int16 UCBStorage_Impl::Commit()
OUString aName( m_aURL ); OUString aName( m_aURL );
aName += "/"; aName += "/";
aName += pElement->m_aOriginalName; aName += pElement->m_aOriginalName;
pContent = new ::ucbhelper::Content( aName, Reference< ::com::sun::star::ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() ); pContent = new ::ucbhelper::Content( aName, Reference< css::ucb::XCommandEnvironment >(), comphelper::getProcessComponentContext() );
xDeleteContent.reset(pContent); // delete it later on exit scope xDeleteContent.reset(pContent); // delete it later on exit scope
} }
...@@ -2251,11 +2251,11 @@ sal_Int16 UCBStorage_Impl::Commit() ...@@ -2251,11 +2251,11 @@ sal_Int16 UCBStorage_Impl::Commit()
// get the stream from the temp file and create an output stream wrapper // get the stream from the temp file and create an output stream wrapper
SvStream* pStream = pTempFile->GetStream( STREAM_STD_READWRITE ); SvStream* pStream = pTempFile->GetStream( STREAM_STD_READWRITE );
::utl::OOutputStreamWrapper* pHelper = new ::utl::OOutputStreamWrapper( *pStream ); ::utl::OOutputStreamWrapper* pHelper = new ::utl::OOutputStreamWrapper( *pStream );
com::sun::star::uno::Reference < ::com::sun::star::io::XOutputStream > xOutputStream( pHelper ); css::uno::Reference < css::io::XOutputStream > xOutputStream( pHelper );
// create a manifest writer object that will fill the stream // create a manifest writer object that will fill the stream
Reference < ::com::sun::star::packages::manifest::XManifestWriter > xWriter = Reference < css::packages::manifest::XManifestWriter > xWriter =
::com::sun::star::packages::manifest::ManifestWriter::create( css::packages::manifest::ManifestWriter::create(
::comphelper::getProcessComponentContext() ); ::comphelper::getProcessComponentContext() );
sal_Int32 nCount = GetObjectCount() + 1; sal_Int32 nCount = GetObjectCount() + 1;
Sequence < Sequence < PropertyValue > > aProps( nCount ); Sequence < Sequence < PropertyValue > > aProps( nCount );
...@@ -2422,7 +2422,7 @@ void UCBStorage::SetClass( const SvGlobalName & rClass, SotClipboardFormatId nOr ...@@ -2422,7 +2422,7 @@ void UCBStorage::SetClass( const SvGlobalName & rClass, SotClipboardFormatId nOr
// in UCB storages only the content type will be stored, all other information can be reconstructed // in UCB storages only the content type will be stored, all other information can be reconstructed
// ( see the UCBStorage_Impl::Init() method ) // ( see the UCBStorage_Impl::Init() method )
::com::sun::star::datatransfer::DataFlavor aDataFlavor; css::datatransfer::DataFlavor aDataFlavor;
SotExchange::GetFormatDataFlavor( pImp->m_nFormat, aDataFlavor ); SotExchange::GetFormatDataFlavor( pImp->m_nFormat, aDataFlavor );
pImp->m_aContentType = aDataFlavor.MimeType; pImp->m_aContentType = aDataFlavor.MimeType;
} }
...@@ -2441,7 +2441,7 @@ void UCBStorage::SetClassId( const ClsId& rClsId ) ...@@ -2441,7 +2441,7 @@ void UCBStorage::SetClassId( const ClsId& rClsId )
pImp->m_nFormat = GetFormatId_Impl( pImp->m_aClassId ); pImp->m_nFormat = GetFormatId_Impl( pImp->m_aClassId );
if ( pImp->m_nFormat != SotClipboardFormatId::NONE ) if ( pImp->m_nFormat != SotClipboardFormatId::NONE )
{ {
::com::sun::star::datatransfer::DataFlavor aDataFlavor; css::datatransfer::DataFlavor aDataFlavor;
SotExchange::GetFormatDataFlavor( pImp->m_nFormat, aDataFlavor ); SotExchange::GetFormatDataFlavor( pImp->m_nFormat, aDataFlavor );
pImp->m_aUserTypeName = aDataFlavor.HumanPresentableName; pImp->m_aUserTypeName = aDataFlavor.HumanPresentableName;
pImp->m_aContentType = aDataFlavor.MimeType; pImp->m_aContentType = aDataFlavor.MimeType;
......
...@@ -689,9 +689,9 @@ void SAL_CALL OLESimpleStorage::removeEventListener( ...@@ -689,9 +689,9 @@ void SAL_CALL OLESimpleStorage::removeEventListener(
void SAL_CALL OLESimpleStorage::commit() void SAL_CALL OLESimpleStorage::commit()
throw ( ::com::sun::star::io::IOException, throw ( css::io::IOException,
::com::sun::star::lang::WrappedTargetException, css::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception ) css::uno::RuntimeException, std::exception )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
...@@ -715,9 +715,9 @@ void SAL_CALL OLESimpleStorage::commit() ...@@ -715,9 +715,9 @@ void SAL_CALL OLESimpleStorage::commit()
void SAL_CALL OLESimpleStorage::revert() void SAL_CALL OLESimpleStorage::revert()
throw ( ::com::sun::star::io::IOException, throw ( css::io::IOException,
::com::sun::star::lang::WrappedTargetException, css::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception ) css::uno::RuntimeException, std::exception )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
......
...@@ -39,147 +39,147 @@ ...@@ -39,147 +39,147 @@
class OLESimpleStorage : public ::cppu::WeakImplHelper class OLESimpleStorage : public ::cppu::WeakImplHelper
< ::com::sun::star::embed::XOLESimpleStorage < css::embed::XOLESimpleStorage
, ::com::sun::star::lang::XInitialization , css::lang::XInitialization
, ::com::sun::star::lang::XServiceInfo > , css::lang::XServiceInfo >
{ {
::osl::Mutex m_aMutex; ::osl::Mutex m_aMutex;
bool m_bDisposed; bool m_bDisposed;
::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > m_xStream; css::uno::Reference< css::io::XStream > m_xStream;
::com::sun::star::uno::Reference< ::com::sun::star::io::XStream > m_xTempStream; css::uno::Reference< css::io::XStream > m_xTempStream;
SvStream* m_pStream; SvStream* m_pStream;
BaseStorage* m_pStorage; BaseStorage* m_pStorage;
::cppu::OInterfaceContainerHelper* m_pListenersContainer; // list of listeners ::cppu::OInterfaceContainerHelper* m_pListenersContainer; // list of listeners
::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > m_xFactory; css::uno::Reference< css::lang::XMultiServiceFactory > m_xFactory;
bool m_bNoTemporaryCopy; bool m_bNoTemporaryCopy;
void UpdateOriginal_Impl(); void UpdateOriginal_Impl();
static void InsertInputStreamToStorage_Impl( BaseStorage* pStorage, const OUString & aName, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& xInputStream ) static void InsertInputStreamToStorage_Impl( BaseStorage* pStorage, const OUString & aName, const css::uno::Reference< css::io::XInputStream >& xInputStream )
throw ( ::com::sun::star::uno::Exception ); throw ( css::uno::Exception );
static void InsertNameAccessToStorage_Impl( BaseStorage* pStorage, const OUString & aName, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& xNameAccess ) static void InsertNameAccessToStorage_Impl( BaseStorage* pStorage, const OUString & aName, const css::uno::Reference< css::container::XNameAccess >& xNameAccess )
throw ( ::com::sun::star::uno::Exception ); throw ( css::uno::Exception );
public: public:
explicit OLESimpleStorage( ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > xFactory ); explicit OLESimpleStorage( css::uno::Reference< css::lang::XMultiServiceFactory > xFactory );
virtual ~OLESimpleStorage(); virtual ~OLESimpleStorage();
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 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( impl_staticCreateSelfInstance(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& xServiceManager ); const css::uno::Reference< css::lang::XMultiServiceFactory >& xServiceManager );
// XInitialization // XInitialization
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) virtual void SAL_CALL initialize( const css::uno::Sequence< css::uno::Any >& aArguments )
throw ( ::com::sun::star::uno::Exception, throw ( css::uno::Exception,
::com::sun::star::uno::RuntimeException, std::exception) override; css::uno::RuntimeException, std::exception) override;
// XNameContainer // XNameContainer
virtual void SAL_CALL insertByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement ) virtual void SAL_CALL insertByName( const OUString& aName, const css::uno::Any& aElement )
throw ( ::com::sun::star::lang::IllegalArgumentException, throw ( css::lang::IllegalArgumentException,
::com::sun::star::container::ElementExistException, css::container::ElementExistException,
::com::sun::star::lang::WrappedTargetException, css::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception) override; css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL removeByName( const OUString& Name ) virtual void SAL_CALL removeByName( const OUString& Name )
throw ( ::com::sun::star::container::NoSuchElementException, throw ( css::container::NoSuchElementException,
::com::sun::star::lang::WrappedTargetException, css::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception) override; css::uno::RuntimeException, std::exception) override;
virtual void SAL_CALL replaceByName( const OUString& aName, const ::com::sun::star::uno::Any& aElement ) virtual void SAL_CALL replaceByName( const OUString& aName, const css::uno::Any& aElement )
throw ( ::com::sun::star::lang::IllegalArgumentException, throw ( css::lang::IllegalArgumentException,
::com::sun::star::container::NoSuchElementException, css::container::NoSuchElementException,
::com::sun::star::lang::WrappedTargetException, css::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception) override; css::uno::RuntimeException, std::exception) override;
virtual ::com::sun::star::uno::Any SAL_CALL getByName( const OUString& aName ) virtual css::uno::Any SAL_CALL getByName( const OUString& aName )
throw ( ::com::sun::star::container::NoSuchElementException, throw ( css::container::NoSuchElementException,
::com::sun::star::lang::WrappedTargetException, css::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception ) override; css::uno::RuntimeException, std::exception ) override;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getElementNames() virtual css::uno::Sequence< OUString > SAL_CALL getElementNames()
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL hasByName( const OUString& aName ) virtual sal_Bool SAL_CALL hasByName( const OUString& aName )
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual ::com::sun::star::uno::Type SAL_CALL getElementType() virtual css::uno::Type SAL_CALL getElementType()
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL hasElements() virtual sal_Bool SAL_CALL hasElements()
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
// XComponent // XComponent
virtual void SAL_CALL dispose() virtual void SAL_CALL dispose()
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual void SAL_CALL addEventListener( virtual void SAL_CALL addEventListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) const css::uno::Reference< css::lang::XEventListener >& xListener )
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual void SAL_CALL removeEventListener( virtual void SAL_CALL removeEventListener(
const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XEventListener >& xListener ) const css::uno::Reference< css::lang::XEventListener >& xListener )
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
// XTransactedObject // XTransactedObject
virtual void SAL_CALL commit() virtual void SAL_CALL commit()
throw ( ::com::sun::star::io::IOException, throw ( css::io::IOException,
::com::sun::star::lang::WrappedTargetException, css::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception ) override; css::uno::RuntimeException, std::exception ) override;
virtual void SAL_CALL revert() virtual void SAL_CALL revert()
throw ( ::com::sun::star::io::IOException, throw ( css::io::IOException,
::com::sun::star::lang::WrappedTargetException, css::lang::WrappedTargetException,
::com::sun::star::uno::RuntimeException, std::exception ) override; css::uno::RuntimeException, std::exception ) override;
// XClassifiedObject // XClassifiedObject
virtual ::com::sun::star::uno::Sequence< ::sal_Int8 > SAL_CALL getClassID() virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getClassID()
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual OUString SAL_CALL getClassName() virtual OUString SAL_CALL getClassName()
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual void SAL_CALL setClassInfo( const ::com::sun::star::uno::Sequence< ::sal_Int8 >& aClassID, virtual void SAL_CALL setClassInfo( const css::uno::Sequence< ::sal_Int8 >& aClassID,
const OUString& sClassName ) const OUString& sClassName )
throw ( ::com::sun::star::lang::NoSupportException, throw ( css::lang::NoSupportException,
::com::sun::star::uno::RuntimeException, std::exception ) override; css::uno::RuntimeException, std::exception ) override;
// XServiceInfo // XServiceInfo
virtual OUString SAL_CALL getImplementationName() virtual OUString SAL_CALL getImplementationName()
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName )
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
virtual ::com::sun::star::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw ( ::com::sun::star::uno::RuntimeException, std::exception ) override; throw ( css::uno::RuntimeException, std::exception ) override;
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment