LibreOffice Module vcl (master)  1
Public Member Functions | Static Public Member Functions | Public Attributes | Private Member Functions | Static Private Member Functions | Private Attributes | Friends | List of all members
SvxIconChoiceCtrl_Impl Class Reference

#include <imivctl.hxx>

Collaboration diagram for SvxIconChoiceCtrl_Impl:
[legend]

Public Member Functions

 SvxIconChoiceCtrl_Impl (SvtIconChoiceCtrl *pView, WinBits nWinStyle)
 
 ~SvxIconChoiceCtrl_Impl ()
 
void SetChoiceWithCursor ()
 
void Clear (bool bInCtor)
 
void SetStyle (WinBits nWinStyle)
 
WinBits GetStyle () const
 
void InsertEntry (std::unique_ptr< SvxIconChoiceCtrlEntry >, size_t nPos)
 
void RemoveEntry (size_t nPos)
 
void CreateAutoMnemonics (MnemonicGenerator *_pGenerator)
 
void FontModified ()
 
void SelectAll ()
 
void SelectEntry (SvxIconChoiceCtrlEntry *, bool bSelect, bool bAddToSelection=false)
 
void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect)
 
bool MouseButtonDown (const MouseEvent &)
 
bool MouseButtonUp (const MouseEvent &)
 
bool MouseMove (const MouseEvent &)
 
bool RequestHelp (const HelpEvent &rHEvt)
 
void SetCursor_Impl (SvxIconChoiceCtrlEntry *pOldCursor, SvxIconChoiceCtrlEntry *pNewCursor, bool bMod1, bool bShift)
 
bool KeyInput (const KeyEvent &)
 
void Resize ()
 
void GetFocus ()
 
void LoseFocus ()
 
void SetUpdateMode (bool bUpdate)
 
bool GetUpdateMode () const
 
void PaintEntry (SvxIconChoiceCtrlEntry *, const Point &, vcl::RenderContext &rRenderContext)
 
void SetEntryPos (SvxIconChoiceCtrlEntry *pEntry, const Point &rPos)
 
void InvalidateEntry (SvxIconChoiceCtrlEntry *)
 
void SetNoSelection ()
 
SvxIconChoiceCtrlEntryGetCurEntry () const
 
void SetCursor (SvxIconChoiceCtrlEntry *)
 
SvxIconChoiceCtrlEntryGetEntry (const Point &rDocPos, bool bHit=false)
 
void MakeEntryVisible (SvxIconChoiceCtrlEntry *pEntry, bool bBound=true)
 
void Arrange (bool bKeepPredecessors, long nSetMaxVirtWidth, long nSetMaxVirtHeight)
 
tools::Rectangle CalcFocusRect (SvxIconChoiceCtrlEntry *)
 
tools::Rectangle CalcBmpRect (SvxIconChoiceCtrlEntry *, const Point *pPos=nullptr)
 
tools::Rectangle CalcTextRect (SvxIconChoiceCtrlEntry *, const Point *pPos=nullptr, const OUString *pStr=nullptr)
 
long CalcBoundingWidth () const
 
long CalcBoundingHeight () const
 
Size CalcBoundingSize () const
 
void FindBoundingRect (SvxIconChoiceCtrlEntry *pEntry)
 
void SetBoundingRect_Impl (SvxIconChoiceCtrlEntry *pEntry, const Point &rPos, const Size &rBoundingSize)
 
void RecalcAllBoundingRectsSmart ()
 
const tools::RectangleGetEntryBoundRect (SvxIconChoiceCtrlEntry *)
 
void InvalidateBoundingRect (tools::Rectangle &rRect)
 
void PaintItem (const tools::Rectangle &rRect, IcnViewFieldType eItem, SvxIconChoiceCtrlEntry *pEntry, sal_uInt16 nPaintFlags, vcl::RenderContext &rRenderContext)
 
void CheckBoundingRects ()
 
void Command (const CommandEvent &rCEvt)
 
void ToTop (SvxIconChoiceCtrlEntry *)
 
sal_Int32 GetSelectionCount () const
 
void SetGrid (const Size &)
 
Size GetMinGrid () const
 
void Scroll (long nDeltaX, long nDeltaY)
 
const SizeGetItemSize (IcnViewFieldType) const
 
void HideDDIcon ()
 
void SelectRect (const tools::Rectangle &, bool bAdd, std::vector< tools::Rectangle > *pOtherRects)
 
void MakeVisible (const tools::Rectangle &rDocPos, bool bInScrollBarEvent=false)
 
void SetEntryTextMode (SvxIconChoiceCtrlTextMode, SvxIconChoiceCtrlEntry *pEntry)
 
size_t GetEntryCount () const
 
SvxIconChoiceCtrlEntryGetEntry (size_t nPos)
 
SvxIconChoiceCtrlEntryGetEntry (size_t nPos) const
 
SvxIconChoiceCtrlEntryGetFirstSelectedEntry () const
 
void SetSelectionMode (SelectionMode eMode)
 
sal_Int32 GetEntryListPos (SvxIconChoiceCtrlEntry const *) const
 
void InitSettings ()
 
tools::Rectangle GetOutputRect () const
 
void SetEntryPredecessor (SvxIconChoiceCtrlEntry *pEntry, SvxIconChoiceCtrlEntry *pPredecessor)
 
SvxIconChoiceCtrlEntryFindEntryPredecessor (SvxIconChoiceCtrlEntry *pEntry, const Point &)
 
void SetPositionMode (SvxIconChoiceCtrlPositionMode)
 
void SetColumn (sal_uInt16 nIndex, const SvxIconChoiceCtrlColumnInfo &)
 
const SvxIconChoiceCtrlColumnInfoGetColumn (sal_uInt16 nIndex) const
 
void SetEntryHighlightFrame (SvxIconChoiceCtrlEntry *pEntry, bool bKeepHighlightFlags)
 
void DrawHighlightFrame (vcl::RenderContext &rRenderContext, const tools::Rectangle &rBmpRect)
 
void CallEventListeners (VclEventId nEvent, void *pData)
 
::vcl::IAccessibleFactoryGetAccessibleFactory ()
 

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

long nGridDX
 
long nGridDY
 
long nHorSBarHeight
 
long nVerSBarWidth
 

Private Member Functions

void ShowCursor (bool bShow)
 
void ImpArrange (bool bKeepPredecessors)
 
void AdjustVirtSize (const tools::Rectangle &)
 
void ResetVirtSize ()
 
void CheckScrollBars ()
 
 DECL_LINK (ScrollUpDownHdl, ScrollBar *, void)
 
 DECL_LINK (ScrollLeftRightHdl, ScrollBar *, void)
 
 DECL_LINK (UserEventHdl, void *, void)
 
 DECL_LINK (AutoArrangeHdl, Timer *, void)
 
 DECL_LINK (DocRectChangedHdl, Timer *, void)
 
 DECL_LINK (VisRectChangedHdl, Timer *, void)
 
 DECL_LINK (CallSelectHdlHdl, Timer *, void)
 
void AdjustScrollBars ()
 
void PositionScrollBars (long nRealWidth, long nRealHeight)
 
long GetScrollBarLineSize () const
 
bool HandleScrollCommand (const CommandEvent &rCmd)
 
void ToDocPos (Point &rPosPixel)
 
void InitScrollBarBox ()
 
void ToggleSelection (SvxIconChoiceCtrlEntry *)
 
void DeselectAllBut (SvxIconChoiceCtrlEntry const *)
 
void Center (SvxIconChoiceCtrlEntry *pEntry) const
 
void CallSelectHandler ()
 
void SelectRect (SvxIconChoiceCtrlEntry *pEntry1, SvxIconChoiceCtrlEntry *pEntry2, bool bAdd, std::vector< tools::Rectangle > *pOtherRects)
 
void SelectRange (SvxIconChoiceCtrlEntry const *pStart, SvxIconChoiceCtrlEntry const *pEnd, bool bAdd)
 
void AddSelectedRect (const tools::Rectangle &)
 
void AddSelectedRect (SvxIconChoiceCtrlEntry *pEntry1, SvxIconChoiceCtrlEntry *pEntry2)
 
void ClearSelectedRectList ()
 
void ClearColumnList ()
 
tools::Rectangle CalcMaxTextRect (const SvxIconChoiceCtrlEntry *pEntry) const
 
void ClipAtVirtOutRect (tools::Rectangle &rRect) const
 
sal_uLong GetPredecessorGrid (const Point &rDocPos) const
 
void InitPredecessors ()
 
void ClearPredecessors ()
 
bool CheckVerScrollBar ()
 
bool CheckHorScrollBar ()
 
void CancelUserEvents ()
 
void EntrySelected (SvxIconChoiceCtrlEntry *pEntry, bool bSelect)
 
void RepaintSelectedEntries ()
 
void SetListPositions ()
 
void SetDefaultTextSize ()
 
bool IsAutoArrange () const
 
void DocRectChanged ()
 
void VisRectChanged ()
 
void SetOrigin (const Point &)
 
 DECL_LINK (TextEditEndedHdl, LinkParamNone *, void)
 
void ShowFocus (tools::Rectangle const &rRect)
 
void DrawFocusRect (vcl::RenderContext &rRenderContext)
 
bool IsMnemonicChar (sal_Unicode cChar, sal_uLong &rPos) const
 
 SvxIconChoiceCtrl_Impl (const SvxIconChoiceCtrl_Impl &)=delete
 
SvxIconChoiceCtrl_Imploperator= (const SvxIconChoiceCtrl_Impl &)=delete
 

Static Private Member Functions

static long GetScrollBarPageSize (long nVisibleRange)
 

Private Attributes

bool bChooseWithCursor
 
std::vector< std::unique_ptr< SvxIconChoiceCtrlEntry > > maEntries
 
VclPtr< ScrollBaraVerSBar
 
