LibreOffice Module sw (master) 1
|
#include <inpdlg.hxx>
Public Member Functions | |
SwFieldInputDlg (weld::Widget *pParent, SwWrtShell &rSh, SwField *pField, bool bPrevButton, bool bNextButton) | |
virtual short | run () override |
virtual | ~SwFieldInputDlg () override |
bool | PrevButtonPressed () const |
bool | NextButtonPressed () const |
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 | Apply () |
DECL_LINK (NextHdl, weld::Button &, void) | |
DECL_LINK (PrevHdl, weld::Button &, void) | |
Private Attributes | |
SwWrtShell & | m_rSh |
SwInputField * | m_pInpField |
SwSetExpField * | m_pSetField |
SwUserFieldType * | m_pUsrType |
weld::Button * | m_pPressedButton |
std::unique_ptr< weld::Entry > | m_xLabelED |
std::unique_ptr< weld::TextView > | m_xEditED |
std::unique_ptr< weld::Button > | m_xPrevBT |
std::unique_ptr< weld::Button > | m_xNextBT |
std::unique_ptr< weld::Button > | m_xOKBT |
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 32 of file inpdlg.hxx.
SwFieldInputDlg::SwFieldInputDlg | ( | weld::Widget * | pParent, |
SwWrtShell & | rSh, | ||
SwField * | pField, | ||
bool | bPrevButton, | ||
bool | bNextButton | ||
) |
Definition at line 29 of file inpdlg.cxx.
References aStr, convertLineEnd(), SwField::ExpandField(), SwUserFieldType::GetContent(), SwEditShell::GetFieldType(), SwFormulaField::GetFormula(), SwField::GetLanguage(), SwViewShell::GetLayout(), SwInputField::GetPar1(), SwInputField::GetPar2(), SwSetExpField::GetPromptText(), SwInputField::GetSubType(), GetSystemLineEnd(), SwField::GetTyp(), INP_TXT, INP_USR, Input, SwCursorShell::IsCursorReadonly(), CharClass::isNumeric(), LINK, m_pInpField, m_pSetField, m_pUsrType, m_rSh, m_xEditED, m_xLabelED, m_xNextBT, m_xOKBT, m_xPrevBT, sFormula, User, and SwFieldType::Which().
|
overridevirtual |
Definition at line 112 of file inpdlg.cxx.
|
private |
Definition at line 117 of file inpdlg.cxx.
References SwEditShell::EndAllAction(), SwUserFieldType::GetContent(), SwInputField::GetPar1(), SwSetExpField::GetPar2(), m_pInpField, m_pSetField, m_pUsrType, m_rSh, m_xEditED, SwUserFieldType::SetContent(), SwInputField::SetPar1(), SwSetExpField::SetPar2(), SwEditShell::SetUndoNoResetModified(), SwEditShell::StartAllAction(), and SwFieldType::UpdateFields().
Referenced by run().
|
private |
|
private |
bool SwFieldInputDlg::NextButtonPressed | ( | ) | const |
Definition at line 158 of file inpdlg.cxx.
References m_pPressedButton, and m_xNextBT.
bool SwFieldInputDlg::PrevButtonPressed | ( | ) | const |
Definition at line 153 of file inpdlg.cxx.
References m_pPressedButton, and m_xPrevBT.
|
inlineoverridevirtual |
Reimplemented from weld::DialogController.
Definition at line 54 of file inpdlg.hxx.
|
private |
Definition at line 37 of file inpdlg.hxx.
Referenced by Apply(), and SwFieldInputDlg().
|
private |
Definition at line 41 of file inpdlg.hxx.
Referenced by NextButtonPressed(), and PrevButtonPressed().
|
private |
Definition at line 38 of file inpdlg.hxx.
Referenced by Apply(), and SwFieldInputDlg().
|
private |
Definition at line 39 of file inpdlg.hxx.
Referenced by Apply(), and SwFieldInputDlg().
|
private |
Definition at line 36 of file inpdlg.hxx.
Referenced by Apply(), and SwFieldInputDlg().
|
private |
Definition at line 43 of file inpdlg.hxx.
Referenced by Apply(), and SwFieldInputDlg().
|
private |
Definition at line 42 of file inpdlg.hxx.
Referenced by SwFieldInputDlg().
|
private |
Definition at line 45 of file inpdlg.hxx.
Referenced by NextButtonPressed(), and SwFieldInputDlg().
|
private |
Definition at line 46 of file inpdlg.hxx.
Referenced by SwFieldInputDlg().
|
private |
Definition at line 44 of file inpdlg.hxx.
Referenced by PrevButtonPressed(), and SwFieldInputDlg().