LibreOffice Module svx (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
svxform::AddDataItemDialog Class Referencefinal

#include <datanavi.hxx>

Inheritance diagram for svxform::AddDataItemDialog:
[legend]
Collaboration diagram for svxform::AddDataItemDialog:
[legend]

Public Member Functions

 AddDataItemDialog (weld::Window *pParent, ItemNode *_pNode, const css::uno::Reference< css::xforms::XFormsUIHelper1 > &_rUIHelper)
 
virtual ~AddDataItemDialog () override
 
void InitText (DataItemType _eType)
 
- Public Member Functions inherited from weld::GenericDialogController
 GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId, bool bMobile=false)
 
virtual DialoggetDialog () override
 
virtual ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override
 
- Public Member Functions inherited from weld::DialogController
virtual DialoggetDialog ()=0
 
const DialoggetConstDialog () const
 
virtual short run ()
 
void set_title (const OUString &rTitle)
 
OUString get_title () const
 
void set_help_id (const OUString &rHelpId)
 
OUString get_help_id () const
 
void response (int nResponse)
 
virtual ~DialogController () COVERITY_NOEXCEPT_FALSE
 

Private Member Functions

void Check (const weld::Toggleable *pBox)
 
 DECL_LINK (CheckHdl, weld::Toggleable &, void)
 
 DECL_LINK (ConditionHdl, weld::Button &, void)
 
 DECL_LINK (OKHdl, weld::Button &, void)
 
void InitDialog ()
 
void InitFromNode ()
 
void InitDataTypeBox ()
 

Private Attributes

css::uno::Reference< css::xforms::XFormsUIHelper1 > m_xUIHelper
 
css::uno::Reference< css::beans::XPropertySet > m_xBinding
 
css::uno::Reference< css::beans::XPropertySet > m_xTempBinding
 
ItemNodem_pItemNode
 
DataItemType m_eItemType
 
OUString m_sFL_Element
 
OUString m_sFL_Attribute
 
OUString m_sFL_Binding
 
OUString m_sFT_BindingExp
 
std::unique_ptr< weld::Framem_xItemFrame
 
std::unique_ptr< weld::Labelm_xNameFT
 
std::unique_ptr< weld::Entrym_xNameED
 
std::unique_ptr< weld::Labelm_xDefaultFT
 
std::unique_ptr< weld::Entrym_xDefaultED
 
std::unique_ptr< weld::Buttonm_xDefaultBtn
 
std::unique_ptr< weld::Widgetm_xSettingsFrame
 
std::unique_ptr< weld::ComboBoxm_xDataTypeLB
 
std::unique_ptr< weld::CheckButtonm_xRequiredCB
 
std::unique_ptr< weld::Buttonm_xRequiredBtn
 
std::unique_ptr< weld::CheckButtonm_xRelevantCB
 
std::unique_ptr< weld::Buttonm_xRelevantBtn
 
std::unique_ptr< weld::CheckButtonm_xConstraintCB
 
std::unique_ptr< weld::Buttonm_xConstraintBtn
 
std::unique_ptr< weld::CheckButtonm_xReadonlyCB
 
std::unique_ptr< weld::Buttonm_xReadonlyBtn
 
std::unique_ptr< weld::CheckButtonm_xCalculateCB
 
std::unique_ptr< weld::Buttonm_xCalculateBtn
 
std::unique_ptr< weld::Buttonm_xOKBtn
 

Additional Inherited Members

- Static Public Member Functions inherited from weld::DialogController
static bool runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &)
 
- Protected Attributes inherited from weld::GenericDialogController
std::unique_ptr< weld::Builderm_xBuilder
 
std::shared_ptr< weld::Dialogm_xDialog
 

Detailed Description

Definition at line 350 of file datanavi.hxx.

Constructor & Destructor Documentation

◆ AddDataItemDialog()

svxform::AddDataItemDialog::AddDataItemDialog ( weld::Window pParent,
ItemNode _pNode,
const css::uno::Reference< css::xforms::XFormsUIHelper1 > &  _rUIHelper 
)

Definition at line 2086 of file datanavi.cxx.

References Check(), InitDataTypeBox(), InitDialog(), and InitFromNode().

◆ ~AddDataItemDialog()

svxform::AddDataItemDialog::~AddDataItemDialog ( )
overridevirtual

Definition at line 2122 of file datanavi.cxx.

References Any, Exception, m_xBinding, m_xTempBinding, m_xUIHelper, TOOLS_WARN_EXCEPTION, and xModel.

Member Function Documentation

◆ Check()

void svxform::AddDataItemDialog::Check ( const weld::Toggleable pBox)
private

◆ DECL_LINK() [1/3]

svxform::AddDataItemDialog::DECL_LINK ( CheckHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

svxform::AddDataItemDialog::DECL_LINK ( ConditionHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/3]

svxform::AddDataItemDialog::DECL_LINK ( OKHdl  ,
weld::Button ,
void   
)
private

◆ InitDataTypeBox()

void svxform::AddDataItemDialog::InitDataTypeBox ( )
private

◆ InitDialog()

void svxform::AddDataItemDialog::InitDialog ( )
private

◆ InitFromNode()

void svxform::AddDataItemDialog::InitFromNode ( )
private

◆ InitText()

void svxform::AddDataItemDialog::InitText ( DataItemType  _eType)

Member Data Documentation

◆ m_eItemType

DataItemType svxform::AddDataItemDialog::m_eItemType
private

Definition at line 361 of file datanavi.hxx.

Referenced by InitDataTypeBox(), and InitFromNode().

◆ m_pItemNode

ItemNode* svxform::AddDataItemDialog::m_pItemNode
private

Definition at line 360 of file datanavi.hxx.

Referenced by InitFromNode().

◆ m_sFL_Attribute

OUString svxform::AddDataItemDialog::m_sFL_Attribute
private

Definition at line 363 of file datanavi.hxx.

Referenced by InitText().

◆ m_sFL_Binding

OUString svxform::AddDataItemDialog::m_sFL_Binding
private

Definition at line 364 of file datanavi.hxx.

Referenced by InitText().

◆ m_sFL_Element

OUString svxform::AddDataItemDialog::m_sFL_Element
private

Definition at line 362 of file datanavi.hxx.

Referenced by InitText().

◆ m_sFT_BindingExp

OUString svxform::AddDataItemDialog::m_sFT_BindingExp
private

Definition at line 365 of file datanavi.hxx.

Referenced by InitText().

◆ m_xBinding

css::uno::Reference< css::beans::XPropertySet > svxform::AddDataItemDialog::m_xBinding
private

Definition at line 356 of file datanavi.hxx.

Referenced by InitFromNode(), and ~AddDataItemDialog().

◆ m_xCalculateBtn

std::unique_ptr<weld::Button> svxform::AddDataItemDialog::m_xCalculateBtn
private

Definition at line 384 of file datanavi.hxx.

Referenced by Check(), and InitDialog().

◆ m_xCalculateCB

std::unique_ptr<weld::CheckButton> svxform::AddDataItemDialog::m_xCalculateCB
private

Definition at line 383 of file datanavi.hxx.

Referenced by Check(), InitDialog(), and InitFromNode().

◆ m_xConstraintBtn

std::unique_ptr<weld::Button> svxform::AddDataItemDialog::m_xConstraintBtn
private

Definition at line 380 of file datanavi.hxx.

Referenced by Check(), and InitDialog().

◆ m_xConstraintCB

std::unique_ptr<weld::CheckButton> svxform::AddDataItemDialog::m_xConstraintCB
private

Definition at line 379 of file datanavi.hxx.

Referenced by Check(), InitDialog(), and InitFromNode().

◆ m_xDataTypeLB

std::unique_ptr<weld::ComboBox> svxform::AddDataItemDialog::m_xDataTypeLB
private

Definition at line 374 of file datanavi.hxx.

Referenced by InitDataTypeBox().

◆ m_xDefaultBtn

std::unique_ptr<weld::Button> svxform::AddDataItemDialog::m_xDefaultBtn
private

Definition at line 372 of file datanavi.hxx.

Referenced by InitDialog(), and InitFromNode().

◆ m_xDefaultED

std::unique_ptr<weld::Entry> svxform::AddDataItemDialog::m_xDefaultED
private

Definition at line 371 of file datanavi.hxx.

Referenced by InitFromNode().

◆ m_xDefaultFT

std::unique_ptr<weld::Label> svxform::AddDataItemDialog::m_xDefaultFT
private

Definition at line 370 of file datanavi.hxx.

Referenced by InitText().

◆ m_xItemFrame

std::unique_ptr<weld::Frame> svxform::AddDataItemDialog::m_xItemFrame
private

Definition at line 367 of file datanavi.hxx.

Referenced by InitText().

◆ m_xNameED

std::unique_ptr<weld::Entry> svxform::AddDataItemDialog::m_xNameED
private

Definition at line 369 of file datanavi.hxx.

Referenced by InitFromNode().

◆ m_xNameFT

std::unique_ptr<weld::Label> svxform::AddDataItemDialog::m_xNameFT
private

Definition at line 368 of file datanavi.hxx.

Referenced by InitFromNode().

◆ m_xOKBtn

std::unique_ptr<weld::Button> svxform::AddDataItemDialog::m_xOKBtn
private

Definition at line 385 of file datanavi.hxx.

Referenced by InitDialog().

◆ m_xReadonlyBtn

std::unique_ptr<weld::Button> svxform::AddDataItemDialog::m_xReadonlyBtn
private

Definition at line 382 of file datanavi.hxx.

Referenced by Check(), and InitDialog().

◆ m_xReadonlyCB

std::unique_ptr<weld::CheckButton> svxform::AddDataItemDialog::m_xReadonlyCB
private

Definition at line 381 of file datanavi.hxx.

Referenced by Check(), InitDialog(), and InitFromNode().

◆ m_xRelevantBtn

std::unique_ptr<weld::Button> svxform::AddDataItemDialog::m_xRelevantBtn
private

Definition at line 378 of file datanavi.hxx.

Referenced by Check(), and InitDialog().

◆ m_xRelevantCB

std::unique_ptr<weld::CheckButton> svxform::AddDataItemDialog::m_xRelevantCB
private

Definition at line 377 of file datanavi.hxx.

Referenced by Check(), InitDialog(), and InitFromNode().

◆ m_xRequiredBtn

std::unique_ptr<weld::Button> svxform::AddDataItemDialog::m_xRequiredBtn
private

Definition at line 376 of file datanavi.hxx.

Referenced by Check(), and InitDialog().

◆ m_xRequiredCB

std::unique_ptr<weld::CheckButton> svxform::AddDataItemDialog::m_xRequiredCB
private

Definition at line 375 of file datanavi.hxx.

Referenced by Check(), InitDialog(), and InitFromNode().

◆ m_xSettingsFrame

std::unique_ptr<weld::Widget> svxform::AddDataItemDialog::m_xSettingsFrame
private

Definition at line 373 of file datanavi.hxx.

Referenced by InitFromNode().

◆ m_xTempBinding

css::uno::Reference< css::beans::XPropertySet > svxform::AddDataItemDialog::m_xTempBinding
private

Definition at line 358 of file datanavi.hxx.

Referenced by Check(), InitDataTypeBox(), InitFromNode(), and ~AddDataItemDialog().

◆ m_xUIHelper

css::uno::Reference< css::xforms::XFormsUIHelper1 > svxform::AddDataItemDialog::m_xUIHelper
private

Definition at line 354 of file datanavi.hxx.

Referenced by InitDataTypeBox(), InitFromNode(), and ~AddDataItemDialog().


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