LibreOffice Module vcl (master)  1
Public Member Functions | Protected Types | Protected Member Functions | Static Protected Member Functions | Protected Attributes | List of all members
SalInstanceTreeView Class Reference

#include <salvtables.hxx>

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

Public Member Functions

 SalInstanceTreeView (SvTabListBox *pTreeView, SalInstanceBuilder *pBuilder, bool bTakeOwnership)
 
virtual void connect_query_tooltip (const Link< const weld::TreeIter &, OUString > &rLink) override
 
virtual void columns_autosize () override
 
virtual void freeze () override
 
virtual void thaw () override
 
virtual void set_column_fixed_widths (const std::vector< int > &rWidths) override
 
virtual void set_column_editables (const std::vector< bool > &rEditables) override
 
virtual void set_centered_column (int nCol) override
 
virtual int get_column_width (int nColumn) const override
 
virtual OUString get_column_title (int nColumn) const override
 
virtual void set_column_title (int nColumn, const OUString &rTitle) override
 
virtual void set_column_custom_renderer (int nColumn, bool bEnable) override
 
virtual void queue_draw () override
 
virtual void show () override
 
virtual void hide () override
 
virtual void insert (const weld::TreeIter *pParent, int pos, const OUString *pStr, const OUString *pId, const OUString *pIconName, VirtualDevice *pImageSurface, bool bChildrenOnDemand, weld::TreeIter *pRet) override
 
virtual void insert_separator (int pos, const OUString &) override
 
virtual void bulk_insert_for_each (int nSourceCount, const std::function< void(weld::TreeIter &, int nSourceIndex)> &func, const weld::TreeIter *pParent=nullptr, const std::vector< int > *pFixedWidths=nullptr) override
 
virtual void set_font_color (int pos, const Color &rColor) override
 
virtual void set_font_color (const weld::TreeIter &rIter, const Color &rColor) override
 
virtual void remove (int pos) override
 
virtual int find_text (const OUString &rText) const override
 
virtual int find_id (const OUString &rId) const override
 
virtual void swap (int pos1, int pos2) override
 
virtual void clear () override
 
virtual int n_children () const override
 
virtual int iter_n_children (const weld::TreeIter &rIter) const override
 
virtual void select (int pos) override
 
virtual int get_cursor_index () const override
 
virtual void set_cursor (int pos) override
 
virtual void scroll_to_row (int pos) override
 
virtual bool is_selected (int pos) const override
 
virtual void unselect (int pos) override
 
virtual std::vector< intget_selected_rows () const override
 
OUString get_text (SvTreeListEntry *pEntry, int col) const
 
virtual OUString get_text (int pos, int col=-1) const override
 
void set_text (SvTreeListEntry *pEntry, const OUString &rText, int col)
 
virtual void set_text (int pos, const OUString &rText, int col=-1) override
 
void set_sensitive (SvTreeListEntry *pEntry, bool bSensitive, int col)
 
virtual void set_sensitive (int pos, bool bSensitive, int col=-1) override
 
virtual void set_sensitive (const weld::TreeIter &rIter, bool bSensitive, int col=-1) override
 
virtual TriState get_toggle (int pos, int col=-1) const override
 
virtual TriState get_toggle (const weld::TreeIter &rIter, int col=-1) const override
 
virtual void enable_toggle_buttons (weld::ColumnToggleType eType) override
 
virtual void set_toggle (int pos, TriState eState, int col=-1) override
 
virtual void set_toggle (const weld::TreeIter &rIter, TriState eState, int col=-1) override
 
virtual void set_clicks_to_toggle (int nToggleBehavior) override
 
virtual void set_extra_row_indent (const weld::TreeIter &rIter, int nIndentLevel) override
 
void set_text_emphasis (SvTreeListEntry *pEntry, bool bOn, int col=-1)
 
virtual void set_text_emphasis (const weld::TreeIter &rIter, bool bOn, int col) override
 
virtual void set_text_emphasis (int pos, bool bOn, int col) override
 
virtual bool get_text_emphasis (const weld::TreeIter &rIter, int col) const override
 
virtual bool get_text_emphasis (int pos, int col) const override
 
void set_text_align (SvTreeListEntry *pEntry, double fAlign, int col)
 
virtual void set_text_align (const weld::TreeIter &rIter, double fAlign, int col) override
 
virtual void set_text_align (int pos, double fAlign, int col) override
 
virtual void connect_editing (const Link< const weld::TreeIter &, bool > &rStartLink, const Link< const iter_string &, bool > &rEndLink) override
 
virtual void start_editing (const weld::TreeIter &rIter) override
 
virtual void end_editing () override
 
void set_image (SvTreeListEntry *pEntry, const Image &rImage, int col)
 
virtual void set_image (int pos, const OUString &rImage, int col=-1) override
 
virtual void set_image (int pos, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col=-1) override
 
virtual void set_image (int pos, VirtualDevice &rImage, int col=-1) override
 
virtual void set_image (const weld::TreeIter &rIter, const OUString &rImage, int col=-1) override
 
virtual void set_image (const weld::TreeIter &rIter, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col=-1) override
 
virtual void set_image (const weld::TreeIter &rIter, VirtualDevice &rImage, int col=-1) override
 
const OUString * getEntryData (int index) const
 
virtual OUString get_id (int pos) const override
 
void set_id (SvTreeListEntry *pEntry, const OUString &rId)
 
virtual void set_id (int pos, const OUString &rId) override
 
virtual int get_selected_index () const override
 
virtual OUString get_selected_text () const override
 
virtual OUString get_selected_id () const override
 
virtual std::unique_ptr< weld::TreeItermake_iterator (const weld::TreeIter *pOrig=nullptr) const override
 
virtual void copy_iterator (const weld::TreeIter &rSource, weld::TreeIter &rDest) const override
 
virtual bool get_selected (weld::TreeIter *pIter) const override
 
virtual bool get_cursor (weld::TreeIter *pIter) const override
 
virtual void set_cursor (const weld::TreeIter &rIter) override
 
virtual bool get_iter_first (weld::TreeIter &rIter) const override
 
virtual bool get_iter_abs_pos (weld::TreeIter &rIter, int nPos) const
 
virtual bool iter_next_sibling (weld::TreeIter &rIter) const override
 
virtual bool iter_previous_sibling (weld::TreeIter &rIter) const override
 
virtual bool iter_next (weld::TreeIter &rIter) const override
 
virtual bool iter_previous (weld::TreeIter &rIter) const override
 
virtual bool iter_children (weld::TreeIter &rIter) const override
 
virtual bool iter_parent (weld::TreeIter &rIter) const override
 
virtual void remove (const weld::TreeIter &rIter) override
 
virtual void select (const weld::TreeIter &rIter) override
 
virtual void scroll_to_row (const weld::TreeIter &rIter) override
 
virtual void unselect (const weld::TreeIter &rIter) override
 
virtual int get_iter_depth (const weld::TreeIter &rIter) const override
 
virtual bool iter_has_child (const weld::TreeIter &rIter) const override
 
virtual bool get_row_expanded (const weld::TreeIter &rIter) const override
 
virtual bool get_children_on_demand (const weld::TreeIter &rIter) const override
 
virtual void set_children_on_demand (const weld::TreeIter &rIter, bool bChildrenOnDemand) override
 
virtual void expand_row (const weld::TreeIter &rIter) override
 
virtual void collapse_row (const weld::TreeIter &rIter) override
 
virtual OUString get_text (const weld::TreeIter &rIter, int col=-1) const override
 
virtual void set_text (const weld::TreeIter &rIter, const OUString &rText, int col=-1) override
 
virtual OUString get_id (const weld::TreeIter &rIter) const override
 
virtual void set_id (const weld::TreeIter &rIter, const OUString &rId) override
 
virtual void enable_drag_source (rtl::Reference< TransferDataContainer > &rHelper, sal_uInt8 eDNDConstants) override
 
virtual void set_selection_mode (SelectionMode eMode) override
 
virtual void all_foreach (const std::function< bool(weld::TreeIter &)> &func) override
 
virtual void selected_foreach (const std::function< bool(weld::TreeIter &)> &func) override
 
virtual void visible_foreach (const std::function< bool(weld::TreeIter &)> &func) override
 
virtual void connect_visible_range_changed (const Link< weld::TreeView &, void > &rLink) override
 
virtual void remove_selection () override
 
virtual bool is_selected (const weld::TreeIter &rIter) const override
 
virtual int get_iter_index_in_parent (const weld::TreeIter &rIter) const override
 
virtual int iter_compare (const weld::TreeIter &a, const weld::TreeIter &b) const override
 
virtual void move_subtree (weld::TreeIter &rNode, const weld::TreeIter *pNewParent, int nIndexInNewParent) override
 
virtual int count_selected_rows () const override
 
virtual int get_height_rows (int nRows) const override
 
virtual void make_sorted () override
 
virtual void set_sort_func (const std::function< int(const weld::TreeIter &, const weld::TreeIter &)> &func) override
 
virtual void make_unsorted () override
 
virtual void set_sort_order (bool bAscending) override
 
virtual bool get_sort_order () const override
 
virtual void set_sort_indicator (TriState eState, int col) override
 
virtual TriState get_sort_indicator (int col) const override
 
virtual int get_sort_column () const override
 
virtual void set_sort_column (int nColumn) override
 
SvTabListBoxgetTreeView ()
 
virtual bool get_dest_row_at_pos (const Point &rPos, weld::TreeIter *pResult, bool bDnDMode) override
 
virtual void unset_drag_dest_row () override
 
virtual tools::Rectangle get_row_area (const weld::TreeIter &rIter) const override
 
virtual TreeView * get_drag_source () const override
 
virtual int vadjustment_get_value () const override
 
virtual void vadjustment_set_value (int nValue) override
 
void set_show_expanders (bool bShow) override
 
virtual ~SalInstanceTreeView () override
 
- Public Member Functions inherited from SalInstanceContainer
 SalInstanceContainer (vcl::Window *pContainer, SalInstanceBuilder *pBuilder, bool bTakeOwnership)
 
virtual void HandleEventListener (VclWindowEvent &rEvent) override
 
virtual void connect_container_focus_changed (const Link< Container &, void > &rLink) override
 
virtual void child_grab_focus () override
 
virtual void move (weld::Widget *pWidget, weld::Container *pNewParent) override
 
virtual void recursively_unset_default_buttons () override
 
virtual css::uno::Reference< css::awt::XWindow > CreateChildFrame () override
 
- Public Member Functions inherited from SalInstanceWidget
 SalInstanceWidget (vcl::Window *pWidget, SalInstanceBuilder *pBuilder, bool bTakeOwnership)
 
virtual void set_sensitive (bool sensitive) override
 
virtual bool get_sensitive () const override
 
virtual bool get_visible () const override
 
virtual bool is_visible () const override
 
virtual void set_can_focus (bool bCanFocus) override
 
virtual void grab_focus () override
 
virtual bool has_focus () const override
 
virtual bool is_active () const override
 
virtual bool has_child_focus () const override
 
virtual void set_has_default (bool has_default) override
 
virtual bool get_has_default () const override
 
virtual void set_size_request (int nWidth, int nHeight) override
 
virtual Size get_size_request () const override
 
virtual Size get_preferred_size () const override
 
virtual float get_approximate_digit_width () const override
 
virtual int get_text_height () const override
 
virtual Size get_pixel_size (const OUString &rText) const override
 
virtual vcl::Font get_font () override
 
virtual OString get_buildable_name () const override
 
virtual void set_buildable_name (const OString &rId) override
 
virtual void set_help_id (const OString &rId) override
 
virtual OString get_help_id () const override
 
virtual void set_grid_left_attach (int nAttach) override
 
virtual int get_grid_left_attach () const override
 
virtual void set_grid_width (int nCols) override
 
virtual void set_grid_top_attach (int nAttach) override
 
virtual int get_grid_top_attach () const override
 
virtual void set_hexpand (bool bExpand) override
 
virtual bool get_hexpand () const override
 
virtual void set_vexpand (bool bExpand) override
 
virtual bool get_vexpand () const override
 
virtual void set_secondary (bool bSecondary) override
 
virtual void set_margin_top (int nMargin) override
 
virtual void set_margin_bottom (int nMargin) override
 
virtual void set_margin_start (int nMargin) override
 
virtual void set_margin_end (int nMargin) override
 
virtual int get_margin_top () const override
 
virtual int get_margin_bottom () const override
 
virtual int get_margin_start () const override
 
virtual int get_margin_end () const override
 
virtual void set_accessible_name (const OUString &rName) override
 
virtual void set_accessible_description (const OUString &rDescription) override
 
virtual OUString get_accessible_name () const override
 
virtual OUString get_accessible_description () const override
 
virtual void set_accessible_relation_labeled_by (weld::Widget *pLabel) override
 
virtual void set_accessible_relation_label_for (weld::Widget *pLabeled) override
 
virtual void set_tooltip_text (const OUString &rTip) override
 
virtual OUString get_tooltip_text () const override
 
virtual void connect_focus_in (const Link< Widget &, void > &rLink) override
 
virtual void connect_mnemonic_activate (const Link< Widget &, bool > &rLink) override
 
virtual void connect_focus_out (const Link< Widget &, void > &rLink) override
 
virtual void connect_size_allocate (const Link< const Size &, void > &rLink) override
 
virtual void connect_mouse_press (const Link< const MouseEvent &, bool > &rLink) override
 
virtual void connect_mouse_move (const Link< const MouseEvent &, bool > &rLink) override
 
virtual void connect_mouse_release (const Link< const MouseEvent &, bool > &rLink) override
 
virtual void connect_key_press (const Link< const KeyEvent &, bool > &rLink) override
 
virtual void connect_key_release (const Link< const KeyEvent &, bool > &rLink) override
 
virtual bool get_extents_relative_to (const Widget &rRelative, int &x, int &y, int &width, int &height) const override
 
virtual void grab_add () override
 
virtual bool has_grab () const override
 
virtual void grab_remove () override
 
virtual bool get_direction () const override
 
virtual void set_direction (bool bRTL) override
 
virtual void set_busy_cursor (bool bBusy) override
 
virtual std::unique_ptr< weld::Containerweld_parent () const override
 
virtual ~SalInstanceWidget () override
 
vcl::WindowgetWidget () const
 
void disable_notify_events ()
 
bool notify_events_disabled ()
 
void enable_notify_events ()
 
virtual void queue_resize () override
 
virtual void help_hierarchy_foreach (const std::function< bool(const OString &)> &func) override
 
virtual OUString strip_mnemonic (const OUString &rLabel) const override
 
virtual VclPtr< VirtualDevicecreate_virtual_device () const override
 
virtual css::uno::Reference< css::datatransfer::dnd::XDropTarget > get_drop_target () override
 
virtual css::uno::Reference< css::datatransfer::clipboard::XClipboard > get_clipboard () const override
 
virtual void connect_get_property_tree (const Link< tools::JsonWriter &, void > &rLink) override
 
virtual void get_property_tree (tools::JsonWriter &rJsonWriter) override
 
virtual void set_stack_background () override
 
virtual void set_title_background () override
 
virtual void set_toolbar_background () override
 
virtual void set_highlight_background () override
 
virtual void set_background (const Color &rColor) override
 
virtual void draw (OutputDevice &rOutput, const Point &rPos, const Size &rSizePixel) override
 
SystemWindowgetSystemWindow ()
 
- Public Member Functions inherited from weld::Widget
virtual void set_visible (bool visible)
 
virtual bool get_extents_relative_to (const Widget &rRelative, int &x, int &y, int &width, int &height) const =0
 
virtual void connect_focus_in (const Link< Widget &, void > &rLink)
 
virtual void connect_focus_out (const Link< Widget &, void > &rLink)
 
virtual void connect_mnemonic_activate (const Link< Widget &, bool > &rLink)
 
virtual ~Widget ()
 
- Public Member Functions inherited from weld::Container
virtual void connect_container_focus_changed (const Link< Container &, void > &rLink)
 
- Public Member Functions inherited from weld::TreeView
void insert (int nRow, TreeIter *pRet=nullptr)
 
void append (TreeIter *pRet=nullptr)
 
void insert (int pos, const OUString &rStr, const OUString *pId, const OUString *pIconName, VirtualDevice *pImageSurface)
 
void insert_text (int pos, const OUString &rStr)
 
void append_text (const OUString &rStr)
 
void append (const OUString &rId, const OUString &rStr)
 
void append (const OUString &rId, const OUString &rStr, const OUString &rImage)
 
void append (const TreeIter *pParent, const OUString &rStr)
 
void append_separator (const OUString &rId)
 
void connect_changed (const Link< TreeView &, void > &rLink)
 
void connect_row_activated (const Link< TreeView &, bool > &rLink)
 
void connect_toggled (const Link< const iter_col &, void > &rLink)
 
void connect_column_clicked (const Link< int, void > &rLink)
 
void connect_model_changed (const Link< TreeView &, void > &rLink)
 
void select_text (const OUString &rText)
 
void remove_text (const OUString &rText)
 
std::vector< OUString > get_selected_rows_text () const
 
void select_id (const OUString &rId)
 
void remove_id (const OUString &rText)
 
bool iter_nth_sibling (TreeIter &rIter, int nChild) const
 
bool iter_nth_child (TreeIter &rIter, int nChild) const
 
void connect_expanding (const Link< const TreeIter &, bool > &rLink)
 
void connect_collapsing (const Link< const TreeIter &, bool > &rLink)
 
virtual void connect_popup_menu (const Link< const CommandEvent &, bool > &rLink)
 
void connect_drag_begin (const Link< bool &, bool > &rLink)
 
void select_all ()
 
void unselect_all ()
 
virtual void set_sort_func (const std::function< int(const weld::TreeIter &, const weld::TreeIter &)> &func)
 
int get_checkbox_column_width () const
 
void save_value ()
 
OUString const & get_saved_value () const
 
bool get_value_changed_from_saved () const
 
void connect_custom_get_size (const Link< get_size_args, Size > &rLink)
 
void connect_custom_render (const Link< render_args, void > &rLink)
 

Protected Types

typedef std::pair< SvTreeListEntry *, OUString > IterString
 

Protected Member Functions

 DECL_LINK (SelectHdl, SvTreeListBox *, void)
 
 DECL_LINK (DeSelectHdl, SvTreeListBox *, void)
 
 DECL_LINK (DoubleClickHdl, SvTreeListBox *, bool)
 
 DECL_LINK (ExpandingHdl, SvTreeListBox *, bool)
 
 DECL_LINK (EndDragHdl, HeaderBar *, void)
 
 DECL_LINK (HeaderBarClickedHdl, HeaderBar *, void)
 
 DECL_LINK (ToggleHdl, SvLBoxButtonData *, void)
 
 DECL_LINK (ModelChangedHdl, SvTreeListBox *, void)
 
 DECL_LINK (StartDragHdl, SvTreeListBox *, bool)
 
 DECL_STATIC_LINK (SalInstanceTreeView, FinishDragHdl, SvTreeListBox *, void)
 
 DECL_LINK (EditingEntryHdl, SvTreeListEntry *, bool)
 
 DECL_LINK (EditedEntryHdl, IterString, bool)
 
 DECL_LINK (VisibleRangeChangedHdl, SvTreeListBox *, void)
 
 DECL_LINK (CompareHdl, const SvSortData &, sal_Int32)
 
 DECL_LINK (PopupMenuHdl, const CommandEvent &, bool)
 
 DECL_LINK (TooltipHdl, const HelpEvent &, bool)
 
 DECL_LINK (CustomRenderHdl, svtree_render_args, void)
 
 DECL_LINK (CustomMeasureHdl, svtree_measure_args, Size)
 
int to_internal_model (int col) const
 
int to_external_model (int col) const
 
bool IsDummyEntry (SvTreeListEntry *pEntry) const
 
SvTreeListEntryGetPlaceHolderChild (SvTreeListEntry *pEntry) const
 
void AddStringItem (SvTreeListEntry *pEntry, const OUString &rStr, int nCol)
 
void do_insert (const weld::TreeIter *pParent, int pos, const OUString *pStr, const OUString *pId, const OUString *pIconName, const VirtualDevice *pImageSurface, bool bChildrenOnDemand, weld::TreeIter *pRet, bool bIsSeparator)
 
void update_checkbutton_column_width (SvTreeListEntry *pEntry)
 
void InvalidateModelEntry (SvTreeListEntry *pEntry)
 
void do_set_toggle (SvTreeListEntry *pEntry, TriState eState, int col)
 
TriState get_toggle (SvTreeListEntry *pEntry, int col) const
 
void set_toggle (SvTreeListEntry *pEntry, TriState eState, int col)
 
bool get_text_emphasis (SvTreeListEntry *pEntry, int col) const
 
void set_header_item_width (const std::vector< int > &rWidths)
 
- Protected Member Functions inherited from SalInstanceWidget
void ensure_event_listener ()
 
void ensure_key_listener ()
 
void ensure_mouse_listener ()
 
bool IsFirstFreeze () const
 
bool IsLastThaw () const
 
virtual bool HandleKeyEventListener (VclWindowEvent &rEvent)
 
virtual void HandleMouseEventListener (VclSimpleEvent &rEvent)
 
- Protected Member Functions inherited from weld::Container
void signal_container_focus_changed ()
 
- Protected Member Functions inherited from weld::TreeView
void signal_changed ()
 
bool signal_row_activated ()
 
void signal_column_clicked (int nColumn)
 
bool signal_expanding (const TreeIter &rIter)
 
bool signal_collapsing (const TreeIter &rIter)
 
void signal_visible_range_changed ()
 
void signal_model_changed ()
 
void signal_toggled (const iter_col &rIterCol)
 
bool signal_editing_started (const TreeIter &rIter)
 
bool signal_editing_done (const iter_string &rIterText)
 
OUString signal_query_tooltip (const TreeIter &rIter)
 
void signal_custom_render (vcl::RenderContext &rDevice, const tools::Rectangle &rRect, bool bSelected, const OUString &rId)
 
Size signal_custom_get_size (vcl::RenderContext &rDevice, const OUString &rId)
 

Static Protected Member Functions

static void set_font_color (SvTreeListEntry *pEntry, const Color &rColor)
 
static TriState do_get_toggle (SvTreeListEntry *pEntry, int col)
 

Protected Attributes

std::vector< std::unique_ptr< OUString > > m_aUserData
 
VclPtr< SvTabListBoxm_xTreeView
 
SvLBoxButtonData m_aCheckButtonData
 
SvLBoxButtonData m_aRadioButtonData
 
o3tl::sorted_vector< SvTreeListEntry * > m_aExpandingPlaceHolderParents
 
o3tl::sorted_vector< intm_aCustomRenders
 
bool m_bTogglesAsRadio
 
int m_nSortColumn
 
- Protected Attributes inherited from SalInstanceContainer
VclPtr< vcl::Windowm_xContainer
 
- Protected Attributes inherited from SalInstanceWidget
VclPtr< vcl::Windowm_xWidget
 
SalInstanceBuilderm_pBuilder
 
- Protected Attributes inherited from weld::Widget
Link< Widget &, voidm_aFocusInHdl
 
Link< Widget &, voidm_aFocusOutHdl
 
Link< Widget &, bool > m_aMnemonicActivateHdl
 
Link< const Size &, voidm_aSizeAllocateHdl
 
Link< const KeyEvent &, bool > m_aKeyPressHdl
 
Link< const KeyEvent &, bool > m_aKeyReleaseHdl
 
Link< const MouseEvent &, bool > m_aMousePressHdl
 
Link< const MouseEvent &, bool > m_aMouseMotionHdl
 
Link< const MouseEvent &, bool > m_aMouseReleaseHdl
 
- Protected Attributes inherited from weld::Container
Link< Container &, voidm_aContainerFocusChangedHdl
 
- Protected Attributes inherited from weld::TreeView
Link< TreeView &, voidm_aChangeHdl
 
Link< TreeView &, bool > m_aRowActivatedHdl
 
Link< int, voidm_aColumnClickedHdl
 
Link< const iter_col &, voidm_aRadioToggleHdl
 
Link< const TreeIter &, bool > m_aEditingStartedHdl
 
Link< const iter_string &, bool > m_aEditingDoneHdl
 
Link< const TreeIter &, bool > m_aExpandingHdl
 
Link< const TreeIter &, bool > m_aCollapsingHdl
 
Link< TreeView &, voidm_aVisibleRangeChangedHdl
 
Link< TreeView &, voidm_aModelChangedHdl
 
Link< const CommandEvent &, bool > m_aPopupMenuHdl
 
Link< bool &, bool > m_aDragBeginHdl
 
std::function< int(const weld::TreeIter &, const weld::TreeIter &)> m_aCustomSort
 
Link< const TreeIter &, OUString > m_aQueryTooltipHdl
 
Link< render_args, voidm_aRenderHdl
 
Link< get_size_args, Sizem_aGetSizeHdl
 

Additional Inherited Members

- Public Types inherited from weld::TreeView
typedef std::pair< const TreeIter &, intiter_col
 
typedef std::pair< const TreeIter &, OUString > iter_string
 
typedef std::pair< vcl::RenderContext &, const OUString & > get_size_args
 
typedef std::tuple< vcl::RenderContext &, const tools::Rectangle &, bool, const OUString & > render_args
 

Detailed Description

Definition at line 1344 of file salvtables.hxx.

Member Typedef Documentation

typedef std::pair<SvTreeListEntry*, OUString> SalInstanceTreeView::IterString
protected

Definition at line 1371 of file salvtables.hxx.

Constructor & Destructor Documentation

SalInstanceTreeView::SalInstanceTreeView ( SvTabListBox pTreeView,
SalInstanceBuilder pBuilder,
bool  bTakeOwnership 
)
SalInstanceTreeView::~SalInstanceTreeView ( )
overridevirtual

Member Function Documentation

void SalInstanceTreeView::AddStringItem ( SvTreeListEntry pEntry,
const OUString &  rStr,
int  nCol 
)
protected
void SalInstanceTreeView::all_foreach ( const std::function< bool(weld::TreeIter &)> &  func)
overridevirtual

Implements weld::TreeView.

Definition at line 4651 of file salvtables.cxx.

References SvTreeListBox::First(), iter_next(), and m_xTreeView.

void SalInstanceTreeView::bulk_insert_for_each ( int  nSourceCount,
const std::function< void(weld::TreeIter &, int nSourceIndex)> &  func,
const weld::TreeIter pParent = nullptr,
const std::vector< int > *  pFixedWidths = nullptr 
)
overridevirtual
void SalInstanceTreeView::clear ( )
overridevirtual
void SalInstanceTreeView::collapse_row ( const weld::TreeIter rIter)
overridevirtual
void SalInstanceTreeView::columns_autosize ( )
overridevirtual
void SalInstanceTreeView::connect_editing ( const Link< const weld::TreeIter &, bool > &  rStartLink,
const Link< const iter_string &, bool > &  rEndLink 
)
overridevirtual
void SalInstanceTreeView::connect_query_tooltip ( const Link< const weld::TreeIter &, OUString > &  rLink)
overridevirtual
void SalInstanceTreeView::connect_visible_range_changed ( const Link< weld::TreeView &, void > &  rLink)
overridevirtual
void SalInstanceTreeView::copy_iterator ( const weld::TreeIter rSource,
weld::TreeIter rDest 
) const
overridevirtual

Implements weld::TreeView.

Definition at line 4413 of file salvtables.cxx.

References SalInstanceTreeIter::iter.

int SalInstanceTreeView::count_selected_rows ( ) const
overridevirtual

Implements weld::TreeView.

Definition at line 4744 of file salvtables.cxx.

References SvListView::GetSelectionCount(), and m_xTreeView.

SalInstanceTreeView::DECL_LINK ( SelectHdl  ,
SvTreeListBox ,
void   
)
protected
SalInstanceTreeView::DECL_LINK ( DeSelectHdl  ,
SvTreeListBox ,
void   
)
protected
SalInstanceTreeView::DECL_LINK ( DoubleClickHdl  ,
SvTreeListBox ,
bool   
)
protected
SalInstanceTreeView::DECL_LINK ( ExpandingHdl  ,
SvTreeListBox ,
bool   
)
protected
SalInstanceTreeView::DECL_LINK ( EndDragHdl  ,
HeaderBar ,
void   
)
protected
SalInstanceTreeView::DECL_LINK ( HeaderBarClickedHdl  ,
HeaderBar ,
void   
)
protected
SalInstanceTreeView::DECL_LINK ( ToggleHdl  ,
SvLBoxButtonData ,
void   
)
protected
SalInstanceTreeView::DECL_LINK ( ModelChangedHdl  ,
SvTreeListBox ,
void   
)
protected
SalInstanceTreeView::DECL_LINK ( StartDragHdl  ,
SvTreeListBox ,
bool   
)
protected
SalInstanceTreeView::DECL_LINK ( EditingEntryHdl  ,
SvTreeListEntry ,
bool   
)
protected
SalInstanceTreeView::DECL_LINK ( EditedEntryHdl  ,
IterString  ,
bool   
)
protected
SalInstanceTreeView::DECL_LINK ( VisibleRangeChangedHdl  ,
SvTreeListBox ,
void   
)
protected
SalInstanceTreeView::DECL_LINK ( CompareHdl  ,
const SvSortData ,
sal_Int32   
)
protected
SalInstanceTreeView::DECL_LINK ( PopupMenuHdl  ,
const CommandEvent ,
bool   
)
protected
SalInstanceTreeView::DECL_LINK ( TooltipHdl  ,
const HelpEvent ,
bool   
)
protected
SalInstanceTreeView::DECL_LINK ( CustomRenderHdl  ,
svtree_render_args  ,
void   
)
protected
SalInstanceTreeView::DECL_LINK ( CustomMeasureHdl  ,
svtree_measure_args  ,
Size   
)
protected
SalInstanceTreeView::DECL_STATIC_LINK ( SalInstanceTreeView  ,
FinishDragHdl  ,
SvTreeListBox ,
void   
)
protected
TriState SalInstanceTreeView::do_get_toggle ( SvTreeListEntry pEntry,
int  col 
)
staticprotected
void SalInstanceTreeView::do_insert ( const weld::TreeIter pParent,
int  pos,
const OUString *  pStr,
const OUString *  pId,
const OUString *  pIconName,
const VirtualDevice pImageSurface,
bool  bChildrenOnDemand,
weld::TreeIter pRet,
bool  bIsSeparator 
)
protected
void SalInstanceTreeView::do_set_toggle ( SvTreeListEntry pEntry,
TriState  eState,
int  col 
)
protected
void SalInstanceTreeView::enable_drag_source ( rtl::Reference< TransferDataContainer > &  rHelper,
sal_uInt8  eDNDConstants 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4640 of file salvtables.cxx.

References m_xTreeView, and SvTreeListBox::SetDragHelper().

void SalInstanceTreeView::enable_toggle_buttons ( weld::ColumnToggleType  eType)
overridevirtual
void SalInstanceTreeView::end_editing ( )
overridevirtual

Implements weld::TreeView.

Definition at line 4279 of file salvtables.cxx.

References SvTreeListBox::EndEditing(), and m_xTreeView.

void SalInstanceTreeView::expand_row ( const weld::TreeIter rIter)
overridevirtual
int SalInstanceTreeView::find_id ( const OUString &  rId) const
overridevirtual
int SalInstanceTreeView::find_text ( const OUString &  rText) const
overridevirtual
void SalInstanceTreeView::freeze ( )
overridevirtual
bool SalInstanceTreeView::get_children_on_demand ( const weld::TreeIter rIter) const
overridevirtual
OUString SalInstanceTreeView::get_column_title ( int  nColumn) const
overridevirtual
int SalInstanceTreeView::get_column_width ( int  nColumn) const
overridevirtual
bool SalInstanceTreeView::get_cursor ( weld::TreeIter pIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4429 of file salvtables.cxx.

References SvTreeListBox::GetCurEntry(), SalInstanceTreeIter::iter, and m_xTreeView.

int SalInstanceTreeView::get_cursor_index ( ) const
overridevirtual

Implements weld::TreeView.

Definition at line 3992 of file salvtables.cxx.

References SvTreeListBox::GetCurEntry(), SvTreeList::GetRelPos(), and m_xTreeView.

bool SalInstanceTreeView::get_dest_row_at_pos ( const Point rPos,
weld::TreeIter pResult,
bool  bDnDMode 
)
overridevirtual
weld::TreeView * SalInstanceTreeView::get_drag_source ( ) const
overridevirtual

Implements weld::TreeView.

Reimplemented in JSTreeView.

Definition at line 4875 of file salvtables.cxx.

References g_DragSource.

int SalInstanceTreeView::get_height_rows ( int  nRows) const
overridevirtual
OUString SalInstanceTreeView::get_id ( int  pos) const
overridevirtual

Implements weld::TreeView.

Definition at line 4358 of file salvtables.cxx.

References getEntryData().

OUString SalInstanceTreeView::get_id ( const weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4625 of file salvtables.cxx.

References SvTreeListEntry::GetUserData(), and SalInstanceTreeIter::iter.

bool SalInstanceTreeView::get_iter_abs_pos ( weld::TreeIter rIter,
int  nPos 
) const
virtual
int SalInstanceTreeView::get_iter_depth ( const weld::TreeIter rIter) const
overridevirtual
bool SalInstanceTreeView::get_iter_first ( weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4446 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), SalInstanceTreeIter::iter, and m_xTreeView.

int SalInstanceTreeView::get_iter_index_in_parent ( const weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4715 of file salvtables.cxx.

References SvTreeList::GetRelPos(), and SalInstanceTreeIter::iter.

tools::Rectangle SalInstanceTreeView::get_row_area ( const weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4870 of file salvtables.cxx.

References SvTreeListBox::GetBoundingRect(), and m_xTreeView.

bool SalInstanceTreeView::get_row_expanded ( const weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4563 of file salvtables.cxx.

References SvListView::IsExpanded(), SalInstanceTreeIter::iter, and m_xTreeView.

bool SalInstanceTreeView::get_selected ( weld::TreeIter pIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4420 of file salvtables.cxx.

References SvListView::FirstSelected(), SalInstanceTreeIter::iter, and m_xTreeView.

OUString SalInstanceTreeView::get_selected_id ( ) const
overridevirtual
int SalInstanceTreeView::get_selected_index ( ) const
overridevirtual
std::vector< int > SalInstanceTreeView::get_selected_rows ( ) const
overridevirtual
OUString SalInstanceTreeView::get_selected_text ( ) const
overridevirtual
int SalInstanceTreeView::get_sort_column ( ) const
overridevirtual

Implements weld::TreeView.

Definition at line 4831 of file salvtables.cxx.

References m_nSortColumn.

TriState SalInstanceTreeView::get_sort_indicator ( int  col) const
overridevirtual
bool SalInstanceTreeView::get_sort_order ( ) const
overridevirtual
OUString SalInstanceTreeView::get_text ( SvTreeListEntry pEntry,
int  col 
) const
OUString SalInstanceTreeView::get_text ( int  pos,
int  col = -1 
) const
overridevirtual

Implements weld::TreeView.

Definition at line 4074 of file salvtables.cxx.

References get_text(), SvTreeListBox::GetEntry(), and m_xTreeView.

OUString SalInstanceTreeView::get_text ( const weld::TreeIter rIter,
int  col = -1 
) const
overridevirtual

Implements weld::TreeView.

Definition at line 4613 of file salvtables.cxx.

References get_text(), and SalInstanceTreeIter::iter.

bool SalInstanceTreeView::get_text_emphasis ( SvTreeListEntry pEntry,
int  col 
) const
protected
bool SalInstanceTreeView::get_text_emphasis ( const weld::TreeIter rIter,
int  col 
) const
overridevirtual

Implements weld::TreeView.

Definition at line 4230 of file salvtables.cxx.

References get_text_emphasis(), and SalInstanceTreeIter::iter.

bool SalInstanceTreeView::get_text_emphasis ( int  pos,
int  col 
) const
overridevirtual

Implements weld::TreeView.

Definition at line 4236 of file salvtables.cxx.

References get_text_emphasis(), SvTreeListBox::GetEntry(), and m_xTreeView.

TriState SalInstanceTreeView::get_toggle ( SvTreeListEntry pEntry,
int  col 
) const
protected
TriState SalInstanceTreeView::get_toggle ( int  pos,
int  col = -1 
) const
overridevirtual

Implements weld::TreeView.

Definition at line 4160 of file salvtables.cxx.

References get_toggle(), SvTreeListBox::GetEntry(), and m_xTreeView.

TriState SalInstanceTreeView::get_toggle ( const weld::TreeIter rIter,
int  col = -1 
) const
overridevirtual

Implements weld::TreeView.

Definition at line 4166 of file salvtables.cxx.

References get_toggle(), and SalInstanceTreeIter::iter.

const OUString * SalInstanceTreeView::getEntryData ( int  index) const

Definition at line 4352 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), SvTreeListEntry::GetUserData(), and m_xTreeView.

Referenced by get_id().

SvTreeListEntry * SalInstanceTreeView::GetPlaceHolderChild ( SvTreeListEntry pEntry) const
protected
SvTabListBox & SalInstanceTreeView::getTreeView ( )

Definition at line 4849 of file salvtables.cxx.

References m_xTreeView.

void SalInstanceTreeView::hide ( )
overridevirtual
void SalInstanceTreeView::insert ( const weld::TreeIter pParent,
int  pos,
const OUString *  pStr,
const OUString *  pId,
const OUString *  pIconName,
VirtualDevice pImageSurface,
bool  bChildrenOnDemand,
weld::TreeIter pRet 
)
overridevirtual

Implements weld::TreeView.

Reimplemented in JSTreeView.

Definition at line 3836 of file salvtables.cxx.

References do_insert().

void SalInstanceTreeView::insert_separator ( int  pos,
const OUString &   
)
overridevirtual

Implements weld::TreeView.

Definition at line 3844 of file salvtables.cxx.

References do_insert(), and VclResId().

void SalInstanceTreeView::InvalidateModelEntry ( SvTreeListEntry pEntry)
protected
bool SalInstanceTreeView::is_selected ( int  pos) const
overridevirtual

Implements weld::TreeView.

Definition at line 4024 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), SvListView::IsSelected(), and m_xTreeView.

bool SalInstanceTreeView::is_selected ( const weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4709 of file salvtables.cxx.

References SvListView::IsSelected(), SalInstanceTreeIter::iter, and m_xTreeView.

bool SalInstanceTreeView::IsDummyEntry ( SvTreeListEntry pEntry) const
protected
bool SalInstanceTreeView::iter_children ( weld::TreeIter rIter) const
overridevirtual
int SalInstanceTreeView::iter_compare ( const weld::TreeIter a,
const weld::TreeIter b 
) const
overridevirtual
bool SalInstanceTreeView::iter_has_child ( const weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4557 of file salvtables.cxx.

References iter_children().

int SalInstanceTreeView::iter_n_children ( const weld::TreeIter rIter) const
overridevirtual
bool SalInstanceTreeView::iter_next ( weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4474 of file salvtables.cxx.

References IsDummyEntry(), SalInstanceTreeIter::iter, m_xTreeView, and SvTreeListBox::Next().

Referenced by all_foreach().

bool SalInstanceTreeView::iter_next_sibling ( weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4460 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and SvTreeListEntry::NextSibling().

bool SalInstanceTreeView::iter_parent ( weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4505 of file salvtables.cxx.

References SvTreeListBox::GetParent(), SalInstanceTreeIter::iter, and m_xTreeView.

bool SalInstanceTreeView::iter_previous ( weld::TreeIter rIter) const
overridevirtual
bool SalInstanceTreeView::iter_previous_sibling ( weld::TreeIter rIter) const
overridevirtual

Implements weld::TreeView.

Definition at line 4467 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and SvTreeListEntry::PrevSibling().

std::unique_ptr< weld::TreeIter > SalInstanceTreeView::make_iterator ( const weld::TreeIter pOrig = nullptr) const
overridevirtual

Implements weld::TreeView.

Definition at line 4407 of file salvtables.cxx.

void SalInstanceTreeView::make_sorted ( )
overridevirtual
void SalInstanceTreeView::make_unsorted ( )
overridevirtual

Implements weld::TreeView.

Definition at line 4773 of file salvtables.cxx.

References vcl::Window::GetStyle(), m_xTreeView, vcl::Window::SetStyle(), and WB_SORT.

Referenced by set_sort_column().

void SalInstanceTreeView::move_subtree ( weld::TreeIter rNode,
const weld::TreeIter pNewParent,
int  nIndexInNewParent 
)
overridevirtual
int SalInstanceTreeView::n_children ( ) const
overridevirtual
void SalInstanceTreeView::queue_draw ( )
overridevirtual
void SalInstanceTreeView::remove ( int  pos)
overridevirtual
void SalInstanceTreeView::remove ( const weld::TreeIter rIter)
overridevirtual
void SalInstanceTreeView::remove_selection ( )
overridevirtual
void SalInstanceTreeView::scroll_to_row ( int  pos)
overridevirtual
void SalInstanceTreeView::scroll_to_row ( const weld::TreeIter rIter)
overridevirtual
void SalInstanceTreeView::select ( int  pos)
overridevirtual
void SalInstanceTreeView::select ( const weld::TreeIter rIter)
overridevirtual
void SalInstanceTreeView::selected_foreach ( const std::function< bool(weld::TreeIter &)> &  func)
overridevirtual
void SalInstanceTreeView::set_centered_column ( int  nCol)
overridevirtual

Implements weld::TreeView.

Definition at line 3768 of file salvtables.cxx.

References AdjustCenter, m_xTreeView, and SvTabListBox::SetTabJustify().

void SalInstanceTreeView::set_children_on_demand ( const weld::TreeIter rIter,
bool  bChildrenOnDemand 
)
overridevirtual
void SalInstanceTreeView::set_clicks_to_toggle ( int  nToggleBehavior)
overridevirtual

Implements weld::TreeView.

Definition at line 4195 of file salvtables.cxx.

References m_xTreeView, and SvTreeListBox::SetClicksToToggle().

void SalInstanceTreeView::set_column_custom_renderer ( int  nColumn,
bool  bEnable 
)
overridevirtual
void SalInstanceTreeView::set_column_editables ( const std::vector< bool > &  rEditables)
overridevirtual

Implements weld::TreeView.

Definition at line 3761 of file salvtables.cxx.

References m_xTreeView, and SvTabListBox::SetTabEditable().

void SalInstanceTreeView::set_column_fixed_widths ( const std::vector< int > &  rWidths)
overridevirtual
void SalInstanceTreeView::set_column_title ( int  nColumn,
const OUString &  rTitle 
)
overridevirtual
void SalInstanceTreeView::set_cursor ( int  pos)
overridevirtual
void SalInstanceTreeView::set_cursor ( const weld::TreeIter rIter)
overridevirtual
void SalInstanceTreeView::set_extra_row_indent ( const weld::TreeIter rIter,
int  nIndentLevel 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4200 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and SvTreeListEntry::SetExtraIndent().

void SalInstanceTreeView::set_font_color ( SvTreeListEntry pEntry,
const Color rColor 
)
staticprotected

Definition at line 3463 of file salvtables.cxx.

References COL_AUTO(), and SvTreeListEntry::SetTextColor().

Referenced by set_font_color().

void SalInstanceTreeView::set_font_color ( int  pos,
const Color rColor 
)
overridevirtual

Implements weld::TreeView.

Definition at line 3902 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_font_color().

void SalInstanceTreeView::set_font_color ( const weld::TreeIter rIter,
const Color rColor 
)
overridevirtual

Implements weld::TreeView.

Definition at line 3908 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_font_color().

void SalInstanceTreeView::set_header_item_width ( const std::vector< int > &  rWidths)
protected
void SalInstanceTreeView::set_id ( SvTreeListEntry pEntry,
const OUString &  rId 
)

Definition at line 4366 of file salvtables.cxx.

References m_aUserData, and SvTreeListEntry::SetUserData().

Referenced by set_id().

void SalInstanceTreeView::set_id ( int  pos,
const OUString &  rId 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4372 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_id().

void SalInstanceTreeView::set_id ( const weld::TreeIter rIter,
const OUString &  rId 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4634 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_id().

void SalInstanceTreeView::set_image ( SvTreeListEntry pEntry,
const Image rImage,
int  col 
)
void SalInstanceTreeView::set_image ( int  pos,
const OUString &  rImage,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4315 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_image().

void SalInstanceTreeView::set_image ( int  pos,
const css::uno::Reference< css::graphic::XGraphic > &  rImage,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4320 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_image().

void SalInstanceTreeView::set_image ( int  pos,
VirtualDevice rImage,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4327 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_image().

void SalInstanceTreeView::set_image ( const weld::TreeIter rIter,
const OUString &  rImage,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4332 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_image().

void SalInstanceTreeView::set_image ( const weld::TreeIter rIter,
const css::uno::Reference< css::graphic::XGraphic > &  rImage,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4338 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_image().

void SalInstanceTreeView::set_image ( const weld::TreeIter rIter,
VirtualDevice rImage,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4346 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_image().

void SalInstanceTreeView::set_selection_mode ( SelectionMode  eMode)
overridevirtual

Implements weld::TreeView.

Definition at line 4646 of file salvtables.cxx.

References m_xTreeView, and SvTreeListBox::SetSelectionMode().

void SalInstanceTreeView::set_sensitive ( SvTreeListEntry pEntry,
bool  bSensitive,
int  col 
)
void SalInstanceTreeView::set_sensitive ( int  pos,
bool  bSensitive,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4148 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_sensitive().

void SalInstanceTreeView::set_sensitive ( const weld::TreeIter rIter,
bool  bSensitive,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4154 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_sensitive().

void SalInstanceTreeView::set_show_expanders ( bool  bShow)
overridevirtual

Implements weld::TreeView.

Definition at line 4898 of file salvtables.cxx.

References m_xTreeView, and SvTreeListBox::set_property().

void SalInstanceTreeView::set_sort_column ( int  nColumn)
overridevirtual
void SalInstanceTreeView::set_sort_func ( const std::function< int(const weld::TreeIter &, const weld::TreeIter &)> &  func)
overridevirtual
void SalInstanceTreeView::set_sort_indicator ( TriState  eState,
int  col 
)
overridevirtual
void SalInstanceTreeView::set_sort_order ( bool  bAscending)
overridevirtual
void SalInstanceTreeView::set_text ( SvTreeListEntry pEntry,
const OUString &  rText,
int  col 
)
void SalInstanceTreeView::set_text ( int  pos,
const OUString &  rText,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Reimplemented in JSTreeView.

Definition at line 4111 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_text().

void SalInstanceTreeView::set_text ( const weld::TreeIter rIter,
const OUString &  rText,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Reimplemented in JSTreeView.

Definition at line 4619 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_text().

void SalInstanceTreeView::set_text_align ( SvTreeListEntry pEntry,
double  fAlign,
int  col 
)
void SalInstanceTreeView::set_text_align ( const weld::TreeIter rIter,
double  fAlign,
int  col 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4254 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_text_align().

void SalInstanceTreeView::set_text_align ( int  pos,
double  fAlign,
int  col 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4260 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_text_align().

void SalInstanceTreeView::set_text_emphasis ( SvTreeListEntry pEntry,
bool  bOn,
int  col = -1 
)
void SalInstanceTreeView::set_text_emphasis ( const weld::TreeIter rIter,
bool  bOn,
int  col 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4218 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_text_emphasis().

void SalInstanceTreeView::set_text_emphasis ( int  pos,
bool  bOn,
int  col 
)
overridevirtual

Implements weld::TreeView.

Definition at line 4224 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_text_emphasis().

void SalInstanceTreeView::set_toggle ( SvTreeListEntry pEntry,
TriState  eState,
int  col 
)
protected
void SalInstanceTreeView::set_toggle ( int  pos,
TriState  eState,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Reimplemented in JSTreeView.

Definition at line 4183 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), m_xTreeView, and set_toggle().

void SalInstanceTreeView::set_toggle ( const weld::TreeIter rIter,
TriState  eState,
int  col = -1 
)
overridevirtual

Implements weld::TreeView.

Reimplemented in JSTreeView.

Definition at line 4189 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_toggle().

void SalInstanceTreeView::show ( )
overridevirtual
void SalInstanceTreeView::start_editing ( const weld::TreeIter rIter)
overridevirtual

Implements weld::TreeView.

Definition at line 4273 of file salvtables.cxx.

References SvTreeListBox::EditEntry(), SalInstanceTreeIter::iter, and m_xTreeView.

void SalInstanceTreeView::swap ( int  pos1,
int  pos2 
)
overridevirtual
void SalInstanceTreeView::thaw ( )
overridevirtual
int SalInstanceTreeView::to_external_model ( int  col) const
protected

Definition at line 3438 of file salvtables.cxx.

References CHKBTN, m_xTreeView, and SvTreeListBox::nTreeFlags.

int SalInstanceTreeView::to_internal_model ( int  col) const
protected
void SalInstanceTreeView::unselect ( int  pos)
overridevirtual
void SalInstanceTreeView::unselect ( const weld::TreeIter rIter)
overridevirtual
void SalInstanceTreeView::unset_drag_dest_row ( )
overridevirtual

Implements weld::TreeView.

Definition at line 4868 of file salvtables.cxx.

References m_xTreeView.

void SalInstanceTreeView::update_checkbutton_column_width ( SvTreeListEntry pEntry)
protected
int SalInstanceTreeView::vadjustment_get_value ( ) const
overridevirtual
void SalInstanceTreeView::vadjustment_set_value ( int  nValue)
overridevirtual
void SalInstanceTreeView::visible_foreach ( const std::function< bool(weld::TreeIter &)> &  func)
overridevirtual

Member Data Documentation

SvLBoxButtonData SalInstanceTreeView::m_aCheckButtonData
protected
o3tl::sorted_vector<int> SalInstanceTreeView::m_aCustomRenders
protected

Definition at line 1356 of file salvtables.hxx.

Referenced by AddStringItem(), and set_column_custom_renderer().

o3tl::sorted_vector<SvTreeListEntry*> SalInstanceTreeView::m_aExpandingPlaceHolderParents
protected

Definition at line 1354 of file salvtables.hxx.

Referenced by get_children_on_demand().

SvLBoxButtonData SalInstanceTreeView::m_aRadioButtonData
protected
std::vector<std::unique_ptr<OUString> > SalInstanceTreeView::m_aUserData
protected

Definition at line 1348 of file salvtables.hxx.

Referenced by clear(), do_insert(), and set_id().

bool SalInstanceTreeView::m_bTogglesAsRadio
protected

Definition at line 1357 of file salvtables.hxx.

Referenced by do_set_toggle(), enable_toggle_buttons(), and set_toggle().

int SalInstanceTreeView::m_nSortColumn
protected

Definition at line 1358 of file salvtables.hxx.

Referenced by get_sort_column(), and set_sort_column().

VclPtr<SvTabListBox> SalInstanceTreeView::m_xTreeView
protected

Definition at line 1349 of file salvtables.hxx.

Referenced by all_foreach(), bulk_insert_for_each(), clear(), collapse_row(), columns_autosize(), connect_editing(), connect_query_tooltip(), connect_visible_range_changed(), count_selected_rows(), do_insert(), enable_drag_source(), enable_toggle_buttons(), end_editing(), expand_row(), find_id(), find_text(), freeze(), get_column_title(), get_column_width(), get_cursor(), get_cursor_index(), get_dest_row_at_pos(), get_height_rows(), get_iter_abs_pos(), get_iter_depth(), get_iter_first(), get_row_area(), get_row_expanded(), get_selected(), get_selected_id(), get_selected_index(), get_selected_rows(), get_selected_text(), get_sort_indicator(), get_sort_order(), get_text(), get_text_emphasis(), get_toggle(), getEntryData(), GetPlaceHolderChild(), getTreeView(), hide(), InvalidateModelEntry(), is_selected(), IsDummyEntry(), iter_children(), iter_compare(), iter_n_children(), iter_next(), iter_parent(), iter_previous(), make_sorted(), make_unsorted(), move_subtree(), n_children(), queue_draw(), remove(), remove_selection(), SalInstanceTreeView(), scroll_to_row(), select(), selected_foreach(), set_centered_column(), set_children_on_demand(), set_clicks_to_toggle(), set_column_editables(), set_column_fixed_widths(), set_column_title(), set_cursor(), set_font_color(), set_header_item_width(), set_id(), set_image(), set_selection_mode(), set_sensitive(), set_show_expanders(), set_sort_column(), set_sort_func(), set_sort_indicator(), set_sort_order(), set_text(), set_text_align(), set_text_emphasis(), set_toggle(), show(), start_editing(), swap(), thaw(), to_external_model(), to_internal_model(), unselect(), unset_drag_dest_row(), update_checkbutton_column_width(), vadjustment_get_value(), vadjustment_set_value(), visible_foreach(), and ~SalInstanceTreeView().


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