LibreOffice Module vcl (master)
1
|
#include <imivctl.hxx>
Static Public Member Functions | |
static bool | IsBoundingRectValid (const tools::Rectangle &rRect) |
static void | PaintEmphasis (const tools::Rectangle &rRect1, bool bSelected, vcl::RenderContext &rRenderContext) |
static bool | IsOver (std::vector< tools::Rectangle > *pSelectedRectList, const tools::Rectangle &rEntryBoundRect) |
Public Attributes | |
tools::Long | nGridDX |
tools::Long | nGridDY |
tools::Long | nHorSBarHeight |
tools::Long | nVerSBarWidth |
Static Private Member Functions | |
static tools::Long | GetScrollBarPageSize (tools::Long nVisibleRange) |
Friends | |
class | IcnCursor_Impl |
class | IcnGridMap_Impl |
Definition at line 112 of file imivctl.hxx.
|
privatedelete |
SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl | ( | SvtIconChoiceCtrl * | pView, |
WinBits | nWinStyle | ||
) |
Definition at line 52 of file imivctl1.cxx.
References aAutoArrangeIdle, aCallSelectHdlIdle, aDocRectChangedIdle, aHorSBar, aVerSBar, aVisRectChangedIdle, Clear(), Create(), Free, OutputDevice::GetDPIScaleFactor(), vcl::Window::GetSizePixel(), Size::Height(), HIGH_IDLE, IcnCursor_Impl, IcnGridMap_Impl, LINK, LOWEST, Multiple, nHorSBarHeight, NONE, nVerSBarWidth, pGridMap, pImpCursor, pView, Task::SetDebugName(), SetGrid(), Size::setHeight(), Timer::SetInvokeHandler(), Task::SetPriority(), ScrollBar::SetScrollHdl(), SetStyle(), Short, WB_DRAG, WB_HSCROLL, WB_VSCROLL, and Size::Width().
SvxIconChoiceCtrl_Impl::~SvxIconChoiceCtrl_Impl | ( | ) |
Definition at line 107 of file imivctl1.cxx.
References aHorSBar, aScrBarBox, aVerSBar, CancelUserEvents(), Clear(), ClearSelectedRectList(), VclPtr< reference_type >::disposeAndClear(), m_pColumns, pGridMap, and pImpCursor.
|
private |
Definition at line 2407 of file imivctl1.cxx.
References aSelectedRectList, and tools::Rectangle::Justify().
Referenced by AddSelectedRect(), MouseButtonDown(), and SetCursor_Impl().
|
private |
Definition at line 2398 of file imivctl1.cxx.
References AddSelectedRect(), DBG_ASSERT, GetEntryBoundRect(), and tools::Rectangle::Union().
|
private |
Definition at line 1065 of file imivctl1.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), aHorSBar, aOutputSize, aScrBarBox, aVerSBar, aVirtOutputSize, OutputDevice::GetMapMode(), MapMode::GetOrigin(), GetScrollBarPageSize(), vcl::Window::GetSizePixel(), ScrollBar::GetThumbPos(), Size::Height(), vcl::Window::Hide(), nHorSBarHeight, nVerSBarWidth, nWinBits, Point, PositionScrollBars(), pView, Size::setHeight(), ScrollBar::SetPageSize(), vcl::Window::SetSizePixel(), ScrollBar::SetThumbPos(), ScrollBar::SetVisibleSize(), Size::setWidth(), vcl::Window::Show(), WB_HSCROLL, WB_NOHSCROLL, WB_NOVSCROLL, WB_VSCROLL, and Size::Width().
Referenced by AdjustVirtSize(), Clear(), InitSettings(), RecalcAllBoundingRectsSmart(), and SetUpdateMode().
|
private |
Definition at line 367 of file imivctl1.cxx.
References Size::AdjustHeight(), AdjustScrollBars(), Size::AdjustWidth(), aHorSBar, aVerSBar, aVirtOutputSize, tools::Rectangle::Bottom(), DocRectChanged(), Size::Height(), LROFFS_WINBORDER, Range::Max(), pGridMap, pImpCursor, tools::Rectangle::Right(), ScrollBar::SetRange(), TBOFFS_WINBORDER, and Size::Width().
Referenced by FindBoundingRect(), ResetVirtSize(), SetBoundingRect_Impl(), SetEntryPos(), and SetEntryTextMode().
void SvxIconChoiceCtrl_Impl::Arrange | ( | bool | bKeepPredecessors, |
tools::Long | nSetMaxVirtWidth, | ||
tools::Long | nSetMaxVirtHeight | ||
) |
Definition at line 437 of file imivctl1.cxx.
References aOutputSize, Size::Height(), ImpArrange(), nMaxVirtHeight, nMaxVirtWidth, and Size::Width().
Referenced by SetColumn(), and SetEntryTextMode().
tools::Rectangle SvxIconChoiceCtrl_Impl::CalcBmpRect | ( | SvxIconChoiceCtrlEntry * | pEntry, |
const Point * | pPos = nullptr |
||
) |
Definition at line 1577 of file imivctl1.cxx.
References aImageSize, GetEntryBoundRect(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), Size::Height(), nWinBits, Point, tools::Rectangle::SetPos(), tools::Rectangle::TopLeft(), VIEWMODE_MASK, WB_DETAILS, WB_ICON, WB_SMALLICON, and Size::Width().
Referenced by CalcMaxTextRect(), FindEntryPredecessor(), GetEntry(), IcnCursor_Impl::ImplCreate(), MakeEntryVisible(), and PaintEntry().
tools::Long SvxIconChoiceCtrl_Impl::CalcBoundingHeight | ( | ) | const |
Definition at line 1666 of file imivctl1.cxx.
References aHorSBar, aImageSize, aVerSBar, GetItemSize(), GetScrollBarLineSize(), Size::Height(), nMaxBoundHeight, nWinBits, ScrollBar::SetLineSize(), Text, VER_DIST_BMP_STRING, VIEWMODE_MASK, WB_DETAILS, WB_ICON, and WB_SMALLICON.
Referenced by CalcBoundingSize().
Size SvxIconChoiceCtrl_Impl::CalcBoundingSize | ( | ) | const |
Definition at line 1693 of file imivctl1.cxx.
References CalcBoundingHeight(), and CalcBoundingWidth().
Referenced by Center(), and FindBoundingRect().
tools::Long SvxIconChoiceCtrl_Impl::CalcBoundingWidth | ( | ) | const |
Definition at line 1645 of file imivctl1.cxx.
References aImageSize, GetItemSize(), HOR_DIST_BMP_STRING, nWinBits, Text, VIEWMODE_MASK, WB_DETAILS, WB_ICON, WB_SMALLICON, and Size::Width().
Referenced by CalcBoundingSize().
tools::Rectangle SvxIconChoiceCtrl_Impl::CalcFocusRect | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 2210 of file imivctl1.cxx.
References tools::Rectangle::Bottom(), CalcTextRect(), GetEntryBoundRect(), tools::Rectangle::Left(), tools::Rectangle::Right(), and tools::Rectangle::Top().
Referenced by EntrySelected(), PaintEntry(), PaintItem(), and ShowCursor().
|
private |
Definition at line 2103 of file imivctl1.cxx.
References aDefaultTextSize, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), SvxIconChoiceCtrlEntry::aGridRect, SvxIconChoiceCtrlEntry::aRect, tools::Rectangle::Bottom(), CalcBmpRect(), Full, tools::Rectangle::GetSize(), SvxIconChoiceCtrlEntry::GetTextMode(), Size::Height(), HOR_DIST_BMP_STRING, IsBoundingRectValid(), tools::Rectangle::Left(), LONG_MAX, LROFFS_BOUND, nWinBits, tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), VER_DIST_BMP_STRING, and WB_ICON.
Referenced by CalcTextRect().
tools::Rectangle SvxIconChoiceCtrl_Impl::CalcTextRect | ( | SvxIconChoiceCtrlEntry * | pEntry, |
const Point * | pPos = nullptr , |
||
const OUString * | pStr = nullptr |
||
) |
Definition at line 1604 of file imivctl1.cxx.
References aImageSize, CalcMaxTextRect(), GetEntryBoundRect(), SvtIconChoiceCtrl::GetEntryText(), tools::Rectangle::GetHeight(), tools::Rectangle::GetSize(), OutputDevice::GetTextRect(), tools::Rectangle::GetWidth(), Size::Height(), HOR_DIST_BMP_STRING, nCurTextDrawFlags, nWinBits, Point, pView, tools::Rectangle::SetPos(), tools::Rectangle::TopLeft(), VER_DIST_BMP_STRING, VIEWMODE_MASK, WB_DETAILS, WB_ICON, WB_SMALLICON, and Size::Width().
Referenced by CalcFocusRect(), GetEntry(), MakeEntryVisible(), PaintEntry(), and RequestHelp().
void SvxIconChoiceCtrl_Impl::CallEventListeners | ( | VclEventId | nEvent, |
void * | pData | ||
) |
Definition at line 2925 of file imivctl1.cxx.
References SvtIconChoiceCtrl::CallImplEventListeners(), and pView.
Referenced by EntrySelected(), and SetCursor_Impl().
|
private |
Definition at line 2891 of file imivctl1.cxx.
References aCallSelectHdlIdle, SvtIconChoiceCtrl::ClickIcon(), nWinBits, pHdlEntry, pView, Idle::Start(), WB_HIGHLIGHTFRAME, and WB_NOASYNCSELECTHDL.
Referenced by SelectEntry().
|
private |
Definition at line 2525 of file imivctl1.cxx.
References nUserEventAdjustScrBars, and Application::RemoveUserEvent().
Referenced by Clear(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 2171 of file imivctl1.cxx.
References tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), SvxIconChoiceCtrlEntry::aGridRect, SvxIconChoiceCtrlEntry::aRect, CalcBoundingSize(), tools::Rectangle::GetWidth(), Size::Height(), nBorder, nWinBits, tools::Rectangle::SetBottom(), tools::Rectangle::Top(), WB_ICON, and Size::Width().
Referenced by InvalidateEntry(), and SetBoundingRect_Impl().
|
inline |
Definition at line 351 of file imivctl.hxx.
References RecalcAllBoundingRectsSmart().
Referenced by GetEntry(), IcnCursor_Impl::ImplCreate(), and SelectRect().
|
private |
Definition at line 1214 of file imivctl1.cxx.
References Size::AdjustHeight(), aHorSBar, aOutputSize, aVerSBar, aVirtOutputSize, GetEntryBoundRect(), OutputDevice::GetMapMode(), MapMode::GetOrigin(), vcl::Window::GetSizePixel(), vcl::Window::Hide(), vcl::Window::IsVisible(), Range::Max(), maZOrderList, nCount, nHorSBarHeight, nWinBits, Point, pView, tools::Rectangle::Right(), ScrollBar::SetRange(), vcl::Window::SetSizePixel(), ScrollBar::SetThumbPos(), Size::setWidth(), WB_HSCROLL, and Size::Width().
Referenced by CheckScrollBars().
|
private |
Definition at line 1292 of file imivctl1.cxx.
References aHorSBar, aScrBarBox, aVerSBar, CheckHorScrollBar(), CheckVerScrollBar(), vcl::Window::Hide(), vcl::Window::IsVisible(), and vcl::Window::Show().
Referenced by MakeVisible().
|
private |
Definition at line 1252 of file imivctl1.cxx.
References Size::AdjustWidth(), aHorSBar, aOutputSize, aVerSBar, aVirtOutputSize, tools::Rectangle::Bottom(), GetEntryBoundRect(), OutputDevice::GetMapMode(), MapMode::GetOrigin(), vcl::Window::GetSizePixel(), Size::Height(), vcl::Window::Hide(), vcl::Window::IsVisible(), Range::Max(), maZOrderList, nCount, nVerSBarWidth, nWinBits, Point, pView, Size::setHeight(), ScrollBar::SetRange(), vcl::Window::SetSizePixel(), ScrollBar::SetThumbPos(), and WB_VSCROLL.
Referenced by CheckScrollBars().
void SvxIconChoiceCtrl_Impl::Clear | ( | bool | bInCtor | ) |
Definition at line 120 of file imivctl1.cxx.
References AdjustScrollBars(), aVirtOutputSize, bBoundRectsDirty, bUpdateMode, CancelUserEvents(), DEFAULT_MAX_VIRT_HEIGHT, DEFAULT_MAX_VIRT_WIDTH, DocRectChanged(), OutputDevice::GetOutputSizePixel(), vcl::Window::Invalidate(), maEntries, maZOrderList, nHorSBarHeight, nMaxBoundHeight, nMaxVirtHeight, nMaxVirtWidth, NoChildren, nSelectionCount, nVerSBarWidth, pCurHighlightFrame, pCursor, pGridMap, pImpCursor, Point, pView, Size::setHeight(), SetOrigin(), Size::setWidth(), ShowCursor(), and VisRectChanged().
Referenced by SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 422 of file imivctl1.cxx.
References maEntries, nCount, SvxIconChoiceCtrlEntry::pblink, SvxIconChoiceCtrlEntry::pflink, and pHead.
Referenced by ImpArrange().
|
private |
Definition at line 2414 of file imivctl1.cxx.
References aSelectedRectList.
Referenced by DeselectAllBut(), KeyInput(), MouseButtonDown(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 1919 of file imivctl1.cxx.
References aVirtOutputSize, tools::Rectangle::Bottom(), Size::Height(), tools::Rectangle::Left(), tools::Rectangle::Right(), tools::Rectangle::SetBottom(), tools::Rectangle::SetLeft(), tools::Rectangle::SetRight(), tools::Rectangle::SetTop(), tools::Rectangle::Top(), and Size::Width().
Referenced by MakeVisible().
void SvxIconChoiceCtrl_Impl::Command | ( | const CommandEvent & | rCEvt | ) |
Definition at line 1894 of file imivctl1.cxx.
References AutoScroll, CommandEvent::GetCommand(), HandleScrollCommand(), StartAutoScroll, and Wheel.
|
private |
Definition at line 2041 of file imivctl1.cxx.
References AddMode, ClearSelectedRectList(), SvxIconChoiceCtrlEntry::IsSelected(), maEntries, nCount, nFlags, pAnchor, and SelectEntry().
Referenced by MouseButtonDown(), MouseButtonUp(), SelectEntry(), SetCursor_Impl(), and SetNoSelection().
|
inlineprivate |
Definition at line 236 of file imivctl.hxx.
References Idle::Start().
Referenced by AdjustVirtSize(), and Clear().
|
private |
Definition at line 2477 of file imivctl1.cxx.
References aFocus, LocalFocus::aPenColor, LocalFocus::aRect, Dash, OutputDevice::DrawPolyLine(), OutputDevice::SetFillColor(), and OutputDevice::SetLineColor().
Referenced by PaintItem().
void SvxIconChoiceCtrl_Impl::DrawHighlightFrame | ( | vcl::RenderContext & | rRenderContext, |
const tools::Rectangle & | rBmpRect | ||
) |
Definition at line 2845 of file imivctl1.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), aImageSize, bHighlightFramePressed, DecorationView::DrawHighlightFrame(), In, nBorder, Out, and Size::Width().
Referenced by PaintEntry().
|
private |
Definition at line 292 of file imivctl1.cxx.
References bUpdateMode, CalcFocusRect(), CallEventListeners(), eSelectionMode, vcl::Window::Invalidate(), ListboxSelect, nFlags, pCursor, pView, SelectingRect, SetCursor(), ShowCursor(), Single, and ToTop().
Referenced by SelectEntry().
void SvxIconChoiceCtrl_Impl::FindBoundingRect | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 1745 of file imivctl1.cxx.
References AdjustVirtSize(), SvxIconChoiceCtrlEntry::aRect, CalcBoundingSize(), DBG_ASSERT, IsBoundingRectValid(), SvxIconChoiceCtrlEntry::IsPosLocked(), pGridMap, Point, SetBoundingRect_Impl(), and TopLeft.
Referenced by GetEntryBoundRect(), InsertEntry(), RecalcAllBoundingRectsSmart(), ResetVirtSize(), and SelectRect().
SvxIconChoiceCtrlEntry * SvxIconChoiceCtrl_Impl::FindEntryPredecessor | ( | SvxIconChoiceCtrlEntry * | pEntry, |
const Point & | rPosTopLeft | ||
) |
Definition at line 2726 of file imivctl1.cxx.
References CalcBmpRect(), tools::Rectangle::Center(), GetPredecessorGrid(), GRID_NOT_FOUND, maEntries, nCount, SvxIconChoiceCtrlEntry::pflink, pHead, and Point.
Referenced by SetEntryPos().
void SvxIconChoiceCtrl_Impl::FontModified | ( | ) |
Definition at line 183 of file imivctl1.cxx.
References SetDefaultTextSize(), and ShowCursor().
|
inline |
Definition at line 416 of file imivctl.hxx.
const SvxIconChoiceCtrlColumnInfo * SvxIconChoiceCtrl_Impl::GetColumn | ( | sal_uInt16 | nIndex | ) | const |
|
inline |
SvxIconChoiceCtrlEntry * SvxIconChoiceCtrl_Impl::GetEntry | ( | const Point & | rDocPos, |
bool | bHit = false |
||
) |
Definition at line 1520 of file imivctl1.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), SvxIconChoiceCtrlEntry::aRect, CalcBmpRect(), CalcTextRect(), CheckBoundingRects(), tools::Rectangle::IsInside(), maZOrderList, and nCount.
Referenced by IsMnemonicChar(), KeyInput(), MouseButtonDown(), MouseButtonUp(), MouseMove(), RequestHelp(), and SelectRange().
|
inline |
Definition at line 386 of file imivctl.hxx.
|
inline |
Definition at line 390 of file imivctl.hxx.
const tools::Rectangle & SvxIconChoiceCtrl_Impl::GetEntryBoundRect | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 1570 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::aRect, FindBoundingRect(), and IsBoundingRectValid().
Referenced by AddSelectedRect(), CalcBmpRect(), CalcFocusRect(), CalcTextRect(), CheckHorScrollBar(), CheckVerScrollBar(), IcnCursor_Impl::GetSortListPos(), IcnCursor_Impl::GoPageUpDown(), KeyInput(), MakeEntryVisible(), MouseButtonDown(), Paint(), RepaintSelectedEntries(), IcnCursor_Impl::SearchCol(), IcnCursor_Impl::SearchRow(), SelectRect(), SetCursor_Impl(), SetEntryHighlightFrame(), SetEntryPos(), SetEntryTextMode(), and SetPositionMode().
|
inline |
Definition at line 385 of file imivctl.hxx.
Referenced by IsMnemonicChar(), and SelectRange().
sal_Int32 SvxIconChoiceCtrl_Impl::GetEntryListPos | ( | SvxIconChoiceCtrlEntry const * | pEntry | ) | const |
Definition at line 2602 of file imivctl1.cxx.
References EntryListPosValid, nFlags, SvxIconChoiceCtrlEntry::nPos, and SetListPositions().
Referenced by IcnCursor_Impl::GoPageUpDown(), IcnCursor_Impl::GoUpDown(), SelectRange(), and SetEntryPredecessor().
SvxIconChoiceCtrlEntry * SvxIconChoiceCtrl_Impl::GetFirstSelectedEntry | ( | ) | const |
Definition at line 2545 of file imivctl1.cxx.
References eSelectionMode, GetSelectionCount(), SvxIconChoiceCtrlEntry::IsSelected(), maEntries, nCount, NONE, nWinBits, pCurHighlightFrame, SvxIconChoiceCtrlEntry::pflink, pHead, and WB_HIGHLIGHTFRAME.
void SvxIconChoiceCtrl_Impl::GetFocus | ( | ) |
Definition at line 1304 of file imivctl1.cxx.
References FOCUSED, pCursor, RepaintSelectedEntries(), SvxIconChoiceCtrlEntry::SetFlags(), and ShowCursor().
const Size & SvxIconChoiceCtrl_Impl::GetItemSize | ( | IcnViewFieldType | eItem | ) | const |
Definition at line 2203 of file imivctl1.cxx.
References aDefaultTextSize, aImageSize, and Text.
Referenced by CalcBoundingHeight(), and CalcBoundingWidth().
Size SvxIconChoiceCtrl_Impl::GetMinGrid | ( | ) | const |
Definition at line 2058 of file imivctl1.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), aImageSize, OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), HOR_DIST_BMP_STRING, LROFFS_BOUND, nWinBits, pView, TBOFFS_BOUND, VER_DIST_BMP_STRING, and WB_ICON.
Referenced by SetGrid().
tools::Rectangle SvxIconChoiceCtrl_Impl::GetOutputRect | ( | ) | const |
Definition at line 235 of file imivctl1.cxx.
References aOutputSize, OutputDevice::GetMapMode(), MapMode::GetOrigin(), Point, and pView.
Referenced by HandleScrollCommand(), ImpArrange(), InsertEntry(), MakeVisible(), PaintEntry(), RepaintSelectedEntries(), and SelectRect().
Definition at line 2749 of file imivctl1.cxx.
References aOutputSize, aVirtOutputSize, GRID_NOT_FOUND, LROFFS_WINBORDER, nGridDX, nGridDY, Point, TBOFFS_WINBORDER, and Size::Width().
Referenced by FindEntryPredecessor().
|
inlineprivate |
Definition at line 180 of file imivctl.hxx.
Referenced by CalcBoundingHeight(), and HandleScrollCommand().
|
inlinestaticprivate |
Definition at line 176 of file imivctl.hxx.
Referenced by AdjustScrollBars(), and HandleScrollCommand().
sal_Int32 SvxIconChoiceCtrl_Impl::GetSelectionCount | ( | ) | const |
Definition at line 2027 of file imivctl1.cxx.
References nSelectionCount, nWinBits, pCurHighlightFrame, and WB_HIGHLIGHTFRAME.
Referenced by GetFirstSelectedEntry().
|
inline |
Definition at line 266 of file imivctl.hxx.
References nWinBits.
|
inline |
Definition at line 292 of file imivctl.hxx.
References bUpdateMode.
Referenced by MakeVisible(), and SetColumn().
|
private |
Definition at line 1815 of file imivctl1.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), AutoScroll, aVirtOutputSize, COMMAND_WHEEL_PAGESCROLL, vcl::Window::EndTracking(), CommandEvent::GetAutoScrollData(), CommandEvent::GetCommand(), CommandWheelData::GetDelta(), CommandScrollData::GetDeltaX(), CommandScrollData::GetDeltaY(), CommandWheelData::GetMode(), CommandWheelData::GetNotchDelta(), GetOutputRect(), GetScrollBarLineSize(), GetScrollBarPageSize(), CommandWheelData::GetScrollLines(), tools::Rectangle::GetSize(), CommandEvent::GetWheelData(), Horz, CommandWheelData::IsHorz(), tools::Rectangle::IsInside(), MakeVisible(), NONE, pData, Point, pView, SCROLL, StartAutoScroll, vcl::Window::StartAutoScroll(), Vert, Wheel, and Size::Width().
Referenced by Command().
void SvxIconChoiceCtrl_Impl::HideDDIcon | ( | ) |
Definition at line 1810 of file imivctl1.cxx.
References vcl::Window::PaintImmediately(), and pView.
Referenced by MakeVisible().
|
private |
Definition at line 452 of file imivctl1.cxx.
References aAutoArrangeIdle, Arranging, bBoundRectsDirty, bUpdateMode, ClearPredecessors(), GetOutputRect(), vcl::Window::Invalidate(), MakeVisible(), nFlags, NoChildren, nWinBits, Point, pView, RecalcAllBoundingRectsSmart(), ResetVirtSize(), SetOrigin(), SetUpdateMode(), ShowCursor(), Task::Stop(), tools::Rectangle::TopLeft(), VisRectChanged(), and WB_SMART_ARRANGE.
Referenced by Arrange().
|
private |
Definition at line 396 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::ClearFlags(), DBG_ASSERT, maEntries, nCount, SvxIconChoiceCtrlEntry::pblink, SvxIconChoiceCtrlEntry::pflink, pHead, POS_LOCKED, and POS_MOVED.
Referenced by SetEntryPredecessor().
|
private |
Definition at line 596 of file imivctl1.cxx.
References aScrBarBox, OutputDevice::GetOutputSizePixel(), nHorSBarHeight, nVerSBarWidth, Point, pView, vcl::Window::SetPosPixel(), and vcl::Window::SetSizePixel().
Referenced by Resize().
void SvxIconChoiceCtrl_Impl::InitSettings | ( | ) |
Definition at line 2609 of file imivctl1.cxx.
References AdjustScrollBars(), aHorSBar, aVerSBar, StyleSettings::GetFieldColor(), StyleSettings::GetFieldFont(), StyleSettings::GetFieldTextColor(), StyleSettings::GetScrollBarSize(), OutputDevice::GetSettings(), vcl::Window::GetSizePixel(), AllSettings::GetStyleSettings(), StyleSettings::GetWindowTextColor(), vcl::Window::Hide(), nHorSBarHeight, nVerSBarWidth, PositionScrollBars(), pView, SvtIconChoiceCtrl::SetBackground(), vcl::Font::SetColor(), SetDefaultTextSize(), Size::setHeight(), SvtIconChoiceCtrl::SetPointFont(), vcl::Window::SetSizePixel(), OutputDevice::SetTextColor(), OutputDevice::SetTextFillColor(), and Size::setWidth().
void SvxIconChoiceCtrl_Impl::InsertEntry | ( | std::unique_ptr< SvxIconChoiceCtrlEntry > | pEntry1, |
size_t | nPos | ||
) |
Definition at line 190 of file imivctl1.cxx.
References bUpdateMode, EntryListPosValid, FindBoundingRect(), GetOutputRect(), vcl::Window::Invalidate(), InvalidateBoundingRect(), tools::Rectangle::IsOver(), LONG_MAX, maEntries, maZOrderList, nFlags, SvxIconChoiceCtrlEntry::pblink, pGridMap, pHead, pImpCursor, and pView.
|
inline |
Definition at line 337 of file imivctl.hxx.
References LONG_MAX, and tools::Rectangle::SetRight().
Referenced by InsertEntry(), and ResetVirtSize().
void SvxIconChoiceCtrl_Impl::InvalidateEntry | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 2534 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::aRect, Center(), vcl::Window::Invalidate(), pCursor, pView, and ShowCursor().
Referenced by SetEntryTextMode().
|
inlineprivate |
Definition at line 232 of file imivctl.hxx.
References AutoArrange.
Referenced by IcnCursor_Impl::GoPageUpDown(), IcnCursor_Impl::GoUpDown(), RecalcAllBoundingRectsSmart(), SetColumn(), SetEntryPos(), and SetEntryPredecessor().
|
inlinestatic |
Definition at line 342 of file imivctl.hxx.
References LONG_MAX, and tools::Rectangle::Right().
Referenced by CalcMaxTextRect(), FindBoundingRect(), GetEntryBoundRect(), IcnGridMap_Impl::OccupyGrids(), RecalcAllBoundingRectsSmart(), ResetVirtSize(), and SelectRect().
|
private |
Definition at line 2493 of file imivctl1.cxx.
References GetEntry(), GetEntryCount(), Application::GetSettings(), AllSettings::GetUILocaleI18nHelper(), i, and vcl::I18nHelper::MatchMnemonic().
Referenced by KeyInput().
|
static |
Definition at line 2386 of file imivctl1.cxx.
References tools::Rectangle::IsOver(), and nCount.
Referenced by SelectRect().
bool SvxIconChoiceCtrl_Impl::KeyInput | ( | const KeyEvent & | rKEvt | ) |
Definition at line 848 of file imivctl1.cxx.
References AddMode, tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustRight(), ClearSelectedRectList(), SvtIconChoiceCtrl::ClickIcon(), eSelectionMode, Full, KeyEvent::GetCharCode(), vcl::KeyCode::GetCode(), GetCurEntry(), GetEntry(), GetEntryBoundRect(), KeyEvent::GetKeyCode(), IsMnemonicChar(), vcl::KeyCode::IsMod1(), vcl::KeyCode::IsMod2(), vcl::KeyCode::IsShift(), KEY_A, KEY_ADD, KEY_COMMA, KEY_DIVIDE, KEY_DOWN, KEY_END, KEY_F10, KEY_F2, KEY_F8, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RETURN, KEY_RIGHT, KEY_SPACE, KEY_SUBTRACT, KEY_UP, tools::Rectangle::Left(), maEntries, MakeEntryVisible(), MakeVisible(), nCode, nFlags, NONE, nPos, pCurHighlightFrame, pCursor, pHdlEntry, pImpCursor, pView, SelectAll(), SetCursor_Impl(), SetEntryHighlightFrame(), SvtIconChoiceCtrl::SetEntryTextMode(), tools::Rectangle::SetLeft(), SetNoSelection(), tools::Rectangle::SetTop(), Short, Single, ToggleSelection(), and tools::Rectangle::Top().
void SvxIconChoiceCtrl_Impl::LoseFocus | ( | ) |
Definition at line 1314 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::ClearFlags(), FOCUSED, pCursor, RepaintSelectedEntries(), and ShowCursor().
void SvxIconChoiceCtrl_Impl::MakeEntryVisible | ( | SvxIconChoiceCtrlEntry * | pEntry, |
bool | bBound = true |
||
) |
Definition at line 1551 of file imivctl1.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), CalcBmpRect(), CalcTextRect(), GetEntryBoundRect(), LROFFS_BOUND, MakeVisible(), TBOFFS_BOUND, and tools::Rectangle::Union().
Referenced by KeyInput(), MouseButtonDown(), and SetCursor_Impl().
void SvxIconChoiceCtrl_Impl::MakeVisible | ( | const tools::Rectangle & | rDocPos, |
bool | bInScrollBarEvent = false |
||
) |
Definition at line 1935 of file imivctl1.cxx.
References aHorSBar, aVerSBar, tools::Rectangle::Bottom(), CheckScrollBars(), Clip, ClipAtVirtOutRect(), OutputDevice::GetBackground(), OutputDevice::GetMapMode(), MapMode::GetOrigin(), GetOutputRect(), ScrollBar::GetThumbPos(), GetUpdateMode(), HideDDIcon(), vcl::Window::Invalidate(), tools::Rectangle::IsInside(), Wallpaper::IsScrollable(), vcl::Window::IsVisible(), tools::Rectangle::Left(), NoChildren, vcl::Window::PaintImmediately(), Point, pView, tools::Rectangle::Right(), SetOrigin(), tools::Rectangle::SetPos(), ScrollBar::SetThumbPos(), ShowCursor(), tools::Rectangle::Top(), UseClipRegion, and VisRectChanged().
Referenced by HandleScrollCommand(), ImpArrange(), KeyInput(), MakeEntryVisible(), and Scroll().
bool SvxIconChoiceCtrl_Impl::MouseButtonDown | ( | const MouseEvent & | rMEvt | ) |
Definition at line 603 of file imivctl1.cxx.
References aCurSelectionRect, AddMode, AddSelectedRect(), aOutputSize, aSelectedRectList, bHighlightFramePressed, ClearSelectedRectList(), SvtIconChoiceCtrl::ClickIcon(), DBG_ASSERT, DeselectAllBut(), DownCtrl, DownDeselect, eSelectionMode, MouseEvent::GetClicks(), GetEntry(), GetEntryBoundRect(), MouseEvent::GetModifier(), MouseEvent::GetPosPixel(), vcl::Window::GrabFocus(), vcl::Window::HasFocus(), Size::Height(), MouseEvent::IsLeft(), MouseEvent::IsMod1(), MouseEvent::IsMod2(), SvxIconChoiceCtrlEntry::IsSelected(), MouseEvent::IsShift(), MakeEntryVisible(), Multiple, nFlags, NONE, nWinBits, pAnchor, pCurHighlightFrame, pCursor, pHdlEntry, Point, pView, ScrollRepeat, SelectEntry(), SelectRect(), SetCursor(), SetCursor_Impl(), SetEntryHighlightFrame(), SetNoSelection(), tools::Rectangle::SetPos(), Single, vcl::Window::StartTracking(), ToDocPos(), tools::Rectangle::Union(), WB_HIGHLIGHTFRAME, WB_NODRAGSELECTION, WB_NOPOINTERFOCUS, and Size::Width().
bool SvxIconChoiceCtrl_Impl::MouseButtonUp | ( | const MouseEvent & | rMEvt | ) |
Definition at line 732 of file imivctl1.cxx.
References bHighlightFramePressed, SvtIconChoiceCtrl::ClickIcon(), DeselectAllBut(), DownCtrl, DownDeselect, GetEntry(), MouseEvent::GetPosPixel(), MouseEvent::IsRight(), nFlags, nWinBits, pCurHighlightFrame, pCursor, pHdlEntry, Point, pView, SelectEntry(), SetCursor(), SetCursor_Impl(), SetEntryHighlightFrame(), ToDocPos(), ToggleSelection(), and WB_HIGHLIGHTFRAME.
bool SvxIconChoiceCtrl_Impl::MouseMove | ( | const MouseEvent & | rMEvt | ) |
Definition at line 784 of file imivctl1.cxx.
References GetEntry(), MouseEvent::GetPosPixel(), vcl::Window::IsTracking(), nWinBits, OutputDevice::PixelToLogic(), Point, pView, SetEntryHighlightFrame(), and WB_HIGHLIGHTFRAME.
|
privatedelete |
void SvxIconChoiceCtrl_Impl::Paint | ( | vcl::RenderContext & | rRenderContext, |
const tools::Rectangle & | rRect | ||
) |
Definition at line 482 of file imivctl1.cxx.
References CLIPREGION, OutputDevice::DrawLine(), SvtIconChoiceCtrl::GetEntry(), GetEntryBoundRect(), SvtIconChoiceCtrl::GetEntryCount(), OutputDevice::GetLineColor(), OutputDevice::GetMapMode(), MapMode::GetOrigin(), i, SvxIconChoiceCtrlEntry::IsFocused(), tools::Rectangle::IsOver(), LROFFS_WINBORDER, maEntries, maZOrderList, nCount, nGridDX, nGridDY, nPos, PaintEntry(), pCursor, Point, OutputDevice::Pop(), OutputDevice::Push(), pView, OutputDevice::SetClipRegion(), OutputDevice::SetLineColor(), TBOFFS_WINBORDER, and tools::Rectangle::TopLeft().
|
static |
Definition at line 1342 of file imivctl1.cxx.
References COL_TRANSPARENT(), OutputDevice::DrawRect(), vcl::Font::GetFillColor(), OutputDevice::GetFillColor(), OutputDevice::GetFont(), and OutputDevice::SetFillColor().
Referenced by PaintEntry().
void SvxIconChoiceCtrl_Impl::PaintEntry | ( | SvxIconChoiceCtrlEntry * | pEntry, |
const Point & | rPos, | ||
vcl::RenderContext & | rRenderContext | ||
) |
Definition at line 1395 of file imivctl1.cxx.
References aHorSBar, aVerSBar, CalcBmpRect(), CalcFocusRect(), CalcTextRect(), DrawHighlightFrame(), OutputDevice::DrawRect(), vcl::RenderTools::DrawSelectionBackground(), eSelectionMode, FONT, OutputDevice::GetBackground(), Wallpaper::GetColor(), StyleSettings::GetDeactiveColor(), SvtIconChoiceCtrl::GetEntryText(), StyleSettings::GetFaceColor(), OutputDevice::GetFont(), StyleSettings::GetHighlightColor(), StyleSettings::GetHighlightTextColor(), GetOutputRect(), OutputDevice::GetSettings(), AllSettings::GetStyleSettings(), StyleSettings::GetWindowTextColor(), vcl::Window::HasFocus(), Image, Color::IsBright(), OutputDevice::IsClipRegion(), tools::Rectangle::IsOver(), SvxIconChoiceCtrlEntry::IsSelected(), vcl::Window::IsVisible(), NONE, nWinBits, PaintEmphasis(), PAINTFLAG_HOR_CENTERED, PAINTFLAG_VER_CENTERED, PaintItem(), pCurHighlightFrame, OutputDevice::Pop(), OutputDevice::Push(), pView, OutputDevice::SetClipRegion(), vcl::Font::SetFillColor(), OutputDevice::SetFillColor(), OutputDevice::SetFont(), Text, TEXTCOLOR, VIEWMODE_MASK, WB_ICON, and WB_NOHIDESELECTION.
Referenced by Paint().
void SvxIconChoiceCtrl_Impl::PaintItem | ( | const tools::Rectangle & | rRect, |
IcnViewFieldType | eItem, | ||
SvxIconChoiceCtrlEntry * | pEntry, | ||
sal_uInt16 | nPaintFlags, | ||
vcl::RenderContext & | rRenderContext | ||
) |
Definition at line 1367 of file imivctl1.cxx.
References aImageSize, CalcFocusRect(), SvtIconChoiceCtrl::DrawEntryImage(), DrawFocusRect(), OutputDevice::DrawText(), SvtIconChoiceCtrl::GetEntryText(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), Size::Height(), SvxIconChoiceCtrlEntry::IsFocused(), nCurTextDrawFlags, PAINTFLAG_HOR_CENTERED, PAINTFLAG_VER_CENTERED, Point, ShowFocus(), Text, tools::Rectangle::TopLeft(), and Size::Width().
Referenced by PaintEntry().
|
private |
Definition at line 1046 of file imivctl1.cxx.
References aHorSBar, aVerSBar, vcl::Window::GetPosPixel(), nHorSBarHeight, nVerSBarWidth, Point, and vcl::Window::SetPosPixel().
Referenced by AdjustScrollBars(), InitSettings(), and Resize().
void SvxIconChoiceCtrl_Impl::RecalcAllBoundingRectsSmart | ( | ) |
Definition at line 1698 of file imivctl1.cxx.
References AdjustScrollBars(), SvxIconChoiceCtrlEntry::aRect, DBG_ASSERT, FindBoundingRect(), tools::Rectangle::GetSize(), IsAutoArrange(), IsBoundingRectValid(), maEntries, maZOrderList, nCount, nMaxBoundHeight, SvxIconChoiceCtrlEntry::pblink, SvxIconChoiceCtrlEntry::pflink, and pHead.
Referenced by CheckBoundingRects(), ImpArrange(), and RemoveEntry().
void SvxIconChoiceCtrl_Impl::RemoveEntry | ( | size_t | nPos | ) |
Definition at line 228 of file imivctl1.cxx.
References maEntries, pImpCursor, and RecalcAllBoundingRectsSmart().
|
private |
Definition at line 577 of file imivctl1.cxx.
References GetEntryBoundRect(), SvxIconChoiceCtrlEntry::GetFlags(), GetOutputRect(), vcl::Window::Invalidate(), tools::Rectangle::IsOver(), maZOrderList, nCount, pView, and SELECTED.
Referenced by GetFocus(), and LoseFocus().
bool SvxIconChoiceCtrl_Impl::RequestHelp | ( | const HelpEvent & | rHEvt | ) |
Definition at line 2774 of file imivctl1.cxx.
References CalcTextRect(), Clip, EndEllipsis, GetEntry(), SvtIconChoiceCtrl::GetEntryText(), OutputDevice::GetMapMode(), HelpEvent::GetMode(), HelpEvent::GetMousePosPixel(), MapMode::GetOrigin(), SvxIconChoiceCtrlEntry::GetQuickHelpText(), OutputDevice::GetTextRect(), tools::Rectangle::IsInside(), Left, LONG_MAX, nCurTextDrawFlags, vcl::Window::OutputToScreenPixel(), Point, pView, QUICK, vcl::Window::ScreenToOutputPixel(), tools::Rectangle::SetBottom(), tools::Rectangle::SetPos(), Help::ShowQuickHelp(), tools::Rectangle::TopLeft(), and VCenter.
|
private |
Definition at line 323 of file imivctl1.cxx.
References AdjustVirtSize(), SvxIconChoiceCtrlEntry::aRect, aVirtOutputSize, SvxIconChoiceCtrlEntry::ClearFlags(), FindBoundingRect(), IcnGridMap_Impl::GetGridCount(), OutputDevice::GetOutputSizePixel(), Size::Height(), InvalidateBoundingRect(), IsBoundingRectValid(), SvxIconChoiceCtrlEntry::IsPosLocked(), maEntries, nCount, nGridDX, nGridDY, nHorSBarHeight, nMaxVirtHeight, nMaxVirtWidth, nVerSBarWidth, nWinBits, pGridMap, pImpCursor, POS_MOVED, pView, Size::setHeight(), Size::setWidth(), VisRectChanged(), WB_ALIGN_TOP, WB_NOHSCROLL, WB_NOVSCROLL, and Size::Width().
Referenced by ImpArrange().
void SvxIconChoiceCtrl_Impl::Resize | ( | ) |
Definition at line 1192 of file imivctl1.cxx.
References aOutputSize, EVENTID_ADJUST_SCROLLBARS, OutputDevice::GetOutputSizePixel(), Size::Height(), InitScrollBarBox(), LINK, nUserEventAdjustScrBars, pGridMap, pImpCursor, PositionScrollBars(), Application::PostUserEvent(), pView, VisRectChanged(), and Size::Width().
void SvxIconChoiceCtrl_Impl::Scroll | ( | tools::Long | nDeltaX, |
tools::Long | nDeltaY | ||
) |
Definition at line 2190 of file imivctl1.cxx.
References aOutputSize, OutputDevice::GetMapMode(), MapMode::GetOrigin(), MakeVisible(), Point, and pView.
void SvxIconChoiceCtrl_Impl::SelectAll | ( | ) |
Definition at line 2587 of file imivctl1.cxx.
References AddMode, maEntries, nCount, nFlags, pAnchor, and SelectEntry().
Referenced by KeyInput().
void SvxIconChoiceCtrl_Impl::SelectEntry | ( | SvxIconChoiceCtrlEntry * | pEntry, |
bool | bSelect, | ||
bool | bAddToSelection = false |
||
) |
Definition at line 255 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::AssignFlags(), CallSelectHandler(), ClearingSelection, DeselectAllBut(), EntrySelected(), eSelectionMode, SvxIconChoiceCtrlEntry::GetFlags(), SvxIconChoiceCtrlEntry::IsSelected(), nFlags, NONE, nSelectionCount, pHdlEntry, and SELECTED.
Referenced by DeselectAllBut(), MouseButtonDown(), MouseButtonUp(), SelectAll(), SelectRange(), SelectRect(), SetCursor(), SetCursor_Impl(), and ToggleSelection().
|
private |
Definition at line 2340 of file imivctl1.cxx.
References GetEntry(), GetEntryCount(), GetEntryListPos(), i, SvxIconChoiceCtrlEntry::IsSelected(), and SelectEntry().
Referenced by SetCursor_Impl().
|
private |
Definition at line 2234 of file imivctl1.cxx.
References DBG_ASSERT, GetEntryBoundRect(), and tools::Rectangle::Union().
Referenced by MouseButtonDown(), and SetCursor_Impl().
void SvxIconChoiceCtrl_Impl::SelectRect | ( | const tools::Rectangle & | rRect, |
bool | bAdd, | ||
std::vector< tools::Rectangle > * | pOtherRects | ||
) |
Definition at line 2243 of file imivctl1.cxx.
References aCurSelectionRect, SvxIconChoiceCtrlEntry::aRect, CheckBoundingRects(), FindBoundingRect(), GetHotSpot(), GetOutputRect(), IsBoundingRectValid(), OutputDevice::IsClipRegion(), tools::Rectangle::IsOver(), IsOver(), SvxIconChoiceCtrlEntry::IsSelected(), tools::Rectangle::Justify(), maZOrderList, nCount, nFlags, nPos, vcl::Window::PaintImmediately(), pView, SelectEntry(), SelectingRect, and OutputDevice::SetClipRegion().
void SvxIconChoiceCtrl_Impl::SetBoundingRect_Impl | ( | SvxIconChoiceCtrlEntry * | pEntry, |
const Point & | rPos, | ||
const Size & | rBoundingSize | ||
) |
Definition at line 1758 of file imivctl1.cxx.
References AdjustVirtSize(), SvxIconChoiceCtrlEntry::aGridRect, SvxIconChoiceCtrlEntry::aRect, Center(), nGridDX, nGridDY, and pGridMap.
Referenced by FindBoundingRect().
void SvxIconChoiceCtrl_Impl::SetColumn | ( | sal_uInt16 | nIndex, |
const SvxIconChoiceCtrlColumnInfo & | rInfo | ||
) |
Definition at line 2818 of file imivctl1.cxx.
References Arrange(), GetUpdateMode(), SvxIconChoiceCtrlColumnInfo::GetWidth(), IsAutoArrange(), m_pColumns, nGridDX, nWinBits, and WB_DETAILS.
Referenced by SetStyle().
void SvxIconChoiceCtrl_Impl::SetCursor | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 1769 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::ClearFlags(), eSelectionMode, FOCUSED, SvxIconChoiceCtrlEntry::IsSelected(), pCursor, SelectEntry(), SvxIconChoiceCtrlEntry::SetFlags(), ShowCursor(), Single, and ToTop().
Referenced by EntrySelected(), MouseButtonDown(), MouseButtonUp(), and SetCursor_Impl().
void SvxIconChoiceCtrl_Impl::SetCursor_Impl | ( | SvxIconChoiceCtrlEntry * | pOldCursor, |
SvxIconChoiceCtrlEntry * | pNewCursor, | ||
bool | bMod1, | ||
bool | bShift | ||
) |
Definition at line 800 of file imivctl1.cxx.
References aCurSelectionRect, AddMode, AddSelectedRect(), aSelectedRectList, CallEventListeners(), DeselectAllBut(), eSelectionMode, GetEntryBoundRect(), ListboxSelect, MakeEntryVisible(), nFlags, nWinBits, pAnchor, pCursor, SelectEntry(), SelectRange(), SelectRect(), SetCursor(), ShowCursor(), Single, and WB_ALIGN_LEFT.
Referenced by KeyInput(), MouseButtonDown(), and MouseButtonUp().
|
private |
Definition at line 2145 of file imivctl1.cxx.
References aDefaultTextSize, aImageSize, OutputDevice::GetDPIScaleFactor(), OutputDevice::GetTextHeight(), Size::Height(), LROFFS_BOUND, nGridDX, nGridDY, pView, TBOFFS_BOUND, and VER_DIST_BMP_STRING.
Referenced by FontModified(), InitSettings(), and SetGrid().
void SvxIconChoiceCtrl_Impl::SetEntryHighlightFrame | ( | SvxIconChoiceCtrlEntry * | pEntry, |
bool | bKeepHighlightFlags | ||
) |
Definition at line 2865 of file imivctl1.cxx.
References bHighlightFramePressed, tools::Rectangle::expand(), GetEntryBoundRect(), vcl::Window::Invalidate(), pCurHighlightFrame, and pView.
Referenced by KeyInput(), MouseButtonDown(), MouseButtonUp(), and MouseMove().
void SvxIconChoiceCtrl_Impl::SetEntryPos | ( | SvxIconChoiceCtrlEntry * | pEntry, |
const Point & | rPos | ||
) |
Definition at line 1474 of file imivctl1.cxx.
References aAutoArrangeIdle, AdjustVirtSize(), SvxIconChoiceCtrlEntry::aGridRect, SvxIconChoiceCtrlEntry::aRect, FindEntryPredecessor(), GetEntryBoundRect(), vcl::Window::Invalidate(), IsAutoArrange(), pGridMap, pImpCursor, Point, pView, SetEntryPredecessor(), tools::Rectangle::SetPos(), ShowCursor(), Idle::Start(), tools::Rectangle::TopLeft(), and ToTop().
Referenced by SetPositionMode().
void SvxIconChoiceCtrl_Impl::SetEntryPredecessor | ( | SvxIconChoiceCtrlEntry * | pEntry, |
SvxIconChoiceCtrlEntry * | pPredecessor | ||
) |
Definition at line 2678 of file imivctl1.cxx.
References aAutoArrangeIdle, GetEntryListPos(), InitPredecessors(), IsAutoArrange(), SvxIconChoiceCtrlEntry::pblink, SvxIconChoiceCtrlEntry::pflink, pHead, SvxIconChoiceCtrlEntry::SetBacklink(), Idle::Start(), and SvxIconChoiceCtrlEntry::Unlink().
Referenced by SetEntryPos().
void SvxIconChoiceCtrl_Impl::SetEntryTextMode | ( | SvxIconChoiceCtrlTextMode | eMode, |
SvxIconChoiceCtrlEntry * | pEntry | ||
) |
Definition at line 2436 of file imivctl1.cxx.
References AdjustVirtSize(), SvxIconChoiceCtrlEntry::aRect, Arrange(), SvxIconChoiceCtrlEntry::eTextMode, eTextMode, GetEntryBoundRect(), vcl::Window::Invalidate(), InvalidateEntry(), and pView.
Definition at line 2077 of file imivctl1.cxx.
References GetColumn(), GetMinGrid(), Size::Height(), nGridDX, nGridDY, nWinBits, SetDefaultTextSize(), Size::setHeight(), Size::setWidth(), WB_DETAILS, and Size::Width().
Referenced by SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 242 of file imivctl1.cxx.
References EntryListPosValid, maEntries, nCount, and nFlags.
Referenced by GetEntryListPos().
void SvxIconChoiceCtrl_Impl::SetNoSelection | ( | ) |
Definition at line 1509 of file imivctl1.cxx.
References ClearingSelection, DeselectAllBut(), and nFlags.
Referenced by KeyInput(), and MouseButtonDown().
Definition at line 2918 of file imivctl1.cxx.
References OutputDevice::GetMapMode(), pView, OutputDevice::SetMapMode(), and MapMode::SetOrigin().
Referenced by Clear(), ImpArrange(), and MakeVisible().
void SvxIconChoiceCtrl_Impl::SetPositionMode | ( | SvxIconChoiceCtrlPositionMode | eMode | ) |
Definition at line 2645 of file imivctl1.cxx.
References aAutoArrangeIdle, AutoArrange, ePositionMode, GetEntryBoundRect(), SvxIconChoiceCtrlEntry::GetFlags(), maEntries, nCount, POS_LOCKED, POS_MOVED, SetEntryPos(), Idle::Start(), and tools::Rectangle::TopLeft().
|
inline |
Definition at line 259 of file imivctl.hxx.
Definition at line 154 of file imivctl1.cxx.
References DRAWTEXT_FLAGS_ICON, DRAWTEXT_FLAGS_SMALLICON, eSelectionMode, m_pColumns, nCurTextDrawFlags, NONE, nWinBits, SetColumn(), WB_ALIGN_LEFT, WB_ALIGN_TOP, WB_DETAILS, WB_NOSELECTION, and WB_SMALLICON.
Referenced by SvxIconChoiceCtrl_Impl().
void SvxIconChoiceCtrl_Impl::SetUpdateMode | ( | bool | bUpdate | ) |
Definition at line 1326 of file imivctl1.cxx.
References AdjustScrollBars(), bUpdateMode, vcl::Window::Invalidate(), NoChildren, pGridMap, pImpCursor, and pView.
Referenced by ImpArrange().
|
private |
Definition at line 1798 of file imivctl1.cxx.
References CalcFocusRect(), vcl::Window::HasFocus(), vcl::Window::HideFocus(), pCursor, pView, and ShowFocus().
Referenced by Clear(), EntrySelected(), FontModified(), GetFocus(), ImpArrange(), InvalidateEntry(), LoseFocus(), MakeVisible(), SetCursor(), SetCursor_Impl(), and SetEntryPos().
|
private |
Definition at line 2463 of file imivctl1.cxx.
References aFocus, LocalFocus::aPenColor, LocalFocus::aRect, COL_BLACK, COL_WHITE, OutputDevice::GetBackground(), Wallpaper::GetColor(), and pView.
Referenced by PaintItem(), and ShowCursor().
Definition at line 185 of file imivctl.hxx.
References OutputDevice::GetMapMode(), and MapMode::GetOrigin().
Referenced by MouseButtonDown(), and MouseButtonUp().
|
private |
Definition at line 2034 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::IsSelected(), and SelectEntry().
Referenced by KeyInput(), and MouseButtonUp().
void SvxIconChoiceCtrl_Impl::ToTop | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 1906 of file imivctl1.cxx.
References maZOrderList.
Referenced by EntrySelected(), SetCursor(), and SetEntryPos().
|
inlineprivate |
Definition at line 237 of file imivctl.hxx.
References Idle::Start().
Referenced by Clear(), ImpArrange(), MakeVisible(), ResetVirtSize(), and Resize().
|
friend |
Definition at line 114 of file imivctl.hxx.
Referenced by SvxIconChoiceCtrl_Impl().
|
friend |
Definition at line 115 of file imivctl.hxx.
Referenced by SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 150 of file imivctl.hxx.
|
private |
Definition at line 123 of file imivctl.hxx.
Referenced by ImpArrange(), SetEntryPos(), SetEntryPredecessor(), SetPositionMode(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 126 of file imivctl.hxx.
Referenced by CallSelectHandler(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 121 of file imivctl.hxx.
Referenced by MouseButtonDown(), SelectRect(), and SetCursor_Impl().
|
private |
Definition at line 129 of file imivctl.hxx.
Referenced by CalcMaxTextRect(), GetItemSize(), and SetDefaultTextSize().
|
private |
Definition at line 124 of file imivctl.hxx.
Referenced by SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 149 of file imivctl.hxx.
Referenced by DrawFocusRect(), and ShowFocus().
Definition at line 119 of file imivctl.hxx.
Referenced by AdjustScrollBars(), AdjustVirtSize(), CalcBoundingHeight(), CheckHorScrollBar(), CheckScrollBars(), CheckVerScrollBar(), InitSettings(), MakeVisible(), PaintEntry(), PositionScrollBars(), SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 128 of file imivctl.hxx.
Referenced by CalcBmpRect(), CalcBoundingHeight(), CalcBoundingWidth(), CalcTextRect(), DrawHighlightFrame(), GetItemSize(), GetMinGrid(), PaintItem(), and SetDefaultTextSize().
|
private |
Definition at line 130 of file imivctl.hxx.
Referenced by AdjustScrollBars(), Arrange(), CheckHorScrollBar(), CheckVerScrollBar(), GetOutputRect(), GetPredecessorGrid(), IcnCursor_Impl::GoPageUpDown(), MouseButtonDown(), Resize(), and Scroll().
|
private |
Definition at line 120 of file imivctl.hxx.
Referenced by AdjustScrollBars(), CheckScrollBars(), InitScrollBarBox(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 122 of file imivctl.hxx.
Referenced by AddSelectedRect(), ClearSelectedRectList(), MouseButtonDown(), and SetCursor_Impl().
Definition at line 118 of file imivctl.hxx.
Referenced by AdjustScrollBars(), AdjustVirtSize(), CalcBoundingHeight(), CheckHorScrollBar(), CheckScrollBars(), CheckVerScrollBar(), InitSettings(), MakeVisible(), PaintEntry(), PositionScrollBars(), SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 127 of file imivctl.hxx.
Referenced by AdjustScrollBars(), AdjustVirtSize(), CheckHorScrollBar(), CheckVerScrollBar(), Clear(), ClipAtVirtOutRect(), IcnGridMap_Impl::GetMinMapSize(), GetPredecessorGrid(), HandleScrollCommand(), ResetVirtSize(), and IcnCursor_Impl::SetDeltas().
|
private |
Definition at line 125 of file imivctl.hxx.
Referenced by SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 156 of file imivctl.hxx.
Referenced by Clear(), and ImpArrange().
|
private |
Definition at line 144 of file imivctl.hxx.
Referenced by DrawHighlightFrame(), MouseButtonDown(), MouseButtonUp(), and SetEntryHighlightFrame().
|
private |
Definition at line 157 of file imivctl.hxx.
Referenced by Clear(), EntrySelected(), GetUpdateMode(), ImpArrange(), InsertEntry(), and SetUpdateMode().
|
private |
Definition at line 155 of file imivctl.hxx.
Referenced by SetPositionMode().
|
private |
Definition at line 153 of file imivctl.hxx.
Referenced by EntrySelected(), GetFirstSelectedEntry(), KeyInput(), MouseButtonDown(), PaintEntry(), SelectEntry(), SetCursor(), SetCursor_Impl(), and SetStyle().
|
private |
Definition at line 152 of file imivctl.hxx.
Referenced by SetEntryTextMode().
|
private |
Definition at line 137 of file imivctl.hxx.
Referenced by GetColumn(), SetColumn(), SetStyle(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 117 of file imivctl.hxx.
Referenced by Clear(), ClearPredecessors(), IcnGridMap_Impl::Create_Impl(), DeselectAllBut(), FindEntryPredecessor(), GetFirstSelectedEntry(), IcnCursor_Impl::GoPageUpDown(), IcnCursor_Impl::GoUpDown(), IcnCursor_Impl::ImplCreate(), InitPredecessors(), InsertEntry(), KeyInput(), Paint(), RecalcAllBoundingRectsSmart(), RemoveEntry(), ResetVirtSize(), SelectAll(), SetListPositions(), and SetPositionMode().
|
private |
Definition at line 136 of file imivctl.hxx.
Referenced by CheckHorScrollBar(), CheckVerScrollBar(), Clear(), GetEntry(), InsertEntry(), Paint(), RecalcAllBoundingRectsSmart(), RepaintSelectedEntries(), SelectRect(), and ToTop().
|
private |
Definition at line 141 of file imivctl.hxx.
Referenced by CalcTextRect(), PaintItem(), RequestHelp(), and SetStyle().
|
private |
Definition at line 140 of file imivctl.hxx.
Referenced by DeselectAllBut(), EntrySelected(), GetEntryListPos(), IcnGridMap_Impl::GetMinMapSize(), ImpArrange(), InsertEntry(), KeyInput(), MouseButtonDown(), MouseButtonUp(), SelectAll(), SelectEntry(), SelectRect(), SetCursor_Impl(), SetListPositions(), and SetNoSelection().
tools::Long SvxIconChoiceCtrl_Impl::nGridDX |
Definition at line 251 of file imivctl.hxx.
Referenced by IcnGridMap_Impl::GetGrid(), IcnGridMap_Impl::GetGridRect(), IcnGridMap_Impl::GetMinMapSize(), GetPredecessorGrid(), IcnCursor_Impl::GoPageUpDown(), Paint(), ResetVirtSize(), SetBoundingRect_Impl(), SetColumn(), SetDefaultTextSize(), IcnCursor_Impl::SetDeltas(), and SetGrid().
tools::Long SvxIconChoiceCtrl_Impl::nGridDY |
Definition at line 252 of file imivctl.hxx.
Referenced by IcnGridMap_Impl::GetGrid(), IcnGridMap_Impl::GetGridRect(), IcnGridMap_Impl::GetMinMapSize(), GetPredecessorGrid(), IcnCursor_Impl::GoPageUpDown(), Paint(), ResetVirtSize(), SetBoundingRect_Impl(), SetDefaultTextSize(), IcnCursor_Impl::SetDeltas(), and SetGrid().
tools::Long SvxIconChoiceCtrl_Impl::nHorSBarHeight |
Definition at line 253 of file imivctl.hxx.
Referenced by AdjustScrollBars(), CheckHorScrollBar(), Clear(), IcnGridMap_Impl::GetMinMapSize(), InitScrollBarBox(), InitSettings(), PositionScrollBars(), ResetVirtSize(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 139 of file imivctl.hxx.
Referenced by CalcBoundingHeight(), Clear(), and RecalcAllBoundingRectsSmart().
|
private |
Definition at line 135 of file imivctl.hxx.
Referenced by Arrange(), Clear(), IcnGridMap_Impl::GetMinMapSize(), and ResetVirtSize().
|
private |
Definition at line 134 of file imivctl.hxx.
Referenced by Arrange(), Clear(), IcnGridMap_Impl::GetMinMapSize(), and ResetVirtSize().
|
private |
Definition at line 154 of file imivctl.hxx.
Referenced by Clear(), GetSelectionCount(), and SelectEntry().
|
private |
Definition at line 142 of file imivctl.hxx.
Referenced by CancelUserEvents(), and Resize().
tools::Long SvxIconChoiceCtrl_Impl::nVerSBarWidth |
Definition at line 254 of file imivctl.hxx.
Referenced by AdjustScrollBars(), CheckVerScrollBar(), Clear(), IcnGridMap_Impl::GetMinMapSize(), InitScrollBarBox(), InitSettings(), PositionScrollBars(), ResetVirtSize(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 138 of file imivctl.hxx.
Referenced by AdjustScrollBars(), CalcBmpRect(), CalcBoundingHeight(), CalcBoundingWidth(), CalcMaxTextRect(), CalcTextRect(), CallSelectHandler(), Center(), CheckHorScrollBar(), CheckVerScrollBar(), IcnGridMap_Impl::Create_Impl(), IcnGridMap_Impl::Expand(), GetFirstSelectedEntry(), IcnGridMap_Impl::GetGrid(), IcnGridMap_Impl::GetGridCoord(), GetMinGrid(), IcnGridMap_Impl::GetMinMapSize(), GetSelectionCount(), GetStyle(), IcnCursor_Impl::GoPageUpDown(), IcnCursor_Impl::GoUpDown(), ImpArrange(), MouseButtonDown(), MouseButtonUp(), MouseMove(), IcnGridMap_Impl::OutputSizeChanged(), PaintEntry(), ResetVirtSize(), SetColumn(), SetCursor_Impl(), SetGrid(), and SetStyle().
|
private |
Definition at line 148 of file imivctl.hxx.
Referenced by DeselectAllBut(), MouseButtonDown(), SelectAll(), and SetCursor_Impl().
|
private |
Definition at line 143 of file imivctl.hxx.
Referenced by Clear(), GetFirstSelectedEntry(), GetSelectionCount(), KeyInput(), MouseButtonDown(), MouseButtonUp(), PaintEntry(), and SetEntryHighlightFrame().
|
private |
Definition at line 146 of file imivctl.hxx.
Referenced by Clear(), EntrySelected(), GetCurEntry(), GetFocus(), InvalidateEntry(), KeyInput(), LoseFocus(), MouseButtonDown(), MouseButtonUp(), Paint(), SetCursor(), SetCursor_Impl(), and ShowCursor().
|
private |
Definition at line 133 of file imivctl.hxx.
Referenced by AdjustVirtSize(), Clear(), FindBoundingRect(), InsertEntry(), ResetVirtSize(), Resize(), SetBoundingRect_Impl(), SetEntryPos(), SetUpdateMode(), SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 147 of file imivctl.hxx.
Referenced by CallSelectHandler(), KeyInput(), MouseButtonDown(), MouseButtonUp(), and SelectEntry().
|
private |
Definition at line 145 of file imivctl.hxx.
Referenced by ClearPredecessors(), FindEntryPredecessor(), GetFirstSelectedEntry(), InitPredecessors(), InsertEntry(), RecalcAllBoundingRectsSmart(), and SetEntryPredecessor().
|
private |
Definition at line 132 of file imivctl.hxx.
Referenced by AdjustVirtSize(), Clear(), InsertEntry(), KeyInput(), RemoveEntry(), ResetVirtSize(), Resize(), SetEntryPos(), SetUpdateMode(), SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 131 of file imivctl.hxx.
Referenced by AdjustScrollBars(), CalcTextRect(), CallEventListeners(), CallSelectHandler(), CheckHorScrollBar(), CheckVerScrollBar(), Clear(), EntrySelected(), GetMinGrid(), IcnGridMap_Impl::GetMinMapSize(), GetOutputRect(), HandleScrollCommand(), HideDDIcon(), ImpArrange(), InitScrollBarBox(), InitSettings(), InsertEntry(), InvalidateEntry(), KeyInput(), MakeVisible(), MouseButtonDown(), MouseButtonUp(), MouseMove(), Paint(), PaintEntry(), RepaintSelectedEntries(), RequestHelp(), ResetVirtSize(), Resize(), Scroll(), SelectRect(), SetDefaultTextSize(), SetEntryHighlightFrame(), SetEntryPos(), SetEntryTextMode(), SetOrigin(), SetUpdateMode(), ShowCursor(), ShowFocus(), and SvxIconChoiceCtrl_Impl().