LibreOffice Module vcl (master) 1
|
#include <svimpbox.hxx>
Static Public Member Functions | |
static const Image & | GetDefaultExpandedNodeImage () |
static const Image & | GetDefaultCollapsedNodeImage () |
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) | |
Private Types | |
enum class | ImageType { NodeExpanded = 0 , NodeCollapsed , EntryDefExpanded , EntryDefCollapsed , LAST = EntryDefCollapsed } |
When 0 all static images will be destroyed. More... | |
Static Private Member Functions | |
static void | implInitDefaultNodeImages () |
Private Attributes | |
SvTreeList * | m_pTree |
SvTreeListEntry * | m_pAnchor |
SvTreeListEntry * | m_pMostRightEntry |
SvLBoxButton * | m_pActiveButton |
SvTreeListEntry * | m_pActiveEntry |
SvLBoxTab * | m_pActiveTab |
VclPtr< ScrollBarBox > | m_aScrBarBox |
::vcl::AccessibleFactoryAccess | m_aFactoryAccess |
o3tl::enumarray< ImageType, Image > | m_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::NaturalStringSorter > | m_pStringSorter |
std::vector< short > | m_aContextBmpWidthVector |
Static Private Attributes | |
static Image * | s_pDefCollapsed = nullptr |
static Image * | s_pDefExpanded = nullptr |
static oslInterlockedCount | s_nImageRefCount = 0 |
Friends | |
class | ImpLBSelEng |
class | SvTreeListBox |
class | SalInstanceTreeView |
class | IconView |
Definition at line 81 of file svimpbox.hxx.
|
strongprivate |
When 0 all static images will be destroyed.
Enumerator | |
---|---|
NodeExpanded | |
NodeCollapsed | |
EntryDefExpanded | |
EntryDefCollapsed | |
LAST |
Definition at line 105 of file svimpbox.hxx.
SvImpLBox::SvImpLBox | ( | SvTreeListBox * | pView, |
SvTreeList * | pLBTree, | ||
WinBits | nWinStyle | ||
) |
Definition at line 51 of file svimpbox.cxx.
References Create(), SelectionEngine::ExpandSelectionOnMouseMove(), Filling, vcl::Window::GetSizePixel(), Size::Height(), vcl::Window::Hide(), LINK, LOWEST, m_aEditIdle, m_aFctSet, m_aHorSBar, m_aSelEng, m_aVerSBar, m_bInVScrollHdl, m_bSubLstOpLR, m_bUpdateMode, m_nCurUserEvent, m_nFlags, m_nHorSBarHeight, m_nMostRight, m_nNodeBmpTabDistance, m_nNodeBmpWidth, m_nVerSBarWidth, m_nVisibleCount, m_pActiveButton, m_pActiveEntry, m_pActiveTab, m_pAnchor, m_pCursor, m_pCursorOld, m_pMostRightEntry, m_pStartEntry, m_pTree, m_pView, NODE_BMP_TABDIST_NOTVALID, NONE, s_nImageRefCount, SetDragDropMode(), ScrollBar::SetEndScrollHdl(), SelectionEngine::SetFunctionSet(), Timer::SetInvokeHandler(), ScrollBar::SetLineSize(), ScrollBar::SetPageSize(), Task::SetPriority(), ScrollBar::SetRange(), ScrollBar::SetScrollHdl(), SetSelectionMode(), SetStyle(), Single, and Size::Width().
|
virtual |
Definition at line 114 of file svimpbox.cxx.
References VclPtr< reference_type >::disposeAndClear(), m_aEditIdle, m_aHorSBar, m_aScrBarBox, m_aVerSBar, s_nImageRefCount, s_pDefCollapsed, s_pDefExpanded, Task::Stop(), and StopUserEvent().
|
protectedvirtual |
Reimplemented in IconViewImpl.
Definition at line 1099 of file svimpbox.cxx.
References SvTreeListBox::EndEditing(), EndScrollSetVisSize, SvTreeListBox::GetEntryHeight(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), ScrollBar::GetRange(), vcl::Window::GetStyle(), ScrollBar::GetThumbPos(), SvListView::GetVisibleCount(), ScrollBar::GetVisibleSize(), Size::Height(), vcl::Window::Hide(), SvTreeListBox::IsEditingActive(), KeyLeftRight(), m_aHorSBar, m_aSelEng, m_aVerSBar, m_bInVScrollHdl, m_nFlags, m_nHorSBarHeight, m_nMostRight, m_nNextVerVisSize, m_nVerSBarWidth, m_nVisibleCount, m_pView, o3tl::make_unsigned(), Range::Max(), SvTreeListBox::nFocusWidth, vcl::Window::PaintImmediately(), PositionScrollBars(), ScrollBar::SetPageSize(), ScrollBar::SetRange(), tools::Rectangle::SetSize(), SelectionEngine::SetVisibleArea(), ScrollBar::SetVisibleSize(), Point::setX(), vcl::Window::Show(), WB_AUTOHSCROLL, WB_HSCROLL, WB_VSCROLL, Size::Width(), and Point::X().
Referenced by Resize(), SetEntryHeight(), and ShowVerSBar().
|
private |
Definition at line 2806 of file svimpbox.cxx.
References Filling, SelectionEngine::GetMousePosPixel(), m_aSelEng, m_nFlags, m_pView, and SvTreeListBox::StartDrag().
Referenced by ImpLBSelEng::BeginDrag().
|
private |
Definition at line 1797 of file svimpbox.cxx.
References Button, vcl::Window::CaptureMouse(), SvTreeListBox::GetItem(), MouseEvent::GetPosPixel(), SvLBoxItem::GetType(), vcl::Window::HideFocus(), InvalidateEntry(), m_pActiveButton, m_pActiveEntry, m_pActiveTab, m_pCursor, m_pView, SvLBoxButton::SetStateHilighted(), and Point::X().
Referenced by MouseButtonDown().
|
private |
Definition at line 1890 of file svimpbox.cxx.
References SvTreeListBox::Collapse(), SvTreeListBox::EndEditing(), SvTreeListBox::Expand(), MouseEvent::GetPosPixel(), SvTreeListBox::IsEditingActive(), SvListView::IsExpanded(), IsNodeButton(), m_pView, and SvTreeListBox::pEdEntry.
Referenced by MouseButtonDown().
|
private |
Definition at line 1843 of file svimpbox.cxx.
References SvLBoxButton::ClickHdl(), GetClickedEntry(), SvTreeListBox::GetItem(), MouseEvent::GetPosPixel(), InvalidateEntry(), SvLBoxItem::isEnable(), m_pActiveButton, m_pActiveEntry, m_pActiveTab, m_pCursor, m_pView, vcl::Window::ReleaseMouse(), SvLBoxButton::SetStateHilighted(), ShowCursor(), and Point::X().
Referenced by MouseButtonUp().
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().
void SvImpLBox::Clear | ( | ) |
Definition at line 230 of file svimpbox.cxx.
References CallEventListeners(), Filling, vcl::Window::GetMapMode(), vcl::Window::GetOutDev(), GetUpdateMode(), GetVisibleArea(), vcl::Window::HasFocus(), vcl::Window::Hide(), vcl::Window::HideFocus(), vcl::Window::Invalidate(), vcl::Window::IsVisible(), ListboxItemRemoved, m_aContextBmpWidthVector, m_aHorSBar, m_aOutputSize, m_aScrBarBox, m_aVerSBar, m_nFlags, m_nHorSBarHeight, m_nMostRight, m_pActiveButton, m_pActiveEntry, m_pActiveTab, m_pAnchor, m_pCursor, m_pCursorOld, m_pMostRightEntry, m_pStartEntry, m_pView, OutputDevice::SetClipRegion(), MapMode::SetOrigin(), ScrollBar::SetRange(), vcl::Window::SetSizePixel(), ScrollBar::SetThumbPos(), StopUserEvent(), and Size::Width().
|
private |
Definition at line 2068 of file svimpbox.cxx.
References SvTreeListBox::Collapse(), SvTreeList::GetChildList(), SvTreeList::GetDepth(), SvTreeList::GetParent(), SvTreeListEntry::HasChildren(), SvListView::IsExpanded(), m_pCursor, m_pTree, m_pView, and SvTreeList::Next().
Referenced by KeyInput().
void SvImpLBox::CollapsingEntry | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 1478 of file svimpbox.cxx.
References GetEntryLine(), GetUpdateMode(), vcl::Window::Invalidate(), InvalidateEntriesFrom(), SvTreeList::IsChild(), SvListView::IsEntryVisible(), IsLineVisible(), m_pStartEntry, m_pTree, m_pView, and SelAllDestrAnch().
void SvImpLBox::Command | ( | const CommandEvent & | rCEvt | ) |
Definition at line 2828 of file svimpbox.cxx.
References AutoScroll, SelectionEngine::Command(), ContextMenu, GesturePan, VclPtr< reference_type >::get(), CommandEvent::GetCommand(), CommandEvent::GetMousePosPixel(), vcl::Window::HandleScrollCommand(), Size::Height(), m_aEditIdle, m_aHorSBar, m_aOutputSize, m_aSelEng, m_aVerSBar, m_pView, StartAutoScroll, Task::Stop(), Wheel, Size::Width(), Point::X(), and Point::Y().
|
protectedvirtual |
Reimplemented in IconViewImpl.
Definition at line 330 of file svimpbox.cxx.
References Filling, SvTreeListBox::GetEntryHeight(), GetVisibleArea(), m_nFlags, m_pStartEntry, m_pView, SvListView::NextVisible(), NoChildren, SvTreeListBox::NotifyScrolled(), vcl::Window::PaintImmediately(), vcl::Window::Scroll(), and ShowCursor().
Referenced by KeyDown().
|
protectedvirtual |
Reimplemented in IconViewImpl.
Definition at line 350 of file svimpbox.cxx.
References tools::Rectangle::AdjustBottom(), Filling, SvTreeListBox::GetEntryHeight(), tools::Rectangle::GetHeight(), GetVisibleArea(), m_nFlags, m_pStartEntry, m_pView, NoChildren, SvTreeListBox::NotifyScrolled(), vcl::Window::PaintImmediately(), SvListView::PrevVisible(), vcl::Window::Scroll(), and ShowCursor().
Referenced by KeyUp().
|
private |
|
private |
|
protected |
|
private |
|
private |
|
inline |
Definition at line 297 of file svimpbox.hxx.
References m_aSelEng, m_pAnchor, and SelectionEngine::Reset().
Referenced by EntryInserted(), RemovingEntry(), and SelAllDestrAnch().
|
private |
Definition at line 979 of file svimpbox.cxx.
References Point::AdjustX(), Point::AdjustY(), DBG_ASSERT, OutputDevice::DrawLine(), OutputDevice::DrawNativeControl(), ENABLED, Entire, SvTreeListBox::FirstChild(), SvTreeList::GetDepth(), SvTreeListBox::GetEntryHeight(), GetExpandedNodeBmp(), SvTreeListBox::GetFirstDynamicTab(), SvTreeListBox::GetIndent(), SvTreeListBox::GetParent(), OutputDevice::GetSettings(), StyleSettings::GetShadowColor(), Image::GetSizePixel(), AllSettings::GetStyleSettings(), SvTreeListBox::GetTabPos(), SvListView::GetVisibleCount(), SvListView::GetVisiblePos(), SvTreeListEntry::HasChildren(), SvTreeListEntry::HasChildrenOnDemand(), SvTreeList::IsAtRootDepth(), SvListView::IsExpanded(), OutputDevice::IsNativeControlSupported(), SvTreeListEntry::LastSibling(), vcl::LINECOLOR, ListNet, m_nNodeBmpTabDistance, m_nVisibleCount, m_pStartEntry, m_pTree, m_pView, n, SvListView::NextVisible(), OutputDevice::Pop(), OutputDevice::Push(), OutputDevice::SetLineColor(), Point::setX(), Point::setY(), and Size::Width().
Referenced by Paint().
void SvImpLBox::EntryCollapsed | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 1437 of file svimpbox.cxx.
References FindMostRight(), SvTreeListBox::First(), ScrollBar::GetThumbPos(), GetUpdateMode(), SvListView::GetVisibleCount(), vcl::Window::Invalidate(), SvTreeList::IsChild(), SvListView::IsEntryVisible(), m_aVerSBar, m_pCursor, m_pMostRightEntry, m_pStartEntry, m_pTree, m_pView, SvListView::NextVisible(), SvTreeListBox::Select(), SetCursor(), ScrollBar::SetRange(), ShowCursor(), ShowVerSBar(), and SyncVerThumb().
void SvImpLBox::EntryExpanded | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 1416 of file svimpbox.cxx.
References FindMostRight(), GetEntryLine(), GetUpdateMode(), SvListView::GetVisibleCount(), InvalidateEntriesFrom(), IsLineVisible(), m_aVerSBar, m_pView, ScrollBar::SetRange(), ShowCursor(), ShowVerSBar(), and SyncVerThumb().
void SvImpLBox::EntryInserted | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 1735 of file svimpbox.cxx.
References DeselectAll, DestroyAnchor(), Filling, SvTreeListBox::First(), SvTreeList::GetChildList(), SvTreeListBox::GetEntryHeight(), GetEntryLine(), SvTreeList::GetParent(), GetUpdateMode(), SvListView::GetVisibleCount(), SvListView::GetVisiblePos(), vcl::Window::Invalidate(), InvalidateEntriesFrom(), SvTreeList::InvalidateEntry(), SvListView::IsEntryVisible(), IsLineVisible(), SvListView::LastVisible(), m_aVerSBar, m_nFlags, m_nVisibleCount, m_pStartEntry, m_pTree, m_pView, vcl::Window::PaintImmediately(), SelAllDestrAnch(), SetCursor(), SetMostRight(), ScrollBar::SetRange(), ShowCursor(), ShowVerSBar(), and SyncVerThumb().
Referenced by TreeInserted().
void SvImpLBox::EntryMoved | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 1700 of file svimpbox.cxx.
References FindMostRight(), SvTreeListBox::First(), SvTreeList::GetAbsPos(), SvTreeList::GetParent(), SvListView::GetVisibleCount(), vcl::Window::Invalidate(), IsEntryInView(), SvListView::IsEntryVisible(), m_aVerSBar, m_pCursor, m_pStartEntry, m_pTree, m_pView, SetCursor(), ScrollBar::SetRange(), ShowCursor(), SyncVerThumb(), and UpdateContextBmpWidthVectorFromMovedEntry().
|
private |
Definition at line 749 of file svimpbox.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::Contains(), ContextBmp, SvTreeListEntry::GetFirstItem(), SvTreeListBox::GetFocusRect(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), GetOutputSize(), SvLBoxItem::GetWidth(), SvTreeListEntry::ItemCount(), m_pView, tools::Rectangle::SetRight(), Width, and Point::X().
Referenced by MouseButtonDown().
void SvImpLBox::EntryRemoved | ( | ) |
Definition at line 1621 of file svimpbox.cxx.
References FillView(), FindMostRight(), SvTreeList::First(), SvListView::FirstSelected(), SvListView::GetSelectionCount(), GetUpdateMode(), SvListView::GetVisibleCount(), SvListView::GetVisiblePos(), vcl::Window::HasFocus(), SvListView::IsSelected(), m_aVerSBar, m_bSimpleTravel, m_nFlags, m_pCursor, m_pStartEntry, m_pTree, m_pView, MakeVisible(), SvListView::NextVisible(), SvListView::PrevVisible(), RemovedEntryInvisible, RemovedRecalcMostRight, SvTreeListBox::Select(), SetCursor(), ScrollBar::SetRange(), ScrollBar::SetThumbPos(), ShowCursor(), and ShowVerSBar().
void SvImpLBox::EntrySelected | ( | SvTreeListEntry * | pEntry, |
bool | bSelect | ||
) |
Definition at line 1524 of file svimpbox.cxx.
References DBG_ASSERT, DeselectAll, GetEntryLine(), SvListView::GetSelectionCount(), SelectionEngine::GetSelectionMode(), GetUpdateMode(), IgnoreSelect, InvalidateEntry(), SvListView::IsEntryVisible(), IsLineVisible(), m_aSelEng, m_nFlags, m_pCursor, m_pView, SetCursor(), ShowCursor(), and Single.
|
private |
Definition at line 2056 of file svimpbox.cxx.
References SvTreeListBox::Expand(), SvTreeList::GetDepth(), SvTreeListEntry::HasChildren(), SvListView::IsExpanded(), m_pCursor, m_pTree, m_pView, and SvTreeList::Next().
Referenced by KeyInput().
|
protected |
Definition at line 1249 of file svimpbox.cxx.
References SvListView::GetEntryAtVisPos(), ScrollBar::GetThumbPos(), SvListView::GetVisibleCount(), SvListView::GetVisiblePos(), vcl::Window::Invalidate(), SvListView::LastVisible(), m_aVerSBar, m_nVisibleCount, m_pStartEntry, m_pView, o3tl::make_unsigned(), SvListView::PrevVisible(), ScrollBar::SetThumbPos(), and ShowCursor().
Referenced by EntryRemoved(), MakeVisible(), UpdateAll(), and IconViewImpl::UpdateAll().
|
protected |
Definition at line 3019 of file svimpbox.cxx.
References SvListView::FirstVisible(), SvTreeListBox::GetModel(), m_nMostRight, m_pMostRightEntry, m_pView, SvListView::NextVisible(), and SetMostRight().
Referenced by EntryCollapsed(), EntryExpanded(), EntryMoved(), EntryRemoved(), FindMostRight(), UpdateAll(), and IconViewImpl::UpdateAll().
|
private |
Definition at line 3034 of file svimpbox.cxx.
References FindMostRight(), and FindMostRight_Impl().
|
private |
Definition at line 3042 of file svimpbox.cxx.
References FindMostRight_Impl(), SvTreeList::GetChildList(), SvTreeListEntry::HasChildren(), SvListView::IsExpanded(), m_pTree, m_pView, nCount, and SetMostRight().
Referenced by FindMostRight(), and FindMostRight_Impl().
|
virtual |
Reimplemented in IconViewImpl.
Definition at line 727 of file svimpbox.cxx.
References DBG_ASSERT, SvTreeListBox::GetEntryCount(), SvTreeListBox::GetEntryHeight(), SvTreeListBox::GetModel(), m_pStartEntry, m_pView, SvListView::NextVisible(), and Point::Y().
Referenced by ButtonUpCheckCtrl(), MakePointVisible(), MouseButtonDown(), and MouseMove().
tools::Rectangle SvImpLBox::GetClipRegionRect | ( | ) | const |
Definition at line 830 of file svimpbox.cxx.
References tools::Rectangle::AdjustBottom(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), m_aOutputSize, m_pView, Point::setX(), and Point::X().
Referenced by RecalcFocusRect(), and ShowCursor().
|
inline |
Definition at line 344 of file svimpbox.hxx.
References implGetImageLocation(), and NodeCollapsed.
Referenced by SetEntryHeight().
|
inline |
Definition at line 266 of file svimpbox.hxx.
References m_pCursor.
|
static |
Definition at line 3114 of file svimpbox.cxx.
References implInitDefaultNodeImages(), and s_pDefCollapsed.
Referenced by SvTreeListBox::GetDefaultCollapsedNodeImage().
|
inline |
Definition at line 364 of file svimpbox.hxx.
References EntryDefCollapsed, and implGetImageLocation().
|
inline |
Definition at line 359 of file svimpbox.hxx.
References EntryDefExpanded, and implGetImageLocation().
|
static |
Definition at line 3107 of file svimpbox.cxx.
References implInitDefaultNodeImages(), and s_pDefExpanded.
Referenced by SvTreeListBox::GetDefaultExpandedNodeImage().
|
virtual |
Reimplemented in IconViewImpl.
Definition at line 772 of file svimpbox.cxx.
References SvTreeListBox::GetEntryCount(), SvTreeListBox::GetEntryHeight(), Size::Height(), m_aOutputSize, m_pStartEntry, m_pView, SvListView::NextVisible(), and Point::Y().
Referenced by MouseButtonDown(), MouseButtonUp(), MouseMove(), and RequestHelp().
|
protectedvirtual |
Reimplemented in IconViewImpl.
Definition at line 1382 of file svimpbox.cxx.
References SvTreeListBox::GetEntryHeight(), SvListView::GetVisiblePos(), m_pStartEntry, and m_pView.
Referenced by CollapsingEntry(), EntryExpanded(), EntryInserted(), EntrySelected(), GetEntryPosition(), InvalidateEntry(), IsEntryInView(), MouseButtonDown(), PaintDDCursor(), RecalcFocusRect(), RemovingEntry(), SelAllDestrAnch(), and ShowCursor().
|
inlinevirtual |
Reimplemented in IconViewImpl.
Definition at line 369 of file svimpbox.hxx.
References GetEntryLine().
Referenced by RequestHelp().
|
inline |
Definition at line 339 of file svimpbox.hxx.
References implGetImageLocation(), and NodeExpanded.
Referenced by DrawNet(), SetEntryHeight(), and SetNodeBmpTabDistance().
void SvImpLBox::GetFocus | ( | ) |
Definition at line 2492 of file svimpbox.cxx.
References SvListView::FirstSelected(), InvalidateEntry(), m_nStyle, m_pCursor, m_pView, SvListView::NextSelected(), SvListView::SetEntryFocus(), ShowCursor(), and WB_HIDESELECTION.
|
inline |
Definition at line 291 of file svimpbox.hxx.
References m_aOutputSize.
Referenced by EntryReallyHit(), SetMostRight(), and ShowVerSBar().
|
inline |
Definition at line 304 of file svimpbox.hxx.
References m_bUpdateMode.
Referenced by Clear(), CollapsingEntry(), EntryCollapsed(), EntryExpanded(), EntryInserted(), EntryRemoved(), EntrySelected(), InvalidateEntry(), NotifyTabsChanged(), RemovingEntry(), ScrollToAbsPos(), SelAllDestrAnch(), SetCursor(), SetEntryHeight(), and ShowVerSBar().
|
protected |
Definition at line 2850 of file svimpbox.cxx.
References vcl::Window::GetMapMode(), MapMode::GetOrigin(), m_aOutputSize, m_pView, Point::setX(), and Point::X().
Referenced by Clear(), CursorDown(), CursorUp(), InvalidateEntriesFrom(), IconViewImpl::InvalidateEntry(), InvalidateEntry(), KeyLeftRight(), PageDown(), PageUp(), RemovingEntry(), RequestHelp(), IconViewImpl::SetStartEntry(), UpdateAll(), and IconViewImpl::UpdateAll().
|
inline |
Definition at line 306 of file svimpbox.hxx.
References vcl::Window::IsVisible(), and m_aHorSBar.
Definition at line 322 of file svimpbox.hxx.
References m_aNodeAndEntryImages.
Referenced by GetCollapsedNodeBmp(), GetDefaultEntryColBmp(), GetDefaultEntryExpBmp(), GetExpandedNodeBmp(), SetCollapsedNodeBmp(), SetDefaultEntryColBmp(), SetDefaultEntryExpBmp(), and SetExpandedNodeBmp().
|
staticprivate |
Definition at line 3096 of file svimpbox.cxx.
References s_pDefCollapsed, s_pDefExpanded, and Yes.
Referenced by GetDefaultCollapsedNodeImage(), and GetDefaultExpandedNodeImage().
|
private |
Definition at line 1220 of file svimpbox.cxx.
References Size::Height(), m_aScrBarBox, m_nHorSBarHeight, m_nVerSBarWidth, m_pView, vcl::Window::SetPosPixel(), vcl::Window::SetSizePixel(), and Size::Width().
Referenced by Resize().
void SvImpLBox::Invalidate | ( | ) |
Definition at line 2858 of file svimpbox.cxx.
References vcl::Window::GetOutDev(), m_pView, and OutputDevice::SetClipRegion().
|
private |
Definition at line 507 of file svimpbox.cxx.
References GetVisibleArea(), InPaint, vcl::Window::Invalidate(), m_nFlags, m_pView, and tools::Rectangle::SetTop().
Referenced by CollapsingEntry(), EntryExpanded(), EntryInserted(), and RemovingEntry().
void SvImpLBox::InvalidateEntry | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 537 of file svimpbox.cxx.
References GetEntryLine(), GetUpdateMode(), vcl::Window::HasFocus(), InPaint, InvalidateEntry(), m_nFlags, m_nMostRight, m_pCursor, m_pView, SetMostRight(), ShowCursor(), and ShowVerSBar().
|
protectedvirtual |
Reimplemented in IconViewImpl.
Definition at line 517 of file svimpbox.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::Bottom(), SvTreeListBox::GetEntryHeight(), GetVisibleArea(), InPaint, vcl::Window::Invalidate(), m_nFlags, m_pView, tools::Rectangle::SetBottom(), tools::Rectangle::SetTop(), vcl::Window::SupportsDoubleBuffering(), and tools::Rectangle::Top().
Referenced by ButtonDownCheckCtrl(), ButtonUpCheckCtrl(), EntrySelected(), GetFocus(), InvalidateEntry(), LoseFocus(), MouseMoveCheckCtrl(), PaintDDCursor(), RemovingEntry(), and SelAllDestrAnch().
|
inline |
Definition at line 317 of file svimpbox.hxx.
References m_pActiveButton, and m_pActiveEntry.
|
virtual |
Reimplemented in IconViewImpl.
Definition at line 1369 of file svimpbox.cxx.
References SvTreeListBox::GetEntryHeight(), GetEntryLine(), SvListView::IsEntryVisible(), m_nVisibleCount, and m_pView.
Referenced by EntryMoved(), KeyInput(), MakeVisible(), and MovingEntry().
|
private |
Definition at line 3065 of file svimpbox.cxx.
References SvTreeListEntry::HasChildren(), SvTreeListEntry::HasChildrenOnDemand(), and m_pCursor.
Referenced by KeyInput().
|
inlineprivate |
Definition at line 374 of file svimpbox.hxx.
References Size::Height(), and m_aOutputSize.
Referenced by CollapsingEntry(), EntryExpanded(), EntryInserted(), EntrySelected(), and SelAllDestrAnch().
bool SvImpLBox::IsNodeButton | ( | const Point & | rPosPixel, |
const SvTreeListEntry * | pEntry | ||
) | const |
Definition at line 1867 of file svimpbox.cxx.
References SvTreeListBox::GetFirstDynamicTab(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), SvTreeListBox::GetTabPos(), SvTreeListEntry::HasChildren(), SvTreeListEntry::HasChildrenOnDemand(), m_nNodeBmpTabDistance, m_nNodeBmpWidth, m_pView, and Point::X().
Referenced by ButtonDownCheckExpand().
bool SvImpLBox::IsSelectable | ( | const SvTreeListEntry * | pEntry | ) | const |
Definition at line 3128 of file svimpbox.cxx.
References SvTreeListBox::GetViewDataEntry(), SvViewDataEntry::IsSelectable(), and m_pView.
Referenced by KeyInput(), IconViewImpl::KeyInput(), and MouseMove().
|
virtual |
Reimplemented in IconViewImpl.
Definition at line 475 of file svimpbox.cxx.
References CursorDown(), Filling, ScrollBar::GetPageSize(), ScrollBar::GetRange(), ScrollBar::GetThumbPos(), ScrollBar::GetVisibleSize(), vcl::Window::IsVisible(), Range::Len(), m_aVerSBar, m_nFlags, PageDown(), and ScrollBar::SetThumbPos().
Referenced by KeyInput(), and MakePointVisible().
|
virtual |
Reimplemented in IconViewImpl.
Definition at line 2101 of file svimpbox.cxx.
References SelectionEngine::AddAlways(), SvTreeListBox::Collapse(), CollapseTo(), SelectionEngine::CursorPosChanging(), DBG_ASSERT, SvTreeListBox::DoubleClickHdl(), SvTreeListBox::Expand(), ExpandAll(), Filling, SvTreeList::First(), vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), ScrollBar::GetLineSize(), SvTreeListBox::GetModel(), ScrollBar::GetPageSize(), SvTreeListBox::GetParent(), SvTreeListBox::GetSelectionMode(), ScrollBar::GetThumbPos(), SelectionEngine::IsAddMode(), SvListView::IsAllExpanded(), 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_MULTIPLY, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RETURN, KEY_RIGHT, KEY_SPACE, KEY_SUBTRACT, KEY_TAB, KEY_UP, KeyDown(), KeyLeftRight(), KeyUp(), SvTreeList::Last(), m_aEditClickPos, m_aEditIdle, m_aHorSBar, m_aSelEng, m_aVerSBar, m_bSubLstOpLR, m_nFlags, m_nStyle, m_pCursor, m_pStartEntry, m_pView, MakeVisible(), Multiple, SvListView::NextVisible(), NONE, SvListView::PrevVisible(), SelAllDestrAnch(), SvTreeListBox::Select(), SetCursor(), ScrollBar::SetThumbPos(), Task::Stop(), and WB_SIMPLEMODE.
Referenced by IconViewImpl::KeyInput().
|
private |
Definition at line 698 of file svimpbox.cxx.
References Filling, vcl::Window::GetMapMode(), ScrollBar::GetThumbPos(), GetVisibleArea(), InResize, vcl::Window::Invalidate(), m_aHorSBar, m_nFlags, m_pView, NoChildren, SvTreeListBox::NotifyScrolled(), nPos, vcl::Window::PaintImmediately(), RecalcFocusRect(), vcl::Window::Scroll(), vcl::Window::SetMapMode(), MapMode::SetOrigin(), and ShowCursor().
Referenced by AdjustScrollBars(), and KeyInput().
|
virtual |
Reimplemented in IconViewImpl.
Definition at line 446 of file svimpbox.cxx.
References CursorUp(), Filling, ScrollBar::GetPageSize(), ScrollBar::GetThumbPos(), vcl::Window::IsVisible(), m_aVerSBar, m_nFlags, PageUp(), and ScrollBar::SetThumbPos().
Referenced by KeyInput(), and MakePointVisible().
void SvImpLBox::LoseFocus | ( | ) |
Definition at line 2513 of file svimpbox.cxx.
References SvListView::FirstSelected(), InvalidateEntry(), m_aEditIdle, m_nStyle, m_pCursor, m_pView, SvListView::NextSelected(), SvListView::SetEntryFocus(), ShowCursor(), Task::Stop(), and WB_HIDESELECTION.
|
private |
Definition at line 788 of file svimpbox.cxx.
References GetClickedEntry(), SelectionEngine::GetSelectionMode(), Size::Height(), KeyDown(), KeyUp(), m_aOutputSize, m_aSelEng, m_pCursor, m_pStartEntry, m_pView, SvListView::NextVisible(), SvListView::PrevVisible(), SvTreeListBox::Select(), SvListView::SetEntryFocus(), Single, and Point::Y().
Referenced by ImpLBSelEng::DeselectAtPoint(), ImpLBSelEng::IsSelectionAtPoint(), and ImpLBSelEng::SetCursorAtPoint().
void SvImpLBox::MakeVisible | ( | SvTreeListEntry * | pEntry, |
bool | bMoveToTop = false |
||
) |
Definition at line 909 of file svimpbox.cxx.
References DBG_ASSERT, SvTreeListBox::Expand(), Filling, FillView(), SvTreeListBox::GetParent(), SvListView::GetVisiblePos(), vcl::Window::Invalidate(), IsEntryInView(), SvListView::IsEntryVisible(), SvListView::IsExpanded(), m_aVerSBar, m_nFlags, m_pStartEntry, m_pView, mbForceMakeVisible, SvTreeListBox::NotifyScrolled(), ScrollBar::SetThumbPos(), and ShowCursor().
Referenced by EntryRemoved(), KeyInput(), IconViewImpl::KeyInput(), and SetCurEntry().
void SvImpLBox::MouseButtonDown | ( | const MouseEvent & | rMEvt | ) |
Definition at line 1915 of file svimpbox.cxx.
References ButtonDownCheckCtrl(), ButtonDownCheckExpand(), SvTreeListBox::Collapse(), SvTreeListBox::DoubleClickHdl(), EntryReallyHit(), SvTreeListBox::Expand(), Filling, SvListView::FirstSelected(), GetClickedEntry(), MouseEvent::GetClicks(), GetEntry(), GetEntryLine(), SvTreeListBox::GetItem(), MouseEvent::GetPosPixel(), SelectionEngine::GetSelectionMode(), SvTreeListBox::GetTab(), SvListView::GetViewData(), vcl::Window::GrabFocus(), SvTreeListEntry::HasChildren(), SvTreeListEntry::HasChildrenOnDemand(), Size::Height(), SelectionEngine::IsAlwaysAdding(), SvLBoxTab::IsEditable(), SvListView::IsExpanded(), MouseEvent::IsLeft(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), MouseEvent::IsRight(), SvListView::IsSelected(), m_aEditIdle, m_aOutputSize, m_aSelEng, m_bSimpleTravel, m_nFlags, m_pCursor, m_pStartEntry, m_pView, SvListView::NextSelected(), NONE, SvTreeListBox::pHdlEntry, SelAllDestrAnch(), SvTreeListBox::Select(), SelectionEngine::SelMouseButtonDown(), SetCursor(), StartEditTimer, Task::Stop(), Size::Width(), Point::X(), and Point::Y().
void SvImpLBox::MouseButtonUp | ( | const MouseEvent & | rMEvt | ) |
Definition at line 2007 of file svimpbox.cxx.
References ButtonUpCheckCtrl(), SvTreeListBox::DoubleClickHdl(), GetEntry(), MouseEvent::GetPosPixel(), SelectionEngine::GetSelectionMode(), m_aEditClickPos, m_aEditIdle, m_aSelEng, m_nFlags, m_pCursor, m_pView, SvTreeListBox::mbActivateOnSingleClick, NONE, SelectionEngine::SelMouseButtonUp(), Idle::Start(), and StartEditTimer.
void SvImpLBox::MouseMove | ( | const MouseEvent & | rMEvt | ) |
Definition at line 2031 of file svimpbox.cxx.
References GetClickedEntry(), GetEntry(), MouseEvent::GetPosPixel(), SelectionEngine::GetSelectionMode(), Size::Height(), IsSelectable(), SvListView::IsSelected(), m_aOutputSize, m_aSelEng, m_pView, SvTreeListBox::mbHoverSelection, SvTreeListBox::mbSelectingByHover, MouseMoveCheckCtrl(), NONE, SvTreeListBox::Select(), SvTreeListBox::SelectAll(), SelectionEngine::SelMouseMove(), Size::Width(), Point::X(), and Point::Y().
|
private |
Definition at line 1816 of file svimpbox.cxx.
References SvTreeListBox::GetItem(), MouseEvent::GetPosPixel(), InvalidateEntry(), SvLBoxButton::IsStateHilighted(), m_pActiveButton, m_pActiveEntry, m_pView, SvLBoxButton::SetStateHilighted(), and Point::X().
Referenced by MouseMove().
void SvImpLBox::MovingEntry | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 1670 of file svimpbox.cxx.
References DeselectAll, SvTreeListEntry::HasChildren(), vcl::Window::Invalidate(), IsEntryInView(), m_nFlags, m_pCursor, m_pStartEntry, m_pView, SvTreeListEntry::NextSibling(), SvListView::NextVisible(), SvTreeListEntry::PrevSibling(), SvListView::PrevVisible(), SelAllDestrAnch(), and ShowCursor().
Definition at line 2956 of file svimpbox.cxx.
References SvTreeListBox::aTabs, m_pView, and SvTreeListBox::TabCount().
Referenced by RequestHelp().
|
private |
Definition at line 3056 of file svimpbox.cxx.
References GetUpdateMode(), IgnoreChangedTabs, LINK, m_nCurUserEvent, m_nFlags, and Application::PostUserEvent().
|
protectedvirtual |
Reimplemented in IconViewImpl.
Definition at line 373 of file svimpbox.cxx.
References Filling, SvTreeListBox::GetEntryHeight(), GetVisibleArea(), vcl::Window::Invalidate(), m_nFlags, m_nVisibleCount, m_pStartEntry, m_pView, SvListView::NextVisible(), NoChildren, SvTreeListBox::NotifyScrolled(), vcl::Window::PaintImmediately(), vcl::Window::Scroll(), and ShowCursor().
Referenced by KeyDown().
|
protectedvirtual |
Reimplemented in IconViewImpl.
Definition at line 411 of file svimpbox.cxx.
References Filling, SvTreeListBox::GetEntryHeight(), GetVisibleArea(), vcl::Window::Invalidate(), m_nFlags, m_nVisibleCount, m_pStartEntry, m_pView, NoChildren, SvTreeListBox::NotifyScrolled(), vcl::Window::PaintImmediately(), SvListView::PrevVisible(), vcl::Window::Scroll(), and ShowCursor().
Referenced by KeyUp().
|
virtual |
Reimplemented in IconViewImpl.
Definition at line 840 of file svimpbox.cxx.
References DeselectAll, DrawNet(), Filling, SvTreeListBox::First(), SvTreeListBox::GetEntryHeight(), tools::Rectangle::GetHeight(), SelectionEngine::GetSelectionMode(), SvListView::GetVisibleCount(), InPaint, LINK, m_aSelEng, m_aVerSBar, m_nCurUserEvent, m_nFlags, m_nNodeBmpTabDistance, m_nStyle, m_pCursor, m_pStartEntry, m_pView, mbNoAutoCurEntry, Multiple, n, nCount, SvListView::NextVisible(), NODE_BMP_TABDIST_NOTVALID, SvTreeListBox::PaintEntry1(), Application::PostUserEvent(), SetCursor(), SetNodeBmpTabDistance(), ScrollBar::SetThumbPos(), ShowCursor(), StopUserEvent(), tools::Rectangle::Top(), WB_HASLINES, WB_HASLINESATROOT, and WB_NOINITIALSELECTION.
void SvImpLBox::PaintDDCursor | ( | SvTreeListEntry * | pEntry, |
bool | bShow | ||
) |
Definition at line 2812 of file svimpbox.cxx.
References GetEntryLine(), vcl::Window::GetOutDev(), SvListView::GetViewData(), InvalidateEntry(), m_pView, SvTreeListBox::PaintEntry1(), and SvViewDataEntry::SetDragTarget().
|
protected |
Definition at line 1067 of file svimpbox.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), Size::Height(), vcl::Window::Hide(), m_aHorSBar, m_aScrBarBox, m_aVerSBar, m_nHorSBarHeight, m_nVerSBarWidth, Size::setHeight(), vcl::Window::SetPosSizePixel(), Size::setWidth(), vcl::Window::Show(), Size::Width(), Point::X(), and Point::Y().
Referenced by AdjustScrollBars(), and IconViewImpl::AdjustScrollBars().
void SvImpLBox::RecalcFocusRect | ( | ) |
Definition at line 561 of file svimpbox.cxx.
References OutputDevice::GetClipRegion(), GetClipRegionRect(), GetEntryLine(), SvTreeListBox::GetFocusRect(), vcl::Window::GetOutDev(), vcl::Window::HasFocus(), vcl::Window::HideFocus(), m_pCursor, m_pView, OutputDevice::SetClipRegion(), and vcl::Window::ShowFocus().
Referenced by KeyLeftRight().
void SvImpLBox::RemovingEntry | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 1551 of file svimpbox.cxx.
References CallEventListeners(), DBG_ASSERT, DestroyAnchor(), SvTreeList::GetChildList(), GetEntryLine(), SvTreeListEntry::GetFlags(), SvTreeListBox::GetModel(), SvTreeList::GetParent(), GetUpdateMode(), GetVisibleArea(), SvListView::GetVisiblePos(), SvTreeListEntry::HasChildren(), vcl::Window::Invalidate(), InvalidateEntriesFrom(), InvalidateEntry(), SvTreeList::IsChild(), SvListView::IsEntryVisible(), SvListView::IsExpanded(), SvTreeList::Last(), ListboxItemRemoved, m_aVerSBar, m_bSimpleTravel, m_nFlags, m_pCursor, m_pMostRightEntry, m_pStartEntry, m_pTree, m_pView, SvTreeListEntry::NextSibling(), NO_NODEBMP, SvListView::PrevVisible(), RemovedEntryInvisible, RemovedRecalcMostRight, SvTreeListBox::Select(), SetCursor(), SvTreeListEntry::SetFlags(), ScrollBar::SetThumbPos(), and ShowCursor().
bool SvImpLBox::RequestHelp | ( | const HelpEvent & | rHEvt | ) |
Definition at line 2902 of file svimpbox.cxx.
References tools::Rectangle::BottomRight(), tools::Rectangle::Contains(), GetEntry(), GetEntryPosition(), SvLBoxItem::GetHeight(), SvTreeListBox::GetItem(), HelpEvent::GetMode(), HelpEvent::GetMousePosPixel(), SvLBoxTab::GetPos(), SvTreeListBox::GetTabPos(), SvLBoxItem::GetType(), GetVisibleArea(), SvLBoxItem::GetWidth(), Left, m_pView, NextTab(), vcl::Window::OutputToScreenPixel(), QUICK, vcl::Window::ScreenToOutputPixel(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), Size::setWidth(), Point::setX(), Help::ShowQuickHelp(), String, tools::Rectangle::TopLeft(), VCenter, Size::Width(), Point::X(), and Point::Y().
void SvImpLBox::Resize | ( | ) |
Definition at line 1227 of file svimpbox.cxx.
References AdjustScrollBars(), SvTreeListBox::GetEntryHeight(), InitScrollBarBox(), InResize, vcl::Window::Invalidate(), Size::IsEmpty(), vcl::Window::IsVisible(), m_aHorSBar, m_aOutputSize, m_aVerSBar, m_nFlags, m_pView, and UpdateAll().
Referenced by SetEntryHeight().
void SvImpLBox::ScrollToAbsPos | ( | tools::Long | nPos | ) |
Definition at line 950 of file svimpbox.cxx.
References Filling, SvListView::GetAbsPos(), SvListView::GetEntryAtAbsPos(), GetUpdateMode(), SvListView::GetVisibleCount(), vcl::Window::Invalidate(), SvListView::IsEntryVisible(), SvTreeListBox::Last(), m_aVerSBar, m_nFlags, m_pStartEntry, m_pView, mbForceMakeVisible, nPos, ScrollBar::SetThumbPos(), and ShowCursor().
void SvImpLBox::SelAllDestrAnch | ( | bool | bSelect, |
bool | bDestroyAnchor = true , |
||
bool | bSingleSelToo = false |
||
) |
Definition at line 2712 of file svimpbox.cxx.
References DeselectAll, DestroyAnchor(), SvTreeList::First(), SvTreeListBox::GetEntryCount(), GetEntryLine(), SvListView::GetSelectionCount(), GetUpdateMode(), IgnoreSelect, InvalidateEntry(), SvListView::IsEntryVisible(), IsLineVisible(), SvListView::IsSelected(), m_bSimpleTravel, m_nFlags, m_pAnchor, m_pCursor, m_pTree, m_pView, SvTreeList::Next(), SvTreeListBox::Select(), and ShowCursor().
Referenced by CollapsingEntry(), ImpLBSelEng::DeselectAll(), EntryInserted(), KeyInput(), MouseButtonDown(), MovingEntry(), and SetCurEntry().
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().
|
private |
Definition at line 2605 of file svimpbox.cxx.
References SvListView::GetVisiblePos(), m_pAnchor, m_pView, SvListView::NextVisible(), and SvTreeListBox::Select().
Referenced by SetCursor().
|
inline |
Definition at line 333 of file svimpbox.hxx.
References implGetImageLocation(), NodeCollapsed, and SetNodeBmpWidth().
void SvImpLBox::SetCurEntry | ( | SvTreeListEntry * | pEntry | ) |
Definition at line 2863 of file svimpbox.cxx.
References SelectionEngine::GetSelectionMode(), m_aSelEng, m_pView, MakeVisible(), NONE, SelAllDestrAnch(), SvTreeListBox::Select(), SetCursor(), and Single.
|
protected |
Definition at line 578 of file svimpbox.cxx.
References CallEventListeners(), DBG_ASSERT, DeselectAll, SelectionEngine::GetSelectionMode(), SvTreeListBox::GetSelectionMode(), GetUpdateMode(), SvTreeListBox::GetViewDataEntry(), SvViewDataEntry::HasFocus(), vcl::Window::HideFocus(), SelectionEngine::IsAddMode(), SvViewDataEntry::IsSelectable(), SvViewDataEntry::IsSelected(), ListboxTreeFocus, m_aSelEng, m_bSimpleTravel, m_nFlags, m_pAnchor, m_pCursor, m_pView, Multiple, SvListView::NextVisible(), SvTreeListBox::OnCurrentEntryChanged(), SvTreeListBox::Select(), SetAnchorSelection(), SvListView::SetEntryFocus(), SvViewDataEntry::SetFocus(), ShowCursor(), and Single.
Referenced by EntryCollapsed(), EntryInserted(), EntryMoved(), EntryRemoved(), EntrySelected(), KeyInput(), IconViewImpl::KeyInput(), MouseButtonDown(), Paint(), IconViewImpl::Paint(), RemovingEntry(), SetCurEntry(), and ImpLBSelEng::SetCursorAtPoint().
|
inline |
Definition at line 354 of file svimpbox.hxx.
References EntryDefCollapsed, and implGetImageLocation().
|
inline |
Definition at line 349 of file svimpbox.hxx.
References EntryDefExpanded, and implGetImageLocation().
void SvImpLBox::SetDragDropMode | ( | DragDropMode | eDDMode | ) |
Definition at line 2792 of file svimpbox.cxx.
References SelectionEngine::EnableDrag(), SelectionEngine::ExpandSelectionOnMouseMove(), m_aSelEng, and NONE.
Referenced by SvImpLBox().
void SvImpLBox::SetEntryHeight | ( | ) |
Definition at line 1394 of file svimpbox.cxx.
References AdjustScrollBars(), GetCollapsedNodeBmp(), GetExpandedNodeBmp(), GetUpdateMode(), SvListView::HasViewData(), vcl::Window::Invalidate(), m_pView, Resize(), and SetNodeBmpWidth().
|
inline |
Definition at line 327 of file svimpbox.hxx.
References implGetImageLocation(), NodeExpanded, and SetNodeBmpWidth().
|
inline |
Definition at line 310 of file svimpbox.hxx.
References mbForceMakeVisible.
|
inline |
Definition at line 231 of file svimpbox.hxx.
References m_pTree, and SvListView::pModel.
|
private |
Definition at line 2979 of file svimpbox.cxx.
References SvTreeListBox::aTabs, SvLBoxTab::CalcOffset(), SvTreeListEntry::GetItem(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), GetOutputSize(), SvTreeListBox::GetTabPos(), SvLBoxItem::GetWidth(), IgnoreChangedTabs, SvTreeListEntry::ItemCount(), m_nFlags, m_nMostRight, m_pMostRightEntry, m_pView, SvTreeListBox::nTreeFlags, RECALCTABS, SvTreeListBox::SetTabs(), Point::setX(), Size::Width(), and Point::X().
Referenced by EntryInserted(), FindMostRight(), FindMostRight_Impl(), and InvalidateEntry().
void SvImpLBox::SetNoAutoCurEntry | ( | bool | b | ) |
Definition at line 224 of file svimpbox.cxx.
References mbNoAutoCurEntry.
|
private |
Definition at line 1510 of file svimpbox.cxx.
References GetExpandedNodeBmp(), SvTreeListBox::GetIndent(), Image::GetSizePixel(), m_nNodeBmpTabDistance, m_pView, SvTreeListBox::nContextBmpWidthMax, and Size::Width().
Referenced by Paint().
|
private |
Definition at line 1504 of file svimpbox.cxx.
References Image::GetSizePixel(), m_nNodeBmpWidth, and Size::Width().
Referenced by SetCollapsedNodeBmp(), SetEntryHeight(), and SetExpandedNodeBmp().
void SvImpLBox::SetSelectionMode | ( | SelectionMode | eSelMode | ) |
Definition at line 2777 of file svimpbox.cxx.
References SelectionEngine::AddAlways(), m_aSelEng, m_bSimpleTravel, m_nStyle, Multiple, SelectionEngine::SetSelectionMode(), Single, and WB_SIMPLEMODE.
Referenced by SvImpLBox().
void SvImpLBox::SetStyle | ( | WinBits | i_nWinStyle | ) |
Definition at line 217 of file svimpbox.cxx.
References SelectionEngine::AddAlways(), SelectionEngine::GetSelectionMode(), m_aSelEng, m_nStyle, Multiple, and WB_SIMPLEMODE.
Referenced by SvImpLBox().
void SvImpLBox::SetUpdateMode | ( | bool | bMode | ) |
Definition at line 2969 of file svimpbox.cxx.
References m_bUpdateMode, and UpdateAll().
void SvImpLBox::ShowCursor | ( | bool | bShow | ) |
Definition at line 647 of file svimpbox.cxx.
References OutputDevice::GetClipRegion(), GetClipRegionRect(), GetEntryLine(), SvTreeListBox::GetFocusRect(), vcl::Window::GetOutDev(), vcl::Window::HasFocus(), vcl::Window::HideFocus(), m_pCursor, m_pView, OutputDevice::SetClipRegion(), and vcl::Window::ShowFocus().
Referenced by ButtonUpCheckCtrl(), CursorDown(), IconViewImpl::CursorDown(), CursorUp(), IconViewImpl::CursorUp(), EntryCollapsed(), EntryExpanded(), EntryInserted(), EntryMoved(), EntryRemoved(), EntrySelected(), FillView(), GetFocus(), InvalidateEntry(), KeyLeftRight(), LoseFocus(), MakeVisible(), MovingEntry(), PageDown(), IconViewImpl::PageDown(), PageUp(), IconViewImpl::PageUp(), Paint(), IconViewImpl::Paint(), RemovingEntry(), ScrollToAbsPos(), SelAllDestrAnch(), SetCursor(), UpdateAll(), and IconViewImpl::UpdateAll().
|
protected |
Definition at line 1294 of file svimpbox.cxx.
References AdjustScrollBars(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), GetOutputSize(), ScrollBar::GetRange(), vcl::Window::GetStyle(), GetUpdateMode(), SvListView::GetVisibleCount(), vcl::Window::Invalidate(), vcl::Window::IsVisible(), m_aHorSBar, m_aOutputSize, m_aVerSBar, m_nMostRight, m_nVisibleCount, m_pView, Range::Max(), SvTreeListBox::nFocusWidth, ScrollBar::SetRange(), Point::setX(), WB_VSCROLL, Size::Width(), and Point::X().
Referenced by EntryCollapsed(), EntryExpanded(), EntryInserted(), EntryRemoved(), InvalidateEntry(), UpdateAll(), and IconViewImpl::UpdateAll().
|
protected |
Definition at line 3087 of file svimpbox.cxx.
References m_nCurUserEvent, and Application::RemoveUserEvent().
Referenced by Clear(), Paint(), IconViewImpl::Paint(), and ~SvImpLBox().
|
protectedvirtual |
Reimplemented in IconViewImpl.
Definition at line 1358 of file svimpbox.cxx.
References SvListView::GetVisiblePos(), m_aVerSBar, m_pStartEntry, m_pView, and ScrollBar::SetThumbPos().
Referenced by EntryCollapsed(), EntryExpanded(), EntryInserted(), EntryMoved(), and UpdateAll().
|
inline |
Definition at line 382 of file svimpbox.hxx.
References EntryInserted().
|
virtual |
Reimplemented in IconViewImpl.
Definition at line 670 of file svimpbox.cxx.
References FillView(), FindMostRight(), GetVisibleArea(), SvListView::GetVisibleCount(), vcl::Window::HasFocus(), vcl::Window::Invalidate(), m_aVerSBar, m_bSimpleTravel, m_pCursor, m_pView, SvTreeListBox::Select(), ScrollBar::SetRange(), ShowCursor(), ShowVerSBar(), and SyncVerThumb().
Referenced by Resize(), and SetUpdateMode().
|
private |
Definition at line 203 of file svimpbox.cxx.
References IgnoreChangedTabs, m_aContextBmpWidthVector, m_nFlags, m_pView, SvTreeListBox::nContextBmpWidthMax, SvListView::pModel, and SvTreeListBox::SetTabs().
|
private |
Definition at line 153 of file svimpbox.cxx.
References DBG_ASSERT, m_aContextBmpWidthVector, m_pView, and SvListView::pModel.
Referenced by UpdateContextBmpWidthVectorFromMovedEntry().
|
private |
Definition at line 181 of file svimpbox.cxx.
References ContextBmp, DBG_ASSERT, SvTreeListBox::FirstChild(), SvLBoxContextBmp::GetBitmap1(), SvLBoxContextBmp::GetBitmap2(), SvTreeListEntry::GetFirstItem(), Image::GetSizePixel(), SvTreeListEntry::HasChildren(), m_pView, SvTreeListBox::Next(), UpdateContextBmpWidthVector(), UpdateContextBmpWidthVectorFromMovedEntry(), and Size::Width().
Referenced by EntryMoved(), and UpdateContextBmpWidthVectorFromMovedEntry().
|
private |
Definition at line 131 of file svimpbox.cxx.
References AllSettings::GetLanguageTag(), LanguageTag::getLocale(), Application::GetSettings(), and m_pStringSorter.
|
friend |
Definition at line 86 of file svimpbox.hxx.
|
friend |
Definition at line 83 of file svimpbox.hxx.
|
friend |
Definition at line 85 of file svimpbox.hxx.
|
friend |
Definition at line 84 of file svimpbox.hxx.
|
private |
Definition at line 133 of file svimpbox.hxx.
Referenced by Clear(), UpdateContextBmpWidthMax(), and UpdateContextBmpWidthVector().
|
private |
Definition at line 128 of file svimpbox.hxx.
Referenced by KeyInput(), and MouseButtonUp().
|
private |
Definition at line 129 of file svimpbox.hxx.
Referenced by Command(), KeyInput(), LoseFocus(), MouseButtonDown(), MouseButtonUp(), SvImpLBox(), and ~SvImpLBox().
|
private |
Definition at line 98 of file svimpbox.hxx.
|
private |
Definition at line 118 of file svimpbox.hxx.
Referenced by SvImpLBox().
Definition at line 187 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), Clear(), Command(), HasHorScrollBar(), KeyInput(), KeyLeftRight(), PositionScrollBars(), Resize(), ShowVerSBar(), SvImpLBox(), and ~SvImpLBox().
|
private |
Definition at line 116 of file svimpbox.hxx.
Referenced by implGetImageLocation().
|
protected |
Definition at line 193 of file svimpbox.hxx.
Referenced by Clear(), Command(), GetClipRegionRect(), IconViewImpl::GetEntry(), GetEntry(), GetOutputSize(), GetVisibleArea(), IconViewImpl::IsEntryInView(), IsLineVisible(), MakePointVisible(), MouseButtonDown(), MouseMove(), Resize(), and ShowVerSBar().
|
private |
Definition at line 95 of file svimpbox.hxx.
Referenced by Clear(), InitScrollBarBox(), PositionScrollBars(), and ~SvImpLBox().
|
protected |
Definition at line 197 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), BeginDrag(), Command(), DestroyAnchor(), EntrySelected(), KeyInput(), IconViewImpl::KeyInput(), MakePointVisible(), MouseButtonDown(), MouseButtonUp(), MouseMove(), Paint(), IconViewImpl::Paint(), SetCurEntry(), SetCursor(), SetDragDropMode(), SetSelectionMode(), SetStyle(), and SvImpLBox().
Definition at line 188 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), Clear(), Command(), EntryCollapsed(), EntryExpanded(), EntryInserted(), EntryMoved(), EntryRemoved(), FillView(), KeyDown(), IconViewImpl::KeyDown(), KeyInput(), IconViewImpl::KeyInput(), KeyUp(), IconViewImpl::KeyUp(), MakeVisible(), Paint(), IconViewImpl::Paint(), PositionScrollBars(), RemovingEntry(), Resize(), IconViewImpl::ScrollTo(), ScrollToAbsPos(), IconViewImpl::SetStartEntry(), ShowVerSBar(), SvImpLBox(), SyncVerThumb(), IconViewImpl::SyncVerThumb(), UpdateAll(), and ~SvImpLBox().
|
protected |
Definition at line 199 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), and SvImpLBox().
|
protected |
Definition at line 200 of file svimpbox.hxx.
Referenced by EntryRemoved(), MouseButtonDown(), RemovingEntry(), SelAllDestrAnch(), SetCursor(), SetSelectionMode(), UpdateAll(), and IconViewImpl::UpdateAll().
|
private |
Definition at line 125 of file svimpbox.hxx.
Referenced by KeyInput(), and SvImpLBox().
|
private |
Definition at line 124 of file svimpbox.hxx.
Referenced by GetUpdateMode(), SetUpdateMode(), and SvImpLBox().
|
protected |
Definition at line 192 of file svimpbox.hxx.
Referenced by NotifyTabsChanged(), Paint(), IconViewImpl::Paint(), StopUserEvent(), and SvImpLBox().
|
protected |
Definition at line 194 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), BeginDrag(), Clear(), CursorDown(), IconViewImpl::CursorDown(), CursorUp(), IconViewImpl::CursorUp(), ImpLBSelEng::DeselectAll(), EntryInserted(), EntryRemoved(), EntrySelected(), InvalidateEntriesFrom(), IconViewImpl::InvalidateEntry(), InvalidateEntry(), KeyDown(), IconViewImpl::KeyDown(), KeyInput(), IconViewImpl::KeyInput(), KeyLeftRight(), KeyUp(), IconViewImpl::KeyUp(), MakeVisible(), MouseButtonDown(), MouseButtonUp(), MovingEntry(), NotifyTabsChanged(), PageDown(), IconViewImpl::PageDown(), PageUp(), IconViewImpl::PageUp(), Paint(), IconViewImpl::Paint(), RemovingEntry(), Resize(), ScrollToAbsPos(), SelAllDestrAnch(), SetCursor(), SetMostRight(), SvImpLBox(), and UpdateContextBmpWidthMax().
|
private |
Definition at line 122 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), Clear(), InitScrollBarBox(), PositionScrollBars(), and SvImpLBox().
|
private |
Definition at line 121 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), Clear(), FindMostRight(), InvalidateEntry(), SetMostRight(), ShowVerSBar(), and SvImpLBox().
|
protected |
Definition at line 201 of file svimpbox.hxx.
Referenced by AdjustScrollBars().
|
protected |
Definition at line 202 of file svimpbox.hxx.
Referenced by DrawNet(), IsNodeButton(), Paint(), SetNodeBmpTabDistance(), and SvImpLBox().
|
private |
Definition at line 120 of file svimpbox.hxx.
Referenced by IsNodeButton(), SetNodeBmpWidth(), and SvImpLBox().
|
protected |
Definition at line 195 of file svimpbox.hxx.
Referenced by GetFocus(), KeyInput(), LoseFocus(), Paint(), IconViewImpl::Paint(), SetSelectionMode(), and SetStyle().
|
private |
Definition at line 122 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), InitScrollBarBox(), PositionScrollBars(), and SvImpLBox().
|
protected |
Definition at line 198 of file svimpbox.hxx.
Referenced by AdjustScrollBars(), IconViewImpl::AdjustScrollBars(), DrawNet(), EntryInserted(), FillView(), IsEntryInView(), PageDown(), PageUp(), ShowVerSBar(), and SvImpLBox().
|
private |
Definition at line 91 of file svimpbox.hxx.
Referenced by ButtonDownCheckCtrl(), ButtonUpCheckCtrl(), Clear(), IsCaptureOnButtonActive(), MouseMoveCheckCtrl(), and SvImpLBox().
|
private |
Definition at line 92 of file svimpbox.hxx.
Referenced by ButtonDownCheckCtrl(), ButtonUpCheckCtrl(), Clear(), IsCaptureOnButtonActive(), MouseMoveCheckCtrl(), and SvImpLBox().
|
private |
Definition at line 93 of file svimpbox.hxx.
Referenced by ButtonDownCheckCtrl(), ButtonUpCheckCtrl(), Clear(), and SvImpLBox().
|
private |
Definition at line 89 of file svimpbox.hxx.
Referenced by Clear(), ImpLBSelEng::CreateAnchor(), DestroyAnchor(), ImpLBSelEng::DestroyAnchor(), SelAllDestrAnch(), SetAnchorSelection(), SetCursor(), and SvImpLBox().
|
protected |
Definition at line 189 of file svimpbox.hxx.
Referenced by ButtonDownCheckCtrl(), ButtonUpCheckCtrl(), Clear(), CollapseTo(), ImpLBSelEng::CreateAnchor(), EntryCollapsed(), EntryMoved(), EntryRemoved(), EntrySelected(), ExpandAll(), GetCurEntry(), GetFocus(), InvalidateEntry(), IsExpandable(), KeyInput(), IconViewImpl::KeyInput(), LoseFocus(), MakePointVisible(), MouseButtonDown(), MouseButtonUp(), MovingEntry(), Paint(), IconViewImpl::Paint(), RecalcFocusRect(), RemovingEntry(), SelAllDestrAnch(), SetCursor(), ShowCursor(), SvImpLBox(), UpdateAll(), and IconViewImpl::UpdateAll().
|
protected |
Definition at line 190 of file svimpbox.hxx.
Referenced by Clear(), and SvImpLBox().
|
private |
Definition at line 90 of file svimpbox.hxx.
Referenced by Clear(), EntryCollapsed(), FindMostRight(), RemovingEntry(), SetMostRight(), and SvImpLBox().
|
protected |
Definition at line 191 of file svimpbox.hxx.
Referenced by Clear(), CollapsingEntry(), CursorDown(), IconViewImpl::CursorDown(), CursorUp(), IconViewImpl::CursorUp(), DrawNet(), EntryCollapsed(), EntryInserted(), EntryMoved(), EntryRemoved(), FillView(), GetClickedEntry(), IconViewImpl::GetClickedEntry(), IconViewImpl::GetEntry(), GetEntry(), GetEntryLine(), IconViewImpl::GetEntryLine(), IconViewImpl::IterateVisibleEntryAreas(), KeyInput(), IconViewImpl::KeyInput(), MakePointVisible(), MakeVisible(), MouseButtonDown(), MovingEntry(), PageDown(), IconViewImpl::PageDown(), PageUp(), IconViewImpl::PageUp(), Paint(), IconViewImpl::Paint(), RemovingEntry(), IconViewImpl::ScrollTo(), ScrollToAbsPos(), IconViewImpl::SetStartEntry(), SvImpLBox(), SyncVerThumb(), and IconViewImpl::SyncVerThumb().
|
private |
Definition at line 131 of file svimpbox.hxx.
Referenced by UpdateStringSorter().
|
private |
Definition at line 88 of file svimpbox.hxx.
Referenced by CollapseTo(), CollapsingEntry(), DrawNet(), EntryCollapsed(), EntryInserted(), EntryMoved(), EntryRemoved(), ExpandAll(), FindMostRight_Impl(), RemovingEntry(), SelAllDestrAnch(), SetModel(), and SvImpLBox().
|
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().
|
private |
Definition at line 126 of file svimpbox.hxx.
Referenced by MakeVisible(), ScrollToAbsPos(), and SetForceMakeVisible().
|
protected |
Definition at line 196 of file svimpbox.hxx.
Referenced by Paint(), IconViewImpl::Paint(), and SetNoAutoCurEntry().
|
staticprivate |
Definition at line 102 of file svimpbox.hxx.
Referenced by SvImpLBox(), and ~SvImpLBox().
|
staticprivate |
Definition at line 100 of file svimpbox.hxx.
Referenced by GetDefaultCollapsedNodeImage(), implInitDefaultNodeImages(), and ~SvImpLBox().
|
staticprivate |
Definition at line 101 of file svimpbox.hxx.
Referenced by GetDefaultExpandedNodeImage(), implInitDefaultNodeImages(), and ~SvImpLBox().