Lines Matching refs:pImpl

127     pImpl = new EmbedImpl;  in EmbeddedObjectContainer()
128 pImpl->mxStorage = ::comphelper::OStorageHelper::GetTemporaryStorage(); in EmbeddedObjectContainer()
129 pImpl->mbOwnsStorage = true; in EmbeddedObjectContainer()
130 pImpl->mbUserAllowsLinkUpdate = true; in EmbeddedObjectContainer()
131 pImpl->mpTempObjectContainer = 0; in EmbeddedObjectContainer()
136 pImpl = new EmbedImpl; in EmbeddedObjectContainer()
137 pImpl->mxStorage = rStor; in EmbeddedObjectContainer()
138 pImpl->mbOwnsStorage = false; in EmbeddedObjectContainer()
139 pImpl->mbUserAllowsLinkUpdate = true; in EmbeddedObjectContainer()
140 pImpl->mpTempObjectContainer = 0; in EmbeddedObjectContainer()
145 pImpl = new EmbedImpl; in EmbeddedObjectContainer()
146 pImpl->mxStorage = rStor; in EmbeddedObjectContainer()
147 pImpl->mbOwnsStorage = false; in EmbeddedObjectContainer()
148 pImpl->mbUserAllowsLinkUpdate = true; in EmbeddedObjectContainer()
149 pImpl->mpTempObjectContainer = 0; in EmbeddedObjectContainer()
150 pImpl->m_xModel = xModel; in EmbeddedObjectContainer()
157 if ( pImpl->mbOwnsStorage ) in SwitchPersistence()
158 pImpl->mxStorage->dispose(); in SwitchPersistence()
160 pImpl->mxStorage = rStor; in SwitchPersistence()
161 pImpl->mbOwnsStorage = false; in SwitchPersistence()
166 if ( pImpl->mxImageStorage.is() ) in CommitImageSubStorage()
171 uno::Reference < beans::XPropertySet > xSet(pImpl->mxImageStorage,uno::UNO_QUERY); in CommitImageSubStorage()
182 …uno::Reference< embed::XTransactedObject > xTransact( pImpl->mxImageStorage, uno::UNO_QUERY_THROW … in CommitImageSubStorage()
199 if ( pImpl->mxImageStorage.is() ) in ReleaseImageSubStorage()
203 pImpl->mxImageStorage->dispose(); in ReleaseImageSubStorage()
204 pImpl->mxImageStorage = uno::Reference< embed::XStorage >(); in ReleaseImageSubStorage()
217 if ( pImpl->mbOwnsStorage ) in ~EmbeddedObjectContainer()
218 pImpl->mxStorage->dispose(); in ~EmbeddedObjectContainer()
220 delete pImpl->mpTempObjectContainer; in ~EmbeddedObjectContainer()
221 delete pImpl; in ~EmbeddedObjectContainer()
226 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin(); in CloseEmbeddedObjects()
227 while ( aIt != pImpl->maObjectContainer.end() ) in CloseEmbeddedObjects()
263 uno::Sequence < ::rtl::OUString > aSeq( pImpl->maObjectContainer.size() ); in GetObjectNames()
264 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin(); in GetObjectNames()
266 while ( aIt != pImpl->maObjectContainer.end() ) in GetObjectNames()
273 return pImpl->maObjectContainer.size() != 0; in HasEmbeddedObjects()
278 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.find( rName ); in HasEmbeddedObject()
279 if ( aIt == pImpl->maObjectContainer.end() ) in HasEmbeddedObject()
281 uno::Reference < container::XNameAccess > xAccess( pImpl->mxStorage, uno::UNO_QUERY ); in HasEmbeddedObject()
290 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin(); in HasEmbeddedObject()
291 while ( aIt != pImpl->maObjectContainer.end() ) in HasEmbeddedObject()
307 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.find( rName ); in HasInstantiatedEmbeddedObject()
308 return ( aIt != pImpl->maObjectContainer.end() ); in HasInstantiatedEmbeddedObject()
313 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin(); in GetEmbeddedObjectName()
314 while ( aIt != pImpl->maObjectContainer.end() ) in GetEmbeddedObjectName()
333 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.find( rName ); in GetEmbeddedObject()
336 uno::Reference < container::XNameAccess > xAccess( pImpl->mxStorage, uno::UNO_QUERY ); in GetEmbeddedObject()
344 …OSL_ENSURE( aIt != pImpl->maObjectContainer.end() || xAccess->hasByName(rName), "Could not return … in GetEmbeddedObject()
348 if ( aIt != pImpl->maObjectContainer.end() ) in GetEmbeddedObject()
362 uno::Reference < beans::XPropertySet > xSet( pImpl->mxStorage, uno::UNO_QUERY ); in Get_Impl()
379 aObjDescr[0].Value <<= pImpl->m_xModel.get(); in Get_Impl()
390 pImpl->mxStorage, rName, in Get_Impl()
422 aObjDescr[0].Value <<= pImpl->m_xModel.get(); in CreateEmbeddedObject()
425 rClassId, ::rtl::OUString(), pImpl->mxStorage, rNewName, in CreateEmbeddedObject()
451 uno::Reference < container::XNameAccess > xAccess( pImpl->mxStorage, uno::UNO_QUERY ); in AddEmbeddedObject()
460 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.find( rName ); in AddEmbeddedObject()
461 OSL_ENSURE( aIt == pImpl->maObjectContainer.end(), "Element already inserted!" ); in AddEmbeddedObject()
462 pImpl->maObjectContainer[ rName ] = xObj; in AddEmbeddedObject()
464 if ( xChild.is() && xChild->getParent() != pImpl->m_xModel.get() ) in AddEmbeddedObject()
465 xChild->setParent( pImpl->m_xModel.get() ); in AddEmbeddedObject()
468 if ( pImpl->mpTempObjectContainer ) in AddEmbeddedObject()
470 aIt = pImpl->mpTempObjectContainer->pImpl->maObjectContainer.begin(); in AddEmbeddedObject()
471 while ( aIt != pImpl->mpTempObjectContainer->pImpl->maObjectContainer.end() ) in AddEmbeddedObject()
478 …uno::Reference < io::XInputStream > xStream = pImpl->mpTempObjectContainer->GetGraphicStream( xObj… in AddEmbeddedObject()
483 pImpl->mpTempObjectContainer->RemoveGraphicStream( aTempName ); in AddEmbeddedObject()
492 pImpl->mpTempObjectContainer->pImpl->mxStorage->removeElement( aTempName ); in AddEmbeddedObject()
500 pImpl->mpTempObjectContainer->pImpl->maObjectContainer.erase( aIt ); in AddEmbeddedObject()
518 uno::Reference < container::XNameAccess > xAccess( pImpl->mxStorage, uno::UNO_QUERY ); in StoreEmbeddedObject()
530 xPersist->storeToEntry( pImpl->mxStorage, rName, aSeq, aSeq ); in StoreEmbeddedObject()
535 xPersist->storeAsEntry( pImpl->mxStorage, rName, aSeq, aSeq ); in StoreEmbeddedObject()
580 …uno::Reference < embed::XStorage > xNewStore = pImpl->mxStorage->openStorageElement( rNewName, emb… in InsertEmbeddedObject()
592 …uno::Reference < io::XStream > xNewStream = pImpl->mxStorage->openStreamElement( rNewName, embed::… in InsertEmbeddedObject()
616 pImpl->mxStorage->removeElement( rNewName ); in InsertEmbeddedObject()
639 aObjDescr[0].Value <<= pImpl->m_xModel.get(); in InsertEmbeddedObject()
641 pImpl->mxStorage, rNewName, aMedium, aObjDescr ), uno::UNO_QUERY ); in InsertEmbeddedObject()
674 aObjDescr[0].Value <<= pImpl->m_xModel.get(); in InsertEmbeddedLink()
676 pImpl->mxStorage, rNewName, aMedium, aObjDescr ), uno::UNO_QUERY ); in InsertEmbeddedLink()
789 aObjDescr[0].Value <<= pImpl->m_xModel.get(); in CopyAndGetEmbeddedObject()
792 pImpl->mxStorage, in CopyAndGetEmbeddedObject()
815 aObjDescr[0].Value <<= pImpl->m_xModel.get(); in CopyAndGetEmbeddedObject()
820 pImpl->mxStorage, in CopyAndGetEmbeddedObject()
924 EmbeddedObjectContainerNameMap::iterator aIt = rSrc.pImpl->maObjectContainer.begin(); in MoveEmbeddedObject()
925 while ( aIt != rSrc.pImpl->maObjectContainer.end() ) in MoveEmbeddedObject()
929 rSrc.pImpl->maObjectContainer.erase( aIt ); in MoveEmbeddedObject()
944 rSrc.pImpl->mxStorage->removeElement( aName ); in MoveEmbeddedObject()
978 EmbeddedObjectContainerNameMap::iterator aIt2 = rCnt.pImpl->maObjectContainer.find( rName ); in MoveEmbeddedObject()
979 …OSL_ENSURE( aIt2 == rCnt.pImpl->maObjectContainer.end(), "Object does already exist in target cont… in MoveEmbeddedObject()
981 if ( aIt2 != rCnt.pImpl->maObjectContainer.end() ) in MoveEmbeddedObject()
985 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.find( rName ); in MoveEmbeddedObject()
986 if ( aIt != pImpl->maObjectContainer.end() ) in MoveEmbeddedObject()
996 pImpl->maObjectContainer.erase( aIt ); in MoveEmbeddedObject()
999 pImpl->mxStorage->removeElement( rName ); in MoveEmbeddedObject()
1004 …uno::Reference < embed::XStorage > xOld = pImpl->mxStorage->openStorageElement( rName, embed::Elem… in MoveEmbeddedObject()
1005 …uno::Reference < embed::XStorage > xNew = rCnt.pImpl->mxStorage->openStorageElement( rName, embed:… in MoveEmbeddedObject()
1038 uno::Reference < container::XNameAccess > xAccess( pImpl->mxStorage, uno::UNO_QUERY ); in RemoveEmbeddedObject()
1083 if ( !pImpl->mpTempObjectContainer ) in RemoveEmbeddedObject()
1085 pImpl->mpTempObjectContainer = new EmbeddedObjectContainer(); in RemoveEmbeddedObject()
1091 uno::Reference< beans::XPropertySet > xStorProps( pImpl->mxStorage, uno::UNO_QUERY_THROW ); in RemoveEmbeddedObject()
1098 pImpl->mpTempObjectContainer->pImpl->mxStorage, in RemoveEmbeddedObject()
1109 pImpl->mpTempObjectContainer->InsertEmbeddedObject( xObj, aTempName ); in RemoveEmbeddedObject()
1113pImpl->mpTempObjectContainer->InsertGraphicStream( xStream, aTempName, aMediaType ); in RemoveEmbeddedObject()
1129 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin(); in RemoveEmbeddedObject()
1130 while ( aIt != pImpl->maObjectContainer.end() ) in RemoveEmbeddedObject()
1134 pImpl->maObjectContainer.erase( aIt ); in RemoveEmbeddedObject()
1157 …OSL_ENSURE( bIsNotEmbedded || pImpl->mxStorage->hasByName( aName ), "The object has no persistence… in RemoveEmbeddedObject()
1159 if ( xPersist.is() && pImpl->mxStorage->hasByName( aName ) ) in RemoveEmbeddedObject()
1160 pImpl->mxStorage->removeElement( aName ); in RemoveEmbeddedObject()
1179 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin(); in CloseEmbeddedObject()
1180 while ( aIt != pImpl->maObjectContainer.end() ) in CloseEmbeddedObject()
1184 pImpl->maObjectContainer.erase( aIt ); in CloseEmbeddedObject()
1220 uno::Reference < embed::XStorage > xReplacements = pImpl->GetReplacements(); in GetGraphicStream()
1247 EmbeddedObjectContainerNameMap::iterator aIt = pImpl->maObjectContainer.begin(); in GetGraphicStream()
1248 while ( aIt != pImpl->maObjectContainer.end() ) in GetGraphicStream()
1269 uno::Reference < embed::XStorage > xReplacements = pImpl->GetReplacements(); in InsertGraphicStream()
1306 uno::Reference < embed::XStorage > xReplacement = pImpl->GetReplacements(); in InsertGraphicStreamDirectly()
1338 uno::Reference < embed::XStorage > xReplacements = pImpl->GetReplacements(); in RemoveGraphicStream()
1551 && (pImpl->mxStorage->isStorageElement( *pIter ) )) in StoreChildren()
1588 … InsertStreamIntoPicturesStorage_Impl( pImpl->mxStorage, xInStream, *pIter ); in StoreChildren()
1607 …if ( !_bOasisFormat && pImpl->mxStorage->hasByName( aObjReplElement ) && pImpl->mxStorage->isStora… in StoreChildren()
1608 pImpl->mxStorage->removeElement( aObjReplElement ); in StoreChildren()
1697 return pImpl->mbUserAllowsLinkUpdate; in getUserAllowsLinkUpdate()
1702 if(pImpl->mbUserAllowsLinkUpdate != bNew) in setUserAllowsLinkUpdate()
1704 pImpl->mbUserAllowsLinkUpdate = bNew; in setUserAllowsLinkUpdate()