Lines Matching refs:embed
126 if ( nStorageType == embed::StorageFormats::PACKAGE ) in completeStorageStreamCopy_Impl()
132 else if ( nStorageType == embed::StorageFormats::OFOPXML ) in completeStorageStreamCopy_Impl()
135 uno::Reference< embed::XRelationshipAccess > xRelAccess( xDest, uno::UNO_QUERY_THROW ); in completeStorageStreamCopy_Impl()
200 , m_nStorageMode( nMode & ~embed::ElementModes::SEEKABLE ) in OStorage_Impl()
201 …bIsModified( ( nMode & ( embed::ElementModes::WRITE | embed::ElementModes::TRUNCATE ) ) == ( embed… in OStorage_Impl()
224 if ( m_nStorageMode & embed::ElementModes::WRITE ) in OStorage_Impl()
240 , m_nStorageMode( nMode & ~embed::ElementModes::SEEKABLE ) in OStorage_Impl()
241 …bIsModified( ( nMode & ( embed::ElementModes::WRITE | embed::ElementModes::TRUNCATE ) ) == ( embed… in OStorage_Impl()
261 if ( m_nStorageMode & embed::ElementModes::WRITE ) in OStorage_Impl()
283 , m_nStorageMode( nMode & ~embed::ElementModes::SEEKABLE ) in OStorage_Impl()
284 …bIsModified( ( nMode & ( embed::ElementModes::WRITE | embed::ElementModes::TRUNCATE ) ) == ( embed… in OStorage_Impl()
329 uno::Reference< embed::XStorage > xTmp = pStorageIter->m_xWeakRef; in ~OStorage_Impl()
358 if ( m_nStorageType == embed::StorageFormats::OFOPXML && m_pRelStorElement ) in ~OStorage_Impl()
438 uno::Reference< embed::XStorage > xTmp = pStorageIter->m_xWeakRef; in RemoveReadOnlyWrap()
470 if ( m_nStorageMode & embed::ElementModes::WRITE ) in OpenOwnPackage()
502 if ( m_nStorageType == embed::StorageFormats::ZIP ) in OpenOwnPackage()
511 else if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in OpenOwnPackage()
540 …throw embed::InvalidStorageException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX… in OpenOwnPackage()
564 if ( m_nStorageType == embed::StorageFormats::PACKAGE ) in GetStorageProperties()
590 if ( m_nStorageType != embed::StorageFormats::OFOPXML ) in ReadRelInfoIfNecessary()
664 …if ( m_nStorageType == embed::StorageFormats::OFOPXML && aName.equals( ::rtl::OUString( RTL_CONSTA… in ReadContents()
674 if ( ( m_nStorageMode & embed::ElementModes::TRUNCATE ) == embed::ElementModes::TRUNCATE ) in ReadContents()
692 if ( ( m_nStorageMode & embed::ElementModes::TRUNCATE ) == embed::ElementModes::TRUNCATE ) in ReadContents()
705 void OStorage_Impl::CopyToStorage( const uno::Reference< embed::XStorage >& xDest, sal_Bool bDirect… in CopyToStorage()
713 sal_Int32 nDestMode = embed::ElementModes::READ; in CopyToStorage()
716 if ( !( nDestMode & embed::ElementModes::WRITE ) ) in CopyToStorage()
722 …throw embed::InvalidStorageException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX… in CopyToStorage()
732 if ( m_nStorageType == embed::StorageFormats::PACKAGE ) in CopyToStorage()
740 if ( m_nStorageType == embed::StorageFormats::PACKAGE ) in CopyToStorage()
749 uno::Reference< embed::XEncryptionProtectedStorage > xEncr( xDest, uno::UNO_QUERY ); in CopyToStorage()
768 else if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in CopyToStorage()
782 uno::Reference< embed::XRelationshipAccess > xRels( xDest, uno::UNO_QUERY ); in CopyToStorage()
790 uno::Reference< embed::XTransactedObject > xObjToCommit( xDest, uno::UNO_QUERY ); in CopyToStorage()
797 uno::Reference< embed::XStorage > xDest, in CopyStorageElement()
816 uno::Reference< embed::XStorage > xSubDest = in CopyStorageElement()
818 embed::ElementModes::WRITE ); in CopyStorageElement()
824 OpenSubStorage( pElement, embed::ElementModes::READ ); in CopyStorageElement()
859 if ( m_nStorageType == embed::StorageFormats::PACKAGE ) in CopyStorageElement()
865 else if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in CopyStorageElement()
876 uno::Reference< embed::XRelationshipAccess > xRels( xDest, uno::UNO_QUERY ); in CopyStorageElement()
883 uno::Reference< embed::XOptimizedStorage > xOptDest( xDest, uno::UNO_QUERY_THROW ); in CopyStorageElement()
910 embed::ElementModes::READWRITE | embed::ElementModes::TRUNCATE ); in CopyStorageElement()
916 else if ( m_nStorageType != embed::StorageFormats::PACKAGE ) in CopyStorageElement()
943 embed::ElementModes::READWRITE | embed::ElementModes::TRUNCATE ); in CopyStorageElement()
955 uno::Reference< embed::XStorage2 > xDest2( xDest, uno::UNO_QUERY_THROW ); in CopyStorageElement()
958 embed::ElementModes::READWRITE | embed::ElementModes::TRUNCATE, in CopyStorageElement()
973 …uno::Reference< io::XStream > xOwnStream = pElement->m_pStream->GetStream( embed::ElementModes::RE… in CopyStorageElement()
977 embed::ElementModes::READWRITE | embed::ElementModes::TRUNCATE ); in CopyStorageElement()
995 uno::Reference< embed::XStorageRawAccess > xRawDest( xDest, uno::UNO_QUERY_THROW ); in CopyStorageElement()
1006 if ( m_nStorageType != embed::StorageFormats::OFOPXML ) in GetAllRelationshipsIfAny()
1020 void OStorage_Impl::CopyLastCommitTo( const uno::Reference< embed::XStorage >& xNewStor ) in CopyLastCommitTo()
1029 embed::ElementModes::READ, in CopyLastCommitTo()
1071 …throw embed::InvalidStorageException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX… in Commit()
1073 OSL_ENSURE( m_nStorageMode & embed::ElementModes::WRITE, in Commit()
1100 if ( m_nStorageType == embed::StorageFormats::OFOPXML && !(*pDeletedIter)->m_bIsStorage ) in Commit()
1120 if ( m_nStorageType == embed::StorageFormats::OFOPXML && !(*pElementIter)->m_bIsStorage ) in Commit()
1170 if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in Commit()
1196 if ( m_nStorageType == embed::StorageFormats::OFOPXML && !(*pElementIter)->m_bIsStorage ) in Commit()
1245 if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in Commit()
1256 if ( m_nStorageType == embed::StorageFormats::PACKAGE ) in Commit()
1267 if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in Commit()
1285 embed::UseBackupException aException; in Commit()
1313 if ( !( m_nStorageMode & embed::ElementModes::WRITE ) ) in Revert()
1361 if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in Revert()
1376 if ( m_nStorageType != embed::StorageFormats::PACKAGE ) in GetCommonRootEncryptionData()
1419 …throw embed::InvalidStorageException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX… in InsertStream()
1434 …OSL_ENSURE( m_nStorageType == embed::StorageFormats::PACKAGE || !bEncr, "Only package storage supp… in InsertStream()
1435 if ( m_nStorageType != embed::StorageFormats::PACKAGE && bEncr ) in InsertStream()
1455 …throw embed::InvalidStorageException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX… in InsertRawStream()
1457 if ( m_nStorageType != embed::StorageFormats::PACKAGE ) in InsertRawStream()
1497 …throw embed::InvalidStorageException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_PREFIX… in CreateNewStorageImpl()
1558 OpenSubStorage( pDeletedElm, embed::ElementModes::READWRITE ); in InsertElement()
1693 throw ( embed::InvalidStorageException, in CloneStreamElement()
1697 embed::StorageWrappedTargetException, in CloneStreamElement()
1738 if ( m_nStorageType == embed::StorageFormats::OFOPXML && m_xRelStorage.is() ) in RemoveStreamRelInfo()
1751 if ( m_nStorageType != embed::StorageFormats::OFOPXML ) in CreateRelStorage()
1759 m_pRelStorElement->m_pStorage = CreateNewStorageImpl( embed::ElementModes::WRITE ); in CreateRelStorage()
1765 OpenSubStorage( m_pRelStorElement, embed::ElementModes::WRITE ); in CreateRelStorage()
1771 m_xRelStorage = uno::Reference< embed::XStorage >( (embed::XStorage*) pResultStorage ); in CreateRelStorage()
1784 if ( m_nStorageType == embed::StorageFormats::OFOPXML && pStreamElement->m_pStream ) in CommitStreamRelInfo()
1801 if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in GetRelInfoStreamForName()
1810 …uno::Reference< io::XStream > xStream = m_xRelStorage->openStreamElement( aRelStreamName, embed::E… in GetRelInfoStreamForName()
1829 if ( m_nStorageType == embed::StorageFormats::OFOPXML ) in CommitRelInfo()
1846 embed::ElementModes::TRUNCATE | embed::ElementModes::READWRITE ); in CommitRelInfo()
1873 embed::ElementModes::TRUNCATE | embed::ElementModes::READWRITE ); in CommitRelInfo()
1905 uno::Reference< embed::XTransactedObject > xTrans( m_xRelStorage, uno::UNO_QUERY_THROW ); in CommitRelInfo()
1918 m_xRelStorage = uno::Reference< embed::XStorage >(); in CommitRelInfo()
1963 …OSL_ENSURE( ( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) == embed::ElementModes::WRITE… in OStorage()
2162 ::getCppuType( ( const uno::Reference< embed::XTransactionListener >*) NULL ) ); in BroadcastTransaction()
2173 ( ( embed::XTransactionListener* )pIterator.next( ) )->preCommit( aSource ); in BroadcastTransaction()
2176 ( ( embed::XTransactionListener* )pIterator.next( ) )->commited( aSource ); in BroadcastTransaction()
2179 ( ( embed::XTransactionListener* )pIterator.next( ) )->preRevert( aSource ); in BroadcastTransaction()
2182 ( ( embed::XTransactionListener* )pIterator.next( ) )->reverted( aSource ); in BroadcastTransaction()
2194 …OSL_ENSURE( !m_pData->m_bReadOnlyWrap || ( nOpenMode & embed::ElementModes::WRITE ) != embed::Elem… in OpenStreamElement_Impl()
2201 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) in OpenStreamElement_Impl()
2202 || (( nOpenMode & embed::ElementModes::WRITE ) != embed::ElementModes::WRITE ) in OpenStreamElement_Impl()
2203 || ( nOpenMode & embed::ElementModes::NOCREATE ) == embed::ElementModes::NOCREATE ) in OpenStreamElement_Impl()
2257 , static_cast<embed::XStorage*> ( this ) in queryInterface()
2258 , static_cast<embed::XStorage2*> ( this ) in queryInterface()
2259 , static_cast<embed::XTransactedObject*> ( this ) in queryInterface()
2260 , static_cast<embed::XTransactionBroadcaster*> ( this ) in queryInterface()
2266 , static_cast<embed::XOptimizedStorage*> ( this ) ); in queryInterface()
2273 , static_cast<embed::XHierarchicalStorageAccess*> ( this ) in queryInterface()
2274 , static_cast<embed::XHierarchicalStorageAccess2*> ( this ) ); in queryInterface()
2279 if ( m_pData->m_nStorageType == embed::StorageFormats::PACKAGE ) in queryInterface()
2285 , static_cast<embed::XStorageRawAccess*> ( this ) in queryInterface()
2286 , static_cast<embed::XEncryptionProtectedSource*> ( this ) in queryInterface()
2287 , static_cast<embed::XEncryptionProtectedSource2*> ( this ) in queryInterface()
2288 , static_cast<embed::XEncryptionProtectedStorage*> ( this ) ); in queryInterface()
2294 , static_cast<embed::XStorageRawAccess*> ( this ) ); in queryInterface()
2297 else if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML ) in queryInterface()
2301 , static_cast<embed::XRelationshipAccess*> ( this ) ); in queryInterface()
2336 if ( m_pData->m_nStorageType == embed::StorageFormats::PACKAGE ) in getTypes()
2342 , ::getCppuType( ( const uno::Reference< embed::XStorage >* )NULL ) in getTypes()
2343 , ::getCppuType( ( const uno::Reference< embed::XStorage2 >* )NULL ) in getTypes()
2344 , ::getCppuType( ( const uno::Reference< embed::XStorageRawAccess >* )NULL ) in getTypes()
2345 , ::getCppuType( ( const uno::Reference< embed::XTransactedObject >* )NULL ) in getTypes()
2346 , ::getCppuType( ( const uno::Reference< embed::XTransactionBroadcaster >* )NULL ) in getTypes()
2348 , ::getCppuType( ( const uno::Reference< embed::XEncryptionProtectedStorage >* )NULL ) in getTypes()
2349 , ::getCppuType( ( const uno::Reference< embed::XEncryptionProtectedSource2 >* )NULL ) in getTypes()
2350 , ::getCppuType( ( const uno::Reference< embed::XEncryptionProtectedSource >* )NULL ) in getTypes()
2357 , ::getCppuType( ( const uno::Reference< embed::XStorage >* )NULL ) in getTypes()
2358 , ::getCppuType( ( const uno::Reference< embed::XStorage2 >* )NULL ) in getTypes()
2359 , ::getCppuType( ( const uno::Reference< embed::XStorageRawAccess >* )NULL ) in getTypes()
2360 , ::getCppuType( ( const uno::Reference< embed::XTransactedObject >* )NULL ) in getTypes()
2361 , ::getCppuType( ( const uno::Reference< embed::XTransactionBroadcaster >* )NULL ) in getTypes()
2366 else if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML ) in getTypes()
2370 , ::getCppuType( ( const uno::Reference< embed::XStorage >* )NULL ) in getTypes()
2371 , ::getCppuType( ( const uno::Reference< embed::XTransactedObject >* )NULL ) in getTypes()
2372 , ::getCppuType( ( const uno::Reference< embed::XTransactionBroadcaster >* )NULL ) in getTypes()
2374 , ::getCppuType( ( const uno::Reference< embed::XRelationshipAccess >* )NULL ) in getTypes()
2381 , ::getCppuType( ( const uno::Reference< embed::XStorage >* )NULL ) in getTypes()
2382 , ::getCppuType( ( const uno::Reference< embed::XTransactedObject >* )NULL ) in getTypes()
2383 , ::getCppuType( ( const uno::Reference< embed::XTransactionBroadcaster >* )NULL ) in getTypes()
2409 void SAL_CALL OStorage::copyToStorage( const uno::Reference< embed::XStorage >& xDest ) in copyToStorage()
2410 throw ( embed::InvalidStorageException, in copyToStorage()
2413 embed::StorageWrappedTargetException, in copyToStorage()
2432 catch( embed::InvalidStorageException& aInvalidStorageException ) in copyToStorage()
2444 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in copyToStorage()
2468 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in copyToStorage()
2477 throw ( embed::InvalidStorageException, in openStreamElement()
2481 embed::StorageWrappedTargetException, in openStreamElement()
2497 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in openStreamElement()
2501 if ( ( nOpenMode & embed::ElementModes::WRITE ) && m_pData->m_bReadOnlyWrap ) in openStreamElement()
2523 catch( embed::InvalidStorageException& aInvalidStorageException ) in openStreamElement()
2541 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in openStreamElement()
2565 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in openStreamElement()
2580 throw ( embed::InvalidStorageException, in openEncryptedStreamElement()
2585 embed::StorageWrappedTargetException, in openEncryptedStreamElement()
2594 uno::Reference< embed::XStorage > SAL_CALL OStorage::openStorageElement( in openStorageElement()
2596 throw ( embed::InvalidStorageException, in openStorageElement()
2599 embed::StorageWrappedTargetException, in openStorageElement()
2615 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in openStorageElement()
2619 if ( ( nStorageMode & embed::ElementModes::WRITE ) && m_pData->m_bReadOnlyWrap ) in openStorageElement()
2622 if ( ( nStorageMode & embed::ElementModes::TRUNCATE ) in openStorageElement()
2623 && !( nStorageMode & embed::ElementModes::WRITE ) ) in openStorageElement()
2627 nStorageMode |= embed::ElementModes::READ; in openStorageElement()
2629 uno::Reference< embed::XStorage > xResult; in openStorageElement()
2636 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) in openStorageElement()
2637 || (( nStorageMode & embed::ElementModes::WRITE ) != embed::ElementModes::WRITE ) in openStorageElement()
2638 || ( nStorageMode & embed::ElementModes::NOCREATE ) == embed::ElementModes::NOCREATE ) in openStorageElement()
2656 && ( nStorageMode & embed::ElementModes::WRITE ) ) in openStorageElement()
2665 pElement->m_pStorage->m_nStorageMode = nStorageMode | embed::ElementModes::READ; in openStorageElement()
2667 if ( ( nStorageMode & embed::ElementModes::TRUNCATE ) ) in openStorageElement()
2687 …sal_Bool bReadOnlyWrap = ( ( nStorageMode & embed::ElementModes::WRITE ) != embed::ElementModes::W… in openStorageElement()
2689 xResult = uno::Reference< embed::XStorage >( (embed::XStorage*) pResultStorage ); in openStorageElement()
2704 catch( embed::InvalidStorageException& aInvalidStorageException ) in openStorageElement()
2716 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in openStorageElement()
2740 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in openStorageElement()
2750 throw ( embed::InvalidStorageException, in cloneStreamElement()
2754 embed::StorageWrappedTargetException, in cloneStreamElement()
2770 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in cloneStreamElement()
2782 catch( embed::InvalidStorageException& aInvalidStorageException ) in cloneStreamElement()
2806 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in cloneStreamElement()
2824 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in cloneStreamElement()
2834 throw ( embed::InvalidStorageException, in cloneEncryptedStreamElement()
2839 embed::StorageWrappedTargetException, in cloneEncryptedStreamElement()
2849 const uno::Reference< embed::XStorage >& xTargetStorage ) in copyLastCommitTo()
2850 throw ( embed::InvalidStorageException, in copyLastCommitTo()
2853 embed::StorageWrappedTargetException, in copyLastCommitTo()
2870 catch( embed::InvalidStorageException& aInvalidStorageException ) in copyLastCommitTo()
2882 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in copyLastCommitTo()
2906 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in copyLastCommitTo()
2916 const uno::Reference< embed::XStorage >& xTargetStorage ) in copyStorageElementLastCommitTo()
2917 throw ( embed::InvalidStorageException, in copyStorageElementLastCommitTo()
2920 embed::StorageWrappedTargetException, in copyStorageElementLastCommitTo()
2936 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in copyStorageElementLastCommitTo()
2941 sal_Int32 nStorageMode = embed::ElementModes::READ; in copyStorageElementLastCommitTo()
2959 uno::Reference< embed::XStorage > xResult; in copyStorageElementLastCommitTo()
2970 catch( embed::InvalidStorageException& aInvalidStorageException ) in copyStorageElementLastCommitTo()
2988 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in copyStorageElementLastCommitTo()
3006 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in copyStorageElementLastCommitTo()
3014 throw ( embed::InvalidStorageException, in isStreamElement()
3030 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in isStreamElement()
3040 catch( embed::InvalidStorageException& aInvalidStorageException ) in isStreamElement()
3083 throw ( embed::InvalidStorageException, in isStorageElement()
3099 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in isStorageElement()
3109 catch( embed::InvalidStorageException& aInvalidStorageException ) in isStorageElement()
3152 throw ( embed::InvalidStorageException, in removeElement()
3156 embed::StorageWrappedTargetException, in removeElement()
3172 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in removeElement()
3176 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) ) in removeElement()
3191 catch( embed::InvalidStorageException& aInvalidStorageException ) in removeElement()
3215 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in removeElement()
3233 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in removeElement()
3245 throw ( embed::InvalidStorageException, in renameElement()
3250 embed::StorageWrappedTargetException, in renameElement()
3267 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in renameElement()
3272 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) ) in renameElement()
3290 catch( embed::InvalidStorageException& aInvalidStorageException ) in renameElement()
3320 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in renameElement()
3338 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in renameElement()
3350 const uno::Reference< embed::XStorage >& xDest, in copyElementTo()
3352 throw ( embed::InvalidStorageException, in copyElementTo()
3357 embed::StorageWrappedTargetException, in copyElementTo()
3378 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in copyElementTo()
3398 catch( embed::InvalidStorageException& aInvalidStorageException ) in copyElementTo()
3422 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in copyElementTo()
3446 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in copyElementTo()
3455 const uno::Reference< embed::XStorage >& xDest, in moveElementTo()
3457 throw ( embed::InvalidStorageException, in moveElementTo()
3462 embed::StorageWrappedTargetException, in moveElementTo()
3482 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in moveElementTo()
3487 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) ) in moveElementTo()
3510 catch( embed::InvalidStorageException& aInvalidStorageException ) in moveElementTo()
3534 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in moveElementTo()
3558 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in moveElementTo()
3575 throw ( embed::InvalidStorageException, in openEncryptedStream()
3580 embed::StorageWrappedTargetException, in openEncryptedStream()
3593 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in openEncryptedStream()
3596 if ( ( nOpenMode & embed::ElementModes::WRITE ) && m_pData->m_bReadOnlyWrap ) in openEncryptedStream()
3621 catch( embed::InvalidStorageException& aInvalidStorageException ) in openEncryptedStream()
3645 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in openEncryptedStream()
3669 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in openEncryptedStream()
3685 throw ( embed::InvalidStorageException, in cloneEncryptedStream()
3690 embed::StorageWrappedTargetException, in cloneEncryptedStream()
3703 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in cloneEncryptedStream()
3717 catch( embed::InvalidStorageException& aInvalidStorageException ) in cloneEncryptedStream()
3747 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in cloneEncryptedStream()
3765 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in cloneEncryptedStream()
3779 throw ( embed::InvalidStorageException, in getPlainRawStreamElement()
3783 embed::StorageWrappedTargetException, in getPlainRawStreamElement()
3796 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML ) in getPlainRawStreamElement()
3835 catch( embed::InvalidStorageException& aInvalidStorageException ) in getPlainRawStreamElement()
3853 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in getPlainRawStreamElement()
3877 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in getPlainRawStreamElement()
3888 throw ( embed::InvalidStorageException, in getRawEncrStreamElement()
3893 embed::StorageWrappedTargetException, in getRawEncrStreamElement()
3906 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in getRawEncrStreamElement()
3949 catch( embed::InvalidStorageException& aInvalidStorageException ) in getRawEncrStreamElement()
3973 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in getRawEncrStreamElement()
3997 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in getRawEncrStreamElement()
4008 throw ( embed::InvalidStorageException, in insertRawEncrStreamElement()
4013 embed::StorageWrappedTargetException, in insertRawEncrStreamElement()
4026 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in insertRawEncrStreamElement()
4035 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) ) in insertRawEncrStreamElement()
4046 catch( embed::InvalidStorageException& aInvalidStorageException ) in insertRawEncrStreamElement()
4070 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in insertRawEncrStreamElement()
4094 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in insertRawEncrStreamElement()
4107 embed::StorageWrappedTargetException, in commit()
4140 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in commit()
4158 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in commit()
4173 embed::StorageWrappedTargetException, in revert()
4214 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in revert()
4232 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in revert()
4248 void SAL_CALL OStorage::addTransactionListener( const uno::Reference< embed::XTransactionListener >… in addTransactionListener()
4259 …m_pData->m_aListenersContainer.addInterface( ::getCppuType((const uno::Reference< embed::XTransact… in addTransactionListener()
4264 void SAL_CALL OStorage::removeTransactionListener( const uno::Reference< embed::XTransactionListene… in removeTransactionListener()
4275 …m_pData->m_aListenersContainer.removeInterface( ::getCppuType((const uno::Reference< embed::XTrans… in removeTransactionListener()
4387 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in getByName()
4399 aResult <<= openStorageElement( aName, embed::ElementModes::READ ); in getByName()
4401 aResult <<= openStreamElement( aName, embed::ElementModes::READ ); in getByName()
4492 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in hasByName()
4678 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in removeEncryption()
4754 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in setEncryptionData()
4822 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in setEncryptionAlgorithms()
4895 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in getEncryptionAlgorithms()
4994 if ( m_pData->m_nStorageType == embed::StorageFormats::ZIP ) in setPropertyValue()
4996 else if ( m_pData->m_nStorageType == embed::StorageFormats::PACKAGE ) in setPropertyValue()
5029 else if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML ) in setPropertyValue()
5096 if ( m_pData->m_nStorageType == embed::StorageFormats::PACKAGE in getPropertyValue()
5154 else if ( m_pData->m_nStorageType == embed::StorageFormats::PACKAGE in getPropertyValue()
5289 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in hasByID()
5320 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in getTargetByID()
5345 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in getTypeByID()
5370 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in getRelationshipByID()
5400 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in getRelationshipsByType()
5436 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in getAllRelationships()
5456 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in insertRelationshipByID()
5521 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in removeRelationshipByID()
5563 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in insertRelationships()
5645 if ( m_pData->m_nStorageType != embed::StorageFormats::OFOPXML ) in clearRelationships()
5660 throw ( embed::InvalidStorageException, in insertRawNonEncrStreamElementDirect()
5665 embed::StorageWrappedTargetException, in insertRawNonEncrStreamElementDirect()
5678 throw ( embed::InvalidStorageException, in insertStreamElementDirect()
5682 embed::StorageWrappedTargetException, in insertStreamElementDirect()
5698 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in insertStreamElementDirect()
5712 pElement = OpenStreamElement_Impl( aStreamName, embed::ElementModes::READWRITE, sal_False ); in insertStreamElementDirect()
5717 catch( embed::InvalidStorageException& aInvalidStorageException ) in insertStreamElementDirect()
5735 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in insertStreamElementDirect()
5759 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in insertStreamElementDirect()
5768 const uno::Reference< embed::XOptimizedStorage >& xDest, in copyElementDirectlyTo()
5770 throw ( embed::InvalidStorageException, in copyElementDirectlyTo()
5775 embed::StorageWrappedTargetException, in copyElementDirectlyTo()
5795 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in copyElementDirectlyTo()
5814 uno::Reference< embed::XStorage > xStorDest( xDest, uno::UNO_QUERY_THROW ); in copyElementDirectlyTo()
5817 catch( embed::InvalidStorageException& aInvalidStorageException ) in copyElementDirectlyTo()
5841 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in copyElementDirectlyTo()
5865 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in copyElementDirectlyTo()
5873 throw ( embed::InvalidStorageException, in writeAndAttachToStream()
5876 embed::StorageWrappedTargetException, in writeAndAttachToStream()
5899 catch( embed::InvalidStorageException& aInvalidStorageException ) in writeAndAttachToStream()
5911 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in writeAndAttachToStream()
5935 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in writeAndAttachToStream()
5945 throw ( embed::InvalidStorageException, in attachToURL()
5948 embed::StorageWrappedTargetException, in attachToURL()
5985 catch( embed::InvalidStorageException& aInvalidStorageException ) in attachToURL()
5997 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in attachToURL()
6021 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in attachToURL()
6029 throw ( embed::InvalidStorageException, in getElementPropertyValue()
6035 embed::StorageWrappedTargetException, in getElementPropertyValue()
6051 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in getElementPropertyValue()
6062 …if ( !pElement->m_bIsStorage || m_pData->m_nStorageType != embed::StorageFormats::PACKAGE || !aPro… in getElementPropertyValue()
6066 m_pImpl->OpenSubStorage( pElement, embed::ElementModes::READ ); in getElementPropertyValue()
6074 catch( embed::InvalidStorageException& aInvalidStorageException ) in getElementPropertyValue()
6104 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in getElementPropertyValue()
6128 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in getElementPropertyValue()
6136 throw ( embed::InvalidStorageException, in copyStreamElementData()
6140 embed::StorageWrappedTargetException, in copyStreamElementData()
6154 if ( m_pData->m_nStorageType == embed::StorageFormats::OFOPXML in copyStreamElementData()
6170 catch( embed::InvalidStorageException& aInvalidStorageException ) in copyStreamElementData()
6194 catch( embed::StorageWrappedTargetException& aStorageWrappedTargetException ) in copyStreamElementData()
6212 …throw embed::StorageWrappedTargetException( ::rtl::OUString( RTL_CONSTASCII_USTRINGPARAM( OSL_LOG_… in copyStreamElementData()
6225 uno::Reference< embed::XExtendedStorageStream > SAL_CALL OStorage::openStreamElementByHierarchicalN… in openStreamElementByHierarchicalName()
6226 throw ( embed::InvalidStorageException, in openStreamElementByHierarchicalName()
6230 embed::StorageWrappedTargetException, in openStreamElementByHierarchicalName()
6244 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) in openStreamElementByHierarchicalName()
6245 && ( nOpenMode & embed::ElementModes::WRITE ) ) in openStreamElementByHierarchicalName()
6251 uno::Reference< embed::XExtendedStorageStream > xResult; in openStreamElementByHierarchicalName()
6260 xResult = uno::Reference< embed::XExtendedStorageStream >( in openStreamElementByHierarchicalName()
6269 uno::Reference< embed::XStorage >( static_cast< embed::XStorage* >( this ) ) ); in openStreamElementByHierarchicalName()
6272 ( m_pImpl->m_nStorageMode & embed::ElementModes::READWRITE ), in openStreamElementByHierarchicalName()
6284 uno::Reference< embed::XExtendedStorageStream > SAL_CALL OStorage::openEncryptedStreamElementByHier… in openEncryptedStreamElementByHierarchicalName()
6285 throw ( embed::InvalidStorageException, in openEncryptedStreamElementByHierarchicalName()
6290 embed::StorageWrappedTargetException, in openEncryptedStreamElementByHierarchicalName()
6298 throw ( embed::InvalidStorageException, in removeStreamElementByHierarchicalName()
6302 embed::StorageWrappedTargetException, in removeStreamElementByHierarchicalName()
6316 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) ) in removeStreamElementByHierarchicalName()
6324 uno::Reference< embed::XStorage >( static_cast< embed::XStorage* >( this ) ) ); in removeStreamElementByHierarchicalName()
6333 uno::Reference< embed::XExtendedStorageStream > SAL_CALL OStorage::openEncryptedStreamByHierarchica… in openEncryptedStreamByHierarchicalName()
6334 throw ( embed::InvalidStorageException, in openEncryptedStreamByHierarchicalName()
6339 embed::StorageWrappedTargetException, in openEncryptedStreamByHierarchicalName()
6350 if ( m_pData->m_nStorageType != embed::StorageFormats::PACKAGE ) in openEncryptedStreamByHierarchicalName()
6359 if ( !( m_pImpl->m_nStorageMode & embed::ElementModes::WRITE ) in openEncryptedStreamByHierarchicalName()
6360 && ( nOpenMode & embed::ElementModes::WRITE ) ) in openEncryptedStreamByHierarchicalName()
6366 uno::Reference< embed::XExtendedStorageStream > xResult; in openEncryptedStreamByHierarchicalName()
6375 xResult = uno::Reference< embed::XExtendedStorageStream >( in openEncryptedStreamByHierarchicalName()
6384 uno::Reference< embed::XStorage >( static_cast< embed::XStorage* >( this ) ) ); in openEncryptedStreamByHierarchicalName()
6387 ( m_pImpl->m_nStorageMode & embed::ElementModes::READWRITE ), in openEncryptedStreamByHierarchicalName()