LibreOffice Module desktop (master) 1
|
#include <dispatchwatcher.hxx>
Classes | |
struct | DispatchRequest |
Public Types | |
enum | RequestType { REQUEST_OPEN , REQUEST_VIEW , REQUEST_START , REQUEST_PRINT , REQUEST_PRINTTO , REQUEST_FORCEOPEN , REQUEST_FORCENEW , REQUEST_CONVERSION , REQUEST_INFILTER , REQUEST_BATCHPRINT , REQUEST_CAT , REQUEST_SCRIPT_CAT } |
Public Member Functions | |
DispatchWatcher () | |
virtual | ~DispatchWatcher () override |
virtual void SAL_CALL | disposing (const css::lang::EventObject &Source) override |
virtual void SAL_CALL | dispatchFinished (const css::frame::DispatchResultEvent &aEvent) override |
bool | executeDispatchRequests (const std::vector< DispatchRequest > &aDispatches, bool bNoTerminate) |
Private Attributes | |
std::atomic< int > | m_nRequestCount |
Definition at line 38 of file dispatchwatcher.hxx.
Definition at line 41 of file dispatchwatcher.hxx.
desktop::DispatchWatcher::DispatchWatcher | ( | ) |
Definition at line 327 of file dispatchwatcher.cxx.
|
overridevirtual |
Definition at line 333 of file dispatchwatcher.cxx.
|
overridevirtual |
Definition at line 843 of file dispatchwatcher.cxx.
References desktop::RequestHandler::AreRequestsPending(), dp_registry::backend::bundle::create(), m_nRequestCount, nCount, and desktop::RequestHandler::RequestsCompleted().
|
overridevirtual |
Definition at line 838 of file dispatchwatcher.cxx.
bool desktop::DispatchWatcher::executeDispatchRequests | ( | const std::vector< DispatchRequest > & | aDispatches, |
bool | bNoTerminate | ||
) |
Definition at line 338 of file dispatchwatcher.cxx.
References aName, Any, INetURLObject::Append(), aStr, aURL, comphelper::containerToSequence(), dp_registry::backend::bundle::create(), comphelper::SynchronousDispatch::dispatch(), Exception, INetURLObject::GetMainURL(), INetURLObject::getName(), INetURLObject::GetProtocol(), desktop::GetURL_Impl(), SvStream::good(), i, FStatHelper::IsDocument(), INetURLObject::LAST_SEGMENT, m_nRequestCount, comphelper::makePropertyValue(), name, Name, INetURLObject::NONE, OUStringToOString(), utl::MediaDescriptor::PROP_DOCUMENTSERVICE, SvStream::ReadLine(), REQUEST_BATCHPRINT, REQUEST_CAT, REQUEST_CONVERSION, REQUEST_FORCENEW, REQUEST_FORCEOPEN, REQUEST_INFILTER, REQUEST_OPEN, REQUEST_PRINT, REQUEST_PRINTTO, REQUEST_SCRIPT_CAT, REQUEST_START, REQUEST_VIEW, desktop::RequestHandler::RequestsCompleted(), SAL_MAX_INT32, SAL_WARN_IF, INetURLObject::SetExtension(), TOOLS_WARN_EXCEPTION, URL, xDispatch, and xModel.
|
private |
Definition at line 81 of file dispatchwatcher.hxx.
Referenced by dispatchFinished(), and executeDispatchRequests().