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

#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 (const OUString &rSectionName)
 
- Public Member Functions inherited from SfxDialogController
 SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OString &rDialogId)
 
virtual void Activate ()
 
virtual void Deactivate ()
 
virtual void ChildWinDispose ()
 
virtual void Close ()
 
virtual void EndDialog ()
 

Private Member Functions

void RecurseList (const SwSectionFormat *pFormat, weld::TreeIter *pIter)
 
size_t FindArrPos (const SwSectionFormat *pFormat)
 
 DECL_LINK (GetFirstEntryHdl, weld::TreeView &, void)
 
 DECL_LINK (DeselectHdl, 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::ToggleButton &, void)
 
 DECL_LINK (ChangePasswdHdl, weld::Button &, void)
 
 DECL_LINK (ChangeProtectHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ChangeHideHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ChangeEditInReadonlyHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ChangeDismissHdl, weld::Button &, void)
 
 DECL_LINK (UseFileHdl, weld::ToggleButton &, 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::ToggleButton &, void)
 
 DECL_LINK (DlgClosedHdl, sfx2::FileDialogHelper *, void)
 
 DECL_LINK (SubRegionEventHdl, weld::ComboBox &, void)
 
bool CheckPasswd (weld::ToggleButton *pBox=nullptr)
 

Private Attributes

bool m_bSubRegionsFilled
 
SwWrtShellrSh
 
SectReprs_t m_SectReprs
 
const SwSectionpCurrSect
 
std::unique_ptr< sfx2::DocumentInserterm_pDocInserter
 
bool 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 53 of file regionsw.hxx.

Constructor & Destructor Documentation

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

Definition at line 528 of file uiregionsw.cxx.

References m_xTree.

Member Function Documentation

void SwEditRegionDlg::ChangePasswd ( bool  bChange)
private
bool SwEditRegionDlg::CheckPasswd ( weld::ToggleButton pBox = nullptr)
private
SwEditRegionDlg::DECL_LINK ( GetFirstEntryHdl  ,
weld::TreeView ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( DeselectHdl  ,
weld::TreeView ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( OkHdl  ,
weld::Button ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( NameEditHdl  ,
weld::Entry ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( ConditionEditHdl  ,
weld::Entry ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( TogglePasswdHdl  ,
weld::ToggleButton ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( ChangePasswdHdl  ,
weld::Button ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( ChangeProtectHdl  ,
weld::ToggleButton ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( ChangeHideHdl  ,
weld::ToggleButton ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( ChangeEditInReadonlyHdl  ,
weld::ToggleButton ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( ChangeDismissHdl  ,
weld::Button ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( UseFileHdl  ,
weld::ToggleButton ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( FileSearchHdl  ,
weld::Button ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( OptionsHdl  ,
weld::Button ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( FileNameComboBoxHdl  ,
weld::ComboBox ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( FileNameEntryHdl  ,
weld::Entry ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( DDEHdl  ,
weld::ToggleButton ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( DlgClosedHdl  ,
sfx2::FileDialogHelper ,
void   
)
private
SwEditRegionDlg::DECL_LINK ( SubRegionEventHdl  ,
weld::ComboBox ,
void   
)
private
size_t SwEditRegionDlg::FindArrPos ( const SwSectionFormat pFormat)
private

Definition at line 517 of file uiregionsw.cxx.

References SwEditShell::GetSectionFormat(), SwEditShell::GetSectionFormatCount(), i, and rSh.

Referenced by RecurseList().

void SwEditRegionDlg::RecurseList ( const SwSectionFormat pFormat,
weld::TreeIter pIter 
)
private
void SwEditRegionDlg::SelectSection ( const OUString &  rSectionName)

Member Data Documentation

bool SwEditRegionDlg::bDontCheckPasswd
private

Definition at line 62 of file regionsw.hxx.

Referenced by CheckPasswd(), and SwEditRegionDlg().

bool SwEditRegionDlg::m_bSubRegionsFilled
private

Definition at line 55 of file regionsw.hxx.

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

Definition at line 60 of file regionsw.hxx.

SectReprs_t SwEditRegionDlg::m_SectReprs
private

Definition at line 58 of file regionsw.hxx.

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

Definition at line 80 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 79 of file regionsw.hxx.

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

Definition at line 64 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 67 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 70 of file regionsw.hxx.

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

Definition at line 68 of file regionsw.hxx.

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

Definition at line 85 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 82 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 66 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 71 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 69 of file regionsw.hxx.

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

Definition at line 72 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 78 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 86 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 83 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 84 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 76 of file regionsw.hxx.

Referenced by ChangePasswd(), and SwEditRegionDlg().

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

Definition at line 77 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 75 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 74 of file regionsw.hxx.

Referenced by SwEditRegionDlg().

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

Definition at line 73 of file regionsw.hxx.

std::unique_ptr<weld::TreeView> SwEditRegionDlg::m_xTree
private
const SwSection* SwEditRegionDlg::pCurrSect
private

Definition at line 59 of file regionsw.hxx.

Referenced by RecurseList(), and SwEditRegionDlg().

SwWrtShell& SwEditRegionDlg::rSh
private

Definition at line 57 of file regionsw.hxx.

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


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