LibreOffice Module vcl (master) 1
Typedefs | Enumerations | Functions
jsdialog Namespace Reference

Typedefs

typedef std::unordered_map< std::string, OUString > ActionDataMap
 

Enumerations

enum  MessageType {
  FullUpdate ,
  WidgetUpdate ,
  Close ,
  Action ,
  Popup ,
  PopupClose
}
 

Functions

bool isBuilderEnabled (std::u16string_view rUIFile, bool bMobile)
 
bool isBuilderEnabledForPopup (std::u16string_view rUIFile)
 
bool isBuilderEnabledForSidebar (std::u16string_view rUIFile)
 
bool isInterimBuilderEnabledForNotebookbar (std::u16string_view rUIFile)
 
VCL_DLLPUBLIC bool ExecuteAction (const std::string &nWindowId, const OString &rWidget, StringMap &rData)
 execute action on a widget More...
 
VCL_DLLPUBLIC void SendFullUpdate (const std::string &nWindowId, const OString &rWidget)
 send full update message to the client More...
 
VCL_DLLPUBLIC void SendAction (const std::string &nWindowId, const OString &rWidget, std::unique_ptr< ActionDataMap > pData)
 send action message to the client More...
 
VCL_DLLPUBLIC StringMap jsonToStringMap (const char *pJSON)
 

Typedef Documentation

◆ ActionDataMap

typedef std::unordered_map<std::string, OUString> jsdialog::ActionDataMap

Definition at line 80 of file executor.hxx.

Enumeration Type Documentation

◆ MessageType

Enumerator
FullUpdate 
WidgetUpdate 
Close 
Action 
Popup 
PopupClose 

Definition at line 47 of file jsdialogbuilder.hxx.

Function Documentation

◆ ExecuteAction()

VCL_DLLPUBLIC bool jsdialog::ExecuteAction ( const std::string &  nWindowId,
const OString &  rWidget,
StringMap rData 
)

execute action on a widget

◆ isBuilderEnabled()

bool jsdialog::isBuilderEnabled ( std::u16string_view  rUIFile,
bool  bMobile 
)

◆ isBuilderEnabledForPopup()

bool jsdialog::isBuilderEnabledForPopup ( std::u16string_view  rUIFile)

◆ isBuilderEnabledForSidebar()

bool jsdialog::isBuilderEnabledForSidebar ( std::u16string_view  rUIFile)

◆ isInterimBuilderEnabledForNotebookbar()

bool jsdialog::isInterimBuilderEnabledForNotebookbar ( std::u16string_view  rUIFile)

◆ jsonToStringMap()

VCL_DLLPUBLIC StringMap jsdialog::jsonToStringMap ( const char *  pJSON)

◆ SendAction()

VCL_DLLPUBLIC void jsdialog::SendAction ( const std::string &  nWindowId,
const OString &  rWidget,
std::unique_ptr< ActionDataMap pData 
)

send action message to the client

◆ SendFullUpdate()

VCL_DLLPUBLIC void jsdialog::SendFullUpdate ( const std::string &  nWindowId,
const OString &  rWidget 
)

send full update message to the client