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 111 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, vcl::Window::GetDPIScaleFactor(), vcl::Window::GetSizePixel(), Size::Height(), HIGH_IDLE, IcnCursor_Impl, IcnGridMap_Impl, LINK, LOWEST, Multiple, nHorSBarHeight, NONE, nVerSBarWidth, pGridMap, pImpCursor, pView, SetGrid(), Size::setHeight(), Timer::SetInvokeHandler(), Task::SetPriority(), ScrollBar::SetScrollHdl(), SetStyle(), Short, and Size::Width().
SvxIconChoiceCtrl_Impl::~SvxIconChoiceCtrl_Impl | ( | ) |
Definition at line 103 of file imivctl1.cxx.
References aHorSBar, aScrBarBox, aVerSBar, CancelUserEvents(), Clear(), ClearSelectedRectList(), VclPtr< reference_type >::disposeAndClear(), m_pColumns, pGridMap, and pImpCursor.
|
private |
Definition at line 2403 of file imivctl1.cxx.
References aSelectedRectList, and tools::Rectangle::Normalize().
Referenced by AddSelectedRect(), MouseButtonDown(), and SetCursor_Impl().
|
private |
Definition at line 2394 of file imivctl1.cxx.
References AddSelectedRect(), DBG_ASSERT, GetEntryBoundRect(), and tools::Rectangle::Union().
|
private |
Definition at line 1061 of file imivctl1.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), aHorSBar, aOutputSize, aScrBarBox, aVerSBar, aVirtOutputSize, vcl::Window::GetMapMode(), MapMode::GetOrigin(), GetScrollBarPageSize(), vcl::Window::GetSizePixel(), ScrollBar::GetThumbPos(), Size::Height(), vcl::Window::Hide(), nHorSBarHeight, nVerSBarWidth, nWinBits, 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, Size::Width(), Point::X(), and Point::Y().
Referenced by AdjustVirtSize(), Clear(), InitSettings(), RecalcAllBoundingRectsSmart(), and SetUpdateMode().
|
private |
Definition at line 363 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 433 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 1573 of file imivctl1.cxx.
References Point::AdjustX(), Point::AdjustY(), aImageSize, GetEntryBoundRect(), tools::Rectangle::GetHeight(), tools::Rectangle::GetWidth(), Size::Height(), nWinBits, 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 1662 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 1689 of file imivctl1.cxx.
References CalcBoundingHeight(), and CalcBoundingWidth().
Referenced by Center(), and FindBoundingRect().
tools::Long SvxIconChoiceCtrl_Impl::CalcBoundingWidth | ( | ) | const |
Definition at line 1641 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 2206 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 2099 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 1600 of file imivctl1.cxx.
References Point::AdjustX(), Point::AdjustY(), aImageSize, CalcMaxTextRect(), GetEntryBoundRect(), SvtIconChoiceCtrl::GetEntryText(), tools::Rectangle::GetHeight(), tools::Rectangle::GetSize(), vcl::Window::GetTextRect(), tools::Rectangle::GetWidth(), Size::Height(), HOR_DIST_BMP_STRING, nCurTextDrawFlags, nWinBits, 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 2921 of file imivctl1.cxx.
References SvtIconChoiceCtrl::CallImplEventListeners(), pData, and pView.
Referenced by EntrySelected(), and SetCursor_Impl().
|
private |
Definition at line 2887 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 2521 of file imivctl1.cxx.
References nUserEventAdjustScrBars, and Application::RemoveUserEvent().
Referenced by Clear(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 2167 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 350 of file imivctl.hxx.
References bBoundRectsDirty, and RecalcAllBoundingRectsSmart().
Referenced by GetEntry(), IcnCursor_Impl::ImplCreate(), and SelectRect().
|
private |
Definition at line 1210 of file imivctl1.cxx.
References Size::AdjustHeight(), aHorSBar, aOutputSize, aVerSBar, aVirtOutputSize, GetEntryBoundRect(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), vcl::Window::GetSizePixel(), vcl::Window::Hide(), vcl::Window::IsVisible(), Range::Max(), maZOrderList, nCount, nHorSBarHeight, nWinBits, pView, tools::Rectangle::Right(), ScrollBar::SetRange(), vcl::Window::SetSizePixel(), ScrollBar::SetThumbPos(), Size::setWidth(), WB_HSCROLL, Size::Width(), and Point::X().
Referenced by CheckScrollBars().
|
private |
Definition at line 1288 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 1248 of file imivctl1.cxx.
References Size::AdjustWidth(), aHorSBar, aOutputSize, aVerSBar, aVirtOutputSize, tools::Rectangle::Bottom(), GetEntryBoundRect(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), vcl::Window::GetSizePixel(), Size::Height(), vcl::Window::Hide(), vcl::Window::IsVisible(), Range::Max(), maZOrderList, nCount, nVerSBarWidth, nWinBits, pView, Size::setHeight(), ScrollBar::SetRange(), vcl::Window::SetSizePixel(), ScrollBar::SetThumbPos(), WB_VSCROLL, and Point::Y().
Referenced by CheckScrollBars().
void SvxIconChoiceCtrl_Impl::Clear | ( | bool | bInCtor | ) |
Definition at line 116 of file imivctl1.cxx.
References AdjustScrollBars(), aVirtOutputSize, bBoundRectsDirty, bUpdateMode, CancelUserEvents(), DEFAULT_MAX_VIRT_HEIGHT, DEFAULT_MAX_VIRT_WIDTH, DocRectChanged(), vcl::Window::GetOutputSizePixel(), Size::Height(), vcl::Window::Invalidate(), maEntries, maZOrderList, nHorSBarHeight, nMaxBoundHeight, nMaxVirtHeight, nMaxVirtWidth, NoChildren, nSelectionCount, nVerSBarWidth, pCurHighlightFrame, pCursor, pGridMap, pImpCursor, pView, Size::setHeight(), SetOrigin(), Size::setWidth(), ShowCursor(), VisRectChanged(), and Size::Width().
Referenced by SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 418 of file imivctl1.cxx.
References maEntries, nCount, SvxIconChoiceCtrlEntry::pblink, SvxIconChoiceCtrlEntry::pflink, and pHead.
Referenced by ImpArrange().
|
private |
Definition at line 2410 of file imivctl1.cxx.
References aSelectedRectList.
Referenced by DeselectAllBut(), KeyInput(), MouseButtonDown(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 1915 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 1890 of file imivctl1.cxx.
References AutoScroll, CommandEvent::GetCommand(), HandleScrollCommand(), StartAutoScroll, and Wheel.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 2037 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 235 of file imivctl.hxx.
References aDocRectChangedIdle, and Idle::Start().
Referenced by AdjustVirtSize(), and Clear().
|
private |
Definition at line 2473 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 2841 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 288 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 1741 of file imivctl1.cxx.
References AdjustVirtSize(), SvxIconChoiceCtrlEntry::aRect, CalcBoundingSize(), DBG_ASSERT, IsBoundingRectValid(), SvxIconChoiceCtrlEntry::IsPosLocked(), pGridMap, and SetBoundingRect_Impl().
Referenced by GetEntryBoundRect(), InsertEntry(), RecalcAllBoundingRectsSmart(), ResetVirtSize(), and SelectRect().
SvxIconChoiceCtrlEntry * SvxIconChoiceCtrl_Impl::FindEntryPredecessor | ( | SvxIconChoiceCtrlEntry * | pEntry, |
const Point & | rPosTopLeft | ||
) |
Definition at line 2722 of file imivctl1.cxx.
References CalcBmpRect(), tools::Rectangle::Center(), GetPredecessorGrid(), GRID_NOT_FOUND, maEntries, nCount, SvxIconChoiceCtrlEntry::pflink, and pHead.
Referenced by SetEntryPos().
void SvxIconChoiceCtrl_Impl::FontModified | ( | ) |
Definition at line 179 of file imivctl1.cxx.
References SetDefaultTextSize(), and ShowCursor().
|
inline |
Definition at line 415 of file imivctl.hxx.
References aAccFactory.
const SvxIconChoiceCtrlColumnInfo * SvxIconChoiceCtrl_Impl::GetColumn | ( | sal_uInt16 | nIndex | ) | const |
Definition at line 2831 of file imivctl1.cxx.
References m_pColumns, and nIndex.
Referenced by SetGrid().
|
inline |
SvxIconChoiceCtrlEntry * SvxIconChoiceCtrl_Impl::GetEntry | ( | const Point & | rDocPos, |
bool | bHit = false |
||
) |
Definition at line 1516 of file imivctl1.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), SvxIconChoiceCtrlEntry::aRect, CalcBmpRect(), CalcTextRect(), CheckBoundingRects(), tools::Rectangle::Contains(), maZOrderList, and nCount.
Referenced by IsMnemonicChar(), KeyInput(), MouseButtonDown(), MouseButtonUp(), MouseMove(), RequestHelp(), and SelectRange().
|
inline |
Definition at line 385 of file imivctl.hxx.
|
inline |
Definition at line 389 of file imivctl.hxx.
const tools::Rectangle & SvxIconChoiceCtrl_Impl::GetEntryBoundRect | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 1566 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 384 of file imivctl.hxx.
References maEntries.
Referenced by IsMnemonicChar(), and SelectRange().
sal_Int32 SvxIconChoiceCtrl_Impl::GetEntryListPos | ( | SvxIconChoiceCtrlEntry const * | pEntry | ) | const |
Definition at line 2598 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 2541 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 1300 of file imivctl1.cxx.
References FOCUSED, pCursor, RepaintSelectedEntries(), SvxIconChoiceCtrlEntry::SetFlags(), and ShowCursor().
const Size & SvxIconChoiceCtrl_Impl::GetItemSize | ( | IcnViewFieldType | eItem | ) | const |
Definition at line 2199 of file imivctl1.cxx.
References aDefaultTextSize, aImageSize, and Text.
Referenced by CalcBoundingHeight(), and CalcBoundingWidth().
Size SvxIconChoiceCtrl_Impl::GetMinGrid | ( | ) | const |
Definition at line 2054 of file imivctl1.cxx.
References Size::AdjustHeight(), Size::AdjustWidth(), aImageSize, vcl::Window::GetTextHeight(), vcl::Window::GetTextWidth(), Size::Height(), HOR_DIST_BMP_STRING, LROFFS_BOUND, nWinBits, pView, TBOFFS_BOUND, VER_DIST_BMP_STRING, WB_ICON, and Size::Width().
Referenced by SetGrid().
tools::Rectangle SvxIconChoiceCtrl_Impl::GetOutputRect | ( | ) | const |
Definition at line 231 of file imivctl1.cxx.
References aOutputSize, vcl::Window::GetMapMode(), MapMode::GetOrigin(), and pView.
Referenced by HandleScrollCommand(), ImpArrange(), InsertEntry(), MakeVisible(), PaintEntry(), RepaintSelectedEntries(), and SelectRect().
Definition at line 2745 of file imivctl1.cxx.
References Point::AdjustX(), Point::AdjustY(), aOutputSize, aVirtOutputSize, GRID_NOT_FOUND, LROFFS_WINBORDER, nGridDX, nGridDY, TBOFFS_WINBORDER, Size::Width(), Point::X(), and Point::Y().
Referenced by FindEntryPredecessor().
|
inlineprivate |
Definition at line 179 of file imivctl.hxx.
References nMaxBoundHeight.
Referenced by CalcBoundingHeight(), and HandleScrollCommand().
|
inlinestaticprivate |
Definition at line 175 of file imivctl.hxx.
Referenced by AdjustScrollBars(), and HandleScrollCommand().
sal_Int32 SvxIconChoiceCtrl_Impl::GetSelectionCount | ( | ) | const |
Definition at line 2023 of file imivctl1.cxx.
References nSelectionCount, nWinBits, pCurHighlightFrame, and WB_HIGHLIGHTFRAME.
Referenced by GetFirstSelectedEntry().
|
inline |
Definition at line 265 of file imivctl.hxx.
References nWinBits.
|
inline |
Definition at line 291 of file imivctl.hxx.
References bUpdateMode.
Referenced by MakeVisible(), and SetColumn().
|
private |
Definition at line 1811 of file imivctl1.cxx.
References tools::Rectangle::AdjustBottom(), tools::Rectangle::AdjustLeft(), tools::Rectangle::AdjustRight(), tools::Rectangle::AdjustTop(), AutoScroll, aVirtOutputSize, COMMAND_WHEEL_PAGESCROLL, tools::Rectangle::Contains(), vcl::Window::EndTracking(), CommandEvent::GetAutoScrollData(), CommandEvent::GetCommand(), GetOutputRect(), GetScrollBarLineSize(), GetScrollBarPageSize(), tools::Rectangle::GetSize(), CommandEvent::GetWheelData(), Size::Height(), Horz, MakeVisible(), NONE, pData, pView, SCROLL, StartAutoScroll, vcl::Window::StartAutoScroll(), Vert, Wheel, and Size::Width().
Referenced by Command().
void SvxIconChoiceCtrl_Impl::HideDDIcon | ( | ) |
Definition at line 1806 of file imivctl1.cxx.
References vcl::Window::PaintImmediately(), and pView.
Referenced by MakeVisible().
|
private |
Definition at line 448 of file imivctl1.cxx.
References aAutoArrangeIdle, Arranging, bBoundRectsDirty, bUpdateMode, ClearPredecessors(), GetOutputRect(), vcl::Window::Invalidate(), MakeVisible(), nFlags, NoChildren, nWinBits, pView, RecalcAllBoundingRectsSmart(), ResetVirtSize(), SetOrigin(), SetUpdateMode(), ShowCursor(), Task::Stop(), tools::Rectangle::TopLeft(), VisRectChanged(), and WB_SMART_ARRANGE.
Referenced by Arrange().
|
private |
Definition at line 392 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 592 of file imivctl1.cxx.
References aScrBarBox, vcl::Window::GetOutputSizePixel(), Size::Height(), nHorSBarHeight, nVerSBarWidth, pView, vcl::Window::SetPosPixel(), vcl::Window::SetSizePixel(), and Size::Width().
Referenced by Resize().
void SvxIconChoiceCtrl_Impl::InitSettings | ( | ) |
Definition at line 2605 of file imivctl1.cxx.
References AdjustScrollBars(), aHorSBar, aVerSBar, StyleSettings::GetFieldColor(), StyleSettings::GetFieldFont(), StyleSettings::GetFieldTextColor(), StyleSettings::GetScrollBarSize(), vcl::Window::GetSettings(), vcl::Window::GetSizePixel(), AllSettings::GetStyleSettings(), StyleSettings::GetWindowTextColor(), Size::Height(), vcl::Window::Hide(), nHorSBarHeight, nVerSBarWidth, PositionScrollBars(), pView, SvtIconChoiceCtrl::SetBackground(), vcl::Font::SetColor(), SetDefaultTextSize(), Size::setHeight(), SvtIconChoiceCtrl::SetPointFont(), vcl::Window::SetSizePixel(), vcl::Window::SetTextColor(), vcl::Window::SetTextFillColor(), Size::setWidth(), and Size::Width().
void SvxIconChoiceCtrl_Impl::InsertEntry | ( | std::unique_ptr< SvxIconChoiceCtrlEntry > | pEntry1, |
size_t | nPos | ||
) |
Definition at line 186 of file imivctl1.cxx.
References bUpdateMode, EntryListPosValid, FindBoundingRect(), GetOutputRect(), vcl::Window::Invalidate(), InvalidateBoundingRect(), LONG_MAX, maEntries, maZOrderList, nFlags, nPos, tools::Rectangle::Overlaps(), SvxIconChoiceCtrlEntry::pblink, pGridMap, pHead, pImpCursor, and pView.
|
inline |
Definition at line 336 of file imivctl.hxx.
References bBoundRectsDirty, LONG_MAX, and tools::Rectangle::SetRight().
Referenced by InsertEntry(), and ResetVirtSize().
void SvxIconChoiceCtrl_Impl::InvalidateEntry | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 2530 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::aRect, Center(), vcl::Window::Invalidate(), pCursor, pView, and ShowCursor().
Referenced by SetEntryTextMode().
|
inlineprivate |
Definition at line 231 of file imivctl.hxx.
References AutoArrange, and ePositionMode.
Referenced by IcnCursor_Impl::GoPageUpDown(), IcnCursor_Impl::GoUpDown(), RecalcAllBoundingRectsSmart(), SetColumn(), SetEntryPos(), and SetEntryPredecessor().
|
inlinestatic |
Definition at line 341 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 2489 of file imivctl1.cxx.
References GetEntry(), GetEntryCount(), Application::GetSettings(), AllSettings::GetUILocaleI18nHelper(), i, and vcl::I18nHelper::MatchMnemonic().
Referenced by KeyInput().
|
static |
Definition at line 2382 of file imivctl1.cxx.
References nCount, and tools::Rectangle::Overlaps().
Referenced by SelectRect().
bool SvxIconChoiceCtrl_Impl::KeyInput | ( | const KeyEvent & | rKEvt | ) |
Definition at line 844 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(), 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 1310 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::ClearFlags(), FOCUSED, pCursor, RepaintSelectedEntries(), and ShowCursor().
void SvxIconChoiceCtrl_Impl::MakeEntryVisible | ( | SvxIconChoiceCtrlEntry * | pEntry, |
bool | bBound = true |
||
) |
Definition at line 1547 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 1931 of file imivctl1.cxx.
References Point::AdjustX(), Point::AdjustY(), aHorSBar, aVerSBar, tools::Rectangle::Bottom(), CheckScrollBars(), Clip, ClipAtVirtOutRect(), tools::Rectangle::Contains(), vcl::Window::GetBackground(), vcl::Window::GetMapMode(), MapMode::GetOrigin(), GetOutputRect(), ScrollBar::GetThumbPos(), GetUpdateMode(), HideDDIcon(), vcl::Window::Invalidate(), Wallpaper::IsScrollable(), vcl::Window::IsVisible(), tools::Rectangle::Left(), NoChildren, vcl::Window::PaintImmediately(), pView, tools::Rectangle::Right(), SetOrigin(), tools::Rectangle::SetPos(), ScrollBar::SetThumbPos(), ShowCursor(), tools::Rectangle::Top(), UseClipRegion, VisRectChanged(), Point::X(), and Point::Y().
Referenced by HandleScrollCommand(), ImpArrange(), KeyInput(), MakeEntryVisible(), and Scroll().
bool SvxIconChoiceCtrl_Impl::MouseButtonDown | ( | const MouseEvent & | rMEvt | ) |
Definition at line 599 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, 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, Size::Width(), Point::X(), and Point::Y().
bool SvxIconChoiceCtrl_Impl::MouseButtonUp | ( | const MouseEvent & | rMEvt | ) |
Definition at line 728 of file imivctl1.cxx.
References bHighlightFramePressed, SvtIconChoiceCtrl::ClickIcon(), DeselectAllBut(), DownCtrl, DownDeselect, GetEntry(), MouseEvent::GetPosPixel(), MouseEvent::IsRight(), nFlags, nWinBits, pCurHighlightFrame, pCursor, pHdlEntry, pView, SelectEntry(), SetCursor(), SetCursor_Impl(), SetEntryHighlightFrame(), ToDocPos(), ToggleSelection(), and WB_HIGHLIGHTFRAME.
bool SvxIconChoiceCtrl_Impl::MouseMove | ( | const MouseEvent & | rMEvt | ) |
Definition at line 780 of file imivctl1.cxx.
References GetEntry(), MouseEvent::GetPosPixel(), vcl::Window::IsTracking(), nWinBits, vcl::Window::PixelToLogic(), pView, SetEntryHighlightFrame(), and WB_HIGHLIGHTFRAME.
|
privatedelete |
void SvxIconChoiceCtrl_Impl::Paint | ( | vcl::RenderContext & | rRenderContext, |
const tools::Rectangle & | rRect | ||
) |
Definition at line 478 of file imivctl1.cxx.
References vcl::CLIPREGION, OutputDevice::DrawLine(), SvtIconChoiceCtrl::GetEntry(), GetEntryBoundRect(), SvtIconChoiceCtrl::GetEntryCount(), OutputDevice::GetLineColor(), OutputDevice::GetMapMode(), MapMode::GetOrigin(), Size::Height(), i, SvxIconChoiceCtrlEntry::IsFocused(), LROFFS_WINBORDER, maEntries, maZOrderList, nCount, nGridDX, nGridDY, nPos, tools::Rectangle::Overlaps(), PaintEntry(), pCursor, OutputDevice::Pop(), OutputDevice::Push(), pView, OutputDevice::SetClipRegion(), OutputDevice::SetLineColor(), TBOFFS_WINBORDER, tools::Rectangle::TopLeft(), and Size::Width().
|
static |
Definition at line 1338 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 1391 of file imivctl1.cxx.
References aHorSBar, aVerSBar, CalcBmpRect(), CalcFocusRect(), CalcTextRect(), DrawHighlightFrame(), OutputDevice::DrawRect(), vcl::RenderTools::DrawSelectionBackground(), eSelectionMode, vcl::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(), SvxIconChoiceCtrlEntry::IsSelected(), vcl::Window::IsVisible(), NONE, nWinBits, tools::Rectangle::Overlaps(), PaintEmphasis(), PAINTFLAG_HOR_CENTERED, PAINTFLAG_VER_CENTERED, PaintItem(), pCurHighlightFrame, OutputDevice::Pop(), OutputDevice::Push(), pView, OutputDevice::SetClipRegion(), vcl::Font::SetColor(), OutputDevice::SetFillColor(), vcl::Font::SetFillColor(), OutputDevice::SetFont(), Text, vcl::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 1363 of file imivctl1.cxx.
References Point::AdjustX(), Point::AdjustY(), 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, ShowFocus(), Text, tools::Rectangle::TopLeft(), and Size::Width().
Referenced by PaintEntry().
|
private |
Definition at line 1042 of file imivctl1.cxx.
References Point::AdjustX(), Point::AdjustY(), aHorSBar, aVerSBar, vcl::Window::GetPosPixel(), nHorSBarHeight, nVerSBarWidth, vcl::Window::SetPosPixel(), Point::setX(), and Point::setY().
Referenced by AdjustScrollBars(), InitSettings(), and Resize().
void SvxIconChoiceCtrl_Impl::RecalcAllBoundingRectsSmart | ( | ) |
Definition at line 1694 of file imivctl1.cxx.
References AdjustScrollBars(), SvxIconChoiceCtrlEntry::aRect, DBG_ASSERT, FindBoundingRect(), tools::Rectangle::GetSize(), Size::Height(), 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 224 of file imivctl1.cxx.
References maEntries, nPos, pImpCursor, and RecalcAllBoundingRectsSmart().
|
private |
Definition at line 573 of file imivctl1.cxx.
References GetEntryBoundRect(), SvxIconChoiceCtrlEntry::GetFlags(), GetOutputRect(), vcl::Window::Invalidate(), maZOrderList, nCount, tools::Rectangle::Overlaps(), pView, and SELECTED.
Referenced by GetFocus(), and LoseFocus().
bool SvxIconChoiceCtrl_Impl::RequestHelp | ( | const HelpEvent & | rHEvt | ) |
Definition at line 2770 of file imivctl1.cxx.
References Point::AdjustX(), Point::AdjustY(), CalcTextRect(), Clip, tools::Rectangle::Contains(), EndEllipsis, GetEntry(), SvtIconChoiceCtrl::GetEntryText(), vcl::Window::GetMapMode(), HelpEvent::GetMode(), HelpEvent::GetMousePosPixel(), MapMode::GetOrigin(), SvxIconChoiceCtrlEntry::GetQuickHelpText(), vcl::Window::GetTextRect(), Left, LONG_MAX, nCurTextDrawFlags, vcl::Window::OutputToScreenPixel(), pView, QUICK, vcl::Window::ScreenToOutputPixel(), tools::Rectangle::SetBottom(), tools::Rectangle::SetPos(), Help::ShowQuickHelp(), tools::Rectangle::TopLeft(), and VCenter.
|
private |
Definition at line 319 of file imivctl1.cxx.
References AdjustVirtSize(), SvxIconChoiceCtrlEntry::aRect, aVirtOutputSize, SvxIconChoiceCtrlEntry::ClearFlags(), FindBoundingRect(), IcnGridMap_Impl::GetGridCount(), vcl::Window::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 1188 of file imivctl1.cxx.
References aOutputSize, EVENTID_ADJUST_SCROLLBARS, vcl::Window::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 2186 of file imivctl1.cxx.
References Point::AdjustX(), Point::AdjustY(), aOutputSize, vcl::Window::GetMapMode(), MapMode::GetOrigin(), MakeVisible(), and pView.
void SvxIconChoiceCtrl_Impl::SelectAll | ( | ) |
Definition at line 2583 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 251 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 2336 of file imivctl1.cxx.
References GetEntry(), GetEntryCount(), GetEntryListPos(), i, SvxIconChoiceCtrlEntry::IsSelected(), and SelectEntry().
Referenced by SetCursor_Impl().
void SvxIconChoiceCtrl_Impl::SelectRect | ( | const tools::Rectangle & | rRect, |
bool | bAdd, | ||
std::vector< tools::Rectangle > * | pOtherRects | ||
) |
Definition at line 2239 of file imivctl1.cxx.
References aCurSelectionRect, SvxIconChoiceCtrlEntry::aRect, CheckBoundingRects(), FindBoundingRect(), GetHotSpot(), vcl::Window::GetOutDev(), GetOutputRect(), IsBoundingRectValid(), OutputDevice::IsClipRegion(), IsOver(), SvxIconChoiceCtrlEntry::IsSelected(), maZOrderList, nCount, nFlags, tools::Rectangle::Normalize(), nPos, tools::Rectangle::Overlaps(), vcl::Window::PaintImmediately(), pView, SelectEntry(), SelectingRect, and OutputDevice::SetClipRegion().
|
private |
Definition at line 2230 of file imivctl1.cxx.
References DBG_ASSERT, GetEntryBoundRect(), SelectRect(), and tools::Rectangle::Union().
Referenced by MouseButtonDown(), SelectRect(), and SetCursor_Impl().
void SvxIconChoiceCtrl_Impl::SetBoundingRect_Impl | ( | SvxIconChoiceCtrlEntry * | pEntry, |
const Point & | rPos, | ||
const Size & | rBoundingSize | ||
) |
Definition at line 1754 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 2814 of file imivctl1.cxx.
References Arrange(), GetUpdateMode(), SvxIconChoiceCtrlColumnInfo::GetWidth(), IsAutoArrange(), m_pColumns, nGridDX, nIndex, nWinBits, and WB_DETAILS.
Referenced by SetStyle().
void SvxIconChoiceCtrl_Impl::SetCursor | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 1765 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 796 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 2141 of file imivctl1.cxx.
References aDefaultTextSize, aImageSize, vcl::Window::GetDPIScaleFactor(), vcl::Window::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 2861 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 1470 of file imivctl1.cxx.
References aAutoArrangeIdle, AdjustVirtSize(), SvxIconChoiceCtrlEntry::aGridRect, SvxIconChoiceCtrlEntry::aRect, FindEntryPredecessor(), GetEntryBoundRect(), vcl::Window::Invalidate(), IsAutoArrange(), pGridMap, pImpCursor, 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 2674 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 2432 of file imivctl1.cxx.
References AdjustVirtSize(), SvxIconChoiceCtrlEntry::aRect, Arrange(), eMode, SvxIconChoiceCtrlEntry::eTextMode, eTextMode, GetEntryBoundRect(), vcl::Window::Invalidate(), InvalidateEntry(), and pView.
void SvxIconChoiceCtrl_Impl::SetGrid | ( | const Size & | rSize | ) |
Definition at line 2073 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 238 of file imivctl1.cxx.
References EntryListPosValid, maEntries, nCount, and nFlags.
Referenced by GetEntryListPos().
void SvxIconChoiceCtrl_Impl::SetNoSelection | ( | ) |
Definition at line 1505 of file imivctl1.cxx.
References ClearingSelection, DeselectAllBut(), and nFlags.
Referenced by KeyInput(), and MouseButtonDown().
|
private |
Definition at line 2914 of file imivctl1.cxx.
References vcl::Window::GetMapMode(), pView, vcl::Window::SetMapMode(), and MapMode::SetOrigin().
Referenced by Clear(), ImpArrange(), and MakeVisible().
void SvxIconChoiceCtrl_Impl::SetPositionMode | ( | SvxIconChoiceCtrlPositionMode | eMode | ) |
Definition at line 2641 of file imivctl1.cxx.
References aAutoArrangeIdle, AutoArrange, eMode, ePositionMode, GetEntryBoundRect(), SvxIconChoiceCtrlEntry::GetFlags(), maEntries, nCount, POS_LOCKED, POS_MOVED, SetEntryPos(), Idle::Start(), and TopLeft.
|
inline |
Definition at line 258 of file imivctl.hxx.
References eMode, and eSelectionMode.
void SvxIconChoiceCtrl_Impl::SetStyle | ( | WinBits | nWinStyle | ) |
Definition at line 150 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 1322 of file imivctl1.cxx.
References AdjustScrollBars(), bUpdateMode, vcl::Window::Invalidate(), NoChildren, pGridMap, pImpCursor, and pView.
Referenced by ImpArrange().
|
private |
Definition at line 1794 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 2459 of file imivctl1.cxx.
References aFocus, LocalFocus::aPenColor, LocalFocus::aRect, COL_BLACK(), COL_WHITE(), vcl::Window::GetBackground(), Color::GetBlue(), Wallpaper::GetColor(), Color::GetGreen(), Color::GetRed(), and pView.
Referenced by PaintItem(), and ShowCursor().
|
inlineprivate |
Definition at line 184 of file imivctl.hxx.
References vcl::Window::GetMapMode(), MapMode::GetOrigin(), and pView.
Referenced by MouseButtonDown(), and MouseButtonUp().
|
private |
Definition at line 2030 of file imivctl1.cxx.
References SvxIconChoiceCtrlEntry::IsSelected(), and SelectEntry().
Referenced by KeyInput(), and MouseButtonUp().
void SvxIconChoiceCtrl_Impl::ToTop | ( | SvxIconChoiceCtrlEntry * | pEntry | ) |
Definition at line 1902 of file imivctl1.cxx.
References maZOrderList.
Referenced by EntrySelected(), SetCursor(), and SetEntryPos().
|
inlineprivate |
Definition at line 236 of file imivctl.hxx.
References aVisRectChangedIdle, and Idle::Start().
Referenced by Clear(), ImpArrange(), MakeVisible(), ResetVirtSize(), and Resize().
|
friend |
Definition at line 113 of file imivctl.hxx.
Referenced by SvxIconChoiceCtrl_Impl().
|
friend |
Definition at line 114 of file imivctl.hxx.
Referenced by SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 149 of file imivctl.hxx.
Referenced by GetAccessibleFactory().
|
private |
Definition at line 122 of file imivctl.hxx.
Referenced by ImpArrange(), SetEntryPos(), SetEntryPredecessor(), SetPositionMode(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 125 of file imivctl.hxx.
Referenced by CallSelectHandler(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 120 of file imivctl.hxx.
Referenced by MouseButtonDown(), SelectRect(), and SetCursor_Impl().
|
private |
Definition at line 128 of file imivctl.hxx.
Referenced by CalcMaxTextRect(), GetItemSize(), and SetDefaultTextSize().
|
private |
Definition at line 123 of file imivctl.hxx.
Referenced by DocRectChanged(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 148 of file imivctl.hxx.
Referenced by DrawFocusRect(), and ShowFocus().
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 CalcBmpRect(), CalcBoundingHeight(), CalcBoundingWidth(), CalcTextRect(), DrawHighlightFrame(), GetItemSize(), GetMinGrid(), PaintItem(), and SetDefaultTextSize().
|
private |
Definition at line 129 of file imivctl.hxx.
Referenced by AdjustScrollBars(), Arrange(), CheckHorScrollBar(), CheckVerScrollBar(), GetOutputRect(), GetPredecessorGrid(), IcnCursor_Impl::GoPageUpDown(), MouseButtonDown(), Resize(), and Scroll().
|
private |
Definition at line 119 of file imivctl.hxx.
Referenced by AdjustScrollBars(), CheckScrollBars(), InitScrollBarBox(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 121 of file imivctl.hxx.
Referenced by AddSelectedRect(), ClearSelectedRectList(), MouseButtonDown(), and SetCursor_Impl().
Definition at line 117 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 126 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 124 of file imivctl.hxx.
Referenced by SvxIconChoiceCtrl_Impl(), and VisRectChanged().
|
private |
Definition at line 155 of file imivctl.hxx.
Referenced by CheckBoundingRects(), Clear(), ImpArrange(), and InvalidateBoundingRect().
|
private |
Definition at line 143 of file imivctl.hxx.
Referenced by DrawHighlightFrame(), MouseButtonDown(), MouseButtonUp(), and SetEntryHighlightFrame().
|
private |
Definition at line 156 of file imivctl.hxx.
Referenced by Clear(), EntrySelected(), GetUpdateMode(), ImpArrange(), InsertEntry(), and SetUpdateMode().
|
private |
Definition at line 154 of file imivctl.hxx.
Referenced by IsAutoArrange(), and SetPositionMode().
|
private |
Definition at line 152 of file imivctl.hxx.
Referenced by EntrySelected(), GetFirstSelectedEntry(), KeyInput(), MouseButtonDown(), PaintEntry(), SelectEntry(), SetCursor(), SetCursor_Impl(), SetSelectionMode(), and SetStyle().
|
private |
Definition at line 151 of file imivctl.hxx.
Referenced by SetEntryTextMode().
|
private |
Definition at line 136 of file imivctl.hxx.
Referenced by GetColumn(), SetColumn(), SetStyle(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 116 of file imivctl.hxx.
Referenced by Clear(), ClearPredecessors(), IcnGridMap_Impl::Create_Impl(), DeselectAllBut(), FindEntryPredecessor(), GetEntry(), GetEntryCount(), 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 135 of file imivctl.hxx.
Referenced by CheckHorScrollBar(), CheckVerScrollBar(), Clear(), GetEntry(), InsertEntry(), Paint(), RecalcAllBoundingRectsSmart(), RepaintSelectedEntries(), SelectRect(), and ToTop().
|
private |
Definition at line 140 of file imivctl.hxx.
Referenced by CalcTextRect(), PaintItem(), RequestHelp(), and SetStyle().
|
private |
Definition at line 139 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 250 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 251 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 252 of file imivctl.hxx.
Referenced by AdjustScrollBars(), CheckHorScrollBar(), Clear(), IcnGridMap_Impl::GetMinMapSize(), InitScrollBarBox(), InitSettings(), PositionScrollBars(), ResetVirtSize(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 138 of file imivctl.hxx.
Referenced by CalcBoundingHeight(), Clear(), GetScrollBarLineSize(), and RecalcAllBoundingRectsSmart().
|
private |
Definition at line 134 of file imivctl.hxx.
Referenced by Arrange(), Clear(), IcnGridMap_Impl::GetMinMapSize(), and ResetVirtSize().
|
private |
Definition at line 133 of file imivctl.hxx.
Referenced by Arrange(), Clear(), IcnGridMap_Impl::GetMinMapSize(), and ResetVirtSize().
|
private |
Definition at line 153 of file imivctl.hxx.
Referenced by Clear(), GetSelectionCount(), and SelectEntry().
|
private |
Definition at line 141 of file imivctl.hxx.
Referenced by CancelUserEvents(), and Resize().
tools::Long SvxIconChoiceCtrl_Impl::nVerSBarWidth |
Definition at line 253 of file imivctl.hxx.
Referenced by AdjustScrollBars(), CheckVerScrollBar(), Clear(), IcnGridMap_Impl::GetMinMapSize(), InitScrollBarBox(), InitSettings(), PositionScrollBars(), ResetVirtSize(), and SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 137 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 147 of file imivctl.hxx.
Referenced by DeselectAllBut(), MouseButtonDown(), SelectAll(), and SetCursor_Impl().
|
private |
Definition at line 142 of file imivctl.hxx.
Referenced by Clear(), GetFirstSelectedEntry(), GetSelectionCount(), KeyInput(), MouseButtonDown(), MouseButtonUp(), PaintEntry(), and SetEntryHighlightFrame().
|
private |
Definition at line 145 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 132 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 146 of file imivctl.hxx.
Referenced by CallSelectHandler(), KeyInput(), MouseButtonDown(), MouseButtonUp(), and SelectEntry().
|
private |
Definition at line 144 of file imivctl.hxx.
Referenced by ClearPredecessors(), FindEntryPredecessor(), GetFirstSelectedEntry(), InitPredecessors(), InsertEntry(), RecalcAllBoundingRectsSmart(), and SetEntryPredecessor().
|
private |
Definition at line 131 of file imivctl.hxx.
Referenced by AdjustVirtSize(), Clear(), InsertEntry(), KeyInput(), RemoveEntry(), ResetVirtSize(), Resize(), SetEntryPos(), SetUpdateMode(), SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().
|
private |
Definition at line 130 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(), SvxIconChoiceCtrl_Impl(), and ToDocPos().