VclPtr< ScrollBaraHorSBar
 
VclPtr< ScrollBarBoxaScrBarBox
 
tools::Rectangle aCurSelectionRect
 
std::vector< tools::RectangleaSelectedRectList
 
Idle aAutoArrangeIdle
 
Idle aDocRectChangedIdle
 
Idle aVisRectChangedIdle
 
Idle aCallSelectHdlIdle
 
Size aVirtOutputSize
 
Size const aImageSize
 
Size aDefaultTextSize
 
Size aOutputSize
 
VclPtr< SvtIconChoiceCtrlpView
 
std::unique_ptr< IcnCursor_ImplpImpCursor
 
std::unique_ptr< IcnGridMap_ImplpGridMap
 
long nMaxVirtWidth
 
long nMaxVirtHeight
 
std::vector< SvxIconChoiceCtrlEntry * > maZOrderList
 
std::unique_ptr< SvxIconChoiceCtrlColumnInfoMapm_pColumns
 
WinBits nWinBits
 
long nMaxBoundHeight
 
IconChoiceFlags nFlags
 
DrawTextFlags nCurTextDrawFlags
 
ImplSVEventnUserEventAdjustScrBars
 
SvxIconChoiceCtrlEntrypCurHighlightFrame
 
bool bHighlightFramePressed
 
SvxIconChoiceCtrlEntrypHead = nullptr
 
SvxIconChoiceCtrlEntrypCursor
 
SvxIconChoiceCtrlEntrypHdlEntry
 
VclPtr< VirtualDevicepDDDev
 
VclPtr< VirtualDevicepDDBufDev
 
VclPtr< VirtualDevicepDDTempDev
 
VclPtr< VirtualDevicepEntryPaintDev
 
SvxIconChoiceCtrlEntrypAnchor
 
LocalFocus aFocus
 
::vcl::AccessibleFactoryAccess aAccFactory
 
SvxIconChoiceCtrlTextMode eTextMode
 
SelectionMode eSelectionMode
 
sal_Int32 nSelectionCount
 
SvxIconChoiceCtrlPositionMode ePositionMode
 
bool bBoundRectsDirty
 
bool bUpdateMode
 

Friends

class IcnCursor_Impl
 
class IcnGridMap_Impl
 

Detailed Description

Definition at line 105 of file imivctl.hxx.

Constructor & Destructor Documentation

SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl ( const SvxIconChoiceCtrl_Impl )
privatedelete
SvxIconChoiceCtrl_Impl::SvxIconChoiceCtrl_Impl ( SvtIconChoiceCtrl pView,
WinBits  nWinStyle 
)
SvxIconChoiceCtrl_Impl::~SvxIconChoiceCtrl_Impl ( )

Member Function Documentation

void SvxIconChoiceCtrl_Impl::AddSelectedRect ( const tools::Rectangle rRect)
private

Definition at line 2484 of file imivctl1.cxx.

References aSelectedRectList, and tools::Rectangle::Justify().

Referenced by AddSelectedRect(), MouseButtonDown(), and SetCursor_Impl().

void SvxIconChoiceCtrl_Impl::AddSelectedRect ( SvxIconChoiceCtrlEntry pEntry1,
SvxIconChoiceCtrlEntry pEntry2 
)
private
void SvxIconChoiceCtrl_Impl::AdjustScrollBars ( )
private
void SvxIconChoiceCtrl_Impl::AdjustVirtSize ( const tools::Rectangle rRect)
private
void SvxIconChoiceCtrl_Impl::Arrange ( bool  bKeepPredecessors,
long  nSetMaxVirtWidth,
long  nSetMaxVirtHeight 
)
tools::Rectangle SvxIconChoiceCtrl_Impl::CalcBmpRect ( SvxIconChoiceCtrlEntry pEntry,
const Point pPos = nullptr 
)
long SvxIconChoiceCtrl_Impl::CalcBoundingHeight ( ) const
Size SvxIconChoiceCtrl_Impl::CalcBoundingSize ( ) const

Definition at line 1761 of file imivctl1.cxx.

References CalcBoundingHeight(), and CalcBoundingWidth().

Referenced by Center(), and FindBoundingRect().

long SvxIconChoiceCtrl_Impl::CalcBoundingWidth ( ) const
tools::Rectangle SvxIconChoiceCtrl_Impl::CalcFocusRect ( SvxIconChoiceCtrlEntry pEntry)
tools::Rectangle SvxIconChoiceCtrl_Impl::CalcMaxTextRect ( const SvxIconChoiceCtrlEntry pEntry) const
private
tools::Rectangle SvxIconChoiceCtrl_Impl::CalcTextRect ( SvxIconChoiceCtrlEntry pEntry,
const Point pPos = nullptr,
const OUString *  pStr = nullptr 
)
void SvxIconChoiceCtrl_Impl::CallEventListeners ( VclEventId  nEvent,
void pData 
)

Definition at line 3007 of file imivctl1.cxx.

References SvtIconChoiceCtrl::CallImplEventListeners(), and pView.

Referenced by EntrySelected(), and SetCursor_Impl().

void SvxIconChoiceCtrl_Impl::CallSelectHandler ( )
private
void SvxIconChoiceCtrl_Impl::CancelUserEvents ( )
private

Definition at line 2602 of file imivctl1.cxx.

References nUserEventAdjustScrBars, and Application::RemoveUserEvent().

Referenced by Clear(), and ~SvxIconChoiceCtrl_Impl().

void SvxIconChoiceCtrl_Impl::Center ( SvxIconChoiceCtrlEntry pEntry) const
private
void SvxIconChoiceCtrl_Impl::CheckBoundingRects ( )
inline

Definition at line 349 of file imivctl.hxx.

References RecalcAllBoundingRectsSmart().

Referenced by GetEntry(), IcnCursor_Impl::ImplCreate(), and SelectRect().

bool SvxIconChoiceCtrl_Impl::CheckHorScrollBar ( )
private
void SvxIconChoiceCtrl_Impl::CheckScrollBars ( )
private
bool SvxIconChoiceCtrl_Impl::CheckVerScrollBar ( )
private
void SvxIconChoiceCtrl_Impl::Clear ( bool  bInCtor)
void SvxIconChoiceCtrl_Impl::ClearColumnList ( )
private

Definition at line 2895 of file imivctl1.cxx.

References m_pColumns.

Referenced by ~SvxIconChoiceCtrl_Impl().

void SvxIconChoiceCtrl_Impl::ClearPredecessors ( )
private

Definition at line 474 of file imivctl1.cxx.

References maEntries, SvxIconChoiceCtrlEntry::pblink, SvxIconChoiceCtrlEntry::pflink, and pHead.

Referenced by ImpArrange().

void SvxIconChoiceCtrl_Impl::ClearSelectedRectList ( )
private

Definition at line 2491 of file imivctl1.cxx.

References aSelectedRectList.

Referenced by DeselectAllBut(), KeyInput(), MouseButtonDown(), and ~SvxIconChoiceCtrl_Impl().

void SvxIconChoiceCtrl_Impl::ClipAtVirtOutRect ( tools::Rectangle rRect) const
private
void SvxIconChoiceCtrl_Impl::Command ( const CommandEvent rCEvt)
void SvxIconChoiceCtrl_Impl::CreateAutoMnemonics ( MnemonicGenerator _pGenerator)
SvxIconChoiceCtrl_Impl::DECL_LINK ( ScrollUpDownHdl  ,
ScrollBar ,
void   
)
private
SvxIconChoiceCtrl_Impl::DECL_LINK ( ScrollLeftRightHdl  ,
ScrollBar ,
void   
)
private
SvxIconChoiceCtrl_Impl::DECL_LINK ( UserEventHdl  ,
void ,
void   
)
private
SvxIconChoiceCtrl_Impl::DECL_LINK ( AutoArrangeHdl  ,
Timer ,
void   
)
private
SvxIconChoiceCtrl_Impl::DECL_LINK ( DocRectChangedHdl  ,
Timer ,
void   
)
private
SvxIconChoiceCtrl_Impl::DECL_LINK ( VisRectChangedHdl  ,
Timer ,
void   
)
private
SvxIconChoiceCtrl_Impl::DECL_LINK ( CallSelectHdlHdl  ,
Timer ,
void   
)
private
SvxIconChoiceCtrl_Impl::DECL_LINK ( TextEditEndedHdl  ,
LinkParamNone ,
void   
)
private
void SvxIconChoiceCtrl_Impl::DeselectAllBut ( SvxIconChoiceCtrlEntry const *  pThisEntryNot)
private
void SvxIconChoiceCtrl_Impl::DocRectChanged ( )
inlineprivate

Definition at line 235 of file imivctl.hxx.

References Idle::Start().

Referenced by AdjustVirtSize(), and Clear().

void SvxIconChoiceCtrl_Impl::DrawFocusRect ( vcl::RenderContext rRenderContext)
private
void SvxIconChoiceCtrl_Impl::DrawHighlightFrame ( vcl::RenderContext rRenderContext,
const tools::Rectangle rBmpRect 
)
void SvxIconChoiceCtrl_Impl::EntrySelected ( SvxIconChoiceCtrlEntry pEntry,
bool  bSelect 
)
private
void SvxIconChoiceCtrl_Impl::FindBoundingRect ( SvxIconChoiceCtrlEntry pEntry)
SvxIconChoiceCtrlEntry * SvxIconChoiceCtrl_Impl::FindEntryPredecessor ( SvxIconChoiceCtrlEntry pEntry,
const Point rPosTopLeft 
)
void SvxIconChoiceCtrl_Impl::FontModified ( )
::vcl::IAccessibleFactory& SvxIconChoiceCtrl_Impl::GetAccessibleFactory ( )
inline

Definition at line 415 of file imivctl.hxx.

References vcl::AccessibleFactoryAccess::getFactory().

const SvxIconChoiceCtrlColumnInfo * SvxIconChoiceCtrl_Impl::GetColumn ( sal_uInt16  nIndex) const

Definition at line 2917 of file imivctl1.cxx.

References m_pColumns.

Referenced by SetGrid().

SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetCurEntry ( ) const
inline

Definition at line 302 of file imivctl.hxx.

References pCursor.

Referenced by KeyInput().

SvxIconChoiceCtrlEntry * SvxIconChoiceCtrl_Impl::GetEntry ( const Point rDocPos,
bool  bHit = false 
)
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetEntry ( size_t  nPos)
inline

Definition at line 384 of file imivctl.hxx.

SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::GetEntry ( size_t  nPos) const
inline

Definition at line 388 of file imivctl.hxx.

const tools::Rectangle & SvxIconChoiceCtrl_Impl::GetEntryBoundRect ( SvxIconChoiceCtrlEntry pEntry)
size_t SvxIconChoiceCtrl_Impl::GetEntryCount ( ) const
inline

Definition at line 383 of file imivctl.hxx.

Referenced by CreateAutoMnemonics(), IsMnemonicChar(), and SelectRange().

sal_Int32 SvxIconChoiceCtrl_Impl::GetEntryListPos ( SvxIconChoiceCtrlEntry const *  pEntry) const
SvxIconChoiceCtrlEntry * SvxIconChoiceCtrl_Impl::GetFirstSelectedEntry ( ) const
void SvxIconChoiceCtrl_Impl::GetFocus ( )
const Size & SvxIconChoiceCtrl_Impl::GetItemSize ( IcnViewFieldType  eItem) const

Definition at line 2280 of file imivctl1.cxx.

References aDefaultTextSize, aImageSize, and Text.

Referenced by CalcBoundingHeight(), and CalcBoundingWidth().

Size SvxIconChoiceCtrl_Impl::GetMinGrid ( ) const
tools::Rectangle SvxIconChoiceCtrl_Impl::GetOutputRect ( ) const
sal_uLong SvxIconChoiceCtrl_Impl::GetPredecessorGrid ( const Point rDocPos) const
private
long SvxIconChoiceCtrl_Impl::GetScrollBarLineSize ( ) const
inlineprivate

Definition at line 178 of file imivctl.hxx.

Referenced by CalcBoundingHeight(), and HandleScrollCommand().

static long SvxIconChoiceCtrl_Impl::GetScrollBarPageSize ( long  nVisibleRange)
inlinestaticprivate

Definition at line 174 of file imivctl.hxx.

Referenced by AdjustScrollBars(), and HandleScrollCommand().

sal_Int32 SvxIconChoiceCtrl_Impl::GetSelectionCount ( ) const

Definition at line 2103 of file imivctl1.cxx.

References nSelectionCount, nWinBits, pCurHighlightFrame, and WB_HIGHLIGHTFRAME.

Referenced by GetFirstSelectedEntry().

WinBits SvxIconChoiceCtrl_Impl::GetStyle ( ) const
inline

Definition at line 263 of file imivctl.hxx.

References nWinBits.

bool SvxIconChoiceCtrl_Impl::GetUpdateMode ( ) const
inline

Definition at line 290 of file imivctl.hxx.

References bUpdateMode.

Referenced by MakeVisible(), and SetColumn().

bool SvxIconChoiceCtrl_Impl::HandleScrollCommand ( const CommandEvent rCmd)
private
void SvxIconChoiceCtrl_Impl::HideDDIcon ( )
void SvxIconChoiceCtrl_Impl::ImpArrange ( bool  bKeepPredecessors)
private
void SvxIconChoiceCtrl_Impl::InitPredecessors ( )
private
void SvxIconChoiceCtrl_Impl::InitScrollBarBox ( )
private
void SvxIconChoiceCtrl_Impl::InitSettings ( )
void SvxIconChoiceCtrl_Impl::InsertEntry ( std::unique_ptr< SvxIconChoiceCtrlEntry pEntry1,
size_t  nPos 
)
void SvxIconChoiceCtrl_Impl::InvalidateBoundingRect ( tools::Rectangle rRect)
inline

Definition at line 335 of file imivctl.hxx.

References LONG_MAX, and tools::Rectangle::SetRight().

Referenced by InsertEntry(), and ResetVirtSize().

void SvxIconChoiceCtrl_Impl::InvalidateEntry ( SvxIconChoiceCtrlEntry pEntry)
bool SvxIconChoiceCtrl_Impl::IsAutoArrange ( ) const
inlineprivate
static bool SvxIconChoiceCtrl_Impl::IsBoundingRectValid ( const tools::Rectangle rRect)
inlinestatic
bool SvxIconChoiceCtrl_Impl::IsMnemonicChar ( sal_Unicode  cChar,
sal_uLong rPos 
) const
private
bool SvxIconChoiceCtrl_Impl::IsOver ( std::vector< tools::Rectangle > *  pSelectedRectList,
const tools::Rectangle rEntryBoundRect 
)
static

