LibreOffice Module sfx2 (master) 1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SfxCharmapContainer Class Reference

#include <charwin.hxx>

Collaboration diagram for SfxCharmapContainer:
[legend]

Public Member Functions

 SfxCharmapContainer (weld::Builder &rBuilder, const VclPtr< VirtualDevice > &rVirDev)
 
void init (bool bHasInsert, const Link< SvxCharView *, void > &rMouseClickHdl, const Link< void *, void > &rUpdateFavHdl, const Link< void *, void > &rUpdateRecentHdl)
 
void getFavCharacterList ()
 
void updateFavCharControl ()
 
void getRecentCharacterList ()
 
void updateRecentCharControl ()
 
void updateRecentCharacterList (const OUString &sTitle, const OUString &rFont)
 
void updateFavCharacterList (const OUString &sTitle, const OUString &rFont)
 
void deleteFavCharacterFromList (std::u16string_view sTitle, std::u16string_view rFont)
 
bool isFavChar (std::u16string_view sTitle, std::u16string_view rFont)
 
bool hasRecentChars () const
 
bool FavCharListIsFull () const
 
void GrabFocusToFirstFavorite ()
 

Private Member Functions

 DECL_DLLPRIVATE_LINK (RecentClearClickHdl, SvxCharView *, void)
 
 DECL_DLLPRIVATE_LINK (FavClearClickHdl, SvxCharView *, void)
 
 DECL_DLLPRIVATE_LINK (RecentClearAllClickHdl, SvxCharView *, void)
 
 DECL_DLLPRIVATE_LINK (FavClearAllClickHdl, SvxCharView *, void)
 
std::pair< std::deque< OUString >::const_iterator, std::deque< OUString >::const_iterator > getRecentChar (std::u16string_view sTitle, std::u16string_view rFont) const
 
std::pair< std::deque< OUString >::const_iterator, std::deque< OUString >::const_iterator > getFavChar (std::u16string_view sTitle, std::u16string_view rFont) const
 

Private Attributes

std::deque< OUString > m_aRecentCharList
 
std::deque< OUString > m_aRecentCharFontList
 
std::deque< OUString > m_aFavCharList
 
std::deque< OUString > m_aFavCharFontList
 
SvxCharView m_aRecentCharView [16]
 
SvxCharView m_aFavCharView [16]
 
std::unique_ptr< weld::CustomWeldm_xRecentCharView [16]
 
std::unique_ptr< weld::CustomWeldm_xFavCharView [16]
 
std::unique_ptr< weld::Widgetm_xRecentGrid
 
std::unique_ptr< weld::Widgetm_xFavGrid
 
Link< void *, void > m_aUpdateFavHdl
 
Link< void *, void > m_aUpdateRecentHdl
 

Detailed Description

Definition at line 71 of file charwin.hxx.

Constructor & Destructor Documentation

◆ SfxCharmapContainer()

SfxCharmapContainer::SfxCharmapContainer ( weld::Builder rBuilder,
const VclPtr< VirtualDevice > &  rVirDev 
)

Definition at line 30 of file charmapcontrol.cxx.

References Height, m_aFavCharView, m_aRecentCharView, m_xFavGrid, and m_xRecentGrid.

Member Function Documentation

◆ DECL_DLLPRIVATE_LINK() [1/4]

SfxCharmapContainer::DECL_DLLPRIVATE_LINK ( FavClearAllClickHdl  ,
SvxCharView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [2/4]

SfxCharmapContainer::DECL_DLLPRIVATE_LINK ( FavClearClickHdl  ,
SvxCharView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [3/4]

SfxCharmapContainer::DECL_DLLPRIVATE_LINK ( RecentClearAllClickHdl  ,
SvxCharView ,
void   
)
private

◆ DECL_DLLPRIVATE_LINK() [4/4]

SfxCharmapContainer::DECL_DLLPRIVATE_LINK ( RecentClearClickHdl  ,
SvxCharView ,
void   
)
private

◆ deleteFavCharacterFromList()

void SfxCharmapContainer::deleteFavCharacterFromList ( std::u16string_view  sTitle,
std::u16string_view  rFont 
)

◆ FavCharListIsFull()

bool SfxCharmapContainer::FavCharListIsFull ( ) const

Definition at line 461 of file charmapcontrol.cxx.

References m_aFavCharList.

◆ getFavChar()

std::pair< std::deque< OUString >::const_iterator, std::deque< OUString >::const_iterator > SfxCharmapContainer::getFavChar ( std::u16string_view  sTitle,
std::u16string_view  rFont 
) const
private

◆ getFavCharacterList()

void SfxCharmapContainer::getFavCharacterList ( )

Definition at line 146 of file charmapcontrol.cxx.

References m_aFavCharFontList, and m_aFavCharList.

Referenced by init().

◆ getRecentChar()

std::pair< std::deque< OUString >::const_iterator, std::deque< OUString >::const_iterator > SfxCharmapContainer::getRecentChar ( std::u16string_view  sTitle,
std::u16string_view  rFont 
) const
private

Definition at line 254 of file charmapcontrol.cxx.

References findInPair(), m_aRecentCharFontList, and m_aRecentCharList.

Referenced by updateRecentCharacterList().

◆ getRecentCharacterList()

void SfxCharmapContainer::getRecentCharacterList ( )

Definition at line 190 of file charmapcontrol.cxx.

References m_aRecentCharFontList, and m_aRecentCharList.

Referenced by init().

◆ GrabFocusToFirstFavorite()

void SfxCharmapContainer::GrabFocusToFirstFavorite ( )

◆ hasRecentChars()

bool SfxCharmapContainer::hasRecentChars ( ) const

Definition at line 466 of file charmapcontrol.cxx.

References m_aRecentCharList.

◆ init()

void SfxCharmapContainer::init ( bool  bHasInsert,
const Link< SvxCharView *, void > &  rMouseClickHdl,
const Link< void *, void > &  rUpdateFavHdl,
const Link< void *, void > &  rUpdateRecentHdl 
)

◆ isFavChar()

bool SfxCharmapContainer::isFavChar ( std::u16string_view  sTitle,
std::u16string_view  rFont 
)

Definition at line 391 of file charmapcontrol.cxx.

References getFavChar(), m_aFavCharFontList, and m_aFavCharList.

◆ updateFavCharacterList()

void SfxCharmapContainer::updateFavCharacterList ( const OUString &  sTitle,
const OUString &  rFont 
)

◆ updateFavCharControl()

void SfxCharmapContainer::updateFavCharControl ( )

◆ updateRecentCharacterList()

void SfxCharmapContainer::updateRecentCharacterList ( const OUString &  sTitle,
const OUString &  rFont 
)

◆ updateRecentCharControl()

void SfxCharmapContainer::updateRecentCharControl ( )

Member Data Documentation

◆ m_aFavCharFontList

std::deque<OUString> SfxCharmapContainer::m_aFavCharFontList
private

◆ m_aFavCharList

std::deque<OUString> SfxCharmapContainer::m_aFavCharList
private

◆ m_aFavCharView

SvxCharView SfxCharmapContainer::m_aFavCharView[16]
private

◆ m_aRecentCharFontList

std::deque<OUString> SfxCharmapContainer::m_aRecentCharFontList
private

◆ m_aRecentCharList

std::deque<OUString> SfxCharmapContainer::m_aRecentCharList
private

◆ m_aRecentCharView

SvxCharView SfxCharmapContainer::m_aRecentCharView[16]
private

Definition at line 78 of file charwin.hxx.

Referenced by init(), SfxCharmapContainer(), and updateRecentCharControl().

◆ m_aUpdateFavHdl

Link<void*, void> SfxCharmapContainer::m_aUpdateFavHdl
private

Definition at line 86 of file charwin.hxx.

Referenced by init(), and updateFavCharControl().

◆ m_aUpdateRecentHdl

Link<void*, void> SfxCharmapContainer::m_aUpdateRecentHdl
private

Definition at line 87 of file charwin.hxx.

Referenced by init(), and updateRecentCharControl().

◆ m_xFavCharView

std::unique_ptr<weld::CustomWeld> SfxCharmapContainer::m_xFavCharView[16]
private

Definition at line 81 of file charwin.hxx.

◆ m_xFavGrid

std::unique_ptr<weld::Widget> SfxCharmapContainer::m_xFavGrid
private

Definition at line 84 of file charwin.hxx.

Referenced by SfxCharmapContainer().

◆ m_xRecentCharView

std::unique_ptr<weld::CustomWeld> SfxCharmapContainer::m_xRecentCharView[16]
private

Definition at line 80 of file charwin.hxx.

◆ m_xRecentGrid

std::unique_ptr<weld::Widget> SfxCharmapContainer::m_xRecentGrid
private

Definition at line 83 of file charwin.hxx.

Referenced by SfxCharmapContainer().


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