Lines Matching refs:xDocument

221     uno::Reference< uno::XInterface > xDocument;  in CreateDocument()  local
224xDocument = _rxFactory->createInstanceWithArguments( _rDocumentServiceName, aArguments.getWrappedP… in CreateDocument()
233 xDocument = _rxFactory->createInstance( _rDocumentServiceName ); 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() argument
242 if ( xDocument.is() ) in SetDocToEmbedded()
247 xDocument->attachResource( ::rtl::OUString(), aSeq ); in SetDocToEmbedded()
253 uno::Reference< frame::XModule > xModule( xDocument, uno::UNO_QUERY_THROW ); in SetDocToEmbedded()
334 …uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xFactory, GetDocumentServiceName(), in InitNewDocument_Impl() local
337 uno::Reference< frame::XModel > xModel( xDocument, uno::UNO_QUERY ); in InitNewDocument_Impl()
345 EmbedAndReparentDoc_Impl( xDocument ); in InitNewDocument_Impl()
373 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in InitNewDocument_Impl()
388 return xDocument; in InitNewDocument_Impl()
394 …uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xFactory, GetDocumentServiceName(), in LoadLink_Impl() local
397 uno::Reference< frame::XLoadable > xLoadable( xDocument, uno::UNO_QUERY ); in LoadLink_Impl()
424 EmbedAndReparentDoc_Impl( xDocument ); in LoadLink_Impl()
445 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in LoadLink_Impl()
460 return xDocument; in LoadLink_Impl()
503 …uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xFactory, GetDocumentServiceName(), in LoadDocumentFromStorage_Impl() local
507 uno::Reference< chart2::XChartDocument > xChart( xDocument, uno::UNO_QUERY ); in LoadDocumentFromStorage_Impl()
515 uno::Reference< frame::XLoadable > xLoadable( xDocument, uno::UNO_QUERY ); in LoadDocumentFromStorage_Impl()
518 ( xDocument, uno::UNO_QUERY ) in LoadDocumentFromStorage_Impl()
559 EmbedAndReparentDoc_Impl( xDocument ); in LoadDocumentFromStorage_Impl()
572 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in LoadDocumentFromStorage_Impl()
588 return xDocument; in LoadDocumentFromStorage_Impl()
824 …uno::Reference< util::XCloseable > xDocument( CreateDocument( m_xFactory, GetDocumentServiceName(), in CreateDocFromMediaDescr_Impl() local
827 uno::Reference< frame::XLoadable > xLoadable( xDocument, uno::UNO_QUERY ); in CreateDocFromMediaDescr_Impl()
834 EmbedAndReparentDoc_Impl( xDocument ); in CreateDocFromMediaDescr_Impl()
840 uno::Reference< util::XCloseable > xCloseable( xDocument, uno::UNO_QUERY ); in CreateDocFromMediaDescr_Impl()
855 return xDocument; in CreateDocFromMediaDescr_Impl()
1859 uno::Reference< util::XCloseable > xDocument = CreateTempDocFromLink_Impl(); in breakLink() local
1870 m_pDocHolder->SetComponent( xDocument, m_bReadOnly ); in breakLink()