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

#include <bookmark.hxx>

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

Public Member Functions

 SwInsertBookmarkDlg (weld::Window *pParent, SwWrtShell &rSh, OUString const *pSelected)
 
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 (int nResponse)
 

Private Member Functions

 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
 DECL_LINK (InsertHdl, weld::Button &, void)
 
 DECL_LINK (DeleteHdl, weld::Button &, void)
 
 DECL_LINK (EditTextHdl, 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::Toggleable &, void)
 
 DECL_LINK (EditingHdl, weld::TreeIter const &, bool)
 
 DECL_LINK (EditedHdl, weld::TreeView::iter_string const &, bool)
 
void PopulateTable ()
 
bool ValidateBookmarks ()
 Check if displayed bookmarks are up-to date, if not update them. More...
 
bool HaveBookmarksChanged ()
 
void GotoSelectedBookmark ()
 
void SelectionChanged ()
 

Private Attributes

SwWrtShellm_rSh
 
std::vector< std::pair< sw::mark::IMark *, OUString > > m_aTableBookmarks
 
sal_Int32 m_nLastBookmarksCount
 
bool m_bSorted
 
bool m_bAreProtected
 
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_xEditTextBtn
 
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 68 of file uibase/inc/bookmark.hxx.

Constructor & Destructor Documentation

◆ SwInsertBookmarkDlg()

SwInsertBookmarkDlg::SwInsertBookmarkDlg ( weld::Window pParent,
SwWrtShell rSh,
OUString const *  pSelected 
)

◆ ~SwInsertBookmarkDlg()

SwInsertBookmarkDlg::~SwInsertBookmarkDlg ( )
overridevirtual

Definition at line 442 of file ui/misc/bookmark.cxx.

References m_xDialog, vcl::PosSize, and SvtViewOptions::SetWindowState().

Member Function Documentation

◆ DECL_LINK() [1/12]

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

◆ DECL_LINK() [2/12]

SwInsertBookmarkDlg::DECL_LINK ( DeleteHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/12]

SwInsertBookmarkDlg::DECL_LINK ( DoubleClickHdl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [4/12]

SwInsertBookmarkDlg::DECL_LINK ( EditedHdl  ,
weld::TreeView::iter_string const &  ,
bool   
)
private

◆ DECL_LINK() [5/12]

SwInsertBookmarkDlg::DECL_LINK ( EditingHdl  ,
weld::TreeIter const &  ,
bool   
)
private

◆ DECL_LINK() [6/12]

SwInsertBookmarkDlg::DECL_LINK ( EditTextHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [7/12]

SwInsertBookmarkDlg::DECL_LINK ( GotoHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/12]

SwInsertBookmarkDlg::DECL_LINK ( HeaderBarClick  ,
int  ,
void   
)
private

◆ DECL_LINK() [9/12]

SwInsertBookmarkDlg::DECL_LINK ( InsertHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [10/12]

SwInsertBookmarkDlg::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private

◆ DECL_LINK() [11/12]

SwInsertBookmarkDlg::DECL_LINK ( RenameHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [12/12]

SwInsertBookmarkDlg::DECL_LINK ( SelectionChangedHdl  ,
weld::TreeView ,
void   
)
private

◆ GotoSelectedBookmark()

void SwInsertBookmarkDlg::GotoSelectedBookmark ( )
private

◆ HaveBookmarksChanged()

bool SwInsertBookmarkDlg::HaveBookmarksChanged ( )
private

◆ PopulateTable()

void SwInsertBookmarkDlg::PopulateTable ( )
private

◆ SelectionChanged()

void SwInsertBookmarkDlg::SelectionChanged ( )
private

◆ ValidateBookmarks()

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 309 of file ui/misc/bookmark.cxx.

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

Referenced by GotoSelectedBookmark().

Member Data Documentation

◆ m_aTableBookmarks

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

Definition at line 71 of file uibase/inc/bookmark.hxx.

Referenced by HaveBookmarksChanged(), and PopulateTable().

◆ m_bAreProtected

bool SwInsertBookmarkDlg::m_bAreProtected
private

Definition at line 74 of file uibase/inc/bookmark.hxx.

Referenced by SelectionChanged(), and SwInsertBookmarkDlg().

◆ m_bSorted

bool SwInsertBookmarkDlg::m_bSorted
private

Definition at line 73 of file uibase/inc/bookmark.hxx.

◆ m_nLastBookmarksCount

sal_Int32 SwInsertBookmarkDlg::m_nLastBookmarksCount
private

Definition at line 72 of file uibase/inc/bookmark.hxx.

Referenced by HaveBookmarksChanged(), and PopulateTable().

◆ m_rSh

SwWrtShell& SwInsertBookmarkDlg::m_rSh
private

◆ m_xBookmarksBox

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

◆ m_xConditionED

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

Definition at line 84 of file uibase/inc/bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

◆ m_xConditionFT

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

Definition at line 83 of file uibase/inc/bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

◆ m_xDeleteBtn

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

Definition at line 78 of file uibase/inc/bookmark.hxx.

Referenced by SelectionChanged(), and SwInsertBookmarkDlg().

◆ m_xEditBox

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

◆ m_xEditTextBtn

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

Definition at line 80 of file uibase/inc/bookmark.hxx.

Referenced by SelectionChanged(), and SwInsertBookmarkDlg().

◆ m_xForbiddenChars

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

Definition at line 86 of file uibase/inc/bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

◆ m_xGotoBtn

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

Definition at line 79 of file uibase/inc/bookmark.hxx.

Referenced by SelectionChanged(), and SwInsertBookmarkDlg().

◆ m_xHideCB

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

Definition at line 82 of file uibase/inc/bookmark.hxx.

Referenced by SwInsertBookmarkDlg().

◆ m_xInsertBtn

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

Definition at line 77 of file uibase/inc/bookmark.hxx.

Referenced by SelectionChanged(), and SwInsertBookmarkDlg().

◆ m_xRenameBtn

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

Definition at line 81 of file uibase/inc/bookmark.hxx.

Referenced by SelectionChanged(), and SwInsertBookmarkDlg().


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