LibreOffice Module sw (master) 1
|
#include <fldedt.hxx>
Public Member Functions | |
SwFieldEditDlg (SwView const &rVw) | |
virtual | ~SwFieldEditDlg () override |
DECL_LINK (OKHdl, weld::Button &, void) | |
virtual short | run () override |
void | EnableInsert (bool bEnable) |
void | InsertHdl () |
Public Member Functions inherited from SfxSingleTabDialogController | |
SfxSingleTabDialogController (weld::Widget *pParent, const SfxItemSet *pOptionsSet, const OUString &rUIXMLDescription=OUString("sfx/ui/singletabdialog.ui"), const OUString &rID=OUString("SingleTabDialog")) | |
SfxSingleTabDialogController (weld::Widget *pParent, const SfxItemSet *pOptionsSet, const OUString &rContainerId, const OUString &rUIXMLDescription, const OUString &rID) | |
weld::Container * | get_content_area () |
virtual | ~SfxSingleTabDialogController () override |
void | SetTabPage (std::unique_ptr< SfxTabPage > xTabPage) |
SfxTabPage * | GetTabPage () const |
virtual weld::Button & | GetOKButton () const override |
virtual const SfxItemSet * | GetExampleSet () const override |
const SfxItemSet * | GetOutputItemSet () const |
const SfxItemSet * | GetInputItemSet () const |
Public Member Functions inherited from SfxOkDialogController | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual weld::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () const=0 |
Public Member Functions inherited from SfxDialogController | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
DECL_LINK (AddressHdl, weld::Button &, void) | |
DECL_LINK (NextPrevHdl, weld::Button &, void) | |
void | Init () |
SfxTabPage * | CreatePage (sal_uInt16 nGroup) |
void | EnsureSelection (SwField *pCurField, SwFieldMgr &rMgr) |
Private Attributes | |
SwWrtShell * | m_pSh |
std::unique_ptr< weld::Button > | m_xPrevBT |
std::unique_ptr< weld::Button > | m_xNextBT |
std::unique_ptr< weld::Button > | m_xAddressBT |
Additional Inherited Members | |
Protected Member Functions inherited from SfxSingleTabDialogController | |
void | CreateOutputItemSet (const SfxItemSet &rInput) |
void | SetInputSet (const SfxItemSet *pInSet) |
DECL_DLLPRIVATE_LINK (OKHdl_Impl, weld::Button &, void) | |
Protected Attributes inherited from SfxSingleTabDialogController | |
std::unique_ptr< SfxTabPage > | m_xSfxPage |
std::unique_ptr< weld::Container > | m_xContainer |
std::unique_ptr< weld::Button > | m_xOKBtn |
std::unique_ptr< weld::Button > | m_xHelpBtn |
Definition at line 30 of file fldedt.hxx.
SwFieldEditDlg::SwFieldEditDlg | ( | SwView const & | rVw | ) |
Definition at line 100 of file fldedt.cxx.
References weld::Button::connect_clicked(), CreatePage(), EnsureSelection(), SwFieldMgr::GetCurField(), SwFieldMgr::GetGroup(), SfxSingleTabDialogController::GetOKButton(), SwField::GetSubType(), SwField::GetTypeId(), Init(), LINK, m_pSh, m_xAddressBT, m_xDialog, m_xNextBT, m_xPrevBT, and SwViewShell::SetCareDialog().
|
overridevirtual |
Definition at line 225 of file fldedt.cxx.
References SwWrtShell::EnterStdMode(), m_pSh, and SwViewShell::SetCareDialog().
|
private |
Definition at line 173 of file fldedt.cxx.
References SwFieldDBPage::Create(), SwFieldDokInfPage::Create(), SwFieldDokPage::Create(), SwFieldFuncPage::Create(), SwFieldRefPage::Create(), SwFieldVarPage::Create(), SfxObjectShell::Current(), FN_FIELD_DIALOG_DOC_PROPS, SfxSingleTabDialogController::get_content_area(), SfxSingleTabDialogController::GetTabPage(), GRP_DB, GRP_DOC, GRP_FKT, GRP_REF, GRP_REG, GRP_VAR, m_pSh, and SfxSingleTabDialogController::SetTabPage().
Referenced by SwFieldEditDlg().
|
private |
|
private |
SwFieldEditDlg::DECL_LINK | ( | OKHdl | , |
weld::Button & | , | ||
void | |||
) |
void SwFieldEditDlg::EnableInsert | ( | bool | bEnable | ) |
Definition at line 231 of file fldedt.cxx.
References SfxSingleTabDialogController::GetOKButton(), SwCursorShell::HasReadonlySel(), SwCursorShell::IsReadOnlyAvailable(), m_pSh, and weld::Widget::set_sensitive().
Referenced by SwFieldPage::EnableInsert().
|
private |
Definition at line 48 of file fldedt.cxx.
References Chars, SwCursorShell::CursorInsideInputField(), SwPaM::DeleteMark(), SwFieldMgr::GetCurField(), SwSetExpField::GetFormatField(), SwInputField::GetFormatField(), SwPaM::GetPoint(), SwCursorShell::getShellCursor(), SwWrtShell::GotoField(), SwWrtShell::HasSelection(), m_pSh, SwCursorShell::NormalizePam(), and SwWrtShell::Right().
Referenced by SwFieldEditDlg().
|
private |
Definition at line 133 of file fldedt.cxx.
References SwCursorShell::ClearMark(), SwCursorShell::CreateCursor(), SwCursorShell::DestroyCursor(), SwCursorShell::EndAction(), ExtendedUser, SwFieldMgr::GetCurField(), SwFieldPage::GetFieldMgr(), SfxSingleTabDialogController::GetOKButton(), SfxSingleTabDialogController::GetTabPage(), SwField::GetTypeId(), SwFieldMgr::GoNext(), SwFieldMgr::GoPrev(), SwCursorShell::HasReadonlySel(), SwCursorShell::IsReadOnlyAvailable(), m_pSh, m_xAddressBT, m_xNextBT, m_xPrevBT, weld::Widget::set_sensitive(), and SwCursorShell::StartAction().
Referenced by SwFieldEditDlg().
void SwFieldEditDlg::InsertHdl | ( | ) |
Definition at line 238 of file fldedt.cxx.
References weld::Button::clicked(), and SfxSingleTabDialogController::GetOKButton().
Referenced by SwFieldPage::InsertHdl().
|
overridevirtual |
Definition at line 255 of file fldedt.cxx.
References SfxSingleTabDialogController::GetTabPage(), and RET_CANCEL.
|
private |
Definition at line 32 of file fldedt.hxx.
Referenced by CreatePage(), EnableInsert(), EnsureSelection(), Init(), SwFieldEditDlg(), and ~SwFieldEditDlg().
|
private |
Definition at line 35 of file fldedt.hxx.
Referenced by Init(), and SwFieldEditDlg().
|
private |
Definition at line 34 of file fldedt.hxx.
Referenced by Init(), and SwFieldEditDlg().
|
private |
Definition at line 33 of file fldedt.hxx.
Referenced by Init(), and SwFieldEditDlg().