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>

Inheritance diagram for SvImpLBox:
[legend]
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 ()
 
void SetEntryHeight ()
 
void InvalidateEntry (SvTreeListEntry *)
 
void RecalcFocusRect ()
 
void SelectEntry (SvTreeListEntry *pEntry, bool bSelect)
 
void SetDragDropMode (DragDropMode eDDMode)
 
void SetSelectionMode (SelectionMode eSelMode)
 
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 (const SvTreeListEntry *) const
 
void MakeVisible (SvTreeListEntry *pEntry, bool bMoveToTop=false)
 
void ScrollToAbsPos (tools::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 ()
 
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)
 
bool IsNodeButton (const Point &rPosPixel, const SvTreeListEntry *pEntry) const
 
void SetUpdateMode (bool bMode)
 
bool GetUpdateMode () const
 
tools::Rectangle GetClipRegionRect () const
 
bool HasHorScrollBar () const
 
void CallEventListeners (VclEventId nEvent, void *pData=nullptr)
 
bool IsSelectable (const SvTreeListEntry *pEntry) const
 
void SetForceMakeVisible (bool bEnable)
 
bool IsCaptureOnButtonActive () const
 

Static Public Member Functions

static const ImageGetDefaultExpandedNodeImage ()
 
static const ImageGetDefaultCollapsedNodeImage ()
 

Protected Member Functions

virtual tools::Long GetEntryLine (const 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 (tools::Long nY) const
 
tools::Rectangle GetVisibleArea () const
 
void SetCursor (SvTreeListEntry *pEntry, bool bForceNoSelect=false)
 
void PositionScrollBars (Size &rOSize, sal_uInt16 nMask)
 
void FindMostRight ()
 
void FillView ()
 
void ShowVerSBar ()
 
void StopUserEvent ()
 
 DECL_LINK (MyUserEvent, void *, void)
 

Protected Attributes

VclPtr< SvTreeListBoxm_pView
 
VclPtr< ScrollBarm_aHorSBar
 
VclPtr< ScrollBarm_aVerSBar
 
SvTreeListEntrym_pCursor
 
SvTreeListEntrym_pCursorOld
 
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
 
tools::Long m_nNextVerVisSize
 
tools::Long m_nNodeBmpTabDistance
 

Private Types

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

Private Member Functions

 DECL_LINK (EditTimerCall, Timer *, void)
 
void InvalidateEntriesFrom (tools::Long nY) const
 
bool IsLineVisible (tools::Long nY) const
 
void KeyLeftRight (tools::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, tools::Long nLine)
 
void InitScrollBarBox ()
 
SvLBoxTabNextTab (SvLBoxTab const *)
 
void SetMostRight (SvTreeListEntry *pEntry)
 
void FindMostRight (SvTreeListEntry *pParent)
 
void FindMostRight_Impl (SvTreeListEntry *pParent)
 
void NotifyTabsChanged ()
 
bool IsExpandable () const
 
void UpdateStringSorter ()
 
short UpdateContextBmpWidthVector (SvTreeListEntry const *pEntry, short nWidth)
 
void UpdateContextBmpWidthMax (SvTreeListEntry const *pEntry)
 
void UpdateContextBmpWidthVectorFromMovedEntry (SvTreeListEntry *pEntry)
 
void ExpandAll ()
 
void CollapseTo (SvTreeListEntry *pParentToCollapse)
 

Static Private Member Functions

static void implInitDefaultNodeImages ()
 

Private Attributes

SvTreeListm_pTree
 
SvTreeListEntrym_pAnchor
 
SvTreeListEntrym_pMostRightEntry
 
SvLBoxButtonm_pActiveButton
 
SvTreeListEntrym_pActiveEntry
 
SvLBoxTabm_pActiveTab
 
VclPtr< ScrollBarBoxm_aScrBarBox
 
::vcl::AccessibleFactoryAccess m_aFactoryAccess
 
o3tl::enumarray< ImageType, Imagem_aNodeAndEntryImages
 
ImpLBSelEng m_aFctSet
 
tools::Long m_nNodeBmpWidth
 
tools::Long m_nMostRight
 
short m_nHorSBarHeight
 
short m_nVerSBarWidth
 
bool m_bUpdateMode: 1
 
bool m_bSubLstOpLR: 1
 
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 81 of file svimpbox.hxx.

Member Enumeration Documentation

◆ ImageType

enum class SvImpLBox::ImageType
strongprivate

When 0 all static images will be destroyed.

Enumerator
NodeExpanded 
NodeCollapsed 
EntryDefExpanded 
EntryDefCollapsed 
LAST 

Definition at line 105 of file svimpbox.hxx.

Constructor & Destructor Documentation

◆ SvImpLBox()

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

◆ ~SvImpLBox()

SvImpLBox::~SvImpLBox ( )
virtual

Member Function Documentation

◆ AdjustScrollBars()

void SvImpLBox::AdjustScrollBars ( Size rSize)
protectedvirtual

◆ BeginDrag()

void SvImpLBox::BeginDrag ( )
private

◆ ButtonDownCheckCtrl()

bool SvImpLBox::ButtonDownCheckCtrl ( const MouseEvent rMEvt,
SvTreeListEntry pEntry 
)
private

◆ ButtonDownCheckExpand()

bool SvImpLBox::ButtonDownCheckExpand ( const MouseEvent rMEvt,
SvTreeListEntry pEntry 
)
private

◆ ButtonUpCheckCtrl()

bool SvImpLBox::ButtonUpCheckCtrl ( const MouseEvent rMEvt)
private

◆ CallEventListeners()

void SvImpLBox::CallEventListeners ( VclEventId  nEvent,
void *  pData = nullptr 
)

Definition at line 3121 of file svimpbox.cxx.

References SvTreeListBox::CallImplEventListeners(), m_pView, and pData.

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

◆ Clear()

void SvImpLBox::Clear ( )

◆ CollapseTo()

void SvImpLBox::CollapseTo ( SvTreeListEntry pParentToCollapse)
private

◆ CollapsingEntry()

void SvImpLBox::CollapsingEntry ( SvTreeListEntry pEntry)

◆ Command()

void SvImpLBox::Command ( const CommandEvent rCEvt)

◆ CursorDown()

void SvImpLBox::CursorDown ( )
protectedvirtual

◆ CursorUp()

void SvImpLBox::CursorUp ( )
protectedvirtual

◆ DECL_LINK() [1/5]

SvImpLBox::DECL_LINK ( EditTimerCall  ,
Timer ,
void   
)
private

◆ DECL_LINK() [2/5]

SvImpLBox::DECL_LINK ( EndScrollHdl  ,
ScrollBar ,
void   
)
private

◆ DECL_LINK() [3/5]

SvImpLBox::DECL_LINK ( MyUserEvent  ,
void *  ,
void   
)
protected

◆ DECL_LINK() [4/5]

SvImpLBox::DECL_LINK ( ScrollLeftRightHdl  ,
ScrollBar ,
void   
)
private

◆ DECL_LINK() [5/5]

SvImpLBox::DECL_LINK ( ScrollUpDownHdl  ,
ScrollBar ,
void   
)
private

◆ DestroyAnchor()

void SvImpLBox::DestroyAnchor ( )
inline

Definition at line 297 of file svimpbox.hxx.

References m_aSelEng, m_pAnchor, and SelectionEngine::Reset().

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

◆ DrawNet()

void SvImpLBox::DrawNet ( vcl::RenderContext rRenderContext)
private

◆ EntryCollapsed()

void SvImpLBox::EntryCollapsed ( SvTreeListEntry pEntry)

◆ EntryExpanded()

void SvImpLBox::EntryExpanded ( SvTreeListEntry pEntry)

◆ EntryInserted()

void SvImpLBox::EntryInserted ( SvTreeListEntry pEntry)

◆ EntryMoved()

void SvImpLBox::EntryMoved ( SvTreeListEntry pEntry)

◆ EntryReallyHit()

bool SvImpLBox::EntryReallyHit ( SvTreeListEntry pEntry,
const Point rPos,
tools::Long  nLine 
)
private

◆ EntryRemoved()

void SvImpLBox::EntryRemoved ( )

◆ EntrySelected()

void SvImpLBox::EntrySelected ( SvTreeListEntry pEntry,
bool  bSelect 
)

◆ ExpandAll()

void SvImpLBox::ExpandAll ( )
private

◆ FillView()

void SvImpLBox::FillView ( )
protected

◆ FindMostRight() [1/2]

void SvImpLBox::FindMostRight ( )
protected

◆ FindMostRight() [2/2]

void SvImpLBox::FindMostRight ( SvTreeListEntry pParent)
private

Definition at line 3034 of file svimpbox.cxx.

References FindMostRight(), and FindMostRight_Impl().

◆ FindMostRight_Impl()

void SvImpLBox::FindMostRight_Impl ( SvTreeListEntry pParent)
private

◆ GetClickedEntry()

SvTreeListEntry * SvImpLBox::GetClickedEntry ( const Point rPoint) const
virtual

◆ GetClipRegionRect()

tools::Rectangle SvImpLBox::GetClipRegionRect ( ) const

◆ GetCollapsedNodeBmp()

const Image & SvImpLBox::GetCollapsedNodeBmp ( )
inline

Definition at line 344 of file svimpbox.hxx.

References implGetImageLocation(), and NodeCollapsed.

Referenced by SetEntryHeight().

◆ GetCurEntry()

SvTreeListEntry * SvImpLBox::GetCurEntry ( ) const
inline

Definition at line 266 of file svimpbox.hxx.

References m_pCursor.

◆ GetDefaultCollapsedNodeImage()

const Image & SvImpLBox::GetDefaultCollapsedNodeImage ( )
static

◆ GetDefaultEntryColBmp()

const Image & SvImpLBox::GetDefaultEntryColBmp ( )
inline

Definition at line 364 of file svimpbox.hxx.

References EntryDefCollapsed, and implGetImageLocation().

◆ GetDefaultEntryExpBmp()

const Image & SvImpLBox::GetDefaultEntryExpBmp ( )
inline

Definition at line 359 of file svimpbox.hxx.

References EntryDefExpanded, and implGetImageLocation().

◆ GetDefaultExpandedNodeImage()

const Image & SvImpLBox::GetDefaultExpandedNodeImage ( )
static

◆ GetEntry()

SvTreeListEntry * SvImpLBox::GetEntry ( const Point rPos) const
virtual

◆ GetEntryLine()

tools::Long SvImpLBox::GetEntryLine ( const SvTreeListEntry pEntry) const
protectedvirtual

◆ GetEntryPosition()

Point SvImpLBox::GetEntryPosition ( const SvTreeListEntry pEntry) const
inlinevirtual

Reimplemented in IconViewImpl.

Definition at line 369 of file svimpbox.hxx.

References GetEntryLine().

Referenced by RequestHelp().

◆ GetExpandedNodeBmp()

const Image & SvImpLBox::GetExpandedNodeBmp ( )
inline

Definition at line 339 of file svimpbox.hxx.

References implGetImageLocation(), and NodeExpanded.

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

◆ GetFocus()

void SvImpLBox::GetFocus ( )

◆ GetOutputSize()

const Size & SvImpLBox::GetOutputSize ( ) const
inline

Definition at line 291 of file svimpbox.hxx.

References m_aOutputSize.

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

◆ GetUpdateMode()

bool SvImpLBox::GetUpdateMode ( ) const
inline

◆ GetVisibleArea()

tools::Rectangle SvImpLBox::GetVisibleArea ( ) const
protected

◆ HasHorScrollBar()

bool SvImpLBox::HasHorScrollBar ( ) const
inline

Definition at line 306 of file svimpbox.hxx.

References vcl::Window::IsVisible(), and m_aHorSBar.

◆ implGetImageLocation()

Image & SvImpLBox::implGetImageLocation ( const ImageType  _eType)
inline

◆ implInitDefaultNodeImages()

void SvImpLBox::implInitDefaultNodeImages ( )
staticprivate

Definition at line 3096 of file svimpbox.cxx.

References s_pDefCollapsed, s_pDefExpanded, and Yes.

Referenced by GetDefaultCollapsedNodeImage(), and GetDefaultExpandedNodeImage().

◆ InitScrollBarBox()

void SvImpLBox::InitScrollBarBox ( )
private

◆ Invalidate()

void SvImpLBox::Invalidate ( )

Definition at line 2858 of file svimpbox.cxx.

References vcl::Window::GetOutDev(), m_pView, and OutputDevice::SetClipRegion().

◆ InvalidateEntriesFrom()

void SvImpLBox::InvalidateEntriesFrom ( tools::Long  nY) const
private

◆ InvalidateEntry() [1/2]

void SvImpLBox::InvalidateEntry ( SvTreeListEntry pEntry)

◆ InvalidateEntry() [2/2]

void SvImpLBox::InvalidateEntry ( tools::Long  nY) const
protectedvirtual

◆ IsCaptureOnButtonActive()

bool SvImpLBox::IsCaptureOnButtonActive ( ) const
inline

Definition at line 317 of file svimpbox.hxx.

References m_pActiveButton, and m_pActiveEntry.

◆ IsEntryInView()

bool SvImpLBox::IsEntryInView ( SvTreeListEntry pEntry) const
virtual

◆ IsExpandable()

bool SvImpLBox::IsExpandable ( ) const
private

◆ IsLineVisible()

bool SvImpLBox::IsLineVisible ( tools::Long  nY) const
inlineprivate

◆ IsNodeButton()

bool SvImpLBox::IsNodeButton ( const Point rPosPixel,
const SvTreeListEntry pEntry 
) const

◆ IsSelectable()

bool SvImpLBox::IsSelectable ( const SvTreeListEntry pEntry) const

◆ KeyDown()

void SvImpLBox::KeyDown ( bool  bPageDown)
virtual

◆ KeyInput()

bool SvImpLBox::KeyInput ( const KeyEvent rKEvt)
virtual

◆ KeyLeftRight()

void SvImpLBox::KeyLeftRight ( tools::Long  nDiff)
private

◆ KeyUp()

void SvImpLBox::KeyUp ( bool  bPageUp)
virtual

◆ LoseFocus()

void SvImpLBox::LoseFocus ( )

◆ MakePointVisible()

SvTreeListEntry * SvImpLBox::MakePointVisible ( const Point rPoint)
private

◆ MakeVisible()

void SvImpLBox::MakeVisible ( SvTreeListEntry pEntry,
bool  bMoveToTop = false 
)

◆ MouseButtonDown()

void SvImpLBox::MouseButtonDown ( const MouseEvent rMEvt)

◆ MouseButtonUp()

void SvImpLBox::MouseButtonUp ( const MouseEvent rMEvt)

◆ MouseMove()

void SvImpLBox::MouseMove ( const MouseEvent rMEvt)

◆ MouseMoveCheckCtrl()

bool SvImpLBox::MouseMoveCheckCtrl ( const MouseEvent rMEvt,
SvTreeListEntry const *  pEntry 
)
private

◆ MovingEntry()

void SvImpLBox::MovingEntry ( SvTreeListEntry pEntry)

◆ NextTab()

SvLBoxTab * SvImpLBox::NextTab ( SvLBoxTab const *  pTab)
private

Definition at line 2956 of file svimpbox.cxx.

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

Referenced by RequestHelp().

◆ NotifyTabsChanged()

void SvImpLBox::NotifyTabsChanged ( )
private

◆ PageDown()

void SvImpLBox::PageDown ( sal_uInt16  nDelta)
protectedvirtual

◆ PageUp()

void SvImpLBox::PageUp ( sal_uInt16  nDelta)
protectedvirtual

◆ Paint()

void SvImpLBox::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
virtual

◆ PaintDDCursor()

void SvImpLBox::PaintDDCursor ( SvTreeListEntry pEntry,
bool  bShow 
)

◆ PositionScrollBars()

void SvImpLBox::PositionScrollBars ( Size rOSize,
sal_uInt16  nMask 
)
protected

◆ RecalcFocusRect()

void SvImpLBox::RecalcFocusRect ( )

◆ RemovingEntry()

void SvImpLBox::RemovingEntry ( SvTreeListEntry pEntry)

◆ RequestHelp()

bool SvImpLBox::RequestHelp ( const HelpEvent rHEvt)

◆ Resize()

void SvImpLBox::Resize ( )

◆ ScrollToAbsPos()

void SvImpLBox::ScrollToAbsPos ( tools::Long  nPos)

◆ SelAllDestrAnch()

void SvImpLBox::SelAllDestrAnch ( bool  bSelect,
bool  bDestroyAnchor = true,
bool  bSingleSelToo = false 
)

◆ SelectEntry()

void SvImpLBox::SelectEntry ( SvTreeListEntry pEntry,
bool  bSelect 
)

Definition at line 2536 of file svimpbox.cxx.

References m_pView, and SvTreeListBox::Select().

Referenced by ImpLBSelEng::DeselectAtPoint().

◆ SetAnchorSelection()

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

◆ SetCollapsedNodeBmp()

void SvImpLBox::SetCollapsedNodeBmp ( const Image _rImg)
inline

Definition at line 333 of file svimpbox.hxx.

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

◆ SetCurEntry()

void SvImpLBox::SetCurEntry ( SvTreeListEntry pEntry)

◆ SetCursor()

void SvImpLBox::SetCursor ( SvTreeListEntry pEntry,
bool  bForceNoSelect = false 
)
protected

◆ SetDefaultEntryColBmp()

void SvImpLBox::SetDefaultEntryColBmp ( const Image _rImg)
inline

Definition at line 354 of file svimpbox.hxx.

References EntryDefCollapsed, and implGetImageLocation().

◆ SetDefaultEntryExpBmp()

void SvImpLBox::SetDefaultEntryExpBmp ( const Image _rImg)
inline

Definition at line 349 of file svimpbox.hxx.

References EntryDefExpanded, and implGetImageLocation().

◆ SetDragDropMode()

void SvImpLBox::SetDragDropMode ( DragDropMode  eDDMode)

◆ SetEntryHeight()

void SvImpLBox::SetEntryHeight ( )

◆ SetExpandedNodeBmp()

void SvImpLBox::SetExpandedNodeBmp ( const Image _rImg)
inline

Definition at line 327 of file svimpbox.hxx.

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

◆ SetForceMakeVisible()

void SvImpLBox::SetForceMakeVisible ( bool  bEnable)
inline

Definition at line 310 of file svimpbox.hxx.

References mbForceMakeVisible.

◆ SetModel()

void SvImpLBox::SetModel ( SvTreeList pModel)
inline

Definition at line 231 of file svimpbox.hxx.

References m_pTree, and SvListView::pModel.

◆ SetMostRight()

void SvImpLBox::SetMostRight ( SvTreeListEntry pEntry)
private

◆ SetNoAutoCurEntry()

void SvImpLBox::SetNoAutoCurEntry ( bool  b)

Definition at line 224 of file svimpbox.cxx.

References mbNoAutoCurEntry.

◆ SetNodeBmpTabDistance()

void SvImpLBox::SetNodeBmpTabDistance ( )
private

◆ SetNodeBmpWidth()

void SvImpLBox::SetNodeBmpWidth ( const Image rBmp)
private

◆ SetSelectionMode()

void SvImpLBox::SetSelectionMode ( SelectionMode  eSelMode)

◆ SetStyle()

void SvImpLBox::SetStyle ( WinBits  i_nWinStyle)

◆ SetUpdateMode()

void SvImpLBox::SetUpdateMode ( bool  bMode)

Definition at line 2969 of file svimpbox.cxx.

References m_bUpdateMode, and UpdateAll().

◆ ShowCursor()

void SvImpLBox::ShowCursor ( bool  bShow)

◆ ShowVerSBar()

void SvImpLBox::ShowVerSBar ( )
protected

◆ StopUserEvent()

void SvImpLBox::StopUserEvent ( )
protected

Definition at line 3087 of file svimpbox.cxx.

References m_nCurUserEvent, and Application::RemoveUserEvent().

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

◆ SyncVerThumb()

void SvImpLBox::SyncVerThumb ( )
protectedvirtual

◆ TreeInserted()

void SvImpLBox::TreeInserted ( SvTreeListEntry pEntry)
inline

Definition at line 382 of file svimpbox.hxx.

References EntryInserted().

◆ UpdateAll()

void SvImpLBox::UpdateAll ( )
virtual

◆ UpdateContextBmpWidthMax()

void SvImpLBox::UpdateContextBmpWidthMax ( SvTreeListEntry const *  pEntry)
private

◆ UpdateContextBmpWidthVector()

short SvImpLBox::UpdateContextBmpWidthVector ( SvTreeListEntry const *  pEntry,
short  nWidth 
)
private

◆ UpdateContextBmpWidthVectorFromMovedEntry()

void SvImpLBox::UpdateContextBmpWidthVectorFromMovedEntry ( SvTreeListEntry pEntry)
private

◆ UpdateStringSorter()

void SvImpLBox::UpdateStringSorter ( )
private

Friends And Related Function Documentation

◆ IconView

friend class IconView
friend

Definition at line 86 of file svimpbox.hxx.

◆ ImpLBSelEng

friend class ImpLBSelEng
friend

Definition at line 83 of file svimpbox.hxx.

◆ SalInstanceTreeView

friend class SalInstanceTreeView
friend

Definition at line 85 of file svimpbox.hxx.

◆ SvTreeListBox

friend class SvTreeListBox
friend

Definition at line 84 of file svimpbox.hxx.

Member Data Documentation

◆ m_aContextBmpWidthVector

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

Definition at line 133 of file svimpbox.hxx.

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

◆ m_aEditClickPos

Point SvImpLBox::m_aEditClickPos
private

Definition at line 128 of file svimpbox.hxx.

Referenced by KeyInput(), and MouseButtonUp().

◆ m_aEditIdle

Idle SvImpLBox::m_aEditIdle
private

◆ m_aFactoryAccess

::vcl::AccessibleFactoryAccess SvImpLBox::m_aFactoryAccess
private

Definition at line 98 of file svimpbox.hxx.

◆ m_aFctSet

ImpLBSelEng SvImpLBox::m_aFctSet
private

Definition at line 118 of file svimpbox.hxx.

Referenced by SvImpLBox().

◆ m_aHorSBar

VclPtr<ScrollBar> SvImpLBox::m_aHorSBar
protected

◆ m_aNodeAndEntryImages

o3tl::enumarray<ImageType, Image> SvImpLBox::m_aNodeAndEntryImages
private

Definition at line 116 of file svimpbox.hxx.

Referenced by implGetImageLocation().

◆ m_aOutputSize

Size SvImpLBox::m_aOutputSize
protected

◆ m_aScrBarBox

VclPtr<ScrollBarBox> SvImpLBox::m_aScrBarBox
private

Definition at line 95 of file svimpbox.hxx.

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

◆ m_aSelEng

SelectionEngine SvImpLBox::m_aSelEng
protected

◆ m_aVerSBar

VclPtr<ScrollBar> SvImpLBox::m_aVerSBar
protected

◆ m_bInVScrollHdl

bool SvImpLBox::m_bInVScrollHdl
protected

Definition at line 199 of file svimpbox.hxx.

Referenced by AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), and SvImpLBox().

◆ m_bSimpleTravel

bool SvImpLBox::m_bSimpleTravel
protected

◆ m_bSubLstOpLR

bool SvImpLBox::m_bSubLstOpLR
private

Definition at line 125 of file svimpbox.hxx.

Referenced by KeyInput(), and SvImpLBox().

◆ m_bUpdateMode

bool SvImpLBox::m_bUpdateMode
private

Definition at line 124 of file svimpbox.hxx.

Referenced by GetUpdateMode(), SetUpdateMode(), and SvImpLBox().

◆ m_nCurUserEvent

ImplSVEvent* SvImpLBox::m_nCurUserEvent
protected

Definition at line 192 of file svimpbox.hxx.

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

◆ m_nFlags

LBoxFlags SvImpLBox::m_nFlags
protected

◆ m_nHorSBarHeight

short SvImpLBox::m_nHorSBarHeight
private

◆ m_nMostRight

tools::Long SvImpLBox::m_nMostRight
private

◆ m_nNextVerVisSize

tools::Long SvImpLBox::m_nNextVerVisSize
protected

Definition at line 201 of file svimpbox.hxx.

Referenced by AdjustScrollBars().

◆ m_nNodeBmpTabDistance

tools::Long SvImpLBox::m_nNodeBmpTabDistance
protected

Definition at line 202 of file svimpbox.hxx.

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

◆ m_nNodeBmpWidth

tools::Long SvImpLBox::m_nNodeBmpWidth
private

Definition at line 120 of file svimpbox.hxx.

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

◆ m_nStyle

WinBits SvImpLBox::m_nStyle
protected

◆ m_nVerSBarWidth

short SvImpLBox::m_nVerSBarWidth
private

Definition at line 122 of file svimpbox.hxx.

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

◆ m_nVisibleCount

sal_uLong SvImpLBox::m_nVisibleCount
protected

◆ m_pActiveButton

SvLBoxButton* SvImpLBox::m_pActiveButton
private

◆ m_pActiveEntry

SvTreeListEntry* SvImpLBox::m_pActiveEntry
private

◆ m_pActiveTab

SvLBoxTab* SvImpLBox::m_pActiveTab
private

Definition at line 93 of file svimpbox.hxx.

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

◆ m_pAnchor

SvTreeListEntry* SvImpLBox::m_pAnchor
private

◆ m_pCursor

SvTreeListEntry* SvImpLBox::m_pCursor
protected

◆ m_pCursorOld

SvTreeListEntry* SvImpLBox::m_pCursorOld
protected

Definition at line 190 of file svimpbox.hxx.

Referenced by Clear(), and SvImpLBox().

◆ m_pMostRightEntry

SvTreeListEntry* SvImpLBox::m_pMostRightEntry
private

◆ m_pStartEntry

SvTreeListEntry* SvImpLBox::m_pStartEntry
protected

◆ m_pStringSorter

std::unique_ptr<comphelper::string::NaturalStringSorter> SvImpLBox::m_pStringSorter
private

Definition at line 131 of file svimpbox.hxx.

Referenced by UpdateStringSorter().

◆ m_pTree

SvTreeList* SvImpLBox::m_pTree
private

◆ m_pView

VclPtr<SvTreeListBox> SvImpLBox::m_pView
protected

Definition at line 186 of file svimpbox.hxx.

Referenced by AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), BeginDrag(), ButtonDownCheckCtrl(), ButtonDownCheckExpand(), ButtonUpCheckCtrl(), CallEventListeners(), Clear(), CollapseTo(), CollapsingEntry(), Command(), CursorDown(), IconViewImpl::CursorDown(), CursorUp(), IconViewImpl::CursorUp(), DrawNet(), EntryCollapsed(), EntryExpanded(), EntryInserted(), EntryMoved(), EntryReallyHit(), EntryRemoved(), EntrySelected(), ExpandAll(), FillView(), FindMostRight(), FindMostRight_Impl(), GetClickedEntry(), IconViewImpl::GetClickedEntry(), GetClipRegionRect(), IconViewImpl::GetEntry(), GetEntry(), GetEntryLine(), IconViewImpl::GetEntryPosition(), IconViewImpl::GetEntrySize(), GetFocus(), GetVisibleArea(), IconViewImpl::GoToPrevRow(), InitScrollBarBox(), Invalidate(), InvalidateEntriesFrom(), IconViewImpl::InvalidateEntry(), InvalidateEntry(), IsEntryInView(), IconViewImpl::IsEntryInView(), IsNodeButton(), IsSelectable(), IconViewImpl::IterateVisibleEntryAreas(), KeyInput(), IconViewImpl::KeyInput(), KeyLeftRight(), LoseFocus(), MakePointVisible(), MakeVisible(), MouseButtonDown(), MouseButtonUp(), MouseMove(), MouseMoveCheckCtrl(), MovingEntry(), NextTab(), PageDown(), PageUp(), Paint(), IconViewImpl::Paint(), PaintDDCursor(), RecalcFocusRect(), RemovingEntry(), RequestHelp(), Resize(), ScrollToAbsPos(), SelAllDestrAnch(), SelectEntry(), SetAnchorSelection(), SetCurEntry(), SetCursor(), SetEntryHeight(), SetMostRight(), SetNodeBmpTabDistance(), IconViewImpl::SetStartEntry(), ShowCursor(), ShowVerSBar(), SvImpLBox(), SyncVerThumb(), UpdateAll(), IconViewImpl::UpdateAll(), UpdateContextBmpWidthMax(), UpdateContextBmpWidthVector(), and UpdateContextBmpWidthVectorFromMovedEntry().

◆ mbForceMakeVisible

bool SvImpLBox::mbForceMakeVisible
private

Definition at line 126 of file svimpbox.hxx.

Referenced by MakeVisible(), ScrollToAbsPos(), and SetForceMakeVisible().

◆ mbNoAutoCurEntry

bool SvImpLBox::mbNoAutoCurEntry
protected

Definition at line 196 of file svimpbox.hxx.

Referenced by Paint(), IconViewImpl::Paint(), and SetNoAutoCurEntry().

◆ s_nImageRefCount

oslInterlockedCount SvImpLBox::s_nImageRefCount = 0
staticprivate

Definition at line 102 of file svimpbox.hxx.

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

◆ s_pDefCollapsed

Image * SvImpLBox::s_pDefCollapsed = nullptr
staticprivate

◆ s_pDefExpanded

Image * SvImpLBox::s_pDefExpanded = nullptr
staticprivate

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