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 OUString &id) override
 
virtual std::unique_ptr< weld::Dialogweld_dialog (const OUString &id) override
 
virtual std::unique_ptr< weld::Assistantweld_assistant (const OUString &id) override
 
virtual std::unique_ptr< weld::Containerweld_container (const OUString &id) override
 
virtual std::unique_ptr< weld::Labelweld_label (const OUString &id) override
 
virtual std::unique_ptr< weld::Buttonweld_button (const OUString &id) override
 
virtual std::unique_ptr< weld::LinkButtonweld_link_button (const OUString &id) override
 
virtual std::unique_ptr< weld::ToggleButtonweld_toggle_button (const OUString &id) override
 
virtual std::unique_ptr< weld::Entryweld_entry (const OUString &id) override
 
virtual std::unique_ptr< weld::ComboBoxweld_combo_box (const OUString &id) override
 
virtual std::unique_ptr< weld::Notebookweld_notebook (const OUString &id) override
 
virtual std::unique_ptr< weld::SpinButtonweld_spin_button (const OUString &id) override
 
virtual std::unique_ptr< weld::FormattedSpinButtonweld_formatted_spin_button (const OUString &id) override
 
virtual std::unique_ptr< weld::CheckButtonweld_check_button (const OUString &id) override
 
virtual std::unique_ptr< weld::DrawingAreaweld_drawing_area (const OUString &id, const a11yref &rA11yImpl=nullptr, FactoryFunction pUITestFactoryFunction=nullptr, void *pUserData=nullptr) override
 
virtual std::unique_ptr< weld::Toolbarweld_toolbar (const OUString &id) override
 
virtual std::unique_ptr< weld::TextViewweld_text_view (const OUString &id) override
 
virtual std::unique_ptr< weld::TreeViewweld_tree_view (const OUString &id) override
 
virtual std::unique_ptr< weld::Expanderweld_expander (const OUString &id) override
 
virtual std::unique_ptr< weld::IconViewweld_icon_view (const OUString &id) override
 
virtual std::unique_ptr< weld::ScrolledWindowweld_scrolled_window (const OUString &id, bool bUserManagedScrolling=false) override
 
virtual std::unique_ptr< weld::RadioButtonweld_radio_button (const OUString &id) override
 
virtual std::unique_ptr< weld::Frameweld_frame (const OUString &id) override
 
virtual std::unique_ptr< weld::MenuButtonweld_menu_button (const OUString &id) override
 
virtual std::unique_ptr< weld::Popoverweld_popover (const OUString &id) override
 
virtual std::unique_ptr< weld::Boxweld_box (const OUString &id) override
 
virtual std::unique_ptr< weld::Widgetweld_widget (const OUString &id) override
 
virtual std::unique_ptr< weld::Imageweld_image (const OUString &id) override
 
virtual std::unique_ptr< weld::Calendarweld_calendar (const OUString &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 OUString &id) override
 
virtual std::unique_ptr< weld::Dialogweld_dialog (const OUString &id) override
 
virtual std::unique_ptr< weld::Assistantweld_assistant (const OUString &id) override
 
virtual std::unique_ptr< weld::Windowcreate_screenshot_window () override
 
virtual std::unique_ptr< weld::Widgetweld_widget (const OUString &id) override
 
virtual std::unique_ptr< weld::Containerweld_container (const OUString &id) override
 
virtual std::unique_ptr< weld::Boxweld_box (const OUString &id) override
 
virtual std::unique_ptr< weld::Panedweld_paned (const OUString &id) override
 
virtual std::unique_ptr< weld::Frameweld_frame (const OUString &id) override
 
virtual std::unique_ptr< weld::ScrolledWindowweld_scrolled_window (const OUString &id, bool bUserManagedScrolling=false) override
 
virtual std::unique_ptr< weld::Notebookweld_notebook (const OUString &id) override
 
virtual std::unique_ptr< weld::Buttonweld_button (const OUString &id) override
 
virtual std::unique_ptr< weld::MenuButtonweld_menu_button (const OUString &id) override
 
virtual std::unique_ptr< weld::MenuToggleButtonweld_menu_toggle_button (const OUString &id) override
 
virtual std::unique_ptr< weld::LinkButtonweld_link_button (const OUString &id) override
 
virtual std::unique_ptr< weld::ToggleButtonweld_toggle_button (const OUString &id) override
 
virtual std::unique_ptr< weld::RadioButtonweld_radio_button (const OUString &id) override
 
virtual std::unique_ptr< weld::CheckButtonweld_check_button (const OUString &id) override
 
virtual std::unique_ptr< weld::Scaleweld_scale (const OUString &id) override
 
virtual std::unique_ptr< weld::ProgressBarweld_progress_bar (const OUString &id) override
 
virtual std::unique_ptr< weld::Spinnerweld_spinner (const OUString &id) override
 
virtual std::unique_ptr< weld::Imageweld_image (const OUString &id) override
 
virtual std::unique_ptr< weld::Calendarweld_calendar (const OUString &id) override
 
virtual std::unique_ptr< weld::Entryweld_entry (const OUString &id) override
 
virtual std::unique_ptr< weld::SpinButtonweld_spin_button (const OUString &id) override
 
virtual std::unique_ptr< weld::MetricSpinButtonweld_metric_spin_button (const OUString &id, FieldUnit eUnit) override
 
virtual std::unique_ptr< weld::FormattedSpinButtonweld_formatted_spin_button (const OUString &id) override
 
virtual std::unique_ptr< weld::ComboBoxweld_combo_box (const OUString &id) override
 
virtual std::unique_ptr< weld::EntryTreeViewweld_entry_tree_view (const OUString &containerid, const OUString &entryid, const OUString &treeviewid) override
 
virtual std::unique_ptr< weld::TreeViewweld_tree_view (const OUString &id) override
 
virtual std::unique_ptr< weld::IconViewweld_icon_view (const OUString &id) override
 
virtual std::unique_ptr< weld::Labelweld_label (const OUString &id) override
 
virtual std::unique_ptr< weld::TextViewweld_text_view (const OUString &id) override
 
virtual std::unique_ptr< weld::Expanderweld_expander (const OUString &id) override
 
virtual std::unique_ptr< weld::DrawingAreaweld_drawing_area (const OUString &id, const a11yref &rA11yImpl=nullptr, FactoryFunction pUITestFactoryFunction=nullptr, void *pUserData=nullptr) override
 
virtual std::unique_ptr< weld::Menuweld_menu (const OUString &id) override
 
virtual std::unique_ptr< weld::Popoverweld_popover (const OUString &id) override
 
virtual std::unique_ptr< weld::Toolbarweld_toolbar (const OUString &id) override
 
virtual std::unique_ptr< weld::Scrollbarweld_scrollbar (const OUString &id) override
 
virtual std::unique_ptr< weld::SizeGroupcreate_size_group () override
 
OUString get_current_page_help_id () const
 
virtual ~SalInstanceBuilder () override
 
- Public Member Functions inherited from weld::Builder
virtual std::unique_ptr< MessageDialogweld_message_dialog (const OUString &id)=0
 
virtual std::unique_ptr< Dialogweld_dialog (const OUString &id)=0
 
virtual std::unique_ptr< Assistantweld_assistant (const OUString &id)=0
 
virtual std::unique_ptr< Widgetweld_widget (const OUString &id)=0
 
virtual std::unique_ptr< Containerweld_container (const OUString &id)=0
 
virtual std::unique_ptr< Boxweld_box (const OUString &id)=0
 
virtual std::unique_ptr< Panedweld_paned (const OUString &id)=0
 
virtual std::unique_ptr< Buttonweld_button (const OUString &id)=0
 
virtual std::unique_ptr< MenuButtonweld_menu_button (const OUString &id)=0
 
virtual std::unique_ptr< MenuToggleButtonweld_menu_toggle_button (const OUString &id)=0
 
virtual std::unique_ptr< Frameweld_frame (const OUString &id)=0
 
virtual std::unique_ptr< ScrolledWindowweld_scrolled_window (const OUString &id, bool bUserManagedScrolling=false)=0
 
virtual std::unique_ptr< Notebookweld_notebook (const OUString &id)=0
 
virtual std::unique_ptr< ToggleButtonweld_toggle_button (const OUString &id)=0
 
virtual std::unique_ptr< RadioButtonweld_radio_button (const OUString &id)=0
 
virtual std::unique_ptr< CheckButtonweld_check_button (const OUString &id)=0
 
virtual std::unique_ptr< LinkButtonweld_link_button (const OUString &id)=0
 
virtual std::unique_ptr< SpinButtonweld_spin_button (const OUString &id)=0
 
virtual std::unique_ptr< MetricSpinButtonweld_metric_spin_button (const OUString &id, FieldUnit eUnit)=0
 
virtual std::unique_ptr< FormattedSpinButtonweld_formatted_spin_button (const OUString &id)=0
 
virtual std::unique_ptr< ComboBoxweld_combo_box (const OUString &id)=0
 
virtual std::unique_ptr< TreeViewweld_tree_view (const OUString &id)=0
 
virtual std::unique_ptr< IconViewweld_icon_view (const OUString &id)=0
 
virtual std::unique_ptr< Labelweld_label (const OUString &id)=0
 
virtual std::unique_ptr< TextViewweld_text_view (const OUString &id)=0
 
virtual std::unique_ptr< Expanderweld_expander (const OUString &id)=0
 
virtual std::unique_ptr< Entryweld_entry (const OUString &id)=0
 
virtual std::unique_ptr< Scaleweld_scale (const OUString &id)=0
 
virtual std::unique_ptr< ProgressBarweld_progress_bar (const OUString &id)=0
 
virtual std::unique_ptr< Spinnerweld_spinner (const OUString &id)=0
 
virtual std::unique_ptr< Imageweld_image (const OUString &id)=0
 
virtual std::unique_ptr< Calendarweld_calendar (const OUString &id)=0
 
virtual std::unique_ptr< DrawingAreaweld_drawing_area (const OUString &id, const a11yref &rA11yImpl=nullptr, FactoryFunction pUITestFactoryFunction=nullptr, void *pUserData=nullptr)=0
 
virtual std::unique_ptr< EntryTreeViewweld_entry_tree_view (const OUString &containerid, const OUString &entryid, const OUString &treeviewid)=0
 
virtual std::unique_ptr< Menuweld_menu (const OUString &id)=0
 
virtual std::unique_ptr< Popoverweld_popover (const OUString &id)=0
 
virtual std::unique_ptr< Toolbarweld_toolbar (const OUString &id)=0
 
virtual std::unique_ptr< Scrollbarweld_scrollbar (const OUString &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, const OUString &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, const vcl::ILibreOfficeKitNotifier *pNotifier=nullptr)
 
static void AddChildWidget (const OUString &nWindowId, const OUString &id, weld::Widget *pWidget)
 
static void RemoveWindowWidget (const OUString &nWindowId)
 
static void RememberPopup (const OUString &nWindowId, VclPtr< vcl::Window > pWidget)
 
static void ForgetPopup (const OUString &nWindowId)
 
static vcl::WindowFindPopup (const OUString &nWindowId)
 

Private Member Functions

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

Static Private Member Functions

static std::map< OUString, WidgetMap > & GetLOKWeldWidgetsMap ()
 
static void InsertWindowToMap (const OUString &nWindowId)
 
static void RememberWidget (const OUString &nWindowId, const OUString &id, weld::Widget *pWidget)
 
static weld::WidgetFindWeldWidgetsMap (const OUString &nWindowId, const OUString &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< OUString > m_aRememberedWidgets
 
OUString m_sTypeOfJSON
 
bool m_bHasTopLevelDialog
 
bool m_bIsNotebookbar
 
bool m_bSentInitialUpdate
 used to detect when we have to send Full Update in container handler More...
 
bool m_bIsNestedBuilder
 is true for tabpages, prevents from closing parent window on destroy More...
 
VclPtr< vcl::Windowm_aWindowToRelease
 When LOKNotifier is set by jsdialogs code we need to release it. More...
 

Friends

class JSMessageDialog
 
class JSDialog
 
class JSAssistant
 
VCL_DLLPUBLIC bool jsdialog::ExecuteAction (const OUString &nWindowId, const OUString &rWidget, StringMap &rData)
 
VCL_DLLPUBLIC void jsdialog::SendFullUpdate (const OUString &nWindowId, const OUString &rWidget)
 
VCL_DLLPUBLIC void jsdialog::SendAction (const OUString &nWindowId, const OUString &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, const OUString &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 215 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 OUString &  nWindowId,
const OUString &  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,
const vcl::ILibreOfficeKitNotifier pNotifier = nullptr 
)
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 OUString &  nWindowId)
static

◆ FindWeldWidgetsMap()

static weld::Widget * JSInstanceBuilder::FindWeldWidgetsMap ( const OUString &  nWindowId,
const OUString &  rWidget 
)
staticprivate

◆ ForgetPopup()

static void JSInstanceBuilder::ForgetPopup ( const OUString &  nWindowId)
static

◆ GetContentWindow()

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

◆ GetLOKWeldWidgetsMap()

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

◆ getMapIdFromWindowId()

OUString JSInstanceBuilder::getMapIdFromWindowId ( ) const
private

◆ GetNotifierWindow()

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

◆ GetTypeOfJSON()

const OUString & JSInstanceBuilder::GetTypeOfJSON ( ) const
private

◆ InsertWindowToMap()

static void JSInstanceBuilder::InsertWindowToMap ( const OUString &  nWindowId)
staticprivate

◆ RememberPopup()

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

◆ RememberWidget() [1/2]

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

◆ RememberWidget() [2/2]

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

◆ RemoveWindowWidget()

static void JSInstanceBuilder::RemoveWindowWidget ( const OUString &  nWindowId)
static

◆ weld_assistant()

virtual std::unique_ptr< weld::Assistant > JSInstanceBuilder::weld_assistant ( const OUString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_box()

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

Reimplemented from SalInstanceBuilder.

◆ weld_button()

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

Reimplemented from SalInstanceBuilder.

◆ weld_calendar()

virtual std::unique_ptr< weld::Calendar > JSInstanceBuilder::weld_calendar ( const OUString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_check_button()

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

Reimplemented from SalInstanceBuilder.

◆ weld_combo_box()

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

Reimplemented from SalInstanceBuilder.

◆ weld_container()

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

Reimplemented from SalInstanceBuilder.

◆ weld_dialog()

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

Reimplemented from SalInstanceBuilder.

◆ weld_drawing_area()

virtual std::unique_ptr< weld::DrawingArea > JSInstanceBuilder::weld_drawing_area ( const OUString &  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 OUString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_expander()

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

Reimplemented from SalInstanceBuilder.

◆ weld_formatted_spin_button()

virtual std::unique_ptr< weld::FormattedSpinButton > JSInstanceBuilder::weld_formatted_spin_button ( const OUString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_frame()

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

Reimplemented from SalInstanceBuilder.

◆ weld_icon_view()

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

Reimplemented from SalInstanceBuilder.

◆ weld_image()

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

Reimplemented from SalInstanceBuilder.

◆ weld_label()

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

Reimplemented from SalInstanceBuilder.

◆ weld_link_button()

virtual std::unique_ptr< weld::LinkButton > JSInstanceBuilder::weld_link_button ( const OUString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_menu_button()

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

Reimplemented from SalInstanceBuilder.

◆ weld_message_dialog()

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

Reimplemented from SalInstanceBuilder.

◆ weld_notebook()

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

Reimplemented from SalInstanceBuilder.

◆ weld_popover()

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

Reimplemented from SalInstanceBuilder.

◆ weld_radio_button()

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

Reimplemented from SalInstanceBuilder.

◆ weld_scrolled_window()

virtual std::unique_ptr< weld::ScrolledWindow > JSInstanceBuilder::weld_scrolled_window ( const OUString &  id,
bool  bUserManagedScrolling = false 
)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_spin_button()

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

Reimplemented from SalInstanceBuilder.

◆ weld_text_view()

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

Reimplemented from SalInstanceBuilder.

◆ weld_toggle_button()

virtual std::unique_ptr< weld::ToggleButton > JSInstanceBuilder::weld_toggle_button ( const OUString &  id)
overridevirtual

Reimplemented from SalInstanceBuilder.

◆ weld_toolbar()

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

Reimplemented from SalInstanceBuilder.

◆ weld_tree_view()

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

Reimplemented from SalInstanceBuilder.

◆ weld_widget()

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

Reimplemented from SalInstanceBuilder.

Friends And Related Function Documentation

◆ JSAssistant

friend class JSAssistant
friend

Definition at line 234 of file jsdialogbuilder.hxx.

◆ JSDialog

friend class JSDialog
friend

Definition at line 233 of file jsdialogbuilder.hxx.

◆ jsdialog::ExecuteAction

VCL_DLLPUBLIC bool jsdialog::ExecuteAction ( const OUString &  nWindowId,
const OUString &  rWidget,
StringMap rData 
)
friend

◆ jsdialog::SendAction

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

◆ jsdialog::SendFullUpdate

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

◆ JSMessageDialog

friend class JSMessageDialog
friend

Definition at line 232 of file jsdialogbuilder.hxx.

Member Data Documentation

◆ m_aContentWindow

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

Definition at line 220 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 219 of file jsdialogbuilder.hxx.

◆ m_aRememberedWidgets

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

Definition at line 221 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 230 of file jsdialogbuilder.hxx.

◆ m_bHasTopLevelDialog

bool JSInstanceBuilder::m_bHasTopLevelDialog
private

Definition at line 223 of file jsdialogbuilder.hxx.

◆ m_bIsNestedBuilder

bool JSInstanceBuilder::m_bIsNestedBuilder
private

is true for tabpages, prevents from closing parent window on destroy

Definition at line 228 of file jsdialogbuilder.hxx.

◆ m_bIsNotebookbar

bool JSInstanceBuilder::m_bIsNotebookbar
private

Definition at line 224 of file jsdialogbuilder.hxx.

◆ m_bSentInitialUpdate

bool JSInstanceBuilder::m_bSentInitialUpdate
private

used to detect when we have to send Full Update in container handler

Definition at line 226 of file jsdialogbuilder.hxx.

◆ m_nWindowId

sal_uInt64 JSInstanceBuilder::m_nWindowId
private

Definition at line 217 of file jsdialogbuilder.hxx.

◆ m_sTypeOfJSON

OUString JSInstanceBuilder::m_sTypeOfJSON
private

Definition at line 222 of file jsdialogbuilder.hxx.


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