Definition at line 2463 of file imivctl1.cxx.

References tools::Rectangle::IsOver().

Referenced by SelectRect().

bool SvxIconChoiceCtrl_Impl::KeyInput ( const KeyEvent rKEvt)
void SvxIconChoiceCtrl_Impl::LoseFocus ( )
void SvxIconChoiceCtrl_Impl::MakeEntryVisible ( SvxIconChoiceCtrlEntry pEntry,
bool  bBound = true 
)
void SvxIconChoiceCtrl_Impl::MakeVisible ( const tools::Rectangle rDocPos,
bool  bInScrollBarEvent = false 
)
bool SvxIconChoiceCtrl_Impl::MouseButtonDown ( const MouseEvent rMEvt)
bool SvxIconChoiceCtrl_Impl::MouseButtonUp ( const MouseEvent rMEvt)
bool SvxIconChoiceCtrl_Impl::MouseMove ( const MouseEvent rMEvt)
SvxIconChoiceCtrl_Impl& SvxIconChoiceCtrl_Impl::operator= ( const SvxIconChoiceCtrl_Impl )
privatedelete
void SvxIconChoiceCtrl_Impl::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
)
void SvxIconChoiceCtrl_Impl::PaintEmphasis ( const tools::Rectangle rRect1,
bool  bSelected,
vcl::RenderContext rRenderContext 
)
static
void SvxIconChoiceCtrl_Impl::PaintEntry ( SvxIconChoiceCtrlEntry pEntry,
const Point rPos,
vcl::RenderContext rRenderContext 
)
void SvxIconChoiceCtrl_Impl::PaintItem ( const tools::Rectangle rRect,
IcnViewFieldType  eItem,
SvxIconChoiceCtrlEntry pEntry,
sal_uInt16  nPaintFlags,
vcl::RenderContext rRenderContext 
)
void SvxIconChoiceCtrl_Impl::PositionScrollBars ( long  nRealWidth,
long  nRealHeight 
)
private
void SvxIconChoiceCtrl_Impl::RecalcAllBoundingRectsSmart ( )
void SvxIconChoiceCtrl_Impl::RemoveEntry ( size_t  nPos)

Definition at line 248 of file imivctl1.cxx.

References maEntries, pImpCursor, and RecalcAllBoundingRectsSmart().

void SvxIconChoiceCtrl_Impl::RepaintSelectedEntries ( )
private
bool SvxIconChoiceCtrl_Impl::RequestHelp ( const HelpEvent rHEvt)
void SvxIconChoiceCtrl_Impl::ResetVirtSize ( )
private
void SvxIconChoiceCtrl_Impl::Resize ( )
void SvxIconChoiceCtrl_Impl::Scroll ( long  nDeltaX,
long  nDeltaY 
)
void SvxIconChoiceCtrl_Impl::SelectAll ( )

Definition at line 2664 of file imivctl1.cxx.

References AddMode, maEntries, nFlags, pAnchor, and SelectEntry().

Referenced by KeyInput().

void SvxIconChoiceCtrl_Impl::SelectEntry ( SvxIconChoiceCtrlEntry pEntry,
bool  bSelect,
bool  bAddToSelection = false 
)
void SvxIconChoiceCtrl_Impl::SelectRange ( SvxIconChoiceCtrlEntry const *  pStart,
SvxIconChoiceCtrlEntry const *  pEnd,
bool  bAdd 
)
private
void SvxIconChoiceCtrl_Impl::SelectRect ( SvxIconChoiceCtrlEntry pEntry1,
SvxIconChoiceCtrlEntry pEntry2,
bool  bAdd,
std::vector< tools::Rectangle > *  pOtherRects 
)
private

Definition at line 2311 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 
)
void SvxIconChoiceCtrl_Impl::SetBoundingRect_Impl ( SvxIconChoiceCtrlEntry pEntry,
const Point rPos,
const Size rBoundingSize 
)
void SvxIconChoiceCtrl_Impl::SetChoiceWithCursor ( )
inline

Definition at line 260 of file imivctl.hxx.

void SvxIconChoiceCtrl_Impl::SetColumn ( sal_uInt16  nIndex,
const SvxIconChoiceCtrlColumnInfo rInfo 
)
void SvxIconChoiceCtrl_Impl::SetCursor ( SvxIconChoiceCtrlEntry pEntry)
void SvxIconChoiceCtrl_Impl::SetCursor_Impl ( SvxIconChoiceCtrlEntry pOldCursor,
SvxIconChoiceCtrlEntry pNewCursor,
bool  bMod1,
bool  bShift 
)
void SvxIconChoiceCtrl_Impl::SetDefaultTextSize ( )
private
void SvxIconChoiceCtrl_Impl::SetEntryHighlightFrame ( SvxIconChoiceCtrlEntry pEntry,
bool  bKeepHighlightFlags 
)
void SvxIconChoiceCtrl_Impl::SetEntryPos ( SvxIconChoiceCtrlEntry pEntry,
const Point rPos 
)
void SvxIconChoiceCtrl_Impl::SetEntryPredecessor ( SvxIconChoiceCtrlEntry pEntry,
SvxIconChoiceCtrlEntry pPredecessor 
)
void SvxIconChoiceCtrl_Impl::SetEntryTextMode ( SvxIconChoiceCtrlTextMode  eMode,
SvxIconChoiceCtrlEntry pEntry 
)
void SvxIconChoiceCtrl_Impl::SetGrid ( const Size rSize)
void SvxIconChoiceCtrl_Impl::SetListPositions ( )
private

Definition at line 294 of file imivctl1.cxx.

References EntryListPosValid, maEntries, and nFlags.

Referenced by GetEntryListPos().

void SvxIconChoiceCtrl_Impl::SetNoSelection ( )

Definition at line 1577 of file imivctl1.cxx.

References ClearingSelection, DeselectAllBut(), and nFlags.

Referenced by KeyInput(), and MouseButtonDown().

void SvxIconChoiceCtrl_Impl::SetOrigin ( const Point rPos)
private
void SvxIconChoiceCtrl_Impl::SetPositionMode ( SvxIconChoiceCtrlPositionMode  eMode)
void SvxIconChoiceCtrl_Impl::SetSelectionMode ( SelectionMode  eMode)
inline

Definition at line 393 of file imivctl.hxx.

void SvxIconChoiceCtrl_Impl::SetStyle ( WinBits  nWinStyle)
void SvxIconChoiceCtrl_Impl::SetUpdateMode ( bool  bUpdate)
void SvxIconChoiceCtrl_Impl::ShowCursor ( bool  bShow)
private
void SvxIconChoiceCtrl_Impl::ShowFocus ( tools::Rectangle const &  rRect)
private
void SvxIconChoiceCtrl_Impl::ToDocPos ( Point rPosPixel)
inlineprivate

Definition at line 183 of file imivctl.hxx.

References OutputDevice::GetMapMode(), and MapMode::GetOrigin().

Referenced by MouseButtonDown(), and MouseButtonUp().

void SvxIconChoiceCtrl_Impl::ToggleSelection ( SvxIconChoiceCtrlEntry pEntry)
private

Definition at line 2110 of file imivctl1.cxx.

References SvxIconChoiceCtrlEntry::IsSelected(), and SelectEntry().

Referenced by KeyInput(), and MouseButtonUp().

void SvxIconChoiceCtrl_Impl::ToTop ( SvxIconChoiceCtrlEntry pEntry)

Definition at line 1982 of file imivctl1.cxx.

References maZOrderList.

Referenced by EntrySelected(), SetCursor(), and SetEntryPos().

void SvxIconChoiceCtrl_Impl::VisRectChanged ( )
inlineprivate

Definition at line 236 of file imivctl.hxx.

References Idle::Start().

Referenced by Clear(), ImpArrange(), MakeVisible(), ResetVirtSize(), and Resize().

Friends And Related Function Documentation

friend class IcnCursor_Impl
friend

Definition at line 107 of file imivctl.hxx.

Referenced by SvxIconChoiceCtrl_Impl().

friend class IcnGridMap_Impl
friend

Definition at line 108 of file imivctl.hxx.

Referenced by SvxIconChoiceCtrl_Impl().

Member Data Documentation

::vcl::AccessibleFactoryAccess SvxIconChoiceCtrl_Impl::aAccFactory
private

Definition at line 148 of file imivctl.hxx.

Idle SvxIconChoiceCtrl_Impl::aAutoArrangeIdle
private
Idle SvxIconChoiceCtrl_Impl::aCallSelectHdlIdle
private

Definition at line 120 of file imivctl.hxx.

Referenced by CallSelectHandler(), and SvxIconChoiceCtrl_Impl().

tools::Rectangle SvxIconChoiceCtrl_Impl::aCurSelectionRect
private

Definition at line 115 of file imivctl.hxx.

Referenced by MouseButtonDown(), SelectRect(), and SetCursor_Impl().

Size SvxIconChoiceCtrl_Impl::aDefaultTextSize
private

Definition at line 123 of file imivctl.hxx.

Referenced by CalcMaxTextRect(), GetItemSize(), and SetDefaultTextSize().

Idle SvxIconChoiceCtrl_Impl::aDocRectChangedIdle
private

Definition at line 118 of file imivctl.hxx.

Referenced by SvxIconChoiceCtrl_Impl().

LocalFocus SvxIconChoiceCtrl_Impl::aFocus
private

Definition at line 147 of file imivctl.hxx.

Referenced by DrawFocusRect(), and ShowFocus().

VclPtr<ScrollBar> SvxIconChoiceCtrl_Impl::aHorSBar
private
Size const SvxIconChoiceCtrl_Impl::aImageSize
private
Size SvxIconChoiceCtrl_Impl::aOutputSize
private
VclPtr<ScrollBarBox> SvxIconChoiceCtrl_Impl::aScrBarBox
private
std::vector<tools::Rectangle> SvxIconChoiceCtrl_Impl::aSelectedRectList
private
VclPtr<ScrollBar> SvxIconChoiceCtrl_Impl::aVerSBar
private
Size SvxIconChoiceCtrl_Impl::aVirtOutputSize
private
Idle SvxIconChoiceCtrl_Impl::aVisRectChangedIdle
private

Definition at line 119 of file imivctl.hxx.

Referenced by SvxIconChoiceCtrl_Impl().

bool SvxIconChoiceCtrl_Impl::bBoundRectsDirty
private

Definition at line 154 of file imivctl.hxx.

Referenced by Clear(), and ImpArrange().

bool SvxIconChoiceCtrl_Impl::bChooseWithCursor
private

Definition at line 110 of file imivctl.hxx.

Referenced by KeyInput(), and SvxIconChoiceCtrl_Impl().

bool SvxIconChoiceCtrl_Impl::bHighlightFramePressed
private
bool SvxIconChoiceCtrl_Impl::bUpdateMode
private
SvxIconChoiceCtrlPositionMode SvxIconChoiceCtrl_Impl::ePositionMode
private

Definition at line 153 of file imivctl.hxx.

Referenced by SetPositionMode(), and SvxIconChoiceCtrl_Impl().

SelectionMode SvxIconChoiceCtrl_Impl::eSelectionMode
private
SvxIconChoiceCtrlTextMode SvxIconChoiceCtrl_Impl::eTextMode
private

Definition at line 150 of file imivctl.hxx.

Referenced by SetEntryTextMode(), and SvxIconChoiceCtrl_Impl().

std::unique_ptr<SvxIconChoiceCtrlColumnInfoMap> SvxIconChoiceCtrl_Impl::m_pColumns
private

Definition at line 131 of file imivctl.hxx.

Referenced by ClearColumnList(), GetColumn(), SetColumn(), and SetStyle().

std::vector< std::unique_ptr<SvxIconChoiceCtrlEntry> > SvxIconChoiceCtrl_Impl::maEntries
private
std::vector< SvxIconChoiceCtrlEntry* > SvxIconChoiceCtrl_Impl::maZOrderList
private
DrawTextFlags SvxIconChoiceCtrl_Impl::nCurTextDrawFlags
private

Definition at line 135 of file imivctl.hxx.

Referenced by CalcTextRect(), PaintItem(), RequestHelp(), and SetStyle().

IconChoiceFlags SvxIconChoiceCtrl_Impl::nFlags
private
long SvxIconChoiceCtrl_Impl::nGridDX
long SvxIconChoiceCtrl_Impl::nGridDY
long SvxIconChoiceCtrl_Impl::nHorSBarHeight
long SvxIconChoiceCtrl_Impl::nMaxBoundHeight
private

Definition at line 133 of file imivctl.hxx.

Referenced by CalcBoundingHeight(), Clear(), and RecalcAllBoundingRectsSmart().

long SvxIconChoiceCtrl_Impl::nMaxVirtHeight
private
long SvxIconChoiceCtrl_Impl::nMaxVirtWidth
private
sal_Int32 SvxIconChoiceCtrl_Impl::nSelectionCount
private

Definition at line 152 of file imivctl.hxx.

Referenced by Clear(), GetSelectionCount(), and SelectEntry().

ImplSVEvent* SvxIconChoiceCtrl_Impl::nUserEventAdjustScrBars
private

Definition at line 136 of file imivctl.hxx.

Referenced by CancelUserEvents(), Resize(), and SvxIconChoiceCtrl_Impl().

long SvxIconChoiceCtrl_Impl::nVerSBarWidth
WinBits SvxIconChoiceCtrl_Impl::nWinBits
private
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::pAnchor
private
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::pCurHighlightFrame
private
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::pCursor
private
VclPtr<VirtualDevice> SvxIconChoiceCtrl_Impl::pDDBufDev
private
VclPtr<VirtualDevice> SvxIconChoiceCtrl_Impl::pDDDev
private
VclPtr<VirtualDevice> SvxIconChoiceCtrl_Impl::pDDTempDev
private

Definition at line 144 of file imivctl.hxx.

Referenced by FontModified(), SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().

VclPtr<VirtualDevice> SvxIconChoiceCtrl_Impl::pEntryPaintDev
private

Definition at line 145 of file imivctl.hxx.

Referenced by FontModified(), SvxIconChoiceCtrl_Impl(), and ~SvxIconChoiceCtrl_Impl().

std::unique_ptr<IcnGridMap_Impl> SvxIconChoiceCtrl_Impl::pGridMap
private
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::pHdlEntry
private
SvxIconChoiceCtrlEntry* SvxIconChoiceCtrl_Impl::pHead = nullptr
private
std::unique_ptr<IcnCursor_Impl> SvxIconChoiceCtrl_Impl::pImpCursor
private
VclPtr<SvtIconChoiceCtrl> SvxIconChoiceCtrl_Impl::pView
private

The documentation for this class was generated from the following files: