Lines Matching refs:xStorage
134 const uno::Reference< embed::XStorage >& xStorage, in createTempInpStreamFromStor()
137 OSL_ENSURE( xStorage.is(), "The storage can not be empty!" ); in createTempInpStreamFromStor()
161 xStorage->copyToStorage( xTempStorage ); in createTempInpStreamFromStor()
743 …rence< document::XStorageBasedDocument >& xDoc, const uno::Reference< embed::XStorage >& xStorage ) in SwitchDocToStorage_Impl() argument
745 xDoc->switchToStorage( xStorage ); in SwitchDocToStorage_Impl()
756 …d OCommonEmbeddedObject::StoreDocToStorage_Impl( const uno::Reference< embed::XStorage >& xStorage, in StoreDocToStorage_Impl() argument
762 OSL_ENSURE( xStorage.is(), "No storage is provided for storing!" ); in StoreDocToStorage_Impl()
764 if ( !xStorage.is() ) in StoreDocToStorage_Impl()
791 xDoc->storeToStorage( xStorage, aArgs ); in StoreDocToStorage_Impl()
793 SwitchDocToStorage_Impl( xDoc, xStorage ); in StoreDocToStorage_Impl()
816 xTempStorage->copyToStorage( xStorage ); in StoreDocToStorage_Impl()
929 const uno::Reference< embed::XStorage >& xStorage, in setPersistentEntry()
949 if ( !xStorage.is() ) in setPersistentEntry()
979 if ( m_xNewParentStorage == xStorage && m_aNewEntryName.equals( sEntName ) ) in setPersistentEntry()
987 … sal_Bool bSwitchFurther = ( m_xParentStorage != xStorage || !m_aEntryName.equals( sEntName ) ); in setPersistentEntry()
1007 uno::Reference< container::XNameAccess > xNameAccess( xStorage, uno::UNO_QUERY ); in setPersistentEntry()
1099 SwitchOwnPersistence( xStorage, sEntName ); in setPersistentEntry()
1158 …id SAL_CALL OCommonEmbeddedObject::storeToEntry( const uno::Reference< embed::XStorage >& xStorage, in storeToEntry() argument
1197 nTargetStorageFormat = ::comphelper::OStorageHelper::GetXStorageFormat( xStorage ); in storeToEntry()
1244 uno::Reference< embed::XOptimizedStorage > xTarget( xStorage, uno::UNO_QUERY_THROW ); in storeToEntry()
1254 m_xParentStorage->copyElementTo( m_aEntryName, xStorage, sEntName ); in storeToEntry()
1266 xStorage->openStorageElement( sEntName, embed::ElementModes::READWRITE ); in storeToEntry()
1284 …id SAL_CALL OCommonEmbeddedObject::storeAsEntry( const uno::Reference< embed::XStorage >& xStorage, in storeAsEntry() argument
1328 nTargetStorageFormat = ::comphelper::OStorageHelper::GetXStorageFormat( xStorage ); in storeAsEntry()
1377 uno::Reference< embed::XOptimizedStorage > xTarget( xStorage, uno::UNO_QUERY_THROW ); in storeAsEntry()
1387 m_xParentStorage->copyElementTo( m_aEntryName, xStorage, sEntName ); in storeAsEntry()
1397 xStorage->openStorageElement( sEntName, embed::ElementModes::READWRITE ); in storeAsEntry()
1415 m_xNewParentStorage = xStorage; in storeAsEntry()
1790 void SAL_CALL OCommonEmbeddedObject::breakLink( const uno::Reference< embed::XStorage >& xStorage, in breakLink() argument
1818 if ( !xStorage.is() ) in breakLink()
1841 uno::Reference< container::XNameAccess > xNameAccess( xStorage, uno::UNO_QUERY ); in breakLink()
1851 if ( m_xParentStorage != xStorage || !m_aEntryName.equals( sEntName ) ) in breakLink()
1852 SwitchOwnPersistence( xStorage, sEntName ); in breakLink()