20#ifndef INCLUDED_VCL_SOURCE_INC_SVIMPBOX_HXX
21#define INCLUDED_VCL_SOURCE_INC_SVIMPBOX_HXX
53 bool bDontSelectAtCursor=
false )
override;
78#define NODE_BMP_TABDIST_NOTVALID -2000000
79#define FIRST_ENTRY_TAB 1
97 ::vcl::AccessibleFactoryAccess
111 LAST = EntryDefCollapsed
207 virtual void PageDown( sal_uInt16 nDelta );
208 virtual void PageUp( sal_uInt16 nDelta );
292 virtual void KeyUp(
bool bPageUp );
293 virtual void KeyDown(
bool bPageDown );
298 void SelAllDestrAnch(
bool bSelect,
bool bDestroyAnchor =
true,
bool bSingleSelToo =
false );
An idle is a timer to be scheduled immediately.
void SetCursorAtPoint(const Point &rPoint, bool bDontSelectAtCursor=false) override
void DeselectAtPoint(const Point &rPoint) override
void BeginDrag() override
VclPtr< SvTreeListBox > pView
ImpLBSelEng(SvImpLBox *pImp, SvTreeListBox *pView)
virtual ~ImpLBSelEng() override
void CreateAnchor() override
void DeselectAll() override
bool IsSelectionAtPoint(const Point &rPoint) override
void DestroyAnchor() override
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
constexpr tools::Long Height() const
SvTreeListEntry * m_pStartEntry
tools::Long m_nNextVerVisSize
bool IsNodeButton(const Point &rPosPixel, const SvTreeListEntry *pEntry) const
void PaintDDCursor(SvTreeListEntry *pEntry, bool bShow)
void SetStyle(WinBits i_nWinStyle)
static oslInterlockedCount s_nImageRefCount
DECL_LINK(EndScrollHdl, ScrollBar *, void)
bool RequestHelp(const HelpEvent &rHEvt)
SvTreeListEntry * m_pActiveEntry
virtual void Paint(vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
virtual void AdjustScrollBars(Size &rSize)
bool ButtonDownCheckCtrl(const MouseEvent &rMEvt, SvTreeListEntry *pEntry)
void EntryCollapsed(SvTreeListEntry *pEntry)
void SetNodeBmpWidth(const Image &)
void SetModel(SvTreeList *pModel)
void EntrySelected(SvTreeListEntry *pEntry, bool bSelect)
void CollapseTo(SvTreeListEntry *pParentToCollapse)
virtual void SyncVerThumb()
static const Image & GetDefaultCollapsedNodeImage()
virtual void KeyUp(bool bPageUp)
void CollapsingEntry(SvTreeListEntry *pEntry)
bool EntryReallyHit(SvTreeListEntry *pEntry, const Point &rPos, tools::Long nLine)
bool IsExpandable() const
std::unique_ptr< comphelper::string::NaturalStringSorter > m_pStringSorter
void SetCollapsedNodeBmp(const Image &_rImg)
void InvalidateEntriesFrom(tools::Long nY) const
void TreeInserted(SvTreeListEntry *pEntry)
bool GetUpdateMode() const
void SelectEntry(SvTreeListEntry *pEntry, bool bSelect)
bool IsCaptureOnButtonActive() const
::vcl::AccessibleFactoryAccess m_aFactoryAccess
void SetDefaultEntryColBmp(const Image &_rImg)
tools::Rectangle GetClipRegionRect() const
virtual void InvalidateEntry(tools::Long nY) const
SvTreeListEntry * MakePointVisible(const Point &rPoint)
static Image * s_pDefCollapsed
static const Image & GetDefaultExpandedNodeImage()
SvTreeListEntry * m_pCursor
VclPtr< ScrollBar > m_aHorSBar
void UpdateContextBmpWidthVectorFromMovedEntry(SvTreeListEntry *pEntry)
bool IsLineVisible(tools::Long nY) const
void EntryInserted(SvTreeListEntry *)
void SetDragDropMode(DragDropMode eDDMode)
virtual SvTreeListEntry * GetEntry(const Point &rPos) const
const Image & GetExpandedNodeBmp()
void SetSelectionMode(SelectionMode eSelMode)
void SetNoAutoCurEntry(bool b)
SelectionEngine m_aSelEng
tools::Rectangle GetVisibleArea() const
SvLBoxButton * m_pActiveButton
virtual void CursorDown()
static void implInitDefaultNodeImages()
tools::Long m_nNodeBmpTabDistance
void UpdateContextBmpWidthMax(SvTreeListEntry const *pEntry)
const Image & GetCollapsedNodeBmp()
void SelAllDestrAnch(bool bSelect, bool bDestroyAnchor=true, bool bSingleSelToo=false)
void PositionScrollBars(Size &rOSize, sal_uInt16 nMask)
const Image & GetDefaultEntryColBmp()
bool HasHorScrollBar() const
short UpdateContextBmpWidthVector(SvTreeListEntry const *pEntry, short nWidth)
SvTreeListEntry * m_pMostRightEntry
SvImpLBox(SvTreeListBox *pView, SvTreeList *, WinBits nWinStyle)
void SetMostRight(SvTreeListEntry *pEntry)
const Size & GetOutputSize() const
ImageType
When 0 all static images will be destroyed.
SvLBoxTab * NextTab(SvLBoxTab const *)
bool ButtonUpCheckCtrl(const MouseEvent &rMEvt)
bool ButtonDownCheckExpand(const MouseEvent &, SvTreeListEntry *)
void SetAnchorSelection(SvTreeListEntry *pOld, SvTreeListEntry *pNewCursor)
void EntryMoved(SvTreeListEntry *pEntry)
ImplSVEvent * m_nCurUserEvent
DECL_LINK(ScrollLeftRightHdl, ScrollBar *, void)
void SetForceMakeVisible(bool bEnable)
void SetCurEntry(SvTreeListEntry *)
o3tl::enumarray< ImageType, Image > m_aNodeAndEntryImages
VclPtr< ScrollBar > m_aVerSBar
void SetUpdateMode(bool bMode)
void EntryExpanded(SvTreeListEntry *pEntry)
void FindMostRight_Impl(SvTreeListEntry *pParent)
tools::Long m_nNodeBmpWidth
void MouseButtonDown(const MouseEvent &)
void UpdateStringSorter()
DECL_LINK(EditTimerCall, Timer *, void)
virtual SvTreeListEntry * GetClickedEntry(const Point &) const
DECL_LINK(ScrollUpDownHdl, ScrollBar *, void)
VclPtr< ScrollBarBox > m_aScrBarBox
std::vector< short > m_aContextBmpWidthVector
SvTreeListEntry * m_pCursorOld
void RemovingEntry(SvTreeListEntry *pEntry)
bool MouseMoveCheckCtrl(const MouseEvent &rMEvt, SvTreeListEntry const *pEntry)
void MovingEntry(SvTreeListEntry *pEntry)
Image & implGetImageLocation(const ImageType _eType)
sal_uLong m_nVisibleCount
virtual bool KeyInput(const KeyEvent &)
virtual Point GetEntryPosition(const SvTreeListEntry *) const
SvTreeListEntry * m_pAnchor
virtual bool IsEntryInView(SvTreeListEntry *pEntry) const
void Command(const CommandEvent &rCEvt)
virtual void KeyDown(bool bPageDown)
SvTreeListEntry * GetCurEntry() const
VclPtr< SvTreeListBox > m_pView
static Image * s_pDefExpanded
void SetDefaultEntryExpBmp(const Image &_rImg)
void MouseButtonUp(const MouseEvent &)
void ScrollToAbsPos(tools::Long nPos)
void MakeVisible(SvTreeListEntry *pEntry, bool bMoveToTop=false)
virtual tools::Long GetEntryLine(const SvTreeListEntry *pEntry) const
void MouseMove(const MouseEvent &)
void DrawNet(vcl::RenderContext &rRenderContext)
void CallEventListeners(VclEventId nEvent, void *pData=nullptr)
virtual void PageDown(sal_uInt16 nDelta)
void SetCursor(SvTreeListEntry *pEntry, bool bForceNoSelect=false)
DECL_LINK(MyUserEvent, void *, void)
void ShowCursor(bool bShow)
bool IsSelectable(const SvTreeListEntry *pEntry) const
void KeyLeftRight(tools::Long nDiff)
void SetNodeBmpTabDistance()
void SetExpandedNodeBmp(const Image &_rImg)
virtual void PageUp(sal_uInt16 nDelta)
const Image & GetDefaultEntryExpBmp()
std::unique_ptr< SvTreeList > pModel