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

#include <bookmark.hxx>

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

Public Member Functions

 SwInsertBookmarkDlg (weld::Window *pParent, SwWrtShell &rSh, SfxRequest &rReq)
 
virtual ~SwInsertBookmarkDlg () override
 
- 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

 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (InsertHdl, weld::Button &, void)
 
 DECL_LINK (DeleteHdl, weld::Button &, void)
 
 DECL_LINK (RenameHdl, weld::Button &, void)
 
 DECL_LINK (GotoHdl, weld::Button &, void)
 
 DECL_LINK (SelectionChangedHdl, weld::TreeView &, void)
 
 DECL_LINK (DoubleClickHdl, weld::TreeView &, bool)
 
 DECL_LINK (HeaderBarClick, int, void)
 
 DECL_LINK (ChangeHideHdl, weld::ToggleButton &, void)
 
void PopulateTable ()
 
bool ValidateBookmarks ()
 Check if displayed bookmarks are up-to date, if not update them. More...
 
bool HaveBookmarksChanged ()
 
void GotoSelectedBookmark ()
 

Private Attributes

SwWrtShellrSh
 
SfxRequestrReq
 
std::vector< std::pair< sw::mark::IMark *, OUString > > aTableBookmarks
 
sal_Int32 m_nLastBookmarksCount
 
bool m_bSorted
 
std::unique_ptr< weld::Entrym_xEditBox
 
std::unique_ptr< weld::Buttonm_xInsertBtn
 
std::unique_ptr< weld::Buttonm_xDeleteBtn
 
std::unique_ptr< weld::Buttonm_xGotoBtn
 
std::unique_ptr< weld::Buttonm_xRenameBtn
 
std::unique_ptr< weld::CheckButtonm_xHideCB
 
std::unique_ptr< weld::Labelm_xConditionFT
 
std::unique_ptr< ConditionEditm_xConditionED
 
std::unique_ptr< BookmarkTablem_xBookmarksBox
 
std::unique_ptr< weld::Labelm_xForbiddenChars
 

Detailed Description

Definition at line 65 of file bookmark.hxx.

Constructor & Destructor Documentation

SwInsertBookmarkDlg::SwInsertBookmarkDlg ( weld::Window pParent,
SwWrtShell rSh,
SfxRequest rReq 
)
SwInsertBookmarkDlg::~SwInsertBookmarkDlg ( )
overridevirtual

Definition at line 368 of file bookmark.cxx.

Member Function Documentation

SwInsertBookmarkDlg::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
SwInsertBookmarkDlg::DECL_LINK ( InsertHdl  ,
weld::Button ,
void   
)
private
SwInsertBookmarkDlg::DECL_LINK ( DeleteHdl  ,
weld::Button ,
void   
)
private
SwInsertBookmarkDlg::DECL_LINK ( RenameHdl  ,
weld::Button ,
void   
)
private
SwInsertBookmarkDlg::DECL_LINK ( GotoHdl  ,
weld::Button ,
void   
)
private
SwInsertBookmarkDlg::DECL_LINK ( SelectionChangedHdl  ,
weld::TreeView ,
void   
)
private
SwInsertBookmarkDlg::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private
SwInsertBookmarkDlg::DECL_LINK ( HeaderBarClick  ,
int  ,
void   
)
private
SwInsertBookmarkDlg::DECL_LINK ( ChangeHideHdl  ,
weld::ToggleButton ,
void   
)
private
void SwInsertBookmarkDlg::GotoSelectedBookmark ( )
private
bool SwInsertBookmarkDlg::HaveBookmarksChanged ( )
private
void SwInsertBookmarkDlg::PopulateTable ( )
private
bool SwInsertBookmarkDlg::ValidateBookmarks ( )
private

Check if displayed bookmarks are up-to date, if not update them.

Returns
True if no update was needed.

Definition at line 245 of file bookmark.cxx.

References HaveBookmarksChanged(), m_xEditBox, and PopulateTable().

Referenced by GotoSelectedBookmark().

Member Data Documentation

std::vector<std::pair<sw::mark::IMark*, OUString> > SwInsertBookmarkDlg::aTableBookmarks
private

Definition at line 69 of file bookmark.hxx.

Referenced by HaveBookmarksChanged(), and PopulateTable().

bool SwInsertBookmarkDlg::m_bSorted
private

Definition at line 71 of file bookmark.hxx.

sal_Int32 SwInsertBookmarkDlg::m_nLastBookmarksCount
private

Definition at line 70 of file bookmark.hxx.

Referenced by HaveBookmarksChanged(), and PopulateTable().

std::unique_ptr<BookmarkTable> SwInsertBookmarkDlg::m_xBookmarksBox
private

Definition at line 81 of file bookmark.hxx.

Referenced by GotoSelectedBookmark(), PopulateTable(), and SwInsertBookmarkDlg().

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

Definition at line 80 of file bookmark.hxx.

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

Definition at line 79 of file bookmark.hxx.

std::unique_ptr<weld::Button> SwInsertBookmarkDlg::m_xDeleteBtn
private

Definition at line 75 of file bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

std::unique_ptr<weld::Entry> SwInsertBookmarkDlg::m_xEditBox
private

Definition at line 73 of file bookmark.hxx.

Referenced by SwInsertBookmarkDlg(), and ValidateBookmarks().

std::unique_ptr<weld::Label> SwInsertBookmarkDlg::m_xForbiddenChars
private

Definition at line 82 of file bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

std::unique_ptr<weld::Button> SwInsertBookmarkDlg::m_xGotoBtn
private

Definition at line 76 of file bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

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

Definition at line 78 of file bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

std::unique_ptr<weld::Button> SwInsertBookmarkDlg::m_xInsertBtn
private

Definition at line 74 of file bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

std::unique_ptr<weld::Button> SwInsertBookmarkDlg::m_xRenameBtn
private

Definition at line 77 of file bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

SfxRequest& SwInsertBookmarkDlg::rReq
private

Definition at line 68 of file bookmark.hxx.

SwWrtShell& SwInsertBookmarkDlg::rSh
private

Definition at line 67 of file bookmark.hxx.

Referenced by GotoSelectedBookmark(), HaveBookmarksChanged(), and PopulateTable().


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