LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
JSInstanceBuilder Class Referencefinal

#include <jsdialogbuilder.hxx>

Inheritance diagram for JSInstanceBuilder:
[legend]
Collaboration diagram for JSInstanceBuilder:
[legend]

Public Member Functions

 JSInstanceBuilder (weld::Widget *pParent, const OUString &rUIRoot, const OUString &rUIFile, bool bPopup=false)
 used for dialogs or popups More...
 
 JSInstanceBuilder (weld::Widget *pParent, const OUString &rUIRoot, const OUString &rUIFile, sal_uInt64 nLOKWindowId)
 used for sidebar panels More...
 
 JSInstanceBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile, const css::uno::Reference< css::frame::XFrame > &rFrame, sal_uInt64 nWindowId=0)
 used for notebookbar, optional nWindowId is used if getting parent id failed More...
 
 JSInstanceBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile, sal_uInt64 nLOKWindowId)
 used for formulabar More...
 
virtual ~JSInstanceBuilder () override
 
virtual std::unique_ptr< weld::MessageDialogweld_message_dialog (const OString &id) override
 
virtual std::unique_ptr< weld::Dialogweld_dialog (const OString &id) override
 
virtual std::unique_ptr< weld::Containerweld_container (const OString &id) override
 
virtual std::unique_ptr< weld::Labelweld_label (const OString &id) override
 
virtual std::unique_ptr< weld::Buttonweld_button (const OString &id) override
 
virtual std::unique_ptr< weld::Entryweld_entry (const OString &id) override
 
virtual std::unique_ptr< weld::ComboBoxweld_combo_box (const OString &id) override
 
virtual std::unique_ptr< weld::Notebookweld_notebook (const OString &id) override
 
virtual std::unique_ptr< weld::SpinButtonweld_spin_button (const OString &id) override
 
virtual std::unique_ptr< weld::CheckButtonweld_check_button (const OString &id) override
 
virtual std::unique_ptr< weld::DrawingAreaweld_drawing_area (const OString &id, const a11yref &rA11yImpl=nullptr, FactoryFunction pUITestFactoryFunction=nullptr, void *pUserData=nullptr) override
 
virtual std::unique_ptr< weld::Toolbarweld_toolbar (const OString &id) override
 
virtual std::unique_ptr< weld::TextViewweld_text_view (const OString &id) override
 
virtual std::unique_ptr< weld::TreeViewweld_tree_view (const OString &id) override
 
virtual std::unique_ptr< weld::Expanderweld_expander (const OString &id) override
 
virtual std::unique_ptr< weld::IconViewweld_icon_view (const OString &id) override
 
virtual std::unique_ptr< weld::RadioButtonweld_radio_button (const OString &id) override
 
virtual std::unique_ptr< weld::Frameweld_frame (const OString &id) override
 
virtual std::unique_ptr< weld::MenuButtonweld_menu_button (const OString &id) override
 
virtual std::unique_ptr< weld::Popoverweld_popover (const OString &id) override
 
virtual std::unique_ptr< weld::Boxweld_box (const OString &id) override
 
virtual std::unique_ptr< weld::Widgetweld_widget (const OString &id) override
 
virtual std::unique_ptr< weld::Imageweld_image (const OString &id) override
 
- Public Member Functions inherited from SalInstanceBuilder
 SalInstanceBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile, const css::uno::Reference< css::frame::XFrame > &rFrame=css::uno::Reference< css::frame::XFrame >())
 
virtual std::unique_ptr< weld::MessageDialogweld_message_dialog (const OString &id) override
 
virtual std::unique_ptr< weld::Dialogweld_dialog (const OString &id) override
 
virtual std::unique_ptr< weld::Assistantweld_assistant (const OString &id) override
 
virtual std::unique_ptr< weld::Windowcreate_screenshot_window () override
 
virtual std::unique_ptr< weld::Widgetweld_widget (const OString &id) override
 
virtual std::unique_ptr< weld::Containerweld_container (const OString &id) override
 
virtual std::unique_ptr< weld::Boxweld_box (const OString &id) override
 
virtual std::unique_ptr< weld::Panedweld_paned (const OString &id) override
 
virtual std::unique_ptr< weld::Frameweld_frame (const OString &id) override
 
virtual std::unique_ptr< weld::ScrolledWindowweld_scrolled_window (const OString &id, bool bUserManagedScrolling=false) override
 
virtual std::unique_ptr< weld::Notebookweld_notebook (const OString &id) override
 
virtual std::unique_ptr< weld::Buttonweld_button (const OString &id) override
 
virtual std::unique_ptr< weld::MenuButtonweld_menu_button (const OString &id) override
 
virtual std::unique_ptr< weld::MenuToggleButtonweld_menu_toggle_button (const OString &id) override
 
virtual std::unique_ptr< weld::LinkButtonweld_link_button (const OString &id) override
 
virtual std::unique_ptr< weld::ToggleButtonweld_toggle_button (const OString &id) override
 
virtual std::unique_ptr< weld::RadioButtonweld_radio_button (const OString &id) override
 
virtual std::unique_ptr< weld::CheckButtonweld_check_button (const OString &id) override
 
virtual std::unique_ptr< weld::Scaleweld_scale (const OString &id) override
 
virtual std::unique_ptr< weld::ProgressBarweld_progress_bar (const OString &id) override
 
virtual std::unique_ptr< weld::Spinnerweld_spinner (const OString &id) override
 
virtual std::unique_ptr< weld::Imageweld_image (const OString &id) override
 
virtual std::unique_ptr< weld::Calendarweld_calendar (const OString &id) override
 
virtual std::unique_ptr< weld::Entryweld_entry (const OString &id) override
 
virtual std::unique_ptr< weld::SpinButtonweld_spin_button (const OString &id) override
 
virtual std::unique_ptr< weld::MetricSpinButtonweld_metric_spin_button (const OString &id, FieldUnit eUnit) override
 
virtual std::unique_ptr< weld::FormattedSpinButtonweld_formatted_spin_button (const OString &id) override
 
virtual std::unique_ptr< weld::ComboBoxweld_combo_box (const OString &id) override
 
virtual std::unique_ptr< weld::EntryTreeViewweld_entry_tree_view (const OString &containerid, const OString &entryid, const OString &treeviewid) override
 
virtual std::unique_ptr< weld::TreeViewweld_tree_view (const OString &id) override
 
virtual std::unique_ptr< weld::IconViewweld_icon_view (const OString &id) override
 
virtual std::unique_ptr< weld::Labelweld_label (const OString &id) override
 
virtual std::unique_ptr< weld::TextViewweld_text_view (const OString &id) override
 
virtual std::unique_ptr< weld::Expanderweld_expander (const OString &id) override
 
virtual std::unique_ptr< weld::DrawingAreaweld_drawing_area (const OString &id, const a11yref &rA11yImpl=nullptr, FactoryFunction pUITestFactoryFunction=nullptr, void *pUserData=nullptr) override
 
virtual std::unique_ptr< weld::Menuweld_menu (const OString &id) override
 
virtual std::unique_ptr< weld::Popoverweld_popover (const OString &id) override
 
virtual std::unique_ptr< weld::Toolbarweld_toolbar (const OString &id) override
 
virtual std::unique_ptr< weld::Scrollbarweld_scrollbar (const OString &id) override
 
virtual std::unique_ptr< weld::SizeGroupcreate_size_group () override
 
OString get_current_page_help_id () const
 
virtual ~SalInstanceBuilder () override
 
- Public Member Functions inherited from weld::Builder
virtual std::unique_ptr< MessageDialogweld_message_dialog (const OString &id)=0
 
virtual std::unique_ptr< Dialogweld_dialog (const OString &id)=0
 
virtual std::unique_ptr< Assistantweld_assistant (const OString &id)=0
 
virtual std::unique_ptr< Widgetweld_widget (const OString &id)=0
 
virtual std::unique_ptr< Containerweld_container (const OString &id)=0
 
virtual std::unique_ptr< Boxweld_box (const OString &id)=0
 
virtual std::unique_ptr< Panedweld_paned (const OString &id)=0
 
virtual std::unique_ptr< Buttonweld_button (const OString &id)=0
 
virtual std::unique_ptr< MenuButtonweld_menu_button (const OString &id)=0
 
virtual std::unique_ptr< MenuToggleButtonweld_menu_toggle_button (const OString &id)=0
 
virtual std::unique_ptr< Frameweld_frame (const OString &id)=0
 
virtual std::unique_ptr< ScrolledWindowweld_scrolled_window (const OString &id, bool bUserManagedScrolling=false)=0
 
virtual std::unique_ptr< Notebookweld_notebook (const OString &id)=0
 
virtual std::unique_ptr< ToggleButtonweld_toggle_button (const OString &id)=0
 
virtual std::unique_ptr< RadioButtonweld_radio_button (const OString &id)=0
 
virtual std::unique_ptr< CheckButtonweld_check_button (const OString &id)=0
 
virtual std::unique_ptr< LinkButtonweld_link_button (const OString &id)=0
 
virtual std::unique_ptr< SpinButtonweld_spin_button (const OString &id)=0
 
virtual std::unique_ptr< MetricSpinButtonweld_metric_spin_button (const OString &id, FieldUnit eUnit)=0
 
virtual std::unique_ptr< FormattedSpinButtonweld_formatted_spin_button (const OString &id)=0
 
virtual std::unique_ptr< ComboBoxweld_combo_box (const OString &id)=0
 
virtual std::unique_ptr< TreeViewweld_tree_view (const OString &id)=0
 
virtual std::unique_ptr< IconViewweld_icon_view (const OString &id)=0
 
virtual std::unique_ptr< Labelweld_label (const OString &id)=0
 
virtual std::unique_ptr< TextViewweld_text_view (const OString &id)=0
 
virtual std::unique_ptr< Expanderweld_expander (const OString &id)=0
 
virtual std::unique_ptr< Entryweld_entry (const OString &id)=0
 
virtual std::unique_ptr< Scaleweld_scale (const OString &id)=0
 
virtual std::unique_ptr< ProgressBarweld_progress_bar (const OString &id)=0
 
virtual std::unique_ptr< Spinnerweld_spinner (const OString &id)=0
 
virtual std::unique_ptr< Imageweld_image (const OString &id)=0
 
virtual std::unique_ptr< Calendarweld_calendar (const OString &id)=0
 
virtual std::unique_ptr< DrawingAreaweld_drawing_area (const OString &id, const a11yref &rA11yImpl=nullptr, FactoryFunction pUITestFactoryFunction=nullptr, void *pUserData=nullptr)=0
 
virtual std::unique_ptr< EntryTreeViewweld_entry_tree_view (const OString &containerid, const OString &entryid, const OString &treeviewid)=0
 
virtual std::unique_ptr< Menuweld_menu (const OString &id)=0
 
virtual std::unique_ptr< Popoverweld_popover (const OString &id)=0
 
virtual std::unique_ptr< Toolbarweld_toolbar (const OString &id)=0
 
virtual std::unique_ptr< Scrollbarweld_scrollbar (const OString &id)=0
 
virtual std::unique_ptr< SizeGroupcreate_size_group ()=0
 
virtual std::unique_ptr< Windowcreate_screenshot_window ()=0
 
virtual ~Builder ()
 
- Public Member Functions inherited from JSDialogSender
 JSDialogSender ()
 
 JSDialogSender (VclPtr< vcl::Window > aNotifierWindow, VclPtr< vcl::Window > aContentWindow, std::string sTypeOfJSON)
 
virtual ~JSDialogSender () COVERITY_NOEXCEPT_FALSE
 
virtual void sendFullUpdate (bool bForce=false)
 
void sendClose ()
 
void sendUpdate (VclPtr< vcl::Window > pWindow, bool bForce=false)
 
virtual void sendAction (VclPtr< vcl::Window > pWindow, std::unique_ptr< jsdialog::ActionDataMap > pData)
 
virtual void sendPopup (VclPtr< vcl::Window > pWindow, OUString sParentId, OUString sCloseId)
 
virtual void sendClosePopup (vcl::LOKWindowId nWindowId)
 
void flush ()
 

Static Public Member Functions

static std::unique_ptr< JSInstanceBuilderCreateDialogBuilder (weld::Widget *pParent, const OUString &rUIRoot, const OUString &rUIFile)
 
static std::unique_ptr< JSInstanceBuilderCreateNotebookbarBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile, const css::uno::Reference< css::frame::XFrame > &rFrame, sal_uInt64 nWindowId=0)
 
static std::unique_ptr< JSInstanceBuilderCreateSidebarBuilder (weld::Widget *pParent, const OUString &rUIRoot, const OUString &rUIFile, sal_uInt64 nLOKWindowId=0)
 
static std::unique_ptr< JSInstanceBuilderCreatePopupBuilder (weld::Widget *pParent, const OUString &rUIRoot, const OUString &rUIFile)
 
static std::unique_ptr< JSInstanceBuilderCreateFormulabarBuilder (vcl::Window *pParent, const OUString &rUIRoot, const OUString &rUIFile, sal_uInt64 nLOKWindowId)
 
static weld::MessageDialogCreateMessageDialog (weld::Widget *pParent, VclMessageType eMessageType, VclButtonsType eButtonType, const OUString &rPrimaryMessage)
 
static void AddChildWidget (const std::string &nWindowId, const OString &id, weld::Widget *pWidget)
 
static void RemoveWindowWidget (const std::string &nWindowId)
 
static void RememberPopup (const std::string &nWindowId, VclPtr< vcl::Window > pWidget)
 
static void ForgetPopup (const std::string &nWindowId)
 
static vcl::WindowFindPopup (const std::string &nWindowId)
 

Private Member Functions

void RememberWidget (OString id, weld::Widget *pWidget)
 
std::string getMapIdFromWindowId () const
 
const std::string & GetTypeOfJSON () const
 
VclPtr< vcl::Window > & GetContentWindow ()
 
VclPtr< vcl::Window > & GetNotifierWindow ()
 

Static Private Member Functions

static std::map< std::string, WidgetMap > & GetLOKWeldWidgetsMap ()
 
static void InsertWindowToMap (const std::string &nWindowId)
 
static void RememberWidget (const std::string &nWindowId, const OString &id, weld::Widget *pWidget)
 
static weld::WidgetFindWeldWidgetsMap (const std::string &nWindowId, const OString &rWidget)
 

Private Attributes

sal_uInt64 m_nWindowId
 
VclPtr< vcl::Windowm_aParentDialog
 used in case of tab pages where dialog is not a direct top level More...
 
VclPtr< vcl::Windowm_aContentWindow
 
std::list< std::string > m_aRememberedWidgets
 
std::string m_sTypeOfJSON
 
bool m_bHasTopLevelDialog
 
bool m_bIsNotebookbar
 
VclPtr< vcl::Windowm_aWindowToRelease
 When LOKNotifier is set by jsdialogs code we need to release it. More...
 

Friends

class JSMessageDialog
 
VCL_DLLPUBLIC bool jsdialog::ExecuteAction (const std::string &nWindowId, const OString &rWidget, StringMap &rData)
 
VCL_DLLPUBLIC void jsdialog::SendFullUpdate (const std::string &nWindowId, const OString &rWidget)
 
VCL_DLLPUBLIC void jsdialog::SendAction (const std::string &nWindowId, const OString &rWidget, std::unique_ptr< jsdialog::ActionDataMap > pData)
 

Additional Inherited Members

- Protected Member Functions inherited from JSDialogSender
void initializeSender (VclPtr< vcl::Window > aNotifierWindow, VclPtr< vcl::Window > aContentWindow, std::string sTypeOfJSON)
 
- Protected Attributes inherited from SalInstanceBuilder
std::unique_ptr< VclBuilderm_xBuilder
 
VclPtr< vcl::Windowm_aOwnedToplevel
 
- Protected Attributes inherited from JSDialogSender
bool m_bCanClose
 

Detailed Description

Definition at line 209 of file jsdialogbuilder.hxx.

Constructor & Destructor Documentation

◆ JSInstanceBuilder() [1/4]

JSInstanceBuilder::JSInstanceBuilder ( weld::Widget pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile,
bool  bPopup = false 
)

used for dialogs or popups

◆ JSInstanceBuilder() [2/4]

JSInstanceBuilder::JSInstanceBuilder ( weld::Widget pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile,
sal_uInt64  nLOKWindowId 
)

used for sidebar panels

◆ JSInstanceBuilder() [3/4]

JSInstanceBuilder::JSInstanceBuilder ( vcl::Window pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile,
const css::uno::Reference< css::frame::XFrame > &  rFrame,
sal_uInt64  nWindowId = 0 
)

used for notebookbar, optional nWindowId is used if getting parent id failed

◆ JSInstanceBuilder() [4/4]

JSInstanceBuilder::JSInstanceBuilder ( vcl::Window pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile,
sal_uInt64  nLOKWindowId 
)

used for formulabar

◆ ~JSInstanceBuilder()

virtual JSInstanceBuilder::~JSInstanceBuilder ( )
overridevirtual

Member Function Documentation

◆ AddChildWidget()

static void JSInstanceBuilder::AddChildWidget ( const std::string &  nWindowId,
const OString &  id,
weld::Widget pWidget 
)
static

◆ CreateDialogBuilder()

static std::unique_ptr< JSInstanceBuilder > JSInstanceBuilder::CreateDialogBuilder ( weld::Widget pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile 
)
static

◆ CreateFormulabarBuilder()

static std::unique_ptr< JSInstanceBuilder > JSInstanceBuilder::CreateFormulabarBuilder ( vcl::Window pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile,
sal_uInt64  nLOKWindowId 
)
static

◆ CreateMessageDialog()

static weld::MessageDialog * JSInstanceBuilder::CreateMessageDialog ( weld::Widget pParent,
VclMessageType  eMessageType,
VclButtonsType  eButtonType,
const OUString &  rPrimaryMessage 
)
static

◆ CreateNotebookbarBuilder()

static std::unique_ptr< JSInstanceBuilder > JSInstanceBuilder::CreateNotebookbarBuilder ( vcl::Window pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile,
const css::uno::Reference< css::frame::XFrame > &  rFrame,
sal_uInt64  nWindowId = 0 
)
static

◆ CreatePopupBuilder()

static std::unique_ptr< JSInstanceBuilder > JSInstanceBuilder::CreatePopupBuilder ( weld::Widget pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile 
)
static

◆ CreateSidebarBuilder()

static std::unique_ptr< JSInstanceBuilder > JSInstanceBuilder::CreateSidebarBuilder ( weld::Widget pParent,
const OUString &  rUIRoot,
const OUString &  rUIFile,
sal_uInt64  nLOKWindowId = 0 
)
static

◆ FindPopup()

static vcl::Window * JSInstanceBuilder::FindPopup ( const std::string &  nWindowId)
static

◆ FindWeldWidgetsMap()

static weld::Widget * JSInstanceBuilder::FindWeldWidgetsMap ( const std::string &  nWindowId,
const OString &  rWidget 
)
staticprivate

◆ ForgetPopup()

static void JSInstanceBuilder::ForgetPopup ( const std::string &  nWindowId)
static

◆ GetContentWindow()

VclPtr< vcl::Window > & JSInstanceBuilder::GetContentWindow ( )
private

◆ GetLOKWeldWidgetsMap()

static std::map< std::string, WidgetMap > & JSInstanceBuilder::GetLOKWeldWidgetsMap ( )
staticprivate

◆ getMapIdFromWindowId()

std::string JSInstanceBuilder::getMapIdFromWindowId ( ) const
private

◆ GetNotifierWindow()

VclPtr< vcl::Window > & JSInstanceBuilder::GetNotifierWindow ( )
private

◆ GetTypeOfJSON()

const std::string & JSInstanceBuilder::GetTypeOfJSON ( ) const
private

◆ InsertWindowToMap()

static void JSInstanceBuilder::InsertWindowToMap ( const std::string &  nWindowId)
staticprivate

◆ RememberPopup()

static void JSInstanceBuilder::RememberPopup ( const std::string &  nWindowId,
VclPtr< vcl::Window pWidget 
)
static

◆ RememberWidget() [1/2]

static void JSInstanceBuilder::RememberWidget ( const std::string &  nWindowId,
const OString &  id,
weld::Widget pWidget 
)
staticprivate

◆ RememberWidget() [2/2]

void JSInstanceBuilder::RememberWidget ( OString  id,
weld::Widget pWidget 
)
private

◆ RemoveWindowWidget()

static void JSInstanceBuilder::RemoveWindowWidget ( const std::string &  nWindowId)
static

◆ weld_box()

virtual std::unique_ptr< weld::Box > JSInstanceBuilder::weld_box ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_button()

virtual std::unique_ptr< weld::Button > JSInstanceBuilder::weld_button ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_check_button()

virtual std::unique_ptr< weld::CheckButton > JSInstanceBuilder::weld_check_button ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_combo_box()

virtual std::unique_ptr< weld::ComboBox > JSInstanceBuilder::weld_combo_box ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_container()

virtual std::unique_ptr< weld::Container > JSInstanceBuilder::weld_container ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_dialog()

virtual std::unique_ptr< weld::Dialog > JSInstanceBuilder::weld_dialog ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_drawing_area()

virtual std::unique_ptr< weld::DrawingArea > JSInstanceBuilder::weld_drawing_area ( const OString &  id,
const a11yref rA11yImpl = nullptr,
FactoryFunction  pUITestFactoryFunction = nullptr,
void *  pUserData = nullptr 
)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_entry()

virtual std::unique_ptr< weld::Entry > JSInstanceBuilder::weld_entry ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_expander()

virtual std::unique_ptr< weld::Expander > JSInstanceBuilder::weld_expander ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_frame()

virtual std::unique_ptr< weld::Frame > JSInstanceBuilder::weld_frame ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_icon_view()

virtual std::unique_ptr< weld::IconView > JSInstanceBuilder::weld_icon_view ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_image()

virtual std::unique_ptr< weld::Image > JSInstanceBuilder::weld_image ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_label()

virtual std::unique_ptr< weld::Label > JSInstanceBuilder::weld_label ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_menu_button()

virtual std::unique_ptr< weld::MenuButton > JSInstanceBuilder::weld_menu_button ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_message_dialog()

virtual std::unique_ptr< weld::MessageDialog > JSInstanceBuilder::weld_message_dialog ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_notebook()

virtual std::unique_ptr< weld::Notebook > JSInstanceBuilder::weld_notebook ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_popover()

virtual std::unique_ptr< weld::Popover > JSInstanceBuilder::weld_popover ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_radio_button()

virtual std::unique_ptr< weld::RadioButton > JSInstanceBuilder::weld_radio_button ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_spin_button()

virtual std::unique_ptr< weld::SpinButton > JSInstanceBuilder::weld_spin_button ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_text_view()

virtual std::unique_ptr< weld::TextView > JSInstanceBuilder::weld_text_view ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_toolbar()

virtual std::unique_ptr< weld::Toolbar > JSInstanceBuilder::weld_toolbar ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_tree_view()

virtual std::unique_ptr< weld::TreeView > JSInstanceBuilder::weld_tree_view ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_widget()

virtual std::unique_ptr< weld::Widget > JSInstanceBuilder::weld_widget ( const OString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

Friends And Related Function Documentation

◆ jsdialog::ExecuteAction

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

◆ jsdialog::SendAction

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

◆ jsdialog::SendFullUpdate

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

◆ JSMessageDialog

friend class JSMessageDialog
friend

Definition at line 222 of file jsdialogbuilder.hxx.

Member Data Documentation

◆ m_aContentWindow

VclPtr<vcl::Window> JSInstanceBuilder::m_aContentWindow
private

Definition at line 214 of file jsdialogbuilder.hxx.

◆ m_aParentDialog

VclPtr<vcl::Window> JSInstanceBuilder::m_aParentDialog
private

used in case of tab pages where dialog is not a direct top level

Definition at line 213 of file jsdialogbuilder.hxx.

◆ m_aRememberedWidgets

std::list<std::string> JSInstanceBuilder::m_aRememberedWidgets
private

Definition at line 215 of file jsdialogbuilder.hxx.

◆ m_aWindowToRelease

VclPtr<vcl::Window> JSInstanceBuilder::m_aWindowToRelease
private

When LOKNotifier is set by jsdialogs code we need to release it.

Definition at line 220 of file jsdialogbuilder.hxx.

◆ m_bHasTopLevelDialog

bool JSInstanceBuilder::m_bHasTopLevelDialog
private

Definition at line 217 of file jsdialogbuilder.hxx.

◆ m_bIsNotebookbar

bool JSInstanceBuilder::m_bIsNotebookbar
private

Definition at line 218 of file jsdialogbuilder.hxx.

◆ m_nWindowId

sal_uInt64 JSInstanceBuilder::m_nWindowId
private

Definition at line 211 of file jsdialogbuilder.hxx.

◆ m_sTypeOfJSON

std::string JSInstanceBuilder::m_sTypeOfJSON
private

Definition at line 216 of file jsdialogbuilder.hxx.


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