LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwEditRegionDlg Class Referencefinal

#include <regionsw.hxx>

Inheritance diagram for SwEditRegionDlg:
[legend]
Collaboration diagram for SwEditRegionDlg:
[legend]

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)
 

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)
 

Private Attributes

bool m_bSubRegionsFilled
 
SwWrtShellm_rSh
 
SectReprs_t m_SectReprs
 
const SwSectionm_pCurrSect
 
std::unique_ptr< sfx2::DocumentInserterm_pDocInserter
 
bool m_bDontCheckPasswd:1
 
std::unique_ptr< weld::Entrym_xCurName
 
std::unique_ptr< weld::TreeViewm_xTree
 
std::unique_ptr< weld::CheckButtonm_xFileCB
 
std::unique_ptr< weld::CheckButtonm_xDDECB
 
std::unique_ptr< weld::Widgetm_xDDEFrame
 
std::unique_ptr< weld::Labelm_xFileNameFT
 
std::unique_ptr< weld::Labelm_xDDECommandFT
 
std::unique_ptr< weld::Entrym_xFileNameED
 
std::unique_ptr< weld::Buttonm_xFilePB
 
std::unique_ptr< weld::Labelm_xSubRegionFT
 
std::unique_ptr< weld::ComboBoxm_xSubRegionED
 
std::unique_ptr< weld::CheckButtonm_xProtectCB
 
std::unique_ptr< weld::CheckButtonm_xPasswdCB
 
std::unique_ptr< weld::Buttonm_xPasswdPB
 
std::unique_ptr< weld::CheckButtonm_xHideCB
 
std::unique_ptr< weld::Labelm_xConditionFT
 
std::unique_ptr< ConditionEditm_xConditionED
 
std::unique_ptr< weld::CheckButtonm_xEditInReadonlyCB
 
std::unique_ptr< weld::Buttonm_xOK
 
std::unique_ptr< weld::Buttonm_xOptionsPB
 
std::unique_ptr< weld::Buttonm_xDismiss
 
std::unique_ptr< weld::Widgetm_xHideFrame
 

Detailed Description

Definition at line 46 of file regionsw.hxx.

Constructor & Destructor Documentation

◆ SwEditRegionDlg()

SwEditRegionDlg::SwEditRegionDlg ( weld::Window pParent,
SwWrtShell rWrtSh 
)

◆ ~SwEditRegionDlg()

SwEditRegionDlg::~SwEditRegionDlg ( )
overridevirtual

Definition at line 556 of file uiregionsw.cxx.

References m_xTree.

Member Function Documentation

◆ ChangePasswd()

void SwEditRegionDlg::ChangePasswd ( bool  bChange)
private

◆ CheckPasswd()

bool SwEditRegionDlg::CheckPasswd ( weld::Toggleable pBox = nullptr)
private

◆ DECL_LINK() [1/18]

SwEditRegionDlg::DECL_LINK ( ChangeDismissHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/18]

SwEditRegionDlg::DECL_LINK ( ChangeEditInReadonlyHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/18]

SwEditRegionDlg::DECL_LINK ( ChangeHideHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/18]

SwEditRegionDlg::DECL_LINK ( ChangePasswdHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [5/18]

SwEditRegionDlg::DECL_LINK ( ChangeProtectHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/18]

SwEditRegionDlg::DECL_LINK ( ConditionEditHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [7/18]

SwEditRegionDlg::DECL_LINK ( DDEHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [8/18]

SwEditRegionDlg::DECL_LINK ( DlgClosedHdl  ,
sfx2::FileDialogHelper ,
void   
)
private

◆ DECL_LINK() [9/18]

SwEditRegionDlg::DECL_LINK ( FileNameComboBoxHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [10/18]

SwEditRegionDlg::DECL_LINK ( FileNameEntryHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [11/18]

SwEditRegionDlg::DECL_LINK ( FileSearchHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [12/18]

SwEditRegionDlg::DECL_LINK ( GetFirstEntryHdl  ,
weld::TreeView ,
void   
)
private

◆ DECL_LINK() [13/18]

SwEditRegionDlg::DECL_LINK ( NameEditHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [14/18]

SwEditRegionDlg::DECL_LINK ( OkHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [15/18]

SwEditRegionDlg::DECL_LINK ( OptionsHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [16/18]

SwEditRegionDlg::DECL_LINK ( SubRegionEventHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [17/18]

SwEditRegionDlg::DECL_LINK ( TogglePasswdHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [18/18]

SwEditRegionDlg::DECL_LINK ( UseFileHdl  ,
weld::Toggleable ,
void   
)
private

◆ FindArrPos()

size_t SwEditRegionDlg::FindArrPos ( const SwSectionFormat pFormat)
private

◆ RecurseList()

void SwEditRegionDlg::RecurseList ( const SwSectionFormat pFormat,
const weld::TreeIter pIter 
)
private

◆ SelectSection()

void SwEditRegionDlg::SelectSection ( std::u16string_view  rSectionName)

Member Data Documentation

◆ m_bDontCheckPasswd

bool SwEditRegionDlg::m_bDontCheckPasswd
private

Definition at line 55 of file regionsw.hxx.

Referenced by CheckPasswd(), and SwEditRegionDlg().

◆ m_bSubRegionsFilled

bool SwEditRegionDlg::m_bSubRegionsFilled
private

Definition at line 48 of file regionsw.hxx.

◆ m_pCurrSect

const SwSection* SwEditRegionDlg::m_pCurrSect
private

Definition at line 52 of file regionsw.hxx.

Referenced by RecurseList(), and SwEditRegionDlg().

◆ m_pDocInserter

std::unique_ptr<sfx2::DocumentInserter> SwEditRegionDlg::m_pDocInserter
private

Definition at line 53 of file regionsw.hxx.

◆ m_rSh

SwWrtShell& SwEditRegionDlg::m_rSh
private

Definition at line 50 of file regionsw.hxx.

Referenced by FindArrPos(), RecurseList(), and SwEditRegionDlg().

◆ m_SectReprs

SectReprs_t SwEditRegionDlg::m_SectReprs
private

Definition at line 51 of file regionsw.hxx.

◆ m_xConditionED

std::unique_ptr<ConditionEdit> SwEditRegionDlg::m_xConditionED
private

Definition at line 73 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xConditionFT

std::unique_ptr<weld::Label> SwEditRegionDlg::m_xConditionFT
private

Definition at line 72 of file regionsw.hxx.

◆ m_xCurName

std::unique_ptr<weld::Entry> SwEditRegionDlg::m_xCurName
private

Definition at line 57 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xDDECB

std::unique_ptr<weld::CheckButton> SwEditRegionDlg::m_xDDECB
private

Definition at line 60 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xDDECommandFT

std::unique_ptr<weld::Label> SwEditRegionDlg::m_xDDECommandFT
private

Definition at line 63 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xDDEFrame

std::unique_ptr<weld::Widget> SwEditRegionDlg::m_xDDEFrame
private

Definition at line 61 of file regionsw.hxx.

◆ m_xDismiss

std::unique_ptr<weld::Button> SwEditRegionDlg::m_xDismiss
private

Definition at line 78 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xEditInReadonlyCB

std::unique_ptr<weld::CheckButton> SwEditRegionDlg::m_xEditInReadonlyCB
private

Definition at line 75 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xFileCB

std::unique_ptr<weld::CheckButton> SwEditRegionDlg::m_xFileCB
private

Definition at line 59 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xFileNameED

std::unique_ptr<weld::Entry> SwEditRegionDlg::m_xFileNameED
private

Definition at line 64 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xFileNameFT

std::unique_ptr<weld::Label> SwEditRegionDlg::m_xFileNameFT
private

Definition at line 62 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xFilePB

std::unique_ptr<weld::Button> SwEditRegionDlg::m_xFilePB
private

Definition at line 65 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xHideCB

std::unique_ptr<weld::CheckButton> SwEditRegionDlg::m_xHideCB
private

Definition at line 71 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xHideFrame

std::unique_ptr<weld::Widget> SwEditRegionDlg::m_xHideFrame
private

Definition at line 79 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xOK

std::unique_ptr<weld::Button> SwEditRegionDlg::m_xOK
private

Definition at line 76 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xOptionsPB

std::unique_ptr<weld::Button> SwEditRegionDlg::m_xOptionsPB
private

Definition at line 77 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xPasswdCB

std::unique_ptr<weld::CheckButton> SwEditRegionDlg::m_xPasswdCB
private

Definition at line 69 of file regionsw.hxx.

Referenced by ChangePasswd(), and SwEditRegionDlg().

◆ m_xPasswdPB

std::unique_ptr<weld::Button> SwEditRegionDlg::m_xPasswdPB
private

Definition at line 70 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xProtectCB

std::unique_ptr<weld::CheckButton> SwEditRegionDlg::m_xProtectCB
private

Definition at line 68 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xSubRegionED

std::unique_ptr<weld::ComboBox> SwEditRegionDlg::m_xSubRegionED
private

Definition at line 67 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

◆ m_xSubRegionFT

std::unique_ptr<weld::Label> SwEditRegionDlg::m_xSubRegionFT
private

Definition at line 66 of file regionsw.hxx.

◆ m_xTree

std::unique_ptr<weld::TreeView> SwEditRegionDlg::m_xTree
private

The documentation for this class was generated from the following files: