Lines Matching refs:rNewName
404 const uno::Sequence < beans::PropertyValue >& rArgs, ::rtl::OUString& rNewName ) in CreateEmbeddedObject() argument
408 if ( rNewName.isEmpty() ) in CreateEmbeddedObject()
409 rNewName = CreateUniqueObjectName(); in CreateEmbeddedObject()
411 OSL_ENSURE( !HasEmbeddedObject(rNewName), "Object to create already exists!"); in CreateEmbeddedObject()
425 rClassId, ::rtl::OUString(), pImpl->mxStorage, rNewName, in CreateEmbeddedObject()
428 AddEmbeddedObject( xObj, rNewName ); in CreateEmbeddedObject()
440 …iner::CreateEmbeddedObject( const uno::Sequence < sal_Int8 >& rClassId, ::rtl::OUString& rNewName ) in CreateEmbeddedObject() argument
442 return CreateEmbeddedObject( rClassId, uno::Sequence < beans::PropertyValue >(), rNewName ); in CreateEmbeddedObject()
563 …:InsertEmbeddedObject( const uno::Reference < io::XInputStream >& xStm, ::rtl::OUString& rNewName ) in InsertEmbeddedObject() argument
567 if ( rNewName.isEmpty() ) in InsertEmbeddedObject()
568 rNewName = CreateUniqueObjectName(); in InsertEmbeddedObject()
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()
611 uno::Reference < embed::XEmbeddedObject > xRet = GetEmbeddedObject( rNewName ); in InsertEmbeddedObject()
616 pImpl->mxStorage->removeElement( rNewName ); in InsertEmbeddedObject()
625 …tar::uno::Sequence < ::com::sun::star::beans::PropertyValue >& aMedium, ::rtl::OUString& rNewName ) in InsertEmbeddedObject() argument
629 if ( rNewName.isEmpty() ) in InsertEmbeddedObject()
630 rNewName = CreateUniqueObjectName(); in InsertEmbeddedObject()
641 pImpl->mxStorage, rNewName, aMedium, aObjDescr ), uno::UNO_QUERY ); in InsertEmbeddedObject()
651 AddEmbeddedObject( xObj, rNewName ); in InsertEmbeddedObject()
660 …tar::uno::Sequence < ::com::sun::star::beans::PropertyValue >& aMedium, ::rtl::OUString& rNewName ) in InsertEmbeddedLink() argument
664 if ( rNewName.isEmpty() ) in InsertEmbeddedLink()
665 rNewName = CreateUniqueObjectName(); in InsertEmbeddedLink()
676 pImpl->mxStorage, rNewName, aMedium, aObjDescr ), uno::UNO_QUERY ); in InsertEmbeddedLink()
687 AddEmbeddedObject( xObj, rNewName ); in InsertEmbeddedLink()