Lines Matching refs:uno
71 uno::Sequence< beans::PropertyValue > GetValuableArgs_Impl( const uno::Sequence< beans::PropertyVal… in GetValuableArgs_Impl()
74 uno::Sequence< beans::PropertyValue > aResult; in GetValuableArgs_Impl()
104 uno::Sequence< beans::PropertyValue > addAsTemplate( const uno::Sequence< beans::PropertyValue >& a… in addAsTemplate()
108 uno::Sequence< beans::PropertyValue > aResult( nLength ); in addAsTemplate()
133 uno::Reference< io::XInputStream > createTempInpStreamFromStor( in createTempInpStreamFromStor()
134 … const uno::Reference< embed::XStorage >& xStorage, in createTempInpStreamFromStor()
135 … const uno::Reference< lang::XMultiServiceFactory >& xFactory ) in createTempInpStreamFromStor()
139 uno::Reference< io::XInputStream > xResult; in createTempInpStreamFromStor()
142 uno::Reference < io::XStream > xTempStream = uno::Reference < io::XStream > ( in createTempInpStreamFromStor()
144 uno::UNO_QUERY ); in createTempInpStreamFromStor()
147 uno::Reference < lang::XSingleServiceFactory > xStorageFactory( in createTempInpStreamFromStor()
149 uno::UNO_QUERY ); in createTempInpStreamFromStor()
151 uno::Sequence< uno::Any > aArgs( 2 ); in createTempInpStreamFromStor()
154 …uno::Reference< embed::XStorage > xTempStorage( xStorageFactory->createInstanceWithArguments( aArg… in createTempInpStreamFromStor()
155 uno::UNO_QUERY ); in createTempInpStreamFromStor()
157 throw uno::RuntimeException(); // TODO: in createTempInpStreamFromStor()
162 } catch( uno::Exception& e ) in createTempInpStreamFromStor()
166 uno::Reference< uno::XInterface >(), in createTempInpStreamFromStor()
167 uno::makeAny( e ) ); in createTempInpStreamFromStor()
171 uno::Reference< lang::XComponent > xComponent( xTempStorage, uno::UNO_QUERY ); in createTempInpStreamFromStor()
176 catch ( uno::Exception& ) in createTempInpStreamFromStor()
181 uno::Reference< io::XOutputStream > xTempOut = xTempStream->getOutputStream(); in createTempInpStreamFromStor()
185 catch ( uno::Exception& ) in createTempInpStreamFromStor()
197 static void TransferMediaType( const uno::Reference< embed::XStorage >& i_rSource, const uno::Refer… in TransferMediaType()
201 const uno::Reference< beans::XPropertySet > xSourceProps( i_rSource, uno::UNO_QUERY_THROW ); in TransferMediaType()
202 const uno::Reference< beans::XPropertySet > xTargetProps( i_rTarget, uno::UNO_QUERY_THROW ); in TransferMediaType()
206 catch( const uno::Exception& ) in TransferMediaType()
213 static uno::Reference< util::XCloseable > CreateDocument( const uno::Reference< lang::XMultiService… in CreateDocument()
221 uno::Reference< uno::XInterface > xDocument; in CreateDocument()
226 catch( const uno::Exception& ) in CreateDocument()
236 return uno::Reference< util::XCloseable >( xDocument, uno::UNO_QUERY ); in CreateDocument()
240 static void SetDocToEmbedded( const uno::Reference< frame::XModel > xDocument, const ::rtl::OUStrin… in SetDocToEmbedded()
244 uno::Sequence< beans::PropertyValue > aSeq( 1 ); in SetDocToEmbedded()
253 uno::Reference< frame::XModule > xModule( xDocument, uno::UNO_QUERY_THROW ); in SetDocToEmbedded()
256 catch( uno::Exception& ) in SetDocToEmbedded()
263 void OCommonEmbeddedObject::SwitchOwnPersistence( const uno::Reference< embed::XStorage >& xNewPare… in SwitchOwnPersistence()
264 … const uno::Reference< embed::XStorage >& xNewObjectStorage, in SwitchOwnPersistence()
273 uno::Reference< lang::XComponent > xComponent( m_xObjectStorage, uno::UNO_QUERY ); in SwitchOwnPersistence()
284 …uno::Reference< document::XStorageBasedDocument > xDoc( m_pDocHolder->GetComponent(), uno::UNO_QUE… in SwitchOwnPersistence()
294 catch ( uno::Exception& ) in SwitchOwnPersistence()
300 void OCommonEmbeddedObject::SwitchOwnPersistence( const uno::Reference< embed::XStorage >& xNewPare… in SwitchOwnPersistence()
308 …uno::Reference< embed::XStorage > xNewOwnStorage = xNewParentStorage->openStorageElement( aNewName… in SwitchOwnPersistence()
315 void OCommonEmbeddedObject::EmbedAndReparentDoc_Impl( const uno::Reference< util::XCloseable >& i_r… in EmbedAndReparentDoc_Impl()
317 …SetDocToEmbedded( uno::Reference< frame::XModel >( i_rxDocument, uno::UNO_QUERY ), m_aModuleName ); in EmbedAndReparentDoc_Impl()
321 uno::Reference < container::XChild > xChild( i_rxDocument, uno::UNO_QUERY ); in EmbedAndReparentDoc_Impl()
332 uno::Reference< util::XCloseable > OCommonEmbeddedObject::InitNewDocument_Impl() in InitNewDocument_Impl()
334 …uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xFactory, GetDocumentServiceName(), in InitNewDocument_Impl()
337 uno::Reference< frame::XModel > xModel( xDocument, uno::UNO_QUERY ); in InitNewDocument_Impl()
338 uno::Reference< frame::XLoadable > xLoadable( xModel, uno::UNO_QUERY ); in InitNewDocument_Impl()
340 throw uno::RuntimeException(); in InitNewDocument_Impl()
351 uno::Reference< document::XStorageBasedDocument > xDoc( xLoadable, uno::UNO_QUERY ); in InitNewDocument_Impl()
371 catch( uno::Exception& ) in InitNewDocument_Impl()
373 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in InitNewDocument_Impl()
380 catch( uno::Exception& ) in InitNewDocument_Impl()
392 uno::Reference< util::XCloseable > OCommonEmbeddedObject::LoadLink_Impl() in LoadLink_Impl()
394 …uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xFactory, GetDocumentServiceName(), in LoadLink_Impl()
397 uno::Reference< frame::XLoadable > xLoadable( xDocument, uno::UNO_QUERY ); in LoadLink_Impl()
399 throw uno::RuntimeException(); in LoadLink_Impl()
402 uno::Sequence< beans::PropertyValue > aArgs( nLen ); in LoadLink_Impl()
432 uno::Reference< frame::XModel > xModel( xLoadable, uno::UNO_QUERY_THROW ); in LoadLink_Impl()
433 uno::Sequence< beans::PropertyValue > aProps = xModel->getArgs(); in LoadLink_Impl()
443 catch( uno::Exception& ) in LoadLink_Impl()
445 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in LoadLink_Impl()
452 catch( uno::Exception& ) in LoadLink_Impl()
473 } catch( uno::Exception& ) in GetFilterName()
481 void OCommonEmbeddedObject::FillDefaultLoadArgs_Impl( const uno::Reference< embed::XStorage >& i_rx… in FillDefaultLoadArgs_Impl()
497 uno::Reference< util::XCloseable > OCommonEmbeddedObject::LoadDocumentFromStorage_Impl() in LoadDocumentFromStorage_Impl()
501 …const uno::Reference< embed::XStorage > xSourceStorage( m_xRecoveryStorage.is() ? m_xRecoveryStora… in LoadDocumentFromStorage_Impl()
503 …uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xFactory, GetDocumentServiceName(), in LoadDocumentFromStorage_Impl()
507 uno::Reference< chart2::XChartDocument > xChart( xDocument, uno::UNO_QUERY ); in LoadDocumentFromStorage_Impl()
510 uno::Reference< embed::XVisualObject > xChartVisualObject( xChart, uno::UNO_QUERY ); in LoadDocumentFromStorage_Impl()
515 uno::Reference< frame::XLoadable > xLoadable( xDocument, uno::UNO_QUERY ); in LoadDocumentFromStorage_Impl()
516 uno::Reference< document::XStorageBasedDocument > xDoc in LoadDocumentFromStorage_Impl()
518 ( xDocument, uno::UNO_QUERY ) in LoadDocumentFromStorage_Impl()
522 throw uno::RuntimeException(); in LoadDocumentFromStorage_Impl()
527 uno::Reference< io::XInputStream > xTempInpStream; in LoadDocumentFromStorage_Impl()
532 throw uno::RuntimeException(); in LoadDocumentFromStorage_Impl()
539 … uno::Reference< beans::XPropertySet > xTempStreamProps( xTempInpStream, uno::UNO_QUERY_THROW ); in LoadDocumentFromStorage_Impl()
542 catch( uno::Exception& ) in LoadDocumentFromStorage_Impl()
570 catch( uno::Exception& ) in LoadDocumentFromStorage_Impl()
572 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in LoadDocumentFromStorage_Impl()
579 catch( uno::Exception& ) in LoadDocumentFromStorage_Impl()
592 uno::Reference< io::XInputStream > OCommonEmbeddedObject::StoreDocumentToTempStream_Impl( in StoreDocumentToTempStream_Impl()
597 uno::Reference < io::XOutputStream > xTempOut( in StoreDocumentToTempStream_Impl()
599 uno::UNO_QUERY ); in StoreDocumentToTempStream_Impl()
600 uno::Reference< io::XInputStream > aResult( xTempOut, uno::UNO_QUERY ); in StoreDocumentToTempStream_Impl()
603 throw uno::RuntimeException(); // TODO: in StoreDocumentToTempStream_Impl()
605 uno::Reference< frame::XStorable > xStorable; in StoreDocumentToTempStream_Impl()
609 … xStorable = uno::Reference< frame::XStorable > ( m_pDocHolder->GetComponent(), uno::UNO_QUERY ); in StoreDocumentToTempStream_Impl()
613 throw uno::RuntimeException(); // TODO: in StoreDocumentToTempStream_Impl()
621 uno::Sequence< beans::PropertyValue > aArgs( 4 ); in StoreDocumentToTempStream_Impl()
636 catch( uno::Exception& ) in StoreDocumentToTempStream_Impl()
653 … uno::Reference< util::XModifiable > xModifiable( m_pDocHolder->GetComponent(), uno::UNO_QUERY ); in SaveObject_Impl()
657 catch( uno::Exception& ) in SaveObject_Impl()
663 catch( uno::Exception& ) in SaveObject_Impl()
680 …uno::Reference< frame::XModel > xParentModel( m_xClientSite->getComponent(), uno::UNO_QUERY_THROW … in GetBaseURL_Impl()
681 uno::Sequence< beans::PropertyValue > aModelProps = xParentModel->getArgs(); in GetBaseURL_Impl()
692 catch( uno::Exception& ) in GetBaseURL_Impl()
715 const uno::Sequence< beans::PropertyValue >& lArguments, in GetBaseURLFrom_Impl()
716 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in GetBaseURLFrom_Impl()
743 …ddedObject::SwitchDocToStorage_Impl( const uno::Reference< document::XStorageBasedDocument >& xDoc… in SwitchDocToStorage_Impl()
747 uno::Reference< util::XModifiable > xModif( xDoc, uno::UNO_QUERY ); in SwitchDocToStorage_Impl()
756 void OCommonEmbeddedObject::StoreDocToStorage_Impl( const uno::Reference< embed::XStorage >& xStora… in StoreDocToStorage_Impl()
765 throw uno::RuntimeException(); // TODO: in StoreDocToStorage_Impl()
768 uno::Reference< document::XStorageBasedDocument > xDoc; in StoreDocToStorage_Impl()
772 …xDoc = uno::Reference< document::XStorageBasedDocument >( m_pDocHolder->GetComponent(), uno::UNO_Q… in StoreDocToStorage_Impl()
783 uno::Sequence< beans::PropertyValue > aArgs( 3 ); in StoreDocToStorage_Impl()
799 …uno::Reference < io::XInputStream > xTempIn = StoreDocumentToTempStream_Impl( nStorageFormat, aBas… in StoreDocToStorage_Impl()
804 uno::Reference < lang::XSingleServiceFactory > xStorageFactory( in StoreDocToStorage_Impl()
806 uno::UNO_QUERY ); in StoreDocToStorage_Impl()
808 uno::Sequence< uno::Any > aArgs(1); in StoreDocToStorage_Impl()
810 …uno::Reference< embed::XStorage > xTempStorage( xStorageFactory->createInstanceWithArguments( aArg… in StoreDocToStorage_Impl()
811 uno::UNO_QUERY ); in StoreDocToStorage_Impl()
813 throw uno::RuntimeException(); // TODO: in StoreDocToStorage_Impl()
821 uno::Reference< util::XCloseable > OCommonEmbeddedObject::CreateDocFromMediaDescr_Impl( in CreateDocFromMediaDescr_Impl()
822 const uno::Sequence< beans::PropertyValue >& aMedDescr ) in CreateDocFromMediaDescr_Impl()
824 …uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xFactory, GetDocumentServiceName(), in CreateDocFromMediaDescr_Impl()
827 uno::Reference< frame::XLoadable > xLoadable( xDocument, uno::UNO_QUERY ); in CreateDocFromMediaDescr_Impl()
829 throw uno::RuntimeException(); in CreateDocFromMediaDescr_Impl()
838 catch( uno::Exception& ) in CreateDocFromMediaDescr_Impl()
840 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in CreateDocFromMediaDescr_Impl()
847 catch( uno::Exception& ) in CreateDocFromMediaDescr_Impl()
859 uno::Reference< util::XCloseable > OCommonEmbeddedObject::CreateTempDocFromLink_Impl() in CreateTempDocFromLink_Impl()
861 uno::Reference< util::XCloseable > xResult; in CreateTempDocFromLink_Impl()
865 uno::Sequence< beans::PropertyValue > aTempMediaDescr; in CreateTempDocFromLink_Impl()
875 catch ( uno::Exception& ) in CreateTempDocFromLink_Impl()
886 …uno::Reference< io::XInputStream > xTempStream = StoreDocumentToTempStream_Impl( SOFFICE_FILEFORMA… in CreateTempDocFromLink_Impl()
893 … uno::Reference< beans::XPropertySet > xTempStreamProps( xTempStream, uno::UNO_QUERY_THROW ); in CreateTempDocFromLink_Impl()
896 catch( uno::Exception& ) in CreateTempDocFromLink_Impl()
929 const uno::Reference< embed::XStorage >& xStorage, in setPersistentEntry()
932 const uno::Sequence< beans::PropertyValue >& lArguments, in setPersistentEntry()
933 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in setPersistentEntry()
946 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in setPersistentEntry()
951 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in setPersistentEntry()
966 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in setPersistentEntry()
990 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in setPersistentEntry()
1002 uno::Reference< container::XNameAccess > xNameAccess( xStorage, uno::UNO_QUERY ); in setPersistentEntry()
1004 throw uno::RuntimeException(); //TODO in setPersistentEntry()
1021 uno::Reference< frame::XDispatchProviderInterceptor > xDispatchInterceptor; in setPersistentEntry()
1041 uno::Reference < embed::XEmbeddedObject > xObj; in setPersistentEntry()
1052 uno::Sequence< uno::Any > aOutFrameProps; in setPersistentEntry()
1053 uno::Sequence< beans::NamedValue > aOutFramePropsTyped; in setPersistentEntry()
1061 uno::Any* pProp = aOutFrameProps.getArray(); in setPersistentEntry()
1147 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in setPersistentEntry()
1153 void SAL_CALL OCommonEmbeddedObject::storeToEntry( const uno::Reference< embed::XStorage >& xStorag… in storeToEntry()
1155 const uno::Sequence< beans::PropertyValue >& lArguments, in storeToEntry()
1156 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in storeToEntry()
1168 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in storeToEntry()
1174 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in storeToEntry()
1193 catch ( uno::Exception& ) in storeToEntry()
1206 catch ( uno::Exception& ) in storeToEntry()
1233 … uno::Reference< embed::XOptimizedStorage > xSource( m_xParentStorage, uno::UNO_QUERY_THROW ); in storeToEntry()
1234 … uno::Reference< embed::XOptimizedStorage > xTarget( xStorage, uno::UNO_QUERY_THROW ); in storeToEntry()
1238 catch( uno::Exception& ) in storeToEntry()
1255 uno::Reference< embed::XStorage > xSubStorage = in storeToEntry()
1259 throw uno::RuntimeException(); //TODO in storeToEntry()
1274 void SAL_CALL OCommonEmbeddedObject::storeAsEntry( const uno::Reference< embed::XStorage >& xStorag… in storeAsEntry()
1276 const uno::Sequence< beans::PropertyValue >& lArguments, in storeAsEntry()
1277 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in storeAsEntry()
1291 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in storeAsEntry()
1297 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in storeAsEntry()
1319 catch ( uno::Exception& ) in storeAsEntry()
1332 catch ( uno::Exception& ) in storeAsEntry()
1361 … uno::Reference< embed::XOptimizedStorage > xSource( m_xParentStorage, uno::UNO_QUERY_THROW ); in storeAsEntry()
1362 … uno::Reference< embed::XOptimizedStorage > xTarget( xStorage, uno::UNO_QUERY_THROW ); in storeAsEntry()
1366 catch( uno::Exception& ) in storeAsEntry()
1381 uno::Reference< embed::XStorage > xSubStorage = in storeAsEntry()
1385 throw uno::RuntimeException(); //TODO in storeAsEntry()
1423 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in saveCompleted()
1447 throw uno::RuntimeException(); // TODO: broken internal information in saveCompleted()
1454 uno::Reference< util::XModifiable > xModif( m_pDocHolder->GetComponent(), uno::UNO_QUERY ); in saveCompleted()
1463 uno::Reference< lang::XComponent > xComponent( m_xNewObjectStorage, uno::UNO_QUERY ); in saveCompleted()
1468 catch ( uno::Exception& ) in saveCompleted()
1473 m_xNewObjectStorage = uno::Reference< embed::XStorage >(); in saveCompleted()
1474 m_xNewParentStorage = uno::Reference< embed::XStorage >(); in saveCompleted()
1500 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in hasEntry()
1519 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in getEntryName()
1525 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in getEntryName()
1547 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in storeOwn()
1553 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in storeOwn()
1566 throw uno::RuntimeException(); in storeOwn()
1571 … uno::Reference< frame::XStorable > xStorable( m_pDocHolder->GetComponent(), uno::UNO_QUERY ); in storeOwn()
1573 throw uno::RuntimeException(); // TODO in storeOwn()
1597 catch ( uno::Exception& ) in storeOwn()
1607 uno::Reference< util::XModifiable > xModif( m_pDocHolder->GetComponent(), uno::UNO_QUERY ); in storeOwn()
1625 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in isReadonly()
1631 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in isReadonly()
1638 const uno::Sequence< beans::PropertyValue >& lArguments, in reload()
1639 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in reload()
1652 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in reload()
1660 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in reload()
1666 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in reload()
1696 uno::Sequence< beans::PropertyValue > aArgs( 1 ); in reload()
1705 … uno::Sequence< beans::NamedValue > aObject = aHelper.GetObjectPropsByFilter( m_aLinkFilterName ); in reload()
1721 uno::Reference< frame::XDispatchProviderInterceptor > xDispatchInterceptor; in reload()
1742 uno::Reference< lang::XComponent > xComponent( m_xObjectStorage, uno::UNO_QUERY ); in reload()
1747 catch ( uno::Exception& ) in reload()
1757 void SAL_CALL OCommonEmbeddedObject::breakLink( const uno::Reference< embed::XStorage >& xStorage, in breakLink()
1769 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in breakLink()
1782 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in breakLink()
1787 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in breakLink()
1795 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in breakLink()
1801 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in breakLink()
1803 uno::Reference< container::XNameAccess > xNameAccess( xStorage, uno::UNO_QUERY ); in breakLink()
1805 throw uno::RuntimeException(); //TODO in breakLink()
1821 uno::Reference< util::XCloseable > xDocument = CreateTempDocFromLink_Impl(); in breakLink()
1822 uno::Reference< util::XModifiable > xModif( m_pDocHolder->GetComponent(), uno::UNO_QUERY ); in breakLink()
1824 throw uno::RuntimeException(); in breakLink()
1829 catch( uno::Exception& ) in breakLink()
1881 … uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ) ); in getLinkURL()