Lines Matching refs:xModel

210                  xModel( Event.Source, uno::UNO_QUERY );  in notifyEvent()  local
211 OSL_ENSURE( xModel.is(), "Got no frame::XModel!" ); in notifyEvent()
216 if ( (*it).second.xModel == xModel ) in notifyEvent()
240 m_aDocs[ aDocId ] = StorageInfo( aTitle, xStorage, xModel ); in notifyEvent()
275 xModel( Event.Source, uno::UNO_QUERY ); in notifyEvent() local
276 OSL_ENSURE( xModel.is(), "Got no frame::XModel!" ); in notifyEvent()
281 if ( (*it).second.xModel == xModel ) in notifyEvent()
322 xModel( Event.Source, uno::UNO_QUERY ); in notifyEvent() local
323 OSL_ENSURE( xModel.is(), "Got no frame::XModel!" ); in notifyEvent()
328 if ( (*it).second.xModel == xModel ) in notifyEvent()
358 xModel( Event.Source, uno::UNO_QUERY ); in notifyEvent() local
359 OSL_ENSURE( xModel.is(), "Got no frame::XModel!" ); in notifyEvent()
364 if ( (*it).second.xModel == xModel ) in notifyEvent()
379 (*it).second.aTitle = DocumentInfo::getDocumentTitle( xModel ); in notifyEvent()
397 xModel( Event.Source, uno::UNO_QUERY ); in notifyEvent() local
398 OSL_ENSURE( xModel.is(), "Got no frame::XModel!" ); in notifyEvent()
403 if ( (*it).second.xModel == xModel ) in notifyEvent()
406 rtl:: OUString aTitle = DocumentInfo::getDocumentTitle( xModel ); in notifyEvent()
420 m_aDocs[ aDocId ] = StorageInfo( aTitle, xStorage, xModel ); in notifyEvent()
522 uno::Reference< frame::XModel > xModel; in buildDocumentsList() local
523 aValue >>= xModel; in buildDocumentsList()
525 if ( xModel.is() ) in buildDocumentsList()
527 if ( isOfficeDocument( xModel ) ) in buildDocumentsList()
532 if ( (*it).second.xModel == xModel ) in buildDocumentsList()
543 rtl::OUString aDocId = getDocumentId( xModel ); in buildDocumentsList()
544 rtl::OUString aTitle = DocumentInfo::getDocumentTitle( xModel ); in buildDocumentsList()
547 xDoc( xModel, uno::UNO_QUERY ); in buildDocumentsList()
556 = StorageInfo( aTitle, xStorage, xModel ); in buildDocumentsList()
559 xModel, uno::UNO_QUERY ); in buildDocumentsList()
592 const uno::Reference< frame::XModel > & xModel ) in queryDocumentId()
594 return getDocumentId( xModel ); in queryDocumentId()
607 return (*it).second.xModel; in queryDocumentModel()
643 const uno::Reference< frame::XModel > & xModel ) in isDocumentPreview()
645 if ( !xModel.is() ) in isDocumentPreview()
649 xModel->getArgs() ); in isDocumentPreview()
656 const uno::Reference< frame::XModel > & xModel ) in isHelpDocument()
658 if ( !xModel.is() ) in isHelpDocument()
661 ::rtl::OUString sURL( xModel->getURL() ); in isHelpDocument()
670 const uno::Reference< frame::XModel > & xModel ) in isWithoutOrInTopLevelFrame()
672 if ( !xModel.is() ) in isWithoutOrInTopLevelFrame()
676 = xModel->getCurrentController(); in isWithoutOrInTopLevelFrame()
697 const uno::Reference< frame::XModel > & xModel ) in isBasicIDE()
730 aModule = m_xModuleMgr->identify( xModel ); in isBasicIDE()
759 uno::Reference< frame::XModel > xModel( xDoc, uno::UNO_QUERY ); in isOfficeDocument() local
761 xStorageBasedDoc( xModel, uno::UNO_QUERY ); in isOfficeDocument()
765 if ( !isWithoutOrInTopLevelFrame( xModel ) ) in isOfficeDocument()
768 if ( isDocumentPreview( xModel ) ) in isOfficeDocument()
771 if ( isHelpDocument( xModel ) ) in isOfficeDocument()
774 if ( isBasicIDE( xModel ) ) in isOfficeDocument()