LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Private Types | Private Member Functions | Private Attributes | List of all members
SalInstanceTreeView Class Reference
Inheritance diagram for SalInstanceTreeView:
[legend]
Collaboration diagram for SalInstanceTreeView:
[legend]

Public Member Functions

 SalInstanceTreeView (SvTabListBox *pTreeView, SalInstanceBuilder *pBuilder, bool bTakeOwnership)
 
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_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 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, const OUString *pExpanderName, bool bChildrenOnDemand, weld::TreeIter *pRet) override
 
virtual void bulk_insert_for_each (int nSourceCount, const std::function< void(weld::TreeIter &, int nSourceIndex)> &func, const std::vector< int > *pFixedWidths) override
 
virtual void set_font_color (int pos, const Color &rColor) const override
 
virtual void set_font_color (const weld::TreeIter &rIter, const Color &rColor) const 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 set_top_entry (int pos) override
 
virtual void swap (int pos1, int pos2) override
 
virtual void clear () override
 
virtual int n_children () 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
 
virtual OUString get_text (int pos, int col) const override
 
void set_text (SvTreeListEntry *pEntry, const OUString &rText, int col)
 
virtual void set_text (int pos, const OUString &rText, int col) override
 
void set_sensitive (SvTreeListEntry *pEntry, bool bSensitive, int col)
 
virtual void set_sensitive (int pos, bool bSensitive, int col) override
 
virtual void set_sensitive (const weld::TreeIter &rIter, bool bSensitive, int col) override
 
virtual TriState get_toggle (int pos, int col) const override
 
virtual TriState get_toggle (const weld::TreeIter &rIter, int col) const override
 
void set_toggle (SvTreeListEntry *pEntry, TriState eState, int col)
 
virtual void set_toggle (int pos, TriState eState, int col) override
 
virtual void set_toggle (const weld::TreeIter &rIter, TriState eState, int col) override
 
void set_text_emphasis (SvTreeListEntry *pEntry, bool bOn, int col)
 
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
 
virtual void connect_editing_started (const Link< const weld::TreeIter &, bool > &rLink) override
 
virtual void connect_editing_done (const Link< const std::pair< const weld::TreeIter &, OUString > &, bool > &rLink) 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) override
 
virtual void set_image (int pos, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col) override
 
virtual void set_image (int pos, VirtualDevice &rImage, int col) override
 
virtual void set_image (const weld::TreeIter &rIter, const css::uno::Reference< css::graphic::XGraphic > &rImage, int col) override
 
virtual void set_image (const weld::TreeIter &rIter, const OUString &rImage, int col) 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) 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 iter_next_sibling (weld::TreeIter &rIter) const override
 
virtual bool iter_next (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 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) const override
 
virtual void set_text (const weld::TreeIter &rIter, const OUString &rText, int col) 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 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) override
 
virtual TreeView * get_drag_source () const override
 
virtual ~SalInstanceTreeView () override
 
- Public Member Functions inherited from SalInstanceContainer
 SalInstanceContainer (vcl::Window *pContainer, SalInstanceBuilder *pBuilder, bool bTakeOwnership)
 
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 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_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_left (int nMargin) override
 
virtual void set_margin_right (int nMargin) override
 
virtual int get_margin_top () const override
 
virtual int get_margin_bottom () const override
 
virtual int get_margin_left () const override
 
virtual int get_margin_right () const override
 
virtual void set_accessible_name (const OUString &rName) 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 add_extra_accessible_relation (const css::accessibility::AccessibleRelation &rRelation) override
 
virtual void clear_extra_accessible_relations () 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 (Widget &rRelative, int &x, int &y, int &width, int &height) 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 std::unique_ptr< weld::Containerweld_parent () const override
 
virtual ~SalInstanceWidget () override
 
vcl::WindowgetWidget ()
 
void disable_notify_events ()
 
bool notify_events_disabled ()
 
void enable_notify_events ()
 
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 void set_stack_background () override
 
virtual void set_highlight_background () override
 
SystemWindowgetSystemWindow ()
 
- Public Member Functions inherited from weld::Widget
virtual void set_visible (bool visible)
 
virtual bool get_extents_relative_to (Widget &rRelative, int &x, int &y, int &width, int &height)=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::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 &rId, const OUString &rStr, const OUString &rImage)
 
void append (const TreeIter *pParent, const OUString &rStr)
 
void append (const OUString &rId, const OUString &rStr, VirtualDevice &rImage)
 
void connect_changed (const Link< TreeView &, void > &rLink)
 
void connect_row_activated (const Link< TreeView &, bool > &rLink)
 
void connect_toggled (const Link< const std::pair< int, int > &, 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)
 
virtual void connect_popup_menu (const Link< const CommandEvent &, 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 set_toggle_columns_as_radio (const std::vector< int > &rCols)
 
void save_value ()
 
OUString const & get_saved_value () const
 
bool get_value_changed_from_saved () const
 

Static Public Member Functions

static OUString get_text (SvTreeListEntry *pEntry, int col)
 

Private Types

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

Private 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 *, void)
 
 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)
 

Private Attributes

std::vector< std::unique_ptr< OUString > > m_aUserData
 
VclPtr< SvTabListBoxm_xTreeView
 
SvLBoxButtonData m_aCheckButtonData
 
SvLBoxButtonData m_aRadioButtonData
 
bool m_bDisableCheckBoxAutoWidth
 
int m_nSortColumn
 

Additional Inherited Members

- Protected Member Functions inherited from SalInstanceWidget
void ensure_event_listener ()
 
void ensure_key_listener ()
 
void ensure_mouse_listener ()
 
virtual void HandleEventListener (VclWindowEvent &rEvent)
 
virtual bool HandleKeyEventListener (VclWindowEvent &rEvent)
 
virtual void HandleMouseEventListener (VclSimpleEvent &rEvent)
 
void set_background (const Color &rColor)
 
- 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)
 
void signal_visible_range_changed ()
 
void signal_model_changed ()
 
void signal_toggled (const std::pair< int, int > &rRowCol)
 
bool signal_editing_started (const TreeIter &rIter)
 
bool signal_editing_done (const std::pair< const TreeIter &, OUString > &rIterText)
 
- 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::TreeView
Link< TreeView &, voidm_aChangeHdl
 
Link< TreeView &, bool > m_aRowActivatedHdl
 
Link< int, voidm_aColumnClickedHdl
 
Link< const std::pair< int, int > &, voidm_aRadioToggleHdl
 
Link< const TreeIter &, bool > m_aEditingStartedHdl
 
Link< const std::pair< const TreeIter &, OUString > &, bool > m_aEditingDoneHdl
 
Link< const TreeIter &, bool > m_aExpandingHdl
 
Link< TreeView &, voidm_aVisibleRangeChangedHdl
 
Link< TreeView &, voidm_aModelChangedHdl
 
Link< const CommandEvent &, bool > m_aPopupMenuHdl
 
std::function< int(const weld::TreeIter &, const weld::TreeIter &)> m_aCustomSort
 
std::vector< intm_aRadioIndexes
 

Detailed Description

Definition at line 3268 of file salvtables.cxx.

Member Typedef Documentation

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

Definition at line 3290 of file salvtables.cxx.

Constructor & Destructor Documentation

SalInstanceTreeView::SalInstanceTreeView ( SvTabListBox pTreeView,
SalInstanceBuilder pBuilder,
bool  bTakeOwnership 
)
inline
virtual SalInstanceTreeView::~SalInstanceTreeView ( )
inlineoverridevirtual

Member Function Documentation

virtual void SalInstanceTreeView::all_foreach ( const std::function< bool(weld::TreeIter &)> &  func)
inlineoverridevirtual
virtual void SalInstanceTreeView::bulk_insert_for_each ( int  nSourceCount,
const std::function< void(weld::TreeIter &, int nSourceIndex)> &  func,
const std::vector< int > *  pFixedWidths 
)
inlineoverridevirtual
virtual void SalInstanceTreeView::clear ( )
inlineoverridevirtual
virtual void SalInstanceTreeView::collapse_row ( const weld::TreeIter rIter)
inlineoverridevirtual
virtual void SalInstanceTreeView::columns_autosize ( )
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3337 of file salvtables.cxx.

References SvTreeListBox::getPreferredDimensions(), i, and set_column_fixed_widths().

virtual void SalInstanceTreeView::connect_editing_done ( const Link< const std::pair< const weld::TreeIter &, OUString > &, bool > &  rLink)
inlineoverridevirtual
virtual void SalInstanceTreeView::connect_editing_started ( const Link< const weld::TreeIter &, bool > &  rLink)
inlineoverridevirtual
virtual void SalInstanceTreeView::connect_visible_range_changed ( const Link< weld::TreeView &, void > &  rLink)
inlineoverridevirtual
virtual void SalInstanceTreeView::copy_iterator ( const weld::TreeIter rSource,
weld::TreeIter rDest 
) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4021 of file salvtables.cxx.

References SalInstanceTreeIter::iter.

virtual int SalInstanceTreeView::count_selected_rows ( ) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4284 of file salvtables.cxx.

References SvListView::GetSelectionCount().

SalInstanceTreeView::DECL_LINK ( SelectHdl  ,
SvTreeListBox ,
void   
)
private
SalInstanceTreeView::DECL_LINK ( DeSelectHdl  ,
SvTreeListBox ,
void   
)
private
SalInstanceTreeView::DECL_LINK ( DoubleClickHdl  ,
SvTreeListBox ,
bool   
)
private
SalInstanceTreeView::DECL_LINK ( ExpandingHdl  ,
SvTreeListBox ,
bool   
)
private
SalInstanceTreeView::DECL_LINK ( EndDragHdl  ,
HeaderBar ,
void   
)
private
SalInstanceTreeView::DECL_LINK ( HeaderBarClickedHdl  ,
HeaderBar ,
void   
)
private
SalInstanceTreeView::DECL_LINK ( ToggleHdl  ,
SvLBoxButtonData ,
void   
)
private
SalInstanceTreeView::DECL_LINK ( ModelChangedHdl  ,
SvTreeListBox ,
void   
)
private
SalInstanceTreeView::DECL_LINK ( StartDragHdl  ,
SvTreeListBox ,
void   
)
private
SalInstanceTreeView::DECL_LINK ( EditingEntryHdl  ,
SvTreeListEntry ,
bool   
)
private
SalInstanceTreeView::DECL_LINK ( EditedEntryHdl  ,
IterString  ,
bool   
)
private
SalInstanceTreeView::DECL_LINK ( VisibleRangeChangedHdl  ,
SvTreeListBox ,
void   
)
private
SalInstanceTreeView::DECL_LINK ( CompareHdl  ,
const SvSortData ,
sal_Int32   
)
private
SalInstanceTreeView::DECL_LINK ( PopupMenuHdl  ,
const CommandEvent ,
bool   
)
private
SalInstanceTreeView::DECL_STATIC_LINK ( SalInstanceTreeView  ,
FinishDragHdl  ,
SvTreeListBox ,
void   
)
private
virtual void SalInstanceTreeView::end_editing ( )
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3896 of file salvtables.cxx.

References SvTreeListBox::EndEditing().

virtual void SalInstanceTreeView::expand_row ( const weld::TreeIter rIter)
inlineoverridevirtual
virtual int SalInstanceTreeView::find_id ( const OUString &  rId) const
inlineoverridevirtual
virtual int SalInstanceTreeView::find_text ( const OUString &  rText) const
inlineoverridevirtual
virtual void SalInstanceTreeView::freeze ( )
inlineoverridevirtual

Reimplemented from SalInstanceWidget.

Definition at line 3350 of file salvtables.cxx.

References SalInstanceWidget::freeze(), and SvTreeListBox::SetUpdateMode().

Referenced by bulk_insert_for_each().

virtual OUString SalInstanceTreeView::get_column_title ( int  nColumn) const
inlineoverridevirtual
virtual int SalInstanceTreeView::get_column_width ( int  nColumn) const
inlineoverridevirtual
virtual bool SalInstanceTreeView::get_cursor ( weld::TreeIter pIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4037 of file salvtables.cxx.

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

virtual int SalInstanceTreeView::get_cursor_index ( ) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3605 of file salvtables.cxx.

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

virtual bool SalInstanceTreeView::get_dest_row_at_pos ( const Point rPos,
weld::TreeIter pResult 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4394 of file salvtables.cxx.

References SvTreeListBox::GetDropTarget(), and SalInstanceTreeIter::iter.

virtual TreeView* SalInstanceTreeView::get_drag_source ( ) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4407 of file salvtables.cxx.

References g_DragSource.

virtual int SalInstanceTreeView::get_height_rows ( int  nRows) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4289 of file salvtables.cxx.

References SvTreeListBox::GetEntryHeight().

virtual OUString SalInstanceTreeView::get_id ( int  pos) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3968 of file salvtables.cxx.

References getEntryData().

virtual OUString SalInstanceTreeView::get_id ( const weld::TreeIter rIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4179 of file salvtables.cxx.

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

virtual int SalInstanceTreeView::get_iter_depth ( const weld::TreeIter rIter) const
inlineoverridevirtual
virtual bool SalInstanceTreeView::get_iter_first ( weld::TreeIter rIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4052 of file salvtables.cxx.

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

virtual int SalInstanceTreeView::get_iter_index_in_parent ( const weld::TreeIter rIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4257 of file salvtables.cxx.

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

virtual bool SalInstanceTreeView::get_row_expanded ( const weld::TreeIter rIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4146 of file salvtables.cxx.

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

virtual bool SalInstanceTreeView::get_selected ( weld::TreeIter pIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4028 of file salvtables.cxx.

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

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

Implements weld::TreeView.

Definition at line 4368 of file salvtables.cxx.

References m_nSortColumn.

virtual TriState SalInstanceTreeView::get_sort_indicator ( int  col) const
inlineoverridevirtual
virtual bool SalInstanceTreeView::get_sort_order ( ) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4321 of file salvtables.cxx.

References SvTreeListBox::GetModel(), SvTreeList::GetSortMode(), and SortAscending.

static OUString SalInstanceTreeView::get_text ( SvTreeListEntry pEntry,
int  col 
)
inlinestatic
virtual OUString SalInstanceTreeView::get_text ( int  pos,
int  col 
) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3680 of file salvtables.cxx.

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

virtual OUString SalInstanceTreeView::get_text ( const weld::TreeIter rIter,
int  col 
) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4167 of file salvtables.cxx.

References get_text(), and SalInstanceTreeIter::iter.

virtual bool SalInstanceTreeView::get_text_emphasis ( const weld::TreeIter rIter,
int  col 
) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3866 of file salvtables.cxx.

References SalInstanceTreeIter::iter.

virtual bool SalInstanceTreeView::get_text_emphasis ( int  pos,
int  col 
) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3872 of file salvtables.cxx.

References SvTreeListBox::GetEntry().

virtual TriState SalInstanceTreeView::get_toggle ( int  pos,
int  col 
) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3763 of file salvtables.cxx.

References SvTreeListBox::GetEntry().

virtual TriState SalInstanceTreeView::get_toggle ( const weld::TreeIter rIter,
int  col 
) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3769 of file salvtables.cxx.

References SalInstanceTreeIter::iter.

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

Definition at line 3962 of file salvtables.cxx.

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

Referenced by get_id().

SvTabListBox& SalInstanceTreeView::getTreeView ( )
inline

Definition at line 4389 of file salvtables.cxx.

References m_xTreeView.

virtual void SalInstanceTreeView::hide ( )
inlineoverridevirtual

Reimplemented from SalInstanceWidget.

Definition at line 3423 of file salvtables.cxx.

References VclPtr< reference_type >::get(), and SalInstanceWidget::hide().

virtual void SalInstanceTreeView::insert ( const weld::TreeIter pParent,
int  pos,
const OUString *  pStr,
const OUString *  pId,
const OUString *  pIconName,
VirtualDevice pImageSurface,
const OUString *  pExpanderName,
bool  bChildrenOnDemand,
weld::TreeIter pRet 
)
inlineoverridevirtual
virtual bool SalInstanceTreeView::is_selected ( int  pos) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3633 of file salvtables.cxx.

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

virtual bool SalInstanceTreeView::is_selected ( const weld::TreeIter rIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4251 of file salvtables.cxx.

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

virtual bool SalInstanceTreeView::iter_children ( weld::TreeIter rIter) const
inlineoverridevirtual
virtual int SalInstanceTreeView::iter_compare ( const weld::TreeIter a,
const weld::TreeIter b 
) const
inlineoverridevirtual
virtual bool SalInstanceTreeView::iter_has_child ( const weld::TreeIter rIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4136 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and iter_children().

virtual bool SalInstanceTreeView::iter_next ( weld::TreeIter rIter) const
inlineoverridevirtual
virtual bool SalInstanceTreeView::iter_next_sibling ( weld::TreeIter rIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4059 of file salvtables.cxx.

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

virtual bool SalInstanceTreeView::iter_parent ( weld::TreeIter rIter) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4088 of file salvtables.cxx.

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

virtual std::unique_ptr<weld::TreeIter> SalInstanceTreeView::make_iterator ( const weld::TreeIter pOrig) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4016 of file salvtables.cxx.

virtual void SalInstanceTreeView::make_sorted ( )
inlineoverridevirtual
virtual void SalInstanceTreeView::make_unsorted ( )
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4309 of file salvtables.cxx.

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

Referenced by set_sort_column().

virtual void SalInstanceTreeView::move_subtree ( weld::TreeIter rNode,
const weld::TreeIter pNewParent,
int  nIndexInNewParent 
)
inlineoverridevirtual
virtual int SalInstanceTreeView::n_children ( ) const
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3585 of file salvtables.cxx.

References SvTreeList::GetChildList(), and SvTreeListBox::GetModel().

Referenced by select().

virtual void SalInstanceTreeView::remove ( int  pos)
inlineoverridevirtual
virtual void SalInstanceTreeView::remove ( const weld::TreeIter rIter)
inlineoverridevirtual
virtual void SalInstanceTreeView::remove_selection ( )
inlineoverridevirtual
virtual void SalInstanceTreeView::scroll_to_row ( int  pos)
inlineoverridevirtual
virtual void SalInstanceTreeView::scroll_to_row ( const weld::TreeIter rIter)
inlineoverridevirtual
virtual void SalInstanceTreeView::select ( int  pos)
inlineoverridevirtual
virtual void SalInstanceTreeView::select ( const weld::TreeIter rIter)
inlineoverridevirtual
virtual void SalInstanceTreeView::selected_foreach ( const std::function< bool(weld::TreeIter &)> &  func)
inlineoverridevirtual
virtual void SalInstanceTreeView::set_centered_column ( int  nCol)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3380 of file salvtables.cxx.

References AdjustCenter, and SvTabListBox::SetTabJustify().

virtual void SalInstanceTreeView::set_column_fixed_widths ( const std::vector< int > &  rWidths)
inlineoverridevirtual
virtual void SalInstanceTreeView::set_column_title ( int  nColumn,
const OUString &  rTitle 
)
inlineoverridevirtual
virtual void SalInstanceTreeView::set_cursor ( int  pos)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3613 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), and SvTreeListBox::SetCurEntry().

virtual void SalInstanceTreeView::set_cursor ( const weld::TreeIter rIter)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4046 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and SvTreeListBox::SetCurEntry().

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

Implements weld::TreeView.

Definition at line 3519 of file salvtables.cxx.

References SvTreeListBox::GetEntry(), and SvTreeListEntry::SetTextColor().

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

Implements weld::TreeView.

Definition at line 3525 of file salvtables.cxx.

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

void SalInstanceTreeView::set_id ( SvTreeListEntry pEntry,
const OUString &  rId 
)
inline

Definition at line 3976 of file salvtables.cxx.

References SvTreeListEntry::SetUserData().

Referenced by set_id().

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

Implements weld::TreeView.

Definition at line 3982 of file salvtables.cxx.

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

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

Implements weld::TreeView.

Definition at line 4188 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_id().

void SalInstanceTreeView::set_image ( SvTreeListEntry pEntry,
const Image rImage,
int  col 
)
inline
virtual void SalInstanceTreeView::set_image ( int  pos,
const OUString &  rImage,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3935 of file salvtables.cxx.

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

virtual void SalInstanceTreeView::set_image ( int  pos,
const css::uno::Reference< css::graphic::XGraphic > &  rImage,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3940 of file salvtables.cxx.

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

virtual void SalInstanceTreeView::set_image ( int  pos,
VirtualDevice rImage,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3945 of file salvtables.cxx.

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

virtual void SalInstanceTreeView::set_image ( const weld::TreeIter rIter,
const css::uno::Reference< css::graphic::XGraphic > &  rImage,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3950 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_image().

virtual void SalInstanceTreeView::set_image ( const weld::TreeIter rIter,
const OUString &  rImage,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3956 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_image().

virtual void SalInstanceTreeView::set_selection_mode ( SelectionMode  eMode)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4194 of file salvtables.cxx.

References SvTreeListBox::SetSelectionMode().

void SalInstanceTreeView::set_sensitive ( SvTreeListEntry pEntry,
bool  bSensitive,
int  col 
)
inline
virtual void SalInstanceTreeView::set_sensitive ( int  pos,
bool  bSensitive,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3751 of file salvtables.cxx.

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

virtual void SalInstanceTreeView::set_sensitive ( const weld::TreeIter rIter,
bool  bSensitive,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3757 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_sensitive().

virtual void SalInstanceTreeView::set_sort_column ( int  nColumn)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4373 of file salvtables.cxx.

References SvTreeListBox::GetModel(), make_unsorted(), and SvTreeList::Resort().

virtual void SalInstanceTreeView::set_sort_func ( const std::function< int(const weld::TreeIter &, const weld::TreeIter &)> &  func)
inlineoverridevirtual
virtual void SalInstanceTreeView::set_sort_indicator ( TriState  eState,
int  col 
)
inlineoverridevirtual
virtual void SalInstanceTreeView::set_sort_order ( bool  bAscending)
inlineoverridevirtual
void SalInstanceTreeView::set_text ( SvTreeListEntry pEntry,
const OUString &  rText,
int  col 
)
inline
virtual void SalInstanceTreeView::set_text ( int  pos,
const OUString &  rText,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3716 of file salvtables.cxx.

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

virtual void SalInstanceTreeView::set_text ( const weld::TreeIter rIter,
const OUString &  rText,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 4173 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_text().

void SalInstanceTreeView::set_text_emphasis ( SvTreeListEntry pEntry,
bool  bOn,
int  col 
)
inline
virtual void SalInstanceTreeView::set_text_emphasis ( const weld::TreeIter rIter,
bool  bOn,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3854 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_text_emphasis().

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

Implements weld::TreeView.

Definition at line 3860 of file salvtables.cxx.

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

void SalInstanceTreeView::set_toggle ( SvTreeListEntry pEntry,
TriState  eState,
int  col 
)
inline
virtual void SalInstanceTreeView::set_toggle ( int  pos,
TriState  eState,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3830 of file salvtables.cxx.

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

virtual void SalInstanceTreeView::set_toggle ( const weld::TreeIter rIter,
TriState  eState,
int  col 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3836 of file salvtables.cxx.

References SalInstanceTreeIter::iter, and set_toggle().

virtual void SalInstanceTreeView::set_top_entry ( int  pos)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3562 of file salvtables.cxx.

References SvTreeList::GetEntry(), SvTreeListBox::GetModel(), and SvTreeList::Move().

virtual void SalInstanceTreeView::show ( )
inlineoverridevirtual

Reimplemented from SalInstanceWidget.

Definition at line 3416 of file salvtables.cxx.

References VclPtr< reference_type >::get(), and SalInstanceWidget::show().

virtual void SalInstanceTreeView::start_editing ( const weld::TreeIter rIter)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3890 of file salvtables.cxx.

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

virtual void SalInstanceTreeView::swap ( int  pos1,
int  pos2 
)
inlineoverridevirtual

Implements weld::TreeView.

Definition at line 3569 of file salvtables.cxx.

References SvTreeList::GetEntry(), SvTreeListBox::GetModel(), and SvTreeList::Move().

virtual void SalInstanceTreeView::thaw ( )
inlineoverridevirtual

Reimplemented from SalInstanceWidget.

Definition at line 3356 of file salvtables.cxx.

References SvTreeListBox::SetUpdateMode(), and SalInstanceWidget::thaw().

Referenced by bulk_insert_for_each().

virtual void SalInstanceTreeView::unselect ( int  pos)
inlineoverridevirtual
virtual void SalInstanceTreeView::unselect ( const weld::TreeIter rIter)
inlineoverridevirtual
virtual void SalInstanceTreeView::visible_foreach ( const std::function< bool(weld::TreeIter &)> &  func)
inlineoverridevirtual

Member Data Documentation

SvLBoxButtonData SalInstanceTreeView::m_aCheckButtonData
private

Definition at line 3274 of file salvtables.cxx.

Referenced by set_toggle().

SvLBoxButtonData SalInstanceTreeView::m_aRadioButtonData
private

Definition at line 3275 of file salvtables.cxx.

std::vector<std::unique_ptr<OUString> > SalInstanceTreeView::m_aUserData
private

Definition at line 3272 of file salvtables.cxx.

bool SalInstanceTreeView::m_bDisableCheckBoxAutoWidth
private

Definition at line 3276 of file salvtables.cxx.

int SalInstanceTreeView::m_nSortColumn
private

Definition at line 3277 of file salvtables.cxx.

Referenced by get_sort_column().

VclPtr<SvTabListBox> SalInstanceTreeView::m_xTreeView
private

Definition at line 3273 of file salvtables.cxx.

Referenced by getTreeView().


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