LibreOffice Module framework (master) 1
Public Member Functions | Public Attributes | List of all members
framework::JobData::TJob2DocEventBinding Struct Reference

Some jobs can be registered to "logical events", which are generated on demand if another document event occurs. More...

#include <jobdata.hxx>

Public Member Functions

 TJob2DocEventBinding (OUString sJobName, OUString sDocEvent)
 

Public Attributes

OUString m_sJobName
 
OUString m_sDocEvent
 

Detailed Description

Some jobs can be registered to "logical events", which are generated on demand if another document event occurs.

E.g. "onDocumentOpened" in case "OnNew" or "OnLoad" was notified to the JobExecutor instance. And normally the original event is transported as parameter set to the executed job. But then such job can't differ between e.g. "OnNew" and "onDocumentOpened". That's why we must know, for which type of event the job was really triggered .-)

The information "sDocEvent" from this struct must be set on the member JobData::m_sEvent from outside user of such Jobdata structure.

Definition at line 85 of file jobdata.hxx.

Constructor & Destructor Documentation

◆ TJob2DocEventBinding()

framework::JobData::TJob2DocEventBinding::TJob2DocEventBinding ( OUString  sJobName,
OUString  sDocEvent 
)
inline

Definition at line 90 of file jobdata.hxx.

Member Data Documentation

◆ m_sDocEvent

OUString framework::JobData::TJob2DocEventBinding::m_sDocEvent

Definition at line 88 of file jobdata.hxx.

◆ m_sJobName

OUString framework::JobData::TJob2DocEventBinding::m_sJobName

Definition at line 87 of file jobdata.hxx.


The documentation for this struct was generated from the following file: