OUString get_text(const weld::TreeIter &rIter) const
void connect_editing(const Link< const weld::TreeIter &, bool > &rStartLink, const Link< const weld::TreeView::iter_string &, bool > &rEndLink)
void InsertBookmark(SwWrtShell &rSh, sw::mark::IMark *pMark)
void set_sort_column(int nColumn)
int get_sort_column() const
OUString GetNameProposal() const
static constexpr OUStringLiteral aForbiddenChars
OUString get_id(const weld::TreeIter &rIter) const
void select(const weld::TreeIter &rIter)
bool SelectByName(const OUString &sName)
void connect_row_activated(const Link< weld::TreeView &, bool > &rLink)
void connect_changed(const Link< weld::TreeView &, void > &rLink)
static const char s_cSeparator
void connect_column_clicked(const Link< int, void > &rLink)
std::unique_ptr< weld::TreeIter > GetRowByBookmarkName(const OUString &sName)
bool get_sort_order() const
void set_sort_indicator(TriState eState, int nColumn=-1)
BookmarkTable(std::unique_ptr< weld::TreeView > xControl)
void set_column_editables(::std::vector< bool > const &rEditables)
void start_editing(weld::TreeIter const &rIter)
sw::mark::IMark * GetBookmarkByName(const OUString &sName)
void set_sort_order(bool bAscending)
std::unique_ptr< weld::TreeIter > get_selected() const
void selected_foreach(const std::function< bool(weld::TreeIter &)> &func)
std::unique_ptr< weld::TreeView > m_xControl
std::unique_ptr< weld::Button > m_xEditTextBtn
DECL_LINK(EditedHdl, weld::TreeView::iter_string const &, bool)
sal_Int32 m_nLastBookmarksCount
void GotoSelectedBookmark()
std::unique_ptr< weld::Label > m_xForbiddenChars
std::vector< std::pair< sw::mark::IMark *, OUString > > m_aTableBookmarks
bool HaveBookmarksChanged()
std::unique_ptr< weld::Button > m_xRenameBtn
DECL_LINK(DoubleClickHdl, weld::TreeView &, bool)
DECL_LINK(InsertHdl, weld::Button &, void)
std::unique_ptr< weld::Button > m_xDeleteBtn
virtual ~SwInsertBookmarkDlg() override
DECL_LINK(ChangeHideHdl, weld::Toggleable &, void)
DECL_LINK(EditTextHdl, weld::Button &, void)
DECL_LINK(RenameHdl, weld::Button &, void)
std::unique_ptr< ConditionEdit > m_xConditionED
DECL_LINK(ModifyHdl, weld::Entry &, void)
SwInsertBookmarkDlg(weld::Window *pParent, SwWrtShell &rSh, OUString const *pSelected)
DECL_LINK(EditingHdl, weld::TreeIter const &, bool)
bool ValidateBookmarks()
Check if displayed bookmarks are up-to date, if not update them.
DECL_LINK(GotoHdl, weld::Button &, void)
DECL_LINK(SelectionChangedHdl, weld::TreeView &, void)
DECL_LINK(DeleteHdl, weld::Button &, void)
std::unique_ptr< weld::CheckButton > m_xHideCB
std::unique_ptr< weld::Button > m_xGotoBtn
std::unique_ptr< weld::Entry > m_xEditBox
DECL_LINK(HeaderBarClick, int, void)
std::unique_ptr< BookmarkTable > m_xBookmarksBox
std::unique_ptr< weld::Button > m_xInsertBtn
std::unique_ptr< weld::Label > m_xConditionFT
Used by the UI to modify the document model.
std::pair< const TreeIter &, OUString > iter_string