36#include <bitmaps.hlst>
53 , m_aFctSet(this, pLBView)
54 , mbForceMakeVisible (false)
55 , m_aEditIdle(
"SvImpLBox m_aEditIdle")
59 , mbNoAutoCurEntry(false)
60 , m_aSelEng(pLBView, nullptr)
61 , m_nNextVerVisSize(0)
139 if( aLocale.Language != rNewLocale.Language ||
140 aLocale.Country != rNewLocale.Country ||
141 aLocale.Variant != rNewLocale.Variant )
148 ::comphelper::getProcessComponentContext(),
160 while ( nDepth > nSize )
172 if( nContextBmpWidth < nWidth )
178 return nContextBmpWidth;
183 DBG_ASSERT( pEntry,
"Moved Entry is invalid!" );
188 short nMax = std::max(nExpWidth, nColWidth);
194 DBG_ASSERT( pChild,
"The first child is invalid!" );
253 Range aRange( 0, 0 );
260 m_pView->Control::SetMapMode( aMapMode );
283 m_aVerSBar->SetVisibleSize( m_nNextVerVisSize );
292 DBG_ASSERT(!m_bInVScrollHdl,
"Scroll handler out-paces itself!");
298 if (pScrollBar->GetPageSize() == 1)
299 nDelta = nDelta > 0 ? 1 : -1;
303 m_bInVScrollHdl =
true;
305 if( m_pView->IsEditingActive() )
307 m_pView->EndEditing(
true );
308 m_pView->PaintImmediately();
313 if( nDelta == 1 && pScrollBar->GetPageSize() > 1)
316 PageDown(
static_cast<sal_uInt16
>(nDelta) );
321 if( nDelta == 1 && pScrollBar->GetPageSize() > 1)
324 PageUp(
static_cast<sal_uInt16
>(nDelta) );
326 m_bInVScrollHdl =
false;
336 if( pNextFirstToDraw )
356 if( !pPrevFirstToDraw )
375 sal_uInt16 nRealDelta = nDelta;
413 sal_uInt16 nRealDelta = nDelta;
459 if( nThumbPos < nDelta )
469 PageUp(
static_cast<short>(nDelta) );
491 while( (nDelta > 0) && (nTmp+nDelta) >= nRange )
501 PageDown(
static_cast<short>(nDelta) );
526 if( aRect.
Top() > nMaxBottom )
528 if( aRect.
Bottom() > nMaxBottom )
548 bool bHasFocusRect =
false;
551 bHasFocusRect =
true;
593 while( pEntry && pViewDataNewCur && !pViewDataNewCur->
IsSelectable() )
688 if( m_pView->IsEditingActive() )
690 m_pView->EndEditing(
true );
691 m_pView->PaintImmediately();
693 m_pView->nFocusWidth = -1;
694 KeyLeftRight( nDelta );
729 DBG_ASSERT(
m_pView->
GetModel(),
"SvImpLBox::GetClickedEntry: how can this ever happen? Please tell me (frank.schoenheit@sun.com) how to reproduce!" );
740 sal_uInt16 nTemp = nClickedEntry;
764 Point aPos( rPosPixel );
780 sal_uInt16 nTemp = nClickedEntry;
782 if( nTemp != nClickedEntry )
795 if( nY < 0 || nY >= nMax )
815 sal_uInt16 nSteps = 0xFFFF;
833 aOrigin.
setX( aOrigin.
X() * -1 );
858 reinterpret_cast<void*
>(1));
875 sal_uInt16 nStartLine =
static_cast<sal_uInt16
>(rRect.
Top() / nEntryHeight);
876 sal_uInt16
nCount =
static_cast<sal_uInt16
>(nRectHeight / nEntryHeight);
881 while (nStartLine && pEntry)
894 for(sal_uInt16
n=0;
n<
nCount && pEntry;
n++)
958 else if(
nPos > nLastEntryPos )
959 nPos = nLastEntryPos;
1001 if( nEntryHeightDIV2 && !(nEntryHeight & 0x0001))
1014 nY -= (nOffs * nEntryHeight);
1026 sal_uInt16 nDistance;
1038 aPos1.
setY(nY + nEntryHeight);
1040 assert(pChild &&
"Child?");
1045 aPos2.
AdjustY((nDistance * nEntryHeight) - (nEntryHeightDIV2 + 2));
1046 rRenderContext.
DrawLine(aPos1, aPos2);
1055 aPos1.
setY(nY + nEntryHeightDIV2);
1058 rRenderContext.
DrawLine(aPos1, aPos2);
1064 rRenderContext.
Pop();
1074 if( nMask & 0x0001 )
1076 if( nMask & 0x0002 )
1080 Point aVerPos( rSize.
Width() - aVerSize.
Width() + nOverlap, -nOverlap );
1088 if( nMask & 0x0001 )
1090 if( nMask & 0x0002 )
1093 if( (nMask & (0x0001|0x0002)) == (0x0001|0x0002) )
1105 sal_uInt16 nResult = 0;
1107 Size aOSize(
m_pView->Control::GetOutputSizePixel() );
1110 bool bVerSBar = ( nWindowStyle &
WB_VSCROLL ) != 0;
1111 bool bHorBar =
false;
1114 aOrigin.
setX( aOrigin.
X() * -1 );
1115 nMaxRight += aOrigin.
X() - 1;
1150 if( !(nResult & 0x0001) &&
1194 if( nTemp != nNewThumbPos )
1196 nTemp = nNewThumbPos - nTemp;
1206 if( nResult & 0x0001 )
1211 if( nResult & 0x0002 )
1223 Size aSize(
m_pView->Control::GetOutputSizePixel() );
1255 if( nTempThumb < 0 )
1258 nTempThumb = nVisibleViewCount == 0 ? 0 : nVisibleViewCount - 1;
1266 sal_uLong nCurDispEntries = nLast-nThumb+1;
1272 bool bFound =
false;
1321 aPos.
setX( aPos.
X() * -1 );
1322 nMaxRight = nMaxRight + aPos.
X() - 1;
1389 nFirstVisPos = nEntryVisPos - nFirstVisPos;
1391 return nFirstVisPos;
1400 Size aSize =
m_pView->Control::GetOutputSizePixel();
1455 if( nNewThumbPos != nOldThumbPos )
1458 sal_uInt16 nDistance =
static_cast<sal_uInt16
>(nNewThumbPos);
1711 sal_uInt16 nNewPos =
static_cast<sal_uInt16
>(
m_pTree->
GetAbsPos( pEntry ));
1713 if( nNewPos < nFirstPos )
1768 sal_uInt16 nCurDispEntries = nLast-nThumb+1;
1873 if( !pFirstDynamicTab )
1879 nMouseX -= aOrigin.
X();
1886 return nMouseX <= nX;
2071 if (!pParentToCollapse)
2074 sal_uInt16 nRefDepth;
2116 bool bKeyUsed =
true;
2119 sal_uInt16 aCode = rKeyCode.
GetCode();
2121 bool bShift = rKeyCode.
IsShift();
2122 bool bMod1 = rKeyCode.
IsMod1();
2260 while( nDelta && pNewCursor && !
IsSelectable(pNewCursor) )
2288 while( nDelta && pNewCursor && !
IsSelectable(pNewCursor) )
2294 if( nDelta && pNewCursor )
2349 if( !bShift && !bMod1 )
2352 EditTimerCall(
nullptr );
2437 if( pNewCursor && pNewCursor !=
m_pCursor )
2457 if( pNewCursor && pNewCursor !=
m_pCursor)
2612 if( nOldVisPos > nAnchorVisPos ||
2613 ( nAnchorVisPos==nOldVisPos && nNewVisPos > nAnchorVisPos) )
2615 if( nNewVisPos > nOldVisPos )
2617 pEntry = pOldCursor;
2618 while( pEntry && pEntry != pNewCursor )
2628 if( nNewVisPos < nAnchorVisPos )
2631 while( pEntry && pEntry != pOldCursor )
2639 pEntry = pNewCursor;
2650 if( nNewVisPos < nOldVisPos )
2653 while( pEntry && pEntry != pOldCursor )
2665 if( nNewVisPos < nOldVisPos )
2667 pEntry = pNewCursor;
2668 while( pEntry && pEntry != pOldCursor )
2678 if( nNewVisPos > nAnchorVisPos )
2680 pEntry = pOldCursor;
2689 while( pEntry && pEntry != pNewCursor )
2699 if( nNewVisPos > nOldVisPos )
2701 pEntry = pOldCursor;
2702 while( pEntry && pEntry != pNewCursor )
2713 bool bSelect,
bool bDestroyAnchor,
bool bSingleSelToo )
2740 if( bDestroyAnchor )
2770 if( bDestroyAnchor )
2853 aPos.
setX( aPos.
X() * -1 );
2878 if( !m_pView->IsInplaceEditingEnabled() )
2881 bool bIsMouseTriggered = m_aEditClickPos.X() >= 0;
2882 if ( bIsMouseTriggered )
2884 Point aCurrentMousePos = m_pView->GetPointerPosPixel();
2885 if ( ( std::abs( aCurrentMousePos.
X() - m_aEditClickPos.X() ) > 5 )
2886 || ( std::abs( aCurrentMousePos.
Y() - m_aEditClickPos.Y() ) > 5 )
2896 ShowCursor(
false );
2897 m_pView->ImplEditEntry( pEntry );
2923 bool bItemClipped =
false;
2928 bItemClipped =
true;
2934 if( bItemClipped || !aViewRect.
Contains( aItemRect ) )
2959 if( nTabCount <= 1 )
2961 for(
int nTab=0; nTab < (nTabCount-1); nTab++)
2989 sal_uInt16 nLastItem = pEntry->
ItemCount() - 1;
2993 if( nLastItem < nLastTab )
2994 nLastTab = nLastItem;
3003 aPos.
setX( aPos.
X() * -1 );
3004 nMaxRight = nMaxRight + aPos.
X() - 1;
3006 tools::Long nNextTab = nTabPos < nMaxRight ? nMaxRight : nMaxRight + 50;
3011 tools::Long nRight = nTabPos + nOffset + nItemSize;
3046 size_t nCount = rList.size();
3047 for(
size_t nCur = 0; nCur <
nCount; nCur++ )
3072 m_nCurUserEvent =
nullptr;
3075 m_pView->Invalidate();
3076 m_pView->PaintImmediately();
3082 m_pView->Invalidate( GetVisibleArea() );
3133 return (pViewDataNewCur ==
nullptr) || pViewDataNewCur->
IsSelectable();
const LanguageTag & GetLanguageTag() const
const StyleSettings & GetStyleSettings() const
static const AllSettings & GetSettings()
Gets the application's settings.
static ImplSVEvent * PostUserEvent(const Link< void *, void > &rLink, void *pCaller=nullptr, bool bReferenceLink=false)
Post a user event to the default window.
static void RemoveUserEvent(ImplSVEvent *nUserEvent)
Remove user event based on event ID.
CommandEventId GetCommand() const
const Point & GetMousePosPixel() const
HelpEventMode GetMode() const
const Point & GetMousePosPixel() const
static void ShowQuickHelp(vcl::Window *pParent, const tools::Rectangle &rScreenRect, const OUString &rHelpText, QuickHelpFlags nStyle=QuickHelpFlags::NONE)
virtual void Start(bool bStartTimer=true) override
Schedules the task for execution.
Size GetSizePixel() const
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
const vcl::KeyCode & GetKeyCode() const
const css::lang::Locale & getLocale(bool bResolveSystem=true) const
void SetOrigin(const Point &rOrigin)
const Point & GetOrigin() const
sal_uInt16 GetClicks() const
const Point & GetPosPixel() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
vcl::Region GetClipRegion() const
void DrawLine(const Point &rStartPt, const Point &rEndPt)
void Push(vcl::PushFlags nFlags=vcl::PushFlags::ALL)
bool DrawNativeControl(ControlType nType, ControlPart nPart, const tools::Rectangle &rControlRegion, ControlState nState, const ImplControlValue &aValue, const OUString &aCaption, const Color &rBackgroundColor=COL_AUTO)
Request rendering of a particular control and/or part.
const AllSettings & GetSettings() const
bool IsNativeControlSupported(ControlType nType, ControlPart nPart) const
Query the platform layer for control support.
constexpr tools::Long Y() const
void setX(tools::Long nX)
void setY(tools::Long nY)
tools::Long AdjustY(tools::Long nVertMove)
tools::Long AdjustX(tools::Long nHorzMove)
constexpr tools::Long X() const
bool Command(const CommandEvent &rCEvt)
bool SelMouseMove(const MouseEvent &rMEvt)
SelectionMode GetSelectionMode() const
const Point & GetMousePosPixel() const
bool SelMouseButtonDown(const MouseEvent &rMEvt)
bool IsAlwaysAdding() const
void EnableDrag(bool bOn)
void SetSelectionMode(SelectionMode eMode)
void CursorPosChanging(bool bShift, bool bMod1)
void SetFunctionSet(FunctionSet *pFuncs)
void SetVisibleArea(const tools::Rectangle &rNewArea)
void ExpandSelectionOnMouseMove(bool bExpand=true)
bool SelMouseButtonUp(const MouseEvent &rMEvt)
constexpr tools::Long Height() const
tools::Long AdjustHeight(tools::Long n)
void setWidth(tools::Long nWidth)
tools::Long AdjustWidth(tools::Long n)
void setHeight(tools::Long nHeight)
constexpr tools::Long Width() const
const Color & GetShadowColor() 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
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 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 InvalidateEntriesFrom(tools::Long nY) const
bool GetUpdateMode() const
void SelectEntry(SvTreeListEntry *pEntry, bool bSelect)
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)
short UpdateContextBmpWidthVector(SvTreeListEntry const *pEntry, short nWidth)
SvTreeListEntry * m_pMostRightEntry
SvImpLBox(SvTreeListBox *pView, SvTreeList *, WinBits nWinStyle)
void SetMostRight(SvTreeListEntry *pEntry)
const Size & GetOutputSize() const
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
void SetCurEntry(SvTreeListEntry *)
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()
virtual SvTreeListEntry * GetClickedEntry(const Point &) const
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)
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)
VclPtr< SvTreeListBox > m_pView
static Image * s_pDefExpanded
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)
void ShowCursor(bool bShow)
bool IsSelectable(const SvTreeListEntry *pEntry) const
void KeyLeftRight(tools::Long nDiff)
void SetNodeBmpTabDistance()
virtual void PageUp(sal_uInt16 nDelta)
const Image & GetBitmap2() const
const Image & GetBitmap1() const
int GetHeight(const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const
virtual SvLBoxItemType GetType() const =0
int GetWidth(const SvTreeListBox *pView, const SvTreeListEntry *pEntry) const
tools::Long GetPos() const
tools::Long CalcOffset(tools::Long nItemLength, tools::Long nTabWidth)
sal_uInt32 GetVisiblePos(SvTreeListEntry const *pEntry) const
bool IsSelected(const SvTreeListEntry *pEntry) const
SvTreeListEntry * NextVisible(SvTreeListEntry *pEntry) const
SvTreeListEntry * GetEntryAtAbsPos(sal_uInt32 nAbsPos) const
SvTreeListEntry * FirstVisible() const
SvTreeListEntry * PrevVisible(SvTreeListEntry *pEntry) const
std::unique_ptr< SvTreeList > pModel
sal_uInt32 GetVisibleCount() const
bool IsEntryVisible(SvTreeListEntry *pEntry) const
sal_uInt32 GetSelectionCount() const
SvTreeListEntry * NextSelected(SvTreeListEntry *pEntry) const
bool IsAllExpanded(SvTreeListEntry *pEntry) const
SvTreeListEntry * LastVisible() const
SvTreeListEntry * FirstSelected() const
sal_uInt32 GetAbsPos(SvTreeListEntry const *pEntry) const
const SvViewDataEntry * GetViewData(const SvTreeListEntry *pEntry) const
bool IsExpanded(SvTreeListEntry *pEntry) const
SvTreeListEntry * GetEntryAtVisPos(sal_uInt32 nVisPos) const
void SetEntryFocus(SvTreeListEntry *pEntry, bool bFocus)
virtual void StartDrag(sal_Int8 nAction, const Point &rPosPixel) override
SvLBoxItem * GetItem(SvTreeListEntry *, tools::Long nX, SvLBoxTab **ppTab)
SvTreeListEntry * FirstChild(SvTreeListEntry *pParent) const
sal_uInt32 GetEntryCount() const
SvTreeListEntry * Next(SvTreeListEntry *pEntry) const
SvTreeListEntry * pHdlEntry
bool Collapse(SvTreeListEntry *pParent)
SvTreeListEntry * pEdEntry
bool Select(SvTreeListEntry *pEntry, bool bSelect=true)
SvTreeListEntry * Last() const
bool mbActivateOnSingleClick
void OnCurrentEntryChanged()
void CallImplEventListeners(VclEventId nEvent, void *pData)
sal_uInt16 TabCount() const
bool IsEditingActive() const
short GetEntryHeight() const
std::vector< std::unique_ptr< SvLBoxTab > > aTabs
short nContextBmpWidthMax
SvViewDataEntry * GetViewDataEntry(SvTreeListEntry const *pEntry) const
SvLBoxTab * GetFirstDynamicTab() const
void EndEditing(bool bCancel=false)
SvTreeListEntry * First() const
SelectionMode GetSelectionMode() const
virtual tools::Rectangle GetFocusRect(const SvTreeListEntry *, tools::Long nLine)
VCL_DLLPRIVATE void PaintEntry1(SvTreeListEntry &, tools::Long nLine, vcl::RenderContext &rRenderContext)
void SelectAll(bool bSelect)
SvTreeListEntry * GetParent(SvTreeListEntry *pEntry) const
SvTreeList * GetModel() const
bool Expand(SvTreeListEntry *pParent)
SvLBoxTab * GetTab(SvTreeListEntry const *, SvLBoxItem const *) const
sal_IntPtr GetTabPos(const SvTreeListEntry *, const SvLBoxTab *) const
SvTreeListEntry * PrevSibling() const
SvTreeListEntry * NextSibling() const
const SvLBoxItem * GetFirstItem(SvLBoxItemType eType) const
SvTLEntryFlags GetFlags() const
bool HasChildrenOnDemand() const
const SvLBoxItem & GetItem(size_t nPos) const
void SetFlags(SvTLEntryFlags nFlags)
SvTreeListEntry * LastSibling() const
SvTreeListEntry * Last() const
sal_uInt32 GetAbsPos(const SvTreeListEntry *pEntry) const
SvTreeListEntry * Next(SvTreeListEntry *pEntry, sal_uInt16 *pDepth=nullptr) const
bool IsChild(const SvTreeListEntry *pParent, const SvTreeListEntry *pChild) const
SvTreeListEntry * First() const
bool IsAtRootDepth(const SvTreeListEntry *pEntry) const
const SvTreeListEntries & GetChildList(SvTreeListEntry *pParent) const
const SvTreeListEntry * GetParent(const SvTreeListEntry *pEntry) const
sal_uInt16 GetDepth(const SvTreeListEntry *pEntry) const
void InvalidateEntry(SvTreeListEntry *)
View-dependent data for a tree list entry created in the virtual function SvTreeListBox::CreateViewDa...
bool IsSelectable() const
void SetDragTarget(bool bDragTarget)
void SetFocus(bool bFocus)
void SetPriority(TaskPriority ePriority)
void SetInvokeHandler(const Link< Timer *, void > &rLink)
A thin wrapper around rtl::Reference to implement the acquire and dispose semantics we want for refer...
reference_type * get() const
Get the body.
sal_uInt16 GetCode() const
Point OutputToScreenPixel(const Point &rPos) const
bool HandleScrollCommand(const CommandEvent &rCmd, Scrollable *pHScrl, Scrollable *pVScrl)
bool SupportsDoubleBuffering() const
Can the widget derived from this Window do the double-buffering via RenderContext properly?
virtual void SetSizePixel(const Size &rNewSize)
void Show(bool bVisible=true, ShowFlags nFlags=ShowFlags::NONE)
const MapMode & GetMapMode() const
::OutputDevice const * GetOutDev() const
virtual void Scroll(tools::Long nHorzScroll, tools::Long nVertScroll, ScrollFlags nFlags=ScrollFlags::NONE)
virtual void ShowFocus(const tools::Rectangle &rRect)
virtual Size GetSizePixel() const
void Invalidate(InvalidateFlags nFlags=InvalidateFlags::NONE)
virtual void SetPosPixel(const Point &rNewPos)
Point ScreenToOutputPixel(const Point &rPos) const
virtual void SetPosSizePixel(const Point &rNewPos, const Size &rNewSize)
#define DBG_ASSERT(sCon, aError)
constexpr sal_uInt16 KEY_RETURN
constexpr sal_uInt16 KEY_F2
constexpr sal_uInt16 KEY_ESCAPE
constexpr sal_uInt16 KEY_HOME
constexpr sal_uInt16 KEY_ADD
constexpr sal_uInt16 KEY_LEFT
constexpr sal_uInt16 KEY_PAGEDOWN
constexpr sal_uInt16 KEY_TAB
constexpr sal_uInt16 KEY_COMMA
constexpr sal_uInt16 KEY_UP
constexpr sal_uInt16 KEY_A
constexpr sal_uInt16 KEY_RIGHT
constexpr sal_uInt16 KEY_DELETE
constexpr sal_uInt16 KEY_F8
constexpr sal_uInt16 KEY_DOWN
constexpr sal_uInt16 KEY_SPACE
constexpr sal_uInt16 KEY_PAGEUP
constexpr sal_uInt16 KEY_SUBTRACT
constexpr sal_uInt16 KEY_DIVIDE
constexpr sal_uInt16 KEY_BACKSPACE
constexpr sal_uInt16 KEY_END
constexpr sal_uInt16 KEY_MULTIPLY
#define LINK(Instance, Class, Member)
std::unique_ptr< sal_Int32[]> pData
constexpr std::enable_if_t< std::is_signed_v< T >, std::make_unsigned_t< T > > make_unsigned(T value)
IMPL_LINK(SvImpLBox, ScrollUpDownHdl, ScrollBar *, pScrollBar, void)
IMPL_LINK_NOARG(SvImpLBox, EndScrollHdl, ScrollBar *, void)
#define NODE_BMP_TABDIST_NOTVALID
@ LOWEST
Low, very idle cleanup tasks.
std::vector< std::unique_ptr< SvTreeListEntry > > SvTreeListEntries
WinBits const WB_NOINITIALSELECTION
WinBits const WB_HIDESELECTION
WinBits const WB_SIMPLEMODE
WinBits const WB_AUTOHSCROLL
WinBits const WB_HASLINESATROOT
WinBits const WB_HASLINES