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

#include <svimpbox.hxx>

Collaboration diagram for SvImpLBox:
[legend]

Public Member Functions

 SvImpLBox (SvTreeListBox *pView, SvTreeList *, WinBits nWinStyle)
 
virtual ~SvImpLBox ()
 
void Clear ()
 
void SetStyle (WinBits i_nWinStyle)
 
void SetNoAutoCurEntry (bool b)
 
void SetModel (SvTreeList *pModel)
 
void EntryInserted (SvTreeListEntry *)
 
void RemovingEntry (SvTreeListEntry *pEntry)
 
void EntryRemoved ()
 
void MovingEntry (SvTreeListEntry *pEntry)
 
void EntryMoved (SvTreeListEntry *pEntry)
 
void TreeInserted (SvTreeListEntry *pEntry)
 
void EntryExpanded (SvTreeListEntry *pEntry)
 
void EntryCollapsed (SvTreeListEntry *pEntry)
 
void CollapsingEntry (SvTreeListEntry *pEntry)
 
void EntrySelected (SvTreeListEntry *pEntry, bool bSelect)
 
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
void MouseButtonDown (const MouseEvent &)
 
void MouseButtonUp (const MouseEvent &)
 
void MouseMove (const MouseEvent &)
 
virtual bool KeyInput (const KeyEvent &)
 
void Resize ()
 
void GetFocus ()
 
void LoseFocus ()
 
virtual void UpdateAll (bool bInvalidateCompleteView)
 
void SetEntryHeight ()
 
void InvalidateEntry (SvTreeListEntry *)
 
void RecalcFocusRect ()
 
void SelectEntry (SvTreeListEntry *pEntry, bool bSelect)
 
void SetDragDropMode (DragDropMode eDDMode)
 
void SetSelectionMode (SelectionMode eSelMode)
 
SvTreeListEntryGetCurrentEntry () const
 
virtual bool IsEntryInView (SvTreeListEntry *pEntry) const
 
virtual SvTreeListEntryGetEntry (const Point &rPos) const
 
virtual SvTreeListEntryGetClickedEntry (const Point &) const
 
SvTreeListEntryGetCurEntry () const
 
void SetCurEntry (SvTreeListEntry *)
 
virtual Point GetEntryPosition (SvTreeListEntry *) const
 
void MakeVisible (SvTreeListEntry *pEntry, bool bMoveToTop=false)
 
void ScrollToAbsPos (long nPos)
 
void PaintDDCursor (SvTreeListEntry *pEntry, bool bShow)
 
ImageimplGetImageLocation (const ImageType _eType)
 
void SetExpandedNodeBmp (const Image &_rImg)
 
void SetCollapsedNodeBmp (const Image &_rImg)
 
const ImageGetExpandedNodeBmp ()
 
const ImageGetCollapsedNodeBmp ()
 
const ImageGetDontKnowNodeBmp ()
 
void SetDefaultEntryExpBmp (const Image &_rImg)
 
void SetDefaultEntryColBmp (const Image &_rImg)
 
const ImageGetDefaultEntryExpBmp ()
 
const ImageGetDefaultEntryColBmp ()
 
const SizeGetOutputSize () const
 
virtual void KeyUp (bool bPageUp)
 
virtual void KeyDown (bool bPageDown)
 
void Command (const CommandEvent &rCEvt)
 
void Invalidate ()
 
void DestroyAnchor ()
 
void SelAllDestrAnch (bool bSelect, bool bDestroyAnchor=true, bool bSingleSelToo=false)
 
void ShowCursor (bool bShow)
 
bool RequestHelp (const HelpEvent &rHEvt)
 
void EndSelection ()
 
bool IsNodeButton (const Point &rPosPixel, SvTreeListEntry *pEntry) const
 
void EnableAsyncDrag (bool b)
 
void SetUpdateMode (bool bMode)
 
bool GetUpdateMode () const
 
tools::Rectangle GetClipRegionRect () const
 
bool HasHorScrollBar () const
 
void ShowFocusRect (const SvTreeListEntry *pEntry)
 
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
 
bool IsCellFocusEnabled () const
 Enables, that one cell of a tablistbox entry can be focused. More...
 
void EnableCellFocus ()
 
bool SetCurrentTabPos (sal_uInt16 _nNewPos)
 
sal_uInt16 GetCurrentTabPos () const
 
bool IsSelectable (const SvTreeListEntry *pEntry)
 
void SetForceMakeVisible (bool bEnable)
 

Static Public Member Functions

static const ImageGetDefaultExpandedNodeImage ()
 
static const ImageGetDefaultCollapsedNodeImage ()
 

Protected Member Functions

virtual long GetEntryLine (SvTreeListEntry *pEntry) const
 
virtual void CursorDown ()
 
virtual void CursorUp ()
 
virtual void PageDown (sal_uInt16 nDelta)
 
virtual void PageUp (sal_uInt16 nDelta)
 
virtual void SyncVerThumb ()
 
virtual void AdjustScrollBars (Size &rSize)
 
virtual void InvalidateEntry (long nY) const
 
tools::Rectangle GetVisibleArea () const
 
void SetCursor (SvTreeListEntry *pEntry, bool bForceNoSelect=false)
 
void BeginScroll ()
 
void EndScroll ()
 
void PositionScrollBars (Size &rOSize, sal_uInt16 nMask)
 
void FindMostRight (SvTreeListEntry const *EntryToIgnore)
 
void FillView ()
 
void ShowVerSBar ()
 
void StopUserEvent ()
 
 DECL_LINK (MyUserEvent, void *, void)
 

Protected Attributes

VclPtr< SvTreeListBoxm_pView
 
VclPtr< ScrollBarm_aVerSBar
 
SvTreeListEntrym_pCursor
 
SvTreeListEntrym_pStartEntry
 
ImplSVEventm_nCurUserEvent
 
Size m_aOutputSize
 
LBoxFlags m_nFlags
 
WinBits m_nStyle
 
bool mbNoAutoCurEntry
 
SelectionEngine m_aSelEng
 
sal_uLong m_nVisibleCount
 
bool m_bInVScrollHdl: 1
 
bool m_bSimpleTravel: 1
 
long m_nNextVerVisSize
 
long m_nNodeBmpTabDistance
 

Private Types

enum  ImageType {
  ImageType::NodeExpanded = 0,
  ImageType::NodeCollapsed,
  ImageType::NodeDontKnow,
  ImageType::EntryDefExpanded,
  ImageType::EntryDefCollapsed,
  ImageType::LAST = EntryDefCollapsed
}
 When 0 all static images will be destroyed. More...
 

Private Member Functions

 DECL_LINK (EditTimerCall, Timer *, void)
 
 DECL_LINK (BeginDragHdl, Timer *, void)
 
void InvalidateEntriesFrom (long nY) const
 
bool IsLineVisible (long nY) const
 
void KeyLeftRight (long nDiff)
 
void DrawNet (vcl::RenderContext &rRenderContext)
 
 DECL_LINK (ScrollUpDownHdl, ScrollBar *, void)
 
 DECL_LINK (ScrollLeftRightHdl, ScrollBar *, void)
 
 DECL_LINK (EndScrollHdl, ScrollBar *, void)
 
void SetNodeBmpWidth (const Image &)
 
void SetNodeBmpTabDistance ()
 
SvTreeListEntryMakePointVisible (const Point &rPoint)
 
void SetAnchorSelection (SvTreeListEntry *pOld, SvTreeListEntry *pNewCursor)
 
void BeginDrag ()
 
bool ButtonDownCheckCtrl (const MouseEvent &rMEvt, SvTreeListEntry *pEntry)
 
bool MouseMoveCheckCtrl (const MouseEvent &rMEvt, SvTreeListEntry const *pEntry)
 
bool ButtonUpCheckCtrl (const MouseEvent &rMEvt)
 
bool ButtonDownCheckExpand (const MouseEvent &, SvTreeListEntry *)
 
bool EntryReallyHit (SvTreeListEntry *pEntry, const Point &rPos, long nLine)
 
void InitScrollBarBox ()
 
SvLBoxTabNextTab (SvLBoxTab const *)
 
bool SetMostRight (SvTreeListEntry *pEntry)
 
void FindMostRight (SvTreeListEntry *pParent, SvTreeListEntry *EntryToIgnore)
 
void FindMostRight_Impl (SvTreeListEntry *pParent, SvTreeListEntry *EntryToIgnore)
 
void NotifyTabsChanged ()
 
bool IsExpandable () const
 
void UpdateStringSorter ()
 
short UpdateContextBmpWidthVector (SvTreeListEntry const *pEntry, short nWidth)
 
void UpdateContextBmpWidthMax (SvTreeListEntry const *pEntry)
 
void UpdateContextBmpWidthVectorFromMovedEntry (SvTreeListEntry *pEntry)
 
void CalcCellFocusRect (SvTreeListEntry const *pEntry, tools::Rectangle &rRect)
 
bool AreChildrenTransient () const
 
void SetChildrenNotTransient ()
 

Static Private Member Functions

static void implInitDefaultNodeImages ()
 

Private Attributes

SvTreeListm_pTree
 
SvTreeListEntrym_pAnchor
 
SvTreeListEntrym_pMostRightEntry
 
SvLBoxButtonm_pActiveButton
 
SvTreeListEntrym_pActiveEntry
 
SvLBoxTabm_pActiveTab
 
VclPtr< ScrollBarm_aHorSBar
 
VclPtr< ScrollBarBoxm_aScrBarBox
 
::vcl::AccessibleFactoryAccess m_aFactoryAccess
 
o3tl::enumarray< ImageType, Imagem_aNodeAndEntryImages
 
ImpLBSelEng m_aFctSet
 
Idle m_aAsyncBeginDragIdle
 
Point m_aAsyncBeginDragPos
 
long m_nNodeBmpWidth
 
long m_nMostRight
 
short m_nHorSBarHeight
 
short m_nVerSBarWidth
 
sal_uInt16 m_nCurTabPos
 
bool m_bUpdateMode: 1
 
bool m_bAsyncBeginDrag: 1
 
bool m_bSubLstOpRet: 1
 
bool m_bSubLstOpLR: 1
 
bool m_bSubLstOpDblClick: 1
 
bool m_bContextMenuHandling: 1
 
bool m_bIsCellFocusEnabled: 1
 
bool m_bAreChildrenTransient
 
bool mbForceMakeVisible
 
Point m_aEditClickPos
 
Idle m_aEditIdle
 
std::unique_ptr< comphelper::string::NaturalStringSorterm_pStringSorter
 
std::vector< short > m_aContextBmpWidthVector
 

Static Private Attributes

static Images_pDefCollapsed = nullptr
 
static Images_pDefExpanded = nullptr
 
static oslInterlockedCount s_nImageRefCount = 0
 

Friends

class ImpLBSelEng
 
class SvTreeListBox
 
class SalInstanceTreeView
 
class IconView
 

Detailed Description

Definition at line 88 of file svimpbox.hxx.

Member Enumeration Documentation

enum SvImpLBox::ImageType
strongprivate

When 0 all static images will be destroyed.

Enumerator
NodeExpanded 
NodeCollapsed 
NodeDontKnow 
EntryDefExpanded 
EntryDefCollapsed 
LAST 

Definition at line 113 of file svimpbox.hxx.

Constructor & Destructor Documentation

SvImpLBox::SvImpLBox ( SvTreeListBox pView,
SvTreeList pLBTree,
WinBits  nWinStyle 
)
SvImpLBox::~SvImpLBox ( )
virtual

Member Function Documentation

void SvImpLBox::AdjustScrollBars ( Size rSize)
protectedvirtual
bool SvImpLBox::AreChildrenTransient ( ) const
inlineprivate

Definition at line 204 of file svimpbox.hxx.

void SvImpLBox::BeginDrag ( )
private
void SvImpLBox::BeginScroll ( )
protected

Definition at line 3029 of file svimpbox.cxx.

References InScrolling, and m_nFlags.

Referenced by BeginDrag(), KeyDown(), KeyLeftRight(), KeyUp(), and ImpLBSelEng::SetCursorAtPoint().

bool SvImpLBox::ButtonDownCheckCtrl ( const MouseEvent rMEvt,
SvTreeListEntry pEntry 
)
private
bool SvImpLBox::ButtonDownCheckExpand ( const MouseEvent rMEvt,
SvTreeListEntry pEntry 
)
private
bool SvImpLBox::ButtonUpCheckCtrl ( const MouseEvent rMEvt)
private
void SvImpLBox::CalcCellFocusRect ( SvTreeListEntry const *  pEntry,
tools::Rectangle rRect 
)
private
void SvImpLBox::CallEventListeners ( VclEventId  nEvent,
void pData = nullptr 
)

Definition at line 3350 of file svimpbox.cxx.

References SvTreeListBox::CallImplEventListeners(), and m_pView.

Referenced by Clear(), KeyInput(), RemovingEntry(), and SetCursor().

void SvImpLBox::Clear ( )
void SvImpLBox::CollapsingEntry ( SvTreeListEntry pEntry)
void SvImpLBox::Command ( const CommandEvent rCEvt)
void SvImpLBox::CursorDown ( )
protectedvirtual
void SvImpLBox::CursorUp ( )
protectedvirtual
SvImpLBox::DECL_LINK ( EditTimerCall  ,
Timer ,
void   
)
private
SvImpLBox::DECL_LINK ( BeginDragHdl  ,
Timer ,
void   
)
private
SvImpLBox::DECL_LINK ( ScrollUpDownHdl  ,
ScrollBar ,
void   
)
private
SvImpLBox::DECL_LINK ( ScrollLeftRightHdl  ,
ScrollBar ,
void   
)
private
SvImpLBox::DECL_LINK ( EndScrollHdl  ,
ScrollBar ,
void   
)
private
SvImpLBox::DECL_LINK ( MyUserEvent  ,
void ,
void   
)
protected
void SvImpLBox::DestroyAnchor ( )
inline

Definition at line 321 of file svimpbox.hxx.

References SelectionEngine::Reset().

Referenced by EndSelection(), EntryInserted(), RemovingEntry(), and SelAllDestrAnch().

void SvImpLBox::DrawNet ( vcl::RenderContext rRenderContext)
private
void SvImpLBox::EnableAsyncDrag ( bool  b)
inline

Definition at line 328 of file svimpbox.hxx.

void SvImpLBox::EnableCellFocus ( )
inline

Definition at line 338 of file svimpbox.hxx.

void SvImpLBox::EndScroll ( )
protected
void SvImpLBox::EndSelection ( )

Definition at line 3166 of file svimpbox.cxx.

References DestroyAnchor(), m_nFlags, and StartEditTimer.

void SvImpLBox::EntryCollapsed ( SvTreeListEntry pEntry)
void SvImpLBox::EntryExpanded ( SvTreeListEntry pEntry)
void SvImpLBox::EntryInserted ( SvTreeListEntry pEntry)
void SvImpLBox::EntryMoved ( SvTreeListEntry pEntry)
bool SvImpLBox::EntryReallyHit ( SvTreeListEntry pEntry,
const Point rPos,
long  nLine 
)
private
void SvImpLBox::EntryRemoved ( )
void SvImpLBox::EntrySelected ( SvTreeListEntry pEntry,
bool  bSelect 
)
void SvImpLBox::FillView ( )
protected
void SvImpLBox::FindMostRight ( SvTreeListEntry pParent,
SvTreeListEntry EntryToIgnore 
)
private

Definition at line 3240 of file svimpbox.cxx.

References FindMostRight_Impl().

Referenced by EntryCollapsed(), EntryExpanded(), EntryMoved(), EntryRemoved(), and UpdateAll().

void SvImpLBox::FindMostRight ( SvTreeListEntry const *  EntryToIgnore)
protected
void SvImpLBox::FindMostRight_Impl ( SvTreeListEntry pParent,
SvTreeListEntry EntryToIgnore 
)
private
SvTreeListEntry * SvImpLBox::GetClickedEntry ( const Point rPoint) const
virtual
tools::Rectangle SvImpLBox::GetClipRegionRect ( ) const
const Image & SvImpLBox::GetCollapsedNodeBmp ( )
inline

Definition at line 373 of file svimpbox.hxx.

References implGetImageLocation(), and NodeCollapsed.

Referenced by SetEntryHeight().

SvTreeListEntry* SvImpLBox::GetCurEntry ( ) const
inline

Definition at line 289 of file svimpbox.hxx.

SvTreeListEntry* SvImpLBox::GetCurrentEntry ( ) const
inline

Definition at line 284 of file svimpbox.hxx.

sal_uInt16 SvImpLBox::GetCurrentTabPos ( ) const
inline

Definition at line 340 of file svimpbox.hxx.

const Image & SvImpLBox::GetDefaultCollapsedNodeImage ( )
static
const Image & SvImpLBox::GetDefaultEntryColBmp ( )
inline

Definition at line 393 of file svimpbox.hxx.

References EntryDefCollapsed, and implGetImageLocation().

const Image & SvImpLBox::GetDefaultEntryExpBmp ( )
inline

Definition at line 388 of file svimpbox.hxx.

References EntryDefExpanded, and implGetImageLocation().

const Image & SvImpLBox::GetDefaultExpandedNodeImage ( )
static
const Image & SvImpLBox::GetDontKnowNodeBmp ( )
inline

Definition at line 363 of file svimpbox.hxx.

References implGetImageLocation(), and NodeDontKnow.

SvTreeListEntry * SvImpLBox::GetEntry ( const Point rPos) const
virtual
long SvImpLBox::GetEntryLine ( SvTreeListEntry pEntry) const
protectedvirtual
Point SvImpLBox::GetEntryPosition ( SvTreeListEntry pEntry) const
inlinevirtual

Definition at line 398 of file svimpbox.hxx.

References GetEntryLine().

Referenced by RequestHelp().

const Image & SvImpLBox::GetExpandedNodeBmp ( )
inline

Definition at line 368 of file svimpbox.hxx.

References implGetImageLocation(), and NodeExpanded.

Referenced by DrawNet(), SetEntryHeight(), and SetNodeBmpTabDistance().

void SvImpLBox::GetFocus ( )
const Size& SvImpLBox::GetOutputSize ( ) const
inline

Definition at line 315 of file svimpbox.hxx.

Referenced by EntryReallyHit(), SetMostRight(), and ShowVerSBar().

bool SvImpLBox::GetUpdateMode ( ) const
inline
tools::Rectangle SvImpLBox::GetVisibleArea ( ) const
protected
bool SvImpLBox::HasHorScrollBar ( ) const
inline

Definition at line 332 of file svimpbox.hxx.

References vcl::Window::IsVisible().

Image & SvImpLBox::implGetImageLocation ( const ImageType  _eType)
inline
void SvImpLBox::implInitDefaultNodeImages ( )
staticprivate

Definition at line 3325 of file svimpbox.cxx.

References s_pDefCollapsed, s_pDefExpanded, and Yes.

Referenced by GetDefaultCollapsedNodeImage(), and GetDefaultExpandedNodeImage().

void SvImpLBox::InitScrollBarBox ( )
private
void SvImpLBox::Invalidate ( )

Definition at line 3055 of file svimpbox.cxx.

References m_pView, and OutputDevice::SetClipRegion().

void SvImpLBox::InvalidateEntriesFrom ( long  nY) const
private
void SvImpLBox::InvalidateEntry ( long  nY) const
protectedvirtual
void SvImpLBox::InvalidateEntry ( SvTreeListEntry pEntry)
bool SvImpLBox::IsCellFocusEnabled ( ) const
inline

Enables, that one cell of a tablistbox entry can be focused.

Definition at line 337 of file svimpbox.hxx.

bool SvImpLBox::IsEntryInView ( SvTreeListEntry pEntry) const
virtual
bool SvImpLBox::IsExpandable ( ) const
private
bool SvImpLBox::IsLineVisible ( long  nY) const
inlineprivate
bool SvImpLBox::IsNodeButton ( const Point rPosPixel,
SvTreeListEntry pEntry 
) const
bool SvImpLBox::IsSelectable ( const SvTreeListEntry pEntry)

Definition at line 3372 of file svimpbox.cxx.

References SvTreeListBox::GetViewDataEntry(), SvViewDataEntry::IsSelectable(), and m_pView.

Referenced by KeyInput().

void SvImpLBox::KeyDown ( bool  bPageDown)
virtual
bool SvImpLBox::KeyInput ( const KeyEvent rKEvt)
virtual

2

Definition at line 2098 of file svimpbox.cxx.

References SelectionEngine::AddAlways(), CallEventListeners(), SvTreeListBox::Collapse(), SelectionEngine::CursorPosChanging(), DBG_ASSERT, EndScroll(), SvTreeListBox::Expand(), Filling, SvTreeList::First(), FIRST_ENTRY_TAB, SvTreeList::GetChildList(), vcl::KeyCode::GetCode(), SvTreeList::GetDepth(), KeyEvent::GetKeyCode(), ScrollBar::GetLineSize(), SvTreeListBox::GetModel(), ScrollBar::GetPageSize(), SvTreeList::GetParent(), SvTreeListBox::GetParent(), SvTreeList::GetRootLevelParent(), SvTreeListBox::GetSelectionMode(), ScrollBar::GetThumbPos(), SvTreeListEntry::HasChildren(), SelectionEngine::IsAddMode(), SelectionEngine::IsAlwaysAdding(), IsEntryInView(), IsExpandable(), SvListView::IsExpanded(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), IsSelectable(), SvListView::IsSelected(), vcl::KeyCode::IsShift(), vcl::Window::IsVisible(), KEY_A, KEY_ADD, KEY_BACKSPACE, KEY_COMMA, KEY_DELETE, KEY_DIVIDE, KEY_DOWN, KEY_END, KEY_ESCAPE, KEY_F2, KEY_F8, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RETURN, KEY_RIGHT, KEY_SPACE, KEY_SUBTRACT, KEY_TAB, KEY_UP, KeyDown(), KeyLeftRight(), KeyUp(), SvTreeList::Last(), ListboxSelect, m_aEditClickPos, m_aEditIdle, m_aHorSBar, m_aSelEng, m_aVerSBar, m_bIsCellFocusEnabled, m_bSubLstOpLR, m_bSubLstOpRet, m_nCurTabPos, m_nFlags, m_nStyle, m_pCursor, m_pStartEntry, m_pTree, m_pView, MakeVisible(), Multiple, SvTreeList::Next(), SvListView::NextVisible(), NONE, SvListView::PrevVisible(), SelAllDestrAnch(), SvTreeListBox::Select(), SetCursor(), ScrollBar::SetThumbPos(), ShowCursor(), Task::Stop(), SvTreeListBox::TabCount(), and WB_SIMPLEMODE.

void SvImpLBox::KeyLeftRight ( long  nDiff)
private
void SvImpLBox::KeyUp ( bool  bPageUp)
virtual
void SvImpLBox::LoseFocus ( )
SvTreeListEntry * SvImpLBox::MakePointVisible ( const Point rPoint)
private
void SvImpLBox::MakeVisible ( SvTreeListEntry pEntry,
bool  bMoveToTop = false 
)
void SvImpLBox::MouseButtonDown ( const MouseEvent rMEvt)
void SvImpLBox::MouseButtonUp ( const MouseEvent rMEvt)
void SvImpLBox::MouseMove ( const MouseEvent rMEvt)
bool SvImpLBox::MouseMoveCheckCtrl ( const MouseEvent rMEvt,
SvTreeListEntry const *  pEntry 
)
private
void SvImpLBox::MovingEntry ( SvTreeListEntry pEntry)
SvLBoxTab * SvImpLBox::NextTab ( SvLBoxTab const *  pTab)
private

Definition at line 3153 of file svimpbox.cxx.

References SvTreeListBox::aTabs, m_pView, and SvTreeListBox::TabCount().

Referenced by RequestHelp().

void SvImpLBox::NotifyTabsChanged ( )
private
void SvImpLBox::PageDown ( sal_uInt16  nDelta)
protectedvirtual
void SvImpLBox::PageUp ( sal_uInt16  nDelta)
protectedvirtual
void SvImpLBox::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
virtual
void SvImpLBox::PaintDDCursor ( SvTreeListEntry pEntry,
bool  bShow 
)
void SvImpLBox::PositionScrollBars ( Size rOSize,
sal_uInt16  nMask 
)
protected
void SvImpLBox::RecalcFocusRect ( )
void SvImpLBox::RemovingEntry ( SvTreeListEntry pEntry)
bool SvImpLBox::RequestHelp ( const HelpEvent rHEvt)
void SvImpLBox::Resize ( )
void SvImpLBox::ScrollToAbsPos ( long  nPos)
void SvImpLBox::SelAllDestrAnch ( bool  bSelect,
bool  bDestroyAnchor = true,
bool  bSingleSelToo = false 
)
void SvImpLBox::SelectEntry ( SvTreeListEntry pEntry,
bool  bSelect 
)

Definition at line 2585 of file svimpbox.cxx.

References m_pView, and SvTreeListBox::Select().

Referenced by ImpLBSelEng::DeselectAtPoint().

void SvImpLBox::SetAnchorSelection ( SvTreeListEntry pOld,
SvTreeListEntry pNewCursor 
)
private
void SvImpLBox::SetChildrenNotTransient ( )
inlineprivate

Definition at line 205 of file svimpbox.hxx.

void SvImpLBox::SetCollapsedNodeBmp ( const Image _rImg)
inline

Definition at line 357 of file svimpbox.hxx.

References implGetImageLocation(), NodeCollapsed, and SetNodeBmpWidth().

void SvImpLBox::SetCurEntry ( SvTreeListEntry pEntry)
bool SvImpLBox::SetCurrentTabPos ( sal_uInt16  _nNewPos)

Definition at line 3357 of file svimpbox.cxx.

References m_nCurTabPos, m_pView, ShowCursor(), and SvTreeListBox::TabCount().

void SvImpLBox::SetCursor ( SvTreeListEntry pEntry,
bool  bForceNoSelect = false 
)
protected
void SvImpLBox::SetDefaultEntryColBmp ( const Image _rImg)
inline

Definition at line 383 of file svimpbox.hxx.

References EntryDefCollapsed, and implGetImageLocation().

void SvImpLBox::SetDefaultEntryExpBmp ( const Image _rImg)
inline

Definition at line 378 of file svimpbox.hxx.

References EntryDefExpanded, and implGetImageLocation().

void SvImpLBox::SetDragDropMode ( DragDropMode  eDDMode)
void SvImpLBox::SetEntryHeight ( )
void SvImpLBox::SetExpandedNodeBmp ( const Image _rImg)
inline

Definition at line 351 of file svimpbox.hxx.

References implGetImageLocation(), NodeExpanded, and SetNodeBmpWidth().

void SvImpLBox::SetForceMakeVisible ( bool  bEnable)
inline

Definition at line 343 of file svimpbox.hxx.

void SvImpLBox::SetModel ( SvTreeList pModel)
inline

Definition at line 253 of file svimpbox.hxx.

bool SvImpLBox::SetMostRight ( SvTreeListEntry pEntry)
private
void SvImpLBox::SetNoAutoCurEntry ( bool  b)

Definition at line 242 of file svimpbox.cxx.

References mbNoAutoCurEntry.

void SvImpLBox::SetNodeBmpTabDistance ( )
private
void SvImpLBox::SetNodeBmpWidth ( const Image rBmp)
private

Definition at line 1569 of file svimpbox.cxx.

References Image::GetSizePixel(), and m_nNodeBmpWidth.

Referenced by SetCollapsedNodeBmp(), SetEntryHeight(), and SetExpandedNodeBmp().

void SvImpLBox::SetSelectionMode ( SelectionMode  eSelMode)
void SvImpLBox::SetStyle ( WinBits  i_nWinStyle)
void SvImpLBox::SetUpdateMode ( bool  bMode)

Definition at line 3172 of file svimpbox.cxx.

References m_bUpdateMode, and UpdateAll().

void SvImpLBox::ShowCursor ( bool  bShow)
void SvImpLBox::ShowFocusRect ( const SvTreeListEntry pEntry)
void SvImpLBox::ShowVerSBar ( )
protected
void SvImpLBox::StopUserEvent ( )
protected

Definition at line 3296 of file svimpbox.cxx.

References m_nCurUserEvent, and Application::RemoveUserEvent().

Referenced by Clear(), Paint(), and ~SvImpLBox().

void SvImpLBox::SyncVerThumb ( )
protectedvirtual
void SvImpLBox::TreeInserted ( SvTreeListEntry pEntry)
inline

Definition at line 411 of file svimpbox.hxx.

References EntryInserted().

void SvImpLBox::UpdateAll ( bool  bInvalidateCompleteView)
virtual
void SvImpLBox::UpdateContextBmpWidthMax ( SvTreeListEntry const *  pEntry)
private
short SvImpLBox::UpdateContextBmpWidthVector ( SvTreeListEntry const *  pEntry,
short  nWidth 
)
private
void SvImpLBox::UpdateContextBmpWidthVectorFromMovedEntry ( SvTreeListEntry pEntry)
private
void SvImpLBox::UpdateStringSorter ( )
private

Friends And Related Function Documentation

friend class IconView
friend

Definition at line 93 of file svimpbox.hxx.

friend class ImpLBSelEng
friend

Definition at line 90 of file svimpbox.hxx.

friend class SalInstanceTreeView
friend

Definition at line 92 of file svimpbox.hxx.

friend class SvTreeListBox
friend

Definition at line 91 of file svimpbox.hxx.

Member Data Documentation

Idle SvImpLBox::m_aAsyncBeginDragIdle
private

Definition at line 128 of file svimpbox.hxx.

Referenced by BeginDrag(), and SvImpLBox().

Point SvImpLBox::m_aAsyncBeginDragPos
private

Definition at line 129 of file svimpbox.hxx.

Referenced by BeginDrag().

std::vector< short > SvImpLBox::m_aContextBmpWidthVector
private

Definition at line 151 of file svimpbox.hxx.

Referenced by Clear(), UpdateContextBmpWidthMax(), and UpdateContextBmpWidthVector().

Point SvImpLBox::m_aEditClickPos
private

Definition at line 146 of file svimpbox.hxx.

Referenced by KeyInput(), and MouseButtonUp().

Idle SvImpLBox::m_aEditIdle
private
::vcl::AccessibleFactoryAccess SvImpLBox::m_aFactoryAccess
private

Definition at line 106 of file svimpbox.hxx.

ImpLBSelEng SvImpLBox::m_aFctSet
private

Definition at line 127 of file svimpbox.hxx.

Referenced by SvImpLBox().

VclPtr<ScrollBar> SvImpLBox::m_aHorSBar
private
o3tl::enumarray<ImageType, Image> SvImpLBox::m_aNodeAndEntryImages
private

Definition at line 125 of file svimpbox.hxx.

Referenced by implGetImageLocation().

Size SvImpLBox::m_aOutputSize
protected
VclPtr<ScrollBarBox> SvImpLBox::m_aScrBarBox
private

Definition at line 103 of file svimpbox.hxx.

Referenced by Clear(), InitScrollBarBox(), PositionScrollBars(), and ~SvImpLBox().

SelectionEngine SvImpLBox::m_aSelEng
protected
VclPtr<ScrollBar> SvImpLBox::m_aVerSBar
protected
bool SvImpLBox::m_bAreChildrenTransient
private

Definition at line 143 of file svimpbox.hxx.

bool SvImpLBox::m_bAsyncBeginDrag
private

Definition at line 137 of file svimpbox.hxx.

Referenced by BeginDrag(), and SvImpLBox().

bool SvImpLBox::m_bContextMenuHandling
private

Definition at line 141 of file svimpbox.hxx.

Referenced by Command(), and SvImpLBox().

bool SvImpLBox::m_bInVScrollHdl
protected

Definition at line 219 of file svimpbox.hxx.

Referenced by AdjustScrollBars(), and SvImpLBox().

bool SvImpLBox::m_bIsCellFocusEnabled
private

Definition at line 142 of file svimpbox.hxx.

Referenced by CalcCellFocusRect(), KeyInput(), and SvImpLBox().

bool SvImpLBox::m_bSimpleTravel
protected
bool SvImpLBox::m_bSubLstOpDblClick
private

Definition at line 140 of file svimpbox.hxx.

Referenced by MouseButtonDown(), and SvImpLBox().

bool SvImpLBox::m_bSubLstOpLR
private

Definition at line 139 of file svimpbox.hxx.

Referenced by KeyInput(), and SvImpLBox().

bool SvImpLBox::m_bSubLstOpRet
private

Definition at line 138 of file svimpbox.hxx.

Referenced by KeyInput(), and SvImpLBox().

bool SvImpLBox::m_bUpdateMode
private

Definition at line 136 of file svimpbox.hxx.

Referenced by SetUpdateMode(), and SvImpLBox().

sal_uInt16 SvImpLBox::m_nCurTabPos
private
ImplSVEvent* SvImpLBox::m_nCurUserEvent
protected

Definition at line 212 of file svimpbox.hxx.

Referenced by NotifyTabsChanged(), Paint(), StopUserEvent(), and SvImpLBox().

LBoxFlags SvImpLBox::m_nFlags
protected
short SvImpLBox::m_nHorSBarHeight
private
long SvImpLBox::m_nMostRight
private
long SvImpLBox::m_nNextVerVisSize
protected

Definition at line 221 of file svimpbox.hxx.

Referenced by AdjustScrollBars().

long SvImpLBox::m_nNodeBmpTabDistance
protected

Definition at line 222 of file svimpbox.hxx.

Referenced by IsNodeButton(), Paint(), SetNodeBmpTabDistance(), and SvImpLBox().

long SvImpLBox::m_nNodeBmpWidth
private

Definition at line 131 of file svimpbox.hxx.

Referenced by IsNodeButton(), SetNodeBmpWidth(), and SvImpLBox().

WinBits SvImpLBox::m_nStyle
protected

Definition at line 215 of file svimpbox.hxx.

Referenced by DrawNet(), GetFocus(), KeyInput(), LoseFocus(), Paint(), SetSelectionMode(), and SetStyle().

short SvImpLBox::m_nVerSBarWidth
private

Definition at line 133 of file svimpbox.hxx.

Referenced by AdjustScrollBars(), InitScrollBarBox(), PositionScrollBars(), and SvImpLBox().

sal_uLong SvImpLBox::m_nVisibleCount
protected
SvLBoxButton* SvImpLBox::m_pActiveButton
private
SvTreeListEntry* SvImpLBox::m_pActiveEntry
private
SvLBoxTab* SvImpLBox::m_pActiveTab
private

Definition at line 100 of file svimpbox.hxx.

Referenced by ButtonDownCheckCtrl(), ButtonUpCheckCtrl(), Clear(), and SvImpLBox().

SvTreeListEntry* SvImpLBox::m_pAnchor
private
SvTreeListEntry* SvImpLBox::m_pCursor
protected
SvTreeListEntry* SvImpLBox::m_pMostRightEntry
private
SvTreeListEntry* SvImpLBox::m_pStartEntry
protected
std::unique_ptr<comphelper::string::NaturalStringSorter> SvImpLBox::m_pStringSorter
private

Definition at line 149 of file svimpbox.hxx.

Referenced by UpdateStringSorter().

SvTreeList* SvImpLBox::m_pTree
private
VclPtr<SvTreeListBox> SvImpLBox::m_pView
protected
bool SvImpLBox::mbForceMakeVisible
private

Definition at line 144 of file svimpbox.hxx.

Referenced by MakeVisible(), and ScrollToAbsPos().

bool SvImpLBox::mbNoAutoCurEntry
protected

Definition at line 216 of file svimpbox.hxx.

Referenced by Paint(), and SetNoAutoCurEntry().

oslInterlockedCount SvImpLBox::s_nImageRefCount = 0
staticprivate

Definition at line 110 of file svimpbox.hxx.

Referenced by SvImpLBox(), and ~SvImpLBox().

Image * SvImpLBox::s_pDefCollapsed = nullptr
staticprivate
Image * SvImpLBox::s_pDefExpanded = nullptr
staticprivate

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