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

Typedefs

typedef std::unordered_map< OString, 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 OUString &nWindowId, const OUString &rWidget, StringMap &rData)
 execute action on a widget More...
 
VCL_DLLPUBLIC void SendFullUpdate (const OUString &nWindowId, const OUString &rWidget)
 send full update message to the client More...
 
VCL_DLLPUBLIC void SendAction (const OUString &nWindowId, const OUString &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<OString, OUString> jsdialog::ActionDataMap

Definition at line 134 of file executor.hxx.

Enumeration Type Documentation

◆ MessageType

Enumerator
FullUpdate 
WidgetUpdate 
Close 
Action 
Popup 
PopupClose 

Definition at line 54 of file jsdialogbuilder.hxx.

Function Documentation

◆ ExecuteAction()

VCL_DLLPUBLIC bool jsdialog::ExecuteAction ( const OUString &  nWindowId,
const OUString &  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 OUString &  nWindowId,
const OUString &  rWidget,
std::unique_ptr< ActionDataMap pData 
)

send action message to the client

◆ SendFullUpdate()

VCL_DLLPUBLIC void jsdialog::SendFullUpdate ( const OUString &  nWindowId,
const OUString &  rWidget 
)

send full update message to the client