LibreOffice Module sw (master) 1
|
#include <regionsw.hxx>
Public Member Functions | |
SwEditRegionDlg (weld::Window *pParent, SwWrtShell &rWrtSh) | |
virtual | ~SwEditRegionDlg () override |
void | SelectSection (std::u16string_view rSectionName) |
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 | |
void | RecurseList (const SwSectionFormat *pFormat, const weld::TreeIter *pIter) |
size_t | FindArrPos (const SwSectionFormat *pFormat) |
DECL_LINK (GetFirstEntryHdl, weld::TreeView &, void) | |
DECL_LINK (OkHdl, weld::Button &, void) | |
DECL_LINK (NameEditHdl, weld::Entry &, void) | |
DECL_LINK (ConditionEditHdl, weld::Entry &, void) | |
void | ChangePasswd (bool bChange) |
DECL_LINK (TogglePasswdHdl, weld::Toggleable &, void) | |
DECL_LINK (ChangePasswdHdl, weld::Button &, void) | |
DECL_LINK (ChangeProtectHdl, weld::Toggleable &, void) | |
DECL_LINK (ChangeHideHdl, weld::Toggleable &, void) | |
DECL_LINK (ChangeEditInReadonlyHdl, weld::Toggleable &, void) | |
DECL_LINK (ChangeDismissHdl, weld::Button &, void) | |
DECL_LINK (UseFileHdl, weld::Toggleable &, void) | |
DECL_LINK (FileSearchHdl, weld::Button &, void) | |
DECL_LINK (OptionsHdl, weld::Button &, void) | |
DECL_LINK (FileNameComboBoxHdl, weld::ComboBox &, void) | |
DECL_LINK (FileNameEntryHdl, weld::Entry &, void) | |
DECL_LINK (DDEHdl, weld::Toggleable &, void) | |
DECL_LINK (DlgClosedHdl, sfx2::FileDialogHelper *, void) | |
DECL_LINK (SubRegionEventHdl, weld::ComboBox &, void) | |
bool | CheckPasswd (weld::Toggleable *pBox=nullptr) |
Definition at line 46 of file regionsw.hxx.
SwEditRegionDlg::SwEditRegionDlg | ( | weld::Window * | pParent, |
SwWrtShell & | rWrtSh | ||
) |
Definition at line 332 of file uiregionsw.cxx.
References SwEditShell::GetCurrSection(), SwView::GetDocShell(), SwWrtShell::GetView(), comphelper::LibreOfficeKit::isActive(), LINK, m_bDontCheckPasswd, m_pCurrSect, m_rSh, m_xConditionED, m_xCurName, m_xDDECB, m_xDDECommandFT, m_xDismiss, m_xEditInReadonlyCB, m_xFileCB, m_xFileNameED, m_xFileNameFT, m_xFilePB, m_xHideCB, m_xHideFrame, m_xOK, m_xOptionsPB, m_xPasswdCB, m_xPasswdPB, m_xProtectCB, m_xSubRegionED, m_xTree, RecurseList(), and TRISTATE_FALSE.
|
overridevirtual |
Definition at line 556 of file uiregionsw.cxx.
References m_xTree.
|
private |
Definition at line 1205 of file uiregionsw.cxx.
References ChangePasswd(), CheckPasswd(), Application::CreateMessageDialog(), SfxPasswordDialog::GetConfirm(), SvPasswordHelper::GetHashPassword(), SfxPasswordDialog::GetPassword(), SectRepr::GetSectionData(), SectRepr::GetTempPasswd(), m_xDialog, m_xPasswdCB, m_xTree, RET_OK, SfxPasswordDialog::run(), SwSectionData::SetPassword(), SfxPasswordDialog::ShowExtras(), and SwResId().
Referenced by ChangePasswd().
|
private |
Definition at line 429 of file uiregionsw.cxx.
References SvPasswordHelper::CompareHashPassword(), Application::CreateMessageDialog(), weld::Toggleable::get_active(), weld::Toggleable::get_state(), SvPasswordHelper::GetHashPassword(), SfxPasswordDialog::GetPassword(), SwSectionData::GetPassword(), SectRepr::GetSectionData(), SectRepr::GetTempPasswd(), m_bDontCheckPasswd, m_xDialog, m_xTree, SfxPasswordDialog::run(), weld::Toggleable::set_active(), SectRepr::SetTempPasswd(), SwResId(), and TRISTATE_INDET.
Referenced by ChangePasswd().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 545 of file uiregionsw.cxx.
References SwEditShell::GetSectionFormat(), SwEditShell::GetSectionFormatCount(), i, m_rSh, and nCount.
Referenced by RecurseList().
|
private |
Definition at line 475 of file uiregionsw.cxx.
References FindArrPos(), SwSectionFormat::GetChildSections(), SwSectionFormat::GetSection(), SwEditShell::GetSectionFormat(), SwEditShell::GetSectionFormatCount(), SwSection::GetSectionName(), SwSection::GetType(), SwSection::IsHidden(), SwSectionFormat::IsInNodesArr(), SwSection::IsProtect(), m_pCurrSect, m_rSh, m_xTree, n, nCount, Pos, RecurseList(), sId, weld::toId(), ToxContent, and ToxHeader.
Referenced by RecurseList(), and SwEditRegionDlg().
void SwEditRegionDlg::SelectSection | ( | std::u16string_view | rSectionName | ) |
Definition at line 568 of file uiregionsw.cxx.
References SectRepr::GetSectionData(), SwSectionData::GetSectionName(), and m_xTree.
|
private |
Definition at line 55 of file regionsw.hxx.
Referenced by CheckPasswd(), and SwEditRegionDlg().
|
private |
Definition at line 48 of file regionsw.hxx.
|
private |
Definition at line 52 of file regionsw.hxx.
Referenced by RecurseList(), and SwEditRegionDlg().
|
private |
Definition at line 53 of file regionsw.hxx.
|
private |
Definition at line 50 of file regionsw.hxx.
Referenced by FindArrPos(), RecurseList(), and SwEditRegionDlg().
|
private |
Definition at line 51 of file regionsw.hxx.
|
private |
Definition at line 73 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 72 of file regionsw.hxx.
|
private |
Definition at line 57 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 60 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 63 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 61 of file regionsw.hxx.
|
private |
Definition at line 78 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 75 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 59 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 64 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 62 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 65 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 71 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 79 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 76 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 77 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 69 of file regionsw.hxx.
Referenced by ChangePasswd(), and SwEditRegionDlg().
|
private |
Definition at line 70 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 68 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 67 of file regionsw.hxx.
Referenced by SwEditRegionDlg().
|
private |
Definition at line 66 of file regionsw.hxx.
|
private |
Definition at line 58 of file regionsw.hxx.
Referenced by ChangePasswd(), CheckPasswd(), RecurseList(), SelectSection(), SwEditRegionDlg(), and ~SwEditRegionDlg().