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::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 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 343 of file datanavi.hxx.
svxform::AddDataItemDialog::AddDataItemDialog | ( | weld::Window * | pParent, |
ItemNode * | _pNode, | ||
const css::uno::Reference< css::xforms::XFormsUIHelper1 > & | _rUIHelper | ||
) |
Definition at line 2051 of file datanavi.cxx.
References Check(), InitDataTypeBox(), InitDialog(), and InitFromNode().
|
overridevirtual |
Definition at line 2088 of file datanavi.cxx.
References Any, Exception, m_xBinding, m_xTempBinding, m_xUIHelper, TOOLS_WARN_EXCEPTION, and xModel.
|
private |
Definition at line 2119 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, and m_xTempBinding.
Referenced by AddDataItemDialog().
|
private |
|
private |
|
private |
|
private |
Definition at line 2447 of file datanavi.cxx.
References svxform::DITText, Exception, m_eItemType, m_xDataTypeLB, m_xTempBinding, m_xUIHelper, nPos, TOOLS_WARN_EXCEPTION, and xModel.
Referenced by AddDataItemDialog().
|
private |
Definition at line 2289 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 2310 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, sName, TOOLS_WARN_EXCEPTION, and xModel.
Referenced by AddDataItemDialog().
void svxform::AddDataItemDialog::InitText | ( | DataItemType | _eType | ) |
Definition at line 2488 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 354 of file datanavi.hxx.
Referenced by InitDataTypeBox(), and InitFromNode().
|
private |
Definition at line 353 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 356 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 357 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 355 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 358 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 349 of file datanavi.hxx.
Referenced by InitFromNode(), and ~AddDataItemDialog().
|
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 374 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 373 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 367 of file datanavi.hxx.
|
private |
Definition at line 368 of file datanavi.hxx.
Referenced by InitDataTypeBox().
|
private |
Definition at line 365 of file datanavi.hxx.
Referenced by InitDialog(), and InitFromNode().
|
private |
Definition at line 364 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 363 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 360 of file datanavi.hxx.
Referenced by InitText().
|
private |
Definition at line 362 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 361 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 379 of file datanavi.hxx.
Referenced by InitDialog().
|
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 372 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 371 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 370 of file datanavi.hxx.
Referenced by Check(), and InitDialog().
|
private |
Definition at line 369 of file datanavi.hxx.
Referenced by Check(), InitDialog(), and InitFromNode().
|
private |
Definition at line 366 of file datanavi.hxx.
Referenced by InitFromNode().
|
private |
Definition at line 351 of file datanavi.hxx.
Referenced by Check(), InitDataTypeBox(), InitFromNode(), and ~AddDataItemDialog().
|
private |
Definition at line 347 of file datanavi.hxx.
Referenced by InitDataTypeBox(), InitFromNode(), and ~AddDataItemDialog().