Lines Matching refs:uno
45 uno::Sequence< ::rtl::OUString > SAL_CALL OOoEmbeddedObjectFactory::impl_staticGetSupportedServiceN… in impl_staticGetSupportedServiceNames()
47 uno::Sequence< ::rtl::OUString > aRet(2); in impl_staticGetSupportedServiceNames()
60 uno::Reference< uno::XInterface > SAL_CALL OOoEmbeddedObjectFactory::impl_staticCreateSelfInstance( in impl_staticCreateSelfInstance()
61 const uno::Reference< lang::XMultiServiceFactory >& xServiceManager ) in impl_staticCreateSelfInstance()
63 return uno::Reference< uno::XInterface >( *new OOoEmbeddedObjectFactory( xServiceManager ) ); in impl_staticCreateSelfInstance()
67 uno::Reference< uno::XInterface > SAL_CALL OOoEmbeddedObjectFactory::createInstanceInitFromEntry( in createInstanceInitFromEntry()
68 const uno::Reference< embed::XStorage >& xStorage, in createInstanceInitFromEntry()
70 const uno::Sequence< beans::PropertyValue >& aMediaDescr, in createInstanceInitFromEntry()
71 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in createInstanceInitFromEntry()
75 uno::Exception, in createInstanceInitFromEntry()
76 uno::RuntimeException) in createInstanceInitFromEntry()
82 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceInitFromEntry()
87 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceInitFromEntry()
90 uno::Reference< container::XNameAccess > xNameAccess( xStorage, uno::UNO_QUERY ); in createInstanceInitFromEntry()
92 throw uno::RuntimeException(); //TODO in createInstanceInitFromEntry()
98 uno::Reference< uno::XInterface > xResult; in createInstanceInitFromEntry()
102 uno::Reference< embed::XStorage > xSubStorage = in createInstanceInitFromEntry()
105 uno::Reference< beans::XPropertySet > xPropSet( xSubStorage, uno::UNO_QUERY ); in createInstanceInitFromEntry()
107 throw uno::RuntimeException(); in createInstanceInitFromEntry()
111 uno::Any aAny = xPropSet->getPropertyValue( ::rtl::OUString::createFromAscii( "MediaType" ) ); in createInstanceInitFromEntry()
114 catch ( uno::Exception& ) in createInstanceInitFromEntry()
119 uno::Reference< lang::XComponent > xComp( xSubStorage, uno::UNO_QUERY ); in createInstanceInitFromEntry()
123 catch ( uno::Exception& ) in createInstanceInitFromEntry()
126 xSubStorage = uno::Reference< embed::XStorage >(); in createInstanceInitFromEntry()
140 …uno::Sequence< beans::NamedValue > aObject = m_aConfigHelper.GetObjectPropsByMediaType( aMediaType… in createInstanceInitFromEntry()
144 xResult = uno::Reference< uno::XInterface >( in createInstanceInitFromEntry()
153 uno::UNO_QUERY ); in createInstanceInitFromEntry()
161 uno::Reference< embed::XEmbedPersist > xPersist( xResult, uno::UNO_QUERY ); in createInstanceInitFromEntry()
164 throw uno::RuntimeException(); // TODO: the interface must be supported by own document objects in createInstanceInitFromEntry()
176 uno::Reference< uno::XInterface > SAL_CALL OOoEmbeddedObjectFactory::createInstanceInitFromMediaDes… in createInstanceInitFromMediaDescriptor()
177 const uno::Reference< embed::XStorage >& xStorage, in createInstanceInitFromMediaDescriptor()
179 const uno::Sequence< beans::PropertyValue >& aMediaDescr, in createInstanceInitFromMediaDescriptor()
180 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in createInstanceInitFromMediaDescriptor()
183 uno::Exception, in createInstanceInitFromMediaDescriptor()
184 uno::RuntimeException) in createInstanceInitFromMediaDescriptor()
190 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceInitFromMediaDescriptor()
195 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceInitFromMediaDescriptor()
198 uno::Sequence< beans::PropertyValue > aTempMedDescr( aMediaDescr ); in createInstanceInitFromMediaDescriptor()
203 uno::Reference< uno::XInterface > xResult; in createInstanceInitFromMediaDescriptor()
208 …uno::Sequence< beans::NamedValue > aObject = m_aConfigHelper.GetObjectPropsByFilter( aFilterName ); in createInstanceInitFromMediaDescriptor()
213 xResult = uno::Reference< uno::XInterface >( in createInstanceInitFromMediaDescriptor()
217 uno::UNO_QUERY ); in createInstanceInitFromMediaDescriptor()
225 uno::Reference< embed::XEmbedPersist > xPersist( xResult, uno::UNO_QUERY ); in createInstanceInitFromMediaDescriptor()
228 throw uno::RuntimeException(); // TODO: the interface must be supported ( what about applets? ) in createInstanceInitFromMediaDescriptor()
240 uno::Reference< uno::XInterface > SAL_CALL OOoEmbeddedObjectFactory::createInstanceInitNew( in createInstanceInitNew()
241 const uno::Sequence< sal_Int8 >& aClassID, in createInstanceInitNew()
243 const uno::Reference< embed::XStorage >& xStorage, in createInstanceInitNew()
245 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in createInstanceInitNew()
248 uno::Exception, in createInstanceInitNew()
249 uno::RuntimeException) in createInstanceInitNew()
253 uno::Reference< uno::XInterface > xResult; in createInstanceInitNew()
257 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceInitNew()
262 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceInitNew()
265 uno::Sequence< beans::NamedValue > aObject = m_aConfigHelper.GetObjectPropsByClassID( aClassID ); in createInstanceInitNew()
269 xResult = uno::Reference< uno::XInterface >( in createInstanceInitNew()
273 uno::UNO_QUERY ); in createInstanceInitNew()
276 uno::Reference< embed::XEmbedPersist > xPersist( xResult, uno::UNO_QUERY ); in createInstanceInitNew()
279 throw uno::RuntimeException(); // TODO: the interface must be supported by own document objects in createInstanceInitNew()
284 uno::Sequence< beans::PropertyValue >(), in createInstanceInitNew()
291 uno::Reference< uno::XInterface > SAL_CALL OOoEmbeddedObjectFactory::createInstanceUserInit( in createInstanceUserInit()
292 const uno::Sequence< sal_Int8 >& aClassID, in createInstanceUserInit()
294 const uno::Reference< embed::XStorage >& xStorage, in createInstanceUserInit()
297 const uno::Sequence< beans::PropertyValue >& lArguments, in createInstanceUserInit()
298 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in createInstanceUserInit()
301 uno::Exception, in createInstanceUserInit()
302 uno::RuntimeException ) in createInstanceUserInit()
309 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceUserInit()
314 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceUserInit()
317 uno::Sequence< beans::NamedValue > aObject = m_aConfigHelper.GetObjectPropsByClassID( aClassID ); in createInstanceUserInit()
321 uno::Sequence< beans::PropertyValue > aTempMedDescr( lArguments ); in createInstanceUserInit()
330 uno::Reference< uno::XInterface > xResult = uno::Reference< uno::XInterface > ( in createInstanceUserInit()
334 uno::UNO_QUERY ); in createInstanceUserInit()
336 uno::Reference< embed::XEmbedPersist > xPersist( xResult, uno::UNO_QUERY ); in createInstanceUserInit()
347 throw uno::RuntimeException(); // TODO: in createInstanceUserInit()
354 uno::Reference< uno::XInterface > SAL_CALL OOoEmbeddedObjectFactory::createInstanceLink( in createInstanceLink()
355 const uno::Reference< embed::XStorage >& /*xStorage*/, in createInstanceLink()
357 const uno::Sequence< beans::PropertyValue >& aMediaDescr, in createInstanceLink()
358 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in createInstanceLink()
361 uno::Exception, in createInstanceLink()
362 uno::RuntimeException ) in createInstanceLink()
366 uno::Reference< uno::XInterface > xResult; in createInstanceLink()
368 uno::Sequence< beans::PropertyValue > aTempMedDescr( aMediaDescr ); in createInstanceLink()
378 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceLink()
385 …uno::Sequence< beans::NamedValue > aObject = m_aConfigHelper.GetObjectPropsByFilter( aFilterName ); in createInstanceLink()
390 xResult = uno::Reference< uno::XInterface >( in createInstanceLink()
396 uno::UNO_QUERY ); in createInstanceLink()
408 uno::Reference< uno::XInterface > SAL_CALL OOoEmbeddedObjectFactory::createInstanceLinkUserInit( in createInstanceLinkUserInit()
409 const uno::Sequence< sal_Int8 >& aClassID, in createInstanceLinkUserInit()
411 const uno::Reference< embed::XStorage >& xStorage, in createInstanceLinkUserInit()
413 const uno::Sequence< beans::PropertyValue >& lArguments, in createInstanceLinkUserInit()
414 const uno::Sequence< beans::PropertyValue >& lObjArgs ) in createInstanceLinkUserInit()
417 uno::Exception, in createInstanceLinkUserInit()
418 uno::RuntimeException ) in createInstanceLinkUserInit()
422 uno::Reference< uno::XInterface > xResult; in createInstanceLinkUserInit()
427 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceLinkUserInit()
432 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceLinkUserInit()
435 uno::Sequence< beans::PropertyValue > aTempMedDescr( lArguments ); in createInstanceLinkUserInit()
444 uno::Reference< uno::XInterface >( static_cast< ::cppu::OWeakObject* >(this) ), in createInstanceLinkUserInit()
447 uno::Sequence< beans::NamedValue > aObject = m_aConfigHelper.GetObjectPropsByClassID( aClassID ); in createInstanceLinkUserInit()
456 xResult = uno::Reference< uno::XInterface >( in createInstanceLinkUserInit()
462 uno::UNO_QUERY ); in createInstanceLinkUserInit()
475 throw ( uno::RuntimeException ) in getImplementationName()
482 throw ( uno::RuntimeException ) in supportsService()
484 uno::Sequence< ::rtl::OUString > aSeq = impl_staticGetSupportedServiceNames(); in supportsService()
494 uno::Sequence< ::rtl::OUString > SAL_CALL OOoEmbeddedObjectFactory::getSupportedServiceNames() in getSupportedServiceNames()
495 throw ( uno::RuntimeException ) in getSupportedServiceNames()
501 uno::Sequence< ::rtl::OUString > SAL_CALL OOoSpecialEmbeddedObjectFactory::impl_staticGetSupportedS… in impl_staticGetSupportedServiceNames()
503 uno::Sequence< ::rtl::OUString > aRet(2); in impl_staticGetSupportedServiceNames()
516 uno::Reference< uno::XInterface > SAL_CALL OOoSpecialEmbeddedObjectFactory::impl_staticCreateSelfIn… in impl_staticCreateSelfInstance()
517 const uno::Reference< lang::XMultiServiceFactory >& xServiceManager ) in impl_staticCreateSelfInstance()
519 …return uno::Reference< uno::XInterface >( *new OOoSpecialEmbeddedObjectFactory( xServiceManager ) … in impl_staticCreateSelfInstance()
523 uno::Reference< uno::XInterface > SAL_CALL OOoSpecialEmbeddedObjectFactory::createInstanceUserInit( in createInstanceUserInit()
524 const uno::Sequence< sal_Int8 >& aClassID, in createInstanceUserInit()
526 const uno::Reference< embed::XStorage >& /*xStorage*/, in createInstanceUserInit()
529 const uno::Sequence< beans::PropertyValue >& /*lArguments*/, in createInstanceUserInit()
530 const uno::Sequence< beans::PropertyValue >& /*lObjArgs*/ ) in createInstanceUserInit()
533 uno::Exception, in createInstanceUserInit()
534 uno::RuntimeException ) in createInstanceUserInit()
536 uno::Sequence< beans::NamedValue > aObject = m_aConfigHelper.GetObjectPropsByClassID( aClassID ); in createInstanceUserInit()
540 uno::Reference< uno::XInterface > xResult( in createInstanceUserInit()
544 uno::UNO_QUERY ); in createInstanceUserInit()
550 throw ( uno::RuntimeException ) in getImplementationName()
557 throw ( uno::RuntimeException ) in supportsService()
559 uno::Sequence< ::rtl::OUString > aSeq = impl_staticGetSupportedServiceNames(); in supportsService()
569 uno::Sequence< ::rtl::OUString > SAL_CALL OOoSpecialEmbeddedObjectFactory::getSupportedServiceNames… in getSupportedServiceNames()
570 throw ( uno::RuntimeException ) in getSupportedServiceNames()