Lines Matching refs:css
112 #ifndef css
113 namespace css = ::com::sun::star;
120 , public ::cppu::WeakImplHelper2< css::frame::XLoadEventListener ,
121 css::frame::XDispatchResultListener >
140 … virtual void SAL_CALL loadFinished(const css::uno::Reference< css::frame::XFrameLoader >& xLoader)
141 throw(css::uno::RuntimeException);
143 …virtual void SAL_CALL loadCancelled(const css::uno::Reference< css::frame::XFrameLoader >& xLoader)
144 throw(css::uno::RuntimeException);
148 virtual void SAL_CALL dispatchFinished(const css::frame::DispatchResultEvent& aEvent)
149 throw(css::uno::RuntimeException);
153 virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent)
154 throw(css::uno::RuntimeException);
160 LoadEnv::LoadEnv(const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR) in LoadEnv()
161 throw(LoadEnvException, css::uno::RuntimeException) in LoadEnv()
180 css::uno::Reference< css::lang::XComponent > LoadEnv::loadComponentFromURL(const css::uno::Referenc… in loadComponentFromURL()
181 … const css::uno::Reference< css::lang::XMultiServiceFactory >& xSMGR , in loadComponentFromURL()
185 … const css::uno::Sequence< css::beans::PropertyValue >& lArgs ) in loadComponentFromURL()
186 throw(css::lang::IllegalArgumentException, in loadComponentFromURL()
187 css::io::IOException , in loadComponentFromURL()
188 css::uno::RuntimeException ) in loadComponentFromURL()
193 css::uno::Reference< css::lang::XComponent > xComponent; in loadComponentFromURL()
201 … css::uno::Reference< css::frame::XFrame >(xLoader, css::uno::UNO_QUERY), in loadComponentFromURL()
215 throw css::lang::IllegalArgumentException( in loadComponentFromURL()
221 throw css::lang::IllegalArgumentException( in loadComponentFromURL()
235 …riptor impl_mergeMediaDescriptorWithMightExistingModelArgs(const css::uno::Sequence< css::beans::P… in impl_mergeMediaDescriptorWithMightExistingModelArgs()
238 css::uno::Reference< css::frame::XModel > xModel = lDescriptor.getUnpackedValueOrDefault( in impl_mergeMediaDescriptorWithMightExistingModelArgs()
240 … css::uno::Reference< css::frame::XModel > ()); in impl_mergeMediaDescriptorWithMightExistingModelArgs()
256 … const css::uno::Sequence< css::beans::PropertyValue >& lMediaDescriptor, in initializeLoading()
257 … const css::uno::Reference< css::frame::XFrame >& xBaseFrame , in initializeLoading()
262 throw(LoadEnvException, css::uno::RuntimeException) in initializeLoading()
301 …css::uno::Reference< css::util::XURLTransformer > xParser(m_xSMGR->createInstance(SERVICENAME_URLT… in initializeLoading()
340 void LoadEnv::initializeUIDefaults( const css::uno::Reference< css::lang::XMultiServiceFactory >& i… in initializeUIDefaults()
344 css::uno::Reference< css::task::XInteractionHandler > xInteractionHandler; in initializeUIDefaults()
350 nMacroMode = css::document::MacroExecMode::USE_CONFIG; in initializeUIDefaults()
351 nUpdateMode = css::document::UpdateDocMode::ACCORDING_TO_CONFIG; in initializeUIDefaults()
354 …ctionHandler = css::uno::Reference< css::task::XInteractionHandler >(i_rSMGR->createInstance(IMPLE… in initializeUIDefaults()
356 catch(const css::uno::RuntimeException&) {throw;} in initializeUIDefaults()
357 catch(const css::uno::Exception& ) { } in initializeUIDefaults()
362 nMacroMode = css::document::MacroExecMode::NEVER_EXECUTE; in initializeUIDefaults()
363 nUpdateMode = css::document::UpdateDocMode::NO_UPDATE; in initializeUIDefaults()
365 …tionHandler = css::uno::Reference< css::task::XInteractionHandler >(static_cast< css::task::XInter… in initializeUIDefaults()
393 throw(LoadEnvException, css::uno::RuntimeException) in startLoading()
448 throw(LoadEnvException, css::uno::RuntimeException) in waitWhileLoading()
487 throw(LoadEnvException, css::uno::RuntimeException) in cancelLoading()
497 …css::uno::Reference< css::frame::XFrameLoader > xAsyncLoader(m_xAsynchronousJob, css::uno::UNO_QUE… in cancelLoading()
530 css::uno::Reference< css::frame::XFrame > LoadEnv::getTarget() const in getTarget()
541 css::uno::Reference< css::lang::XComponent > LoadEnv::getTargetComponent() const in getTargetComponent()
547 return css::uno::Reference< css::lang::XComponent >(); in getTargetComponent()
549 css::uno::Reference< css::frame::XController > xController = m_xTargetFrame->getController(); in getTargetComponent()
551 …return css::uno::Reference< css::lang::XComponent >(m_xTargetFrame->getComponentWindow(), css::uno… in getTargetComponent()
553 css::uno::Reference< css::frame::XModel > xModel = xController->getModel(); in getTargetComponent()
555 return css::uno::Reference< css::lang::XComponent >(xController, css::uno::UNO_QUERY); in getTargetComponent()
557 return css::uno::Reference< css::lang::XComponent >(xModel, css::uno::UNO_QUERY); in getTargetComponent()
564 void SAL_CALL LoadEnvListener::loadFinished(const css::uno::Reference< css::frame::XFrameLoader >&) in loadFinished()
565 throw(css::uno::RuntimeException) in loadFinished()
581 void SAL_CALL LoadEnvListener::loadCancelled(const css::uno::Reference< css::frame::XFrameLoader >&) in loadCancelled()
582 throw(css::uno::RuntimeException) in loadCancelled()
598 void SAL_CALL LoadEnvListener::dispatchFinished(const css::frame::DispatchResultEvent& aEvent) in dispatchFinished()
599 throw(css::uno::RuntimeException) in dispatchFinished()
609 case css::frame::DispatchResultState::FAILURE : in dispatchFinished()
613 case css::frame::DispatchResultState::SUCCESS : in dispatchFinished()
617 case css::frame::DispatchResultState::DONTKNOW : in dispatchFinished()
630 void SAL_CALL LoadEnvListener::disposing(const css::lang::EventObject&) in disposing()
631 throw(css::uno::RuntimeException) in disposing()
671 … const css::uno::Sequence< css::beans::PropertyValue >& lMediaDescriptor) in classifyContent()
722 css::uno::Reference< css::io::XInputStream > xStream; in classifyContent()
735 css::uno::Reference< css::frame::XModel > xModel; in classifyContent()
745 … css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = ::utl::getProcessServiceFactory(); in classifyContent()
746 …css::uno::Reference< css::document::XTypeDetection > xDetect(xSMGR->createInstance(SERVICENAME_TYP… in classifyContent()
750 css::uno::Sequence< css::beans::NamedValue > lQuery(1) ; in classifyContent()
751 css::uno::Reference< css::container::XContainerQuery > xContainer ; in classifyContent()
752 css::uno::Reference< css::container::XEnumeration > xSet ; in classifyContent()
753 css::uno::Sequence< ::rtl::OUString > lTypesReg(1); in classifyContent()
785 …xContainer = css::uno::Reference< css::container::XContainerQuery >(xSMGR->createInstance(SERVICEN… in classifyContent()
800 …xContainer = css::uno::Reference< css::container::XContainerQuery >(xSMGR->createInstance(SERVICEN… in classifyContent()
810 …css::uno::Reference< css::ucb::XContentProviderManager > xUCB(xSMGR->createInstance(SERVICENAME_UC… in classifyContent()
826 throw(LoadEnvException, css::uno::RuntimeException) in impl_detectTypeAndFilter()
838 …css::uno::Sequence< css::beans::PropertyValue > lDescriptor = m_lMediaDescriptor.getAsConst… in impl_detectTypeAndFilter()
839 css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = m_xSMGR; in impl_detectTypeAndFilter()
845 …css::uno::Reference< css::document::XTypeDetection > xDetect(xSMGR->createInstance(SERVICENAME_TYP… in impl_detectTypeAndFilter()
877 … css::uno::Reference< css::container::XNameAccess > xTypeCont(xDetect, css::uno::UNO_QUERY_THROW); in impl_detectTypeAndFilter()
891 catch(const css::container::NoSuchElementException&) in impl_detectTypeAndFilter()
906 …css::uno::Reference< css::container::XNameAccess > xFilterCont(xSMGR->createInstance(SERVICENAME_F… in impl_detectTypeAndFilter()
913 catch(const css::container::NoSuchElementException&) in impl_detectTypeAndFilter()
933 throw(LoadEnvException, css::uno::RuntimeException) in impl_handleContent()
944 css::uno::Sequence< css::beans::PropertyValue > lDescriptor; in impl_handleContent()
946 css::util::URL aURL = m_aURL; in impl_handleContent()
949 …css::uno::Reference< css::lang::XMultiServiceFactory > xFactory(m_xSMGR->createInstance(SERVICENAM… in impl_handleContent()
950 …css::uno::Reference< css::container::XContainerQuery > xQuery (xFactory … in impl_handleContent()
956 css::uno::Sequence< ::rtl::OUString > lTypeReg(1); in impl_handleContent()
959 css::uno::Sequence< css::beans::NamedValue > lQuery(1); in impl_handleContent()
963 …css::uno::Reference< css::container::XEnumeration > xSet = xQuery->createSubSetEnumerationByProper… in impl_handleContent()
969 css::uno::Reference< css::frame::XNotifyingDispatch > xHandler; in impl_handleContent()
972 …xHandler = css::uno::Reference< css::frame::XNotifyingDispatch >(xFactory->createInstance(sHandler… in impl_handleContent()
976 catch(const css::uno::RuntimeException&) in impl_handleContent()
978 catch(const css::uno::Exception&) in impl_handleContent()
989 …css::uno::Reference< css::frame::XDispatchResultListener > xListener(static_cast< css::frame::XDis… in impl_handleContent()
1003 css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = m_xSMGR; in impl_furtherDocsAllowed()
1011 css::uno::Any aVal = ::comphelper::ConfigurationHelper::readDirectKey( in impl_furtherDocsAllowed()
1027 css::uno::Reference< css::frame::XFramesSupplier > xDesktop( in impl_furtherDocsAllowed()
1029 css::uno::UNO_QUERY_THROW); in impl_furtherDocsAllowed()
1032 css::uno::Reference< css::frame::XFrame >(), in impl_furtherDocsAllowed()
1041 catch(const css::uno::Exception&) in impl_furtherDocsAllowed()
1048 …css::uno::Reference< css::task::XInteractionHandler > xInteraction = m_lMediaDescriptor.getUnpacke… in impl_furtherDocsAllowed()
1050 … css::uno::Reference< css::task::XInteractionHandler >()); in impl_furtherDocsAllowed()
1056 … css::uno::Any aInteraction; in impl_furtherDocsAllowed()
1057 …css::uno::Sequence< css::uno::Reference< css::task::XInteractionContinuation > > lContinuations(2); in impl_furtherDocsAllowed()
1062 lContinuations[0] = css::uno::Reference< css::task::XInteractionContinuation >( in impl_furtherDocsAllowed()
1063 static_cast< css::task::XInteractionContinuation* >(pAbort), in impl_furtherDocsAllowed()
1064 css::uno::UNO_QUERY_THROW); in impl_furtherDocsAllowed()
1065 lContinuations[1] = css::uno::Reference< css::task::XInteractionContinuation >( in impl_furtherDocsAllowed()
1066 static_cast< css::task::XInteractionContinuation* >(pApprove), in impl_furtherDocsAllowed()
1067 css::uno::UNO_QUERY_THROW); in impl_furtherDocsAllowed()
1069 css::task::ErrorCodeRequest aErrorCode; in impl_furtherDocsAllowed()
1081 throw(LoadEnvException, css::uno::RuntimeException) in impl_loadContent()
1113 sal_Int32 nFlags = m_nSearchFlags & ~css::frame::FrameSearchFlag::CREATE; in impl_loadContent()
1133 css::uno::Reference< css::frame::XFrame > xTargetFrame = m_xTargetFrame; in impl_loadContent()
1152 …css::uno::Reference< css::document::XActionLockable > xTargetLock(xTargetFrame, css::uno::UNO_QUER… in impl_loadContent()
1163 …css::uno::Reference< css::task::XStatusIndicator > xProgress = m_lMediaDescriptor.getUnpackedValu… in impl_loadContent()
1168 …css::uno::Reference< css::task::XStatusIndicatorFactory > xProgressFactory(xTargetFrame, css::uno:… in impl_loadContent()
1178 css::uno::Sequence< css::beans::PropertyValue > lDescriptor; in impl_loadContent()
1183 css::uno::Reference< css::uno::XInterface > xLoader = impl_searchLoader(); in impl_loadContent()
1184 …css::uno::Reference< css::frame::XFrameLoader > xAsyncLoader(xLoader, css::uno::UNO_QUE… in impl_loadContent()
1185 …css::uno::Reference< css::frame::XSynchronousFrameLoader > xSyncLoader (xLoader, css::uno::UNO_QUE… in impl_loadContent()
1197 …css::uno::Reference< css::frame::XLoadEventListener > xListener(static_cast< css::frame::XLoadEven… in impl_loadContent()
1223 css::uno::Reference< css::uno::XInterface > LoadEnv::impl_searchLoader() in impl_searchLoader()
1237 catch(const css::uno::RuntimeException&) in impl_searchLoader()
1239 catch(const css::uno::Exception&) in impl_searchLoader()
1252 …css::uno::Reference< css::lang::XMultiServiceFactory > xLoaderFactory(m_xSMGR->createInstance(SERV… in impl_searchLoader()
1253 …css::uno::Reference< css::container::XContainerQuery > xQuery (xLoaderFactory … in impl_searchLoader()
1258 css::uno::Sequence< ::rtl::OUString > lTypesReg(1); in impl_searchLoader()
1261 css::uno::Sequence< css::beans::NamedValue > lQuery(1); in impl_searchLoader()
1265 …css::uno::Reference< css::container::XEnumeration > xSet = xQuery->createSubSetEnumerationByProper… in impl_searchLoader()
1272 css::uno::Reference< css::uno::XInterface > xLoader ; in impl_searchLoader()
1279 catch(const css::uno::RuntimeException&) in impl_searchLoader()
1281 catch(const css::uno::Exception&) in impl_searchLoader()
1285 return css::uno::Reference< css::uno::XInterface >(); in impl_searchLoader()
1291 void LoadEnv::impl_jumpToMark(const css::uno::Reference< css::frame::XFrame >& xFrame, in impl_jumpToMark()
1292 const css::util::URL& aURL ) in impl_jumpToMark()
1297 css::uno::Reference< css::frame::XDispatchProvider > xProvider(xFrame, css::uno::UNO_QUERY); in impl_jumpToMark()
1303 css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = m_xSMGR; in impl_jumpToMark()
1307 css::util::URL aCmd; in impl_jumpToMark()
1310 …css::uno::Reference< css::util::XURLTransformer > xParser(xSMGR->createInstance(SERVICENAME_URLTRA… in impl_jumpToMark()
1313 …css::uno::Reference< css::frame::XDispatch > xDispatcher = xProvider->queryDispatch(aCmd, SPECIALT… in impl_jumpToMark()
1325 css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchAlreadyLoaded() in impl_searchAlreadyLoaded()
1326 throw(LoadEnvException, css::uno::RuntimeException) in impl_searchAlreadyLoaded()
1340 return css::uno::Reference< css::frame::XFrame >(); in impl_searchAlreadyLoaded()
1352 return css::uno::Reference< css::frame::XFrame >(); in impl_searchAlreadyLoaded()
1357 …css::uno::Reference< css::frame::XFramesSupplier > xSupplier(m_xSMGR->createInstance(SERVICENAME_… in impl_searchAlreadyLoaded()
1358 …css::uno::Reference< css::container::XIndexAccess > xTaskList(xSupplier->getFrames() … in impl_searchAlreadyLoaded()
1361 return css::uno::Reference< css::frame::XFrame >(); // task list can be empty! in impl_searchAlreadyLoaded()
1371 css::uno::Reference< css::frame::XFrame > xHiddenTask; in impl_searchAlreadyLoaded()
1372 css::uno::Reference< css::frame::XFrame > xTask; in impl_searchAlreadyLoaded()
1386 css::uno::Reference< css::frame::XController > xController = xTask->getController(); in impl_searchAlreadyLoaded()
1393 css::uno::Reference< css::frame::XModel > xModel = xController->getModel(); in impl_searchAlreadyLoaded()
1439 catch(const css::uno::RuntimeException& exRun) in impl_searchAlreadyLoaded()
1441 catch(const css::uno::Exception&) in impl_searchAlreadyLoaded()
1445 css::uno::Reference< css::frame::XFrame > xResult; in impl_searchAlreadyLoaded()
1473 sal_Bool LoadEnv::impl_isFrameAlreadyUsedForLoading(const css::uno::Reference< css::frame::XFrame >… in impl_isFrameAlreadyUsedForLoading()
1475 css::uno::Reference< css::document::XActionLockable > xLock(xFrame, css::uno::UNO_QUERY); in impl_isFrameAlreadyUsedForLoading()
1490 css::uno::Reference< css::frame::XFrame > LoadEnv::impl_searchRecycleTarget() in impl_searchRecycleTarget()
1491 throw(LoadEnvException, css::uno::RuntimeException) in impl_searchRecycleTarget()
1501 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1503 …css::uno::Reference< css::frame::XFramesSupplier > xSupplier(m_xSMGR->createInstance(SERVICENAME_D… in impl_searchRecycleTarget()
1504 …FrameListAnalyzer aTasksAnalyzer(xSupplier, css::uno::Reference< css::frame::XFrame >(), FrameList… in impl_searchRecycleTarget()
1521 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1532 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1538 css::uno::Reference< css::frame::XFrame > xTask = xSupplier->getActiveFrame(); in impl_searchRecycleTarget()
1542 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1545 css::uno::Reference< css::frame::XController > xController = xTask->getController(); in impl_searchRecycleTarget()
1547 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1550 css::uno::Reference< css::frame::XModel > xModel = xController->getModel(); in impl_searchRecycleTarget()
1552 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1560 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1563 css::uno::Reference< css::util::XModifiable > xModified(xModel, css::uno::UNO_QUERY); in impl_searchRecycleTarget()
1565 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1569 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1581 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1590 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1596 css::uno::Reference< css::frame::XController > xOldDoc = xTask->getController(); in impl_searchRecycleTarget()
1601 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1607 css::uno::Reference< css::document::XActionLockable > xLock(xTask, css::uno::UNO_QUERY); in impl_searchRecycleTarget()
1609 return css::uno::Reference< css::frame::XFrame >(); in impl_searchRecycleTarget()
1625 throw(LoadEnvException, css::uno::RuntimeException) in impl_reactForLoadingState()
1637 … css::uno::Reference< css::awt::XWindow > xWindow = m_xTargetFrame->getContainerWindow(); in impl_reactForLoadingState()
1674 css::uno::Reference< css::frame::XController > xOldDoc = m_xTargetFrame->getController(); in impl_reactForLoadingState()
1690 css::uno::Reference< css::util::XCloseable > xCloseable (m_xTargetFrame, css::uno::UNO_QUERY); in impl_reactForLoadingState()
1691 css::uno::Reference< css::lang::XComponent > xDisposable(m_xTargetFrame, css::uno::UNO_QUERY); in impl_reactForLoadingState()
1701 catch(const css::util::CloseVetoException&) in impl_reactForLoadingState()
1703 catch(const css::lang::DisposedException&) in impl_reactForLoadingState()
1721 css::uno::Any aRequest; in impl_reactForLoadingState()
1735 if ( aRequest.isExtractableTo( ::cppu::UnoType< css::uno::Exception >::get() ) ) in impl_reactForLoadingState()
1745 void LoadEnv::impl_makeFrameWindowVisible(const css::uno::Reference< css::awt::XWindow >& xWindow … in impl_makeFrameWindowVisible()
1750 …css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR( m_xSMGR.get(), css::uno::UNO_QUERY ); in impl_makeFrameWindowVisible()
1759 css::uno::Any a = ::comphelper::ConfigurationHelper::readDirectKey( in impl_makeFrameWindowVisible()
1804 void LoadEnv::impl_applyPersistentWindowState(const css::uno::Reference< css::awt::XWindow >& xWind… in impl_applyPersistentWindowState()
1814 css::uno::Reference< css::awt::XWindow2 > xVisibleCheck(xWindow, css::uno::UNO_QUERY); in impl_applyPersistentWindowState()
1849 css::uno::Reference< css::lang::XMultiServiceFactory > xSMGR = m_xSMGR; in impl_applyPersistentWindowState()
1857 css::uno::Reference< css::container::XNameAccess > xFilterCfg( in impl_applyPersistentWindowState()
1859 css::uno::UNO_QUERY_THROW); in impl_applyPersistentWindowState()
1864 …css::uno::Reference< css::container::XNameAccess > xModuleCfg(::comphelper::ConfigurationHelper::o… in impl_applyPersistentWindowState()
1868 css::uno::UNO_QUERY_THROW); in impl_applyPersistentWindowState()
1896 catch(const css::uno::RuntimeException& exRun) in impl_applyPersistentWindowState()
1898 catch(const css::uno::Exception&) in impl_applyPersistentWindowState()