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