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) |
![]() | |
GenericDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId, bool bMobile=false) | |
virtual Dialog * | getDialog () override |
virtual | ~GenericDialogController () COVERITY_NOEXCEPT_FALSE override |
![]() | |
const Dialog * | getConstDialog () const |
virtual short | run () |
void | set_title (const OUString &rTitle) |
OUString | get_title () const |
void | set_help_id (const OString &rHelpId) |
OString | get_help_id () const |
void | response (int nResponse) |
virtual | ~DialogController () COVERITY_NOEXCEPT_FALSE |
Private Member Functions | |
void | Check (const weld::ToggleButton *pBox) |
DECL_LINK (CheckHdl, weld::ToggleButton &, void) | |
DECL_LINK (ConditionHdl, weld::Button &, void) | |
DECL_LINK (OKHdl, weld::Button &, void) | |
void | InitDialog () |
void | InitFromNode () |
void | InitDataTypeBox () |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< DialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::shared_ptr< weld::Dialog > | m_xDialog |
Definition at line 344 of file datanavi.hxx.
svxform::AddDataItemDialog::AddDataItemDialog | ( | weld::Window * | pParent, |
ItemNode * | _pNode, | ||
const css::uno::Reference< css::xforms::XFormsUIHelper1 > & | _rUIHelper | ||
) |
Definition at line 2054 of file datanavi.cxx.
References Check(), InitDataTypeBox(), InitDialog(), and InitFromNode().
|
overridevirtual |
Definition at line 2091 of file datanavi.cxx.
References Exception, m_xBinding, m_xTempBinding, m_xUIHelper, makeAny(), TOOLS_WARN_EXCEPTION, and xModel.
|
private |
Definition at line 2122 of file datanavi.cxx.
References weld::ToggleButton::get_active(), m_xCalculateBtn, m_xCalculateCB, m_xConstraintBtn, m_xConstraintCB, m_xReadonlyBtn, m_xReadonlyCB, m_xRelevantBtn, m_xRelevantCB, m_xRequiredBtn, m_xRequiredCB, m_xTempBinding, makeAny(), PN_CALCULATE_EXPR, PN_CONSTRAINT_EXPR, PN_READONLY_EXPR, PN_RELEVANT_EXPR, PN_REQUIRED_EXPR, and TRUE_VALUE.
Referenced by AddDataItemDialog().
|
private |
|
private |
|
private |
|
private |
Definition at line 2450 of file datanavi.cxx.
References svxform::DITText, Exception, m_eItemType, m_xDataTypeLB, m_xTempBinding, m_xUIHelper, nPos, PN_BINDING_TYPE, TOOLS_WARN_EXCEPTION, and xModel.
Referenced by AddDataItemDialog().
|
private |
Definition at line 2292 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 2313 of file datanavi.cxx.
References 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, makeAny(), PN_BINDING_EXPR, PN_BINDING_ID, PN_CALCULATE_EXPR, PN_CONSTRAINT_EXPR, PN_READONLY_EXPR, PN_RELEVANT_EXPR, PN_REQUIRED_EXPR, PN_SUBMISSION_BIND, PN_SUBMISSION_ID, sName, TOOLS_WARN_EXCEPTION, and xModel.
Referenced by AddDataItemDialog().
void svxform::AddDataItemDialog::InitText | ( | DataItemType | _eType | ) |
Definition at line 2491 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.
|
private |
Definition at line 355 of file datanavi.hxx.
Referenced by InitDataTypeBox(), and InitFromNode().
|
private |
Definition at line 354 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 357 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 358 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 356 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 359 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 350 of file datanavi.hxx.
Referenced by InitFromNode(), and ~AddDataItemDialog().
|
private |
Definition at line 379 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 378 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 375 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 374 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 368 of file datanavi.hxx.
|
private |
Definition at line 369 of file datanavi.hxx.
Referenced by InitDataTypeBox().
|
private |
Definition at line 366 of file datanavi.hxx.
Referenced by InitDialog(), and InitFromNode().
|
private |
Definition at line 365 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 364 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 361 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 363 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 362 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 380 of file datanavi.hxx.
Referenced by InitDialog().
|
private |
Definition at line 377 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 376 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 373 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 372 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 371 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 370 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 367 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 352 of file datanavi.hxx.
Referenced by Check(), InitDataTypeBox(), InitFromNode(), and ~AddDataItemDialog().
|
private |
Definition at line 348 of file datanavi.hxx.
Referenced by InitDataTypeBox(), InitFromNode(), and ~AddDataItemDialog().