LibreOffice Module svx (master) 1
|
#include <datanavi.hxx>
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 Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
Public Member Functions inherited from weld::DialogController | |
virtual Dialog * | getDialog ()=0 |
const Dialog * | getConstDialog () 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 () |
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::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 350 of file datanavi.hxx.
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().
|
overridevirtual |
Definition at line 2122 of file datanavi.cxx.
References Any, Exception, m_xBinding, m_xTempBinding, m_xUIHelper, TOOLS_WARN_EXCEPTION, and xModel.
|
private |
Definition at line 2153 of file datanavi.cxx.
References Any, weld::Toggleable::get_active(), m_xCalculateBtn, m_xCalculateCB, m_xConstraintBtn, m_xConstraintCB, m_xReadonlyBtn, m_xReadonlyCB, m_xRelevantBtn, m_xRelevantCB, m_xRequiredBtn, m_xRequiredCB, m_xTempBinding, svxform::PN_CALCULATE_EXPR, svxform::PN_CONSTRAINT_EXPR, svxform::PN_READONLY_EXPR, svxform::PN_RELEVANT_EXPR, svxform::PN_REQUIRED_EXPR, and svxform::TRUE_VALUE.
Referenced by AddDataItemDialog().
|
private |
|
private |
|
private |
|
private |
Definition at line 2481 of file datanavi.cxx.
References svxform::DITText, Exception, m_eItemType, m_xDataTypeLB, m_xTempBinding, m_xUIHelper, nPos, svxform::PN_BINDING_TYPE, TOOLS_WARN_EXCEPTION, and xModel.
Referenced by AddDataItemDialog().
|
private |
Definition at line 2323 of file datanavi.cxx.
References LINK, m_xCalculateBtn, m_xCalculateCB, m_xConstraintBtn, m_xConstraintCB, m_xDefaultBtn, m_xOKBtn, m_xReadonlyBtn, m_xReadonlyCB, m_xRelevantBtn, m_xRelevantCB, m_xRequiredBtn, and m_xRequiredCB.
Referenced by AddDataItemDialog().
|
private |
Get binding of the node and clone it Then use this temporary binding in the dialog. When the user click OK the temporary binding will be copied into the original binding.
Definition at line 2344 of file datanavi.cxx.
References Any, svxform::DITAttribute, svxform::DITBinding, svxform::DITElement, svxform::DITText, Exception, m_eItemType, m_pItemNode, m_xBinding, m_xCalculateCB, m_xConstraintCB, m_xDefaultBtn, m_xDefaultED, m_xNameED, m_xNameFT, svxform::ItemNode::m_xNode, svxform::ItemNode::m_xPropSet, m_xReadonlyCB, m_xRelevantCB, m_xRequiredCB, m_xSettingsFrame, m_xTempBinding, m_xUIHelper, svxform::PN_BINDING_EXPR, svxform::PN_BINDING_ID, svxform::PN_CALCULATE_EXPR, svxform::PN_CONSTRAINT_EXPR, svxform::PN_READONLY_EXPR, svxform::PN_RELEVANT_EXPR, svxform::PN_REQUIRED_EXPR, svxform::PN_SUBMISSION_BIND, svxform::PN_SUBMISSION_ID, sName, TOOLS_WARN_EXCEPTION, and xModel.
Referenced by AddDataItemDialog().
void svxform::AddDataItemDialog::InitText | ( | DataItemType | _eType | ) |
Definition at line 2522 of file datanavi.cxx.
References svxform::DITAttribute, svxform::DITBinding, m_sFL_Attribute, m_sFL_Binding, m_sFL_Element, m_sFT_BindingExp, m_xDefaultFT, and m_xItemFrame.
Referenced by svxform::XFormsPage::DoToolBoxAction().
|
private |
Definition at line 361 of file datanavi.hxx.
Referenced by InitDataTypeBox(), and InitFromNode().
|
private |
Definition at line 360 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 363 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 364 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 362 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 365 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 356 of file datanavi.hxx.
Referenced by InitFromNode(), and ~AddDataItemDialog().
|
private |
Definition at line 384 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 383 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 380 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 379 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 374 of file datanavi.hxx.
Referenced by InitDataTypeBox().
|
private |
Definition at line 372 of file datanavi.hxx.
Referenced by InitDialog(), and InitFromNode().
|
private |
Definition at line 371 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 370 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 367 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 369 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 368 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 385 of file datanavi.hxx.
Referenced by InitDialog().
|
private |
Definition at line 382 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 381 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 378 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 377 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 376 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 375 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 373 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 358 of file datanavi.hxx.
Referenced by Check(), InitDataTypeBox(), InitFromNode(), and ~AddDataItemDialog().
|
private |
Definition at line 354 of file datanavi.hxx.
Referenced by InitDataTypeBox(), InitFromNode(), and ~AddDataItemDialog().