LibreOffice Module sfx2 (master) 1
|
#include <charwin.hxx>
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::CustomWeld > | m_xRecentCharView [16] |
std::unique_ptr< weld::CustomWeld > | m_xFavCharView [16] |
std::unique_ptr< weld::Widget > | m_xRecentGrid |
std::unique_ptr< weld::Widget > | m_xFavGrid |
Link< void *, void > | m_aUpdateFavHdl |
Link< void *, void > | m_aUpdateRecentHdl |
Definition at line 71 of file charwin.hxx.
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.
|
private |
|
private |
|
private |
|
private |
void SfxCharmapContainer::deleteFavCharacterFromList | ( | std::u16string_view | sTitle, |
std::u16string_view | rFont | ||
) |
Definition at line 364 of file charmapcontrol.cxx.
References comphelper::ConfigurationChanges::create(), getFavChar(), i, m_aFavCharFontList, and m_aFavCharList.
bool SfxCharmapContainer::FavCharListIsFull | ( | ) | const |
Definition at line 461 of file charmapcontrol.cxx.
References m_aFavCharList.
|
private |
Definition at line 260 of file charmapcontrol.cxx.
References findInPair(), m_aFavCharFontList, and m_aFavCharList.
Referenced by deleteFavCharacterFromList(), isFavChar(), and updateFavCharacterList().
void SfxCharmapContainer::getFavCharacterList | ( | ) |
Definition at line 146 of file charmapcontrol.cxx.
References m_aFavCharFontList, and m_aFavCharList.
Referenced by init().
|
private |
Definition at line 254 of file charmapcontrol.cxx.
References findInPair(), m_aRecentCharFontList, and m_aRecentCharList.
Referenced by updateRecentCharacterList().
void SfxCharmapContainer::getRecentCharacterList | ( | ) |
Definition at line 190 of file charmapcontrol.cxx.
References m_aRecentCharFontList, and m_aRecentCharList.
Referenced by init().
void SfxCharmapContainer::GrabFocusToFirstFavorite | ( | ) |
Definition at line 232 of file charmapcontrol.cxx.
References weld::CustomWidgetController::GrabFocus(), and m_aFavCharView.
Referenced by SfxCharmapCtrl::GrabFocus().
bool SfxCharmapContainer::hasRecentChars | ( | ) | const |
Definition at line 466 of file charmapcontrol.cxx.
References m_aRecentCharList.
void SfxCharmapContainer::init | ( | bool | bHasInsert, |
const Link< SvxCharView *, void > & | rMouseClickHdl, | ||
const Link< void *, void > & | rUpdateFavHdl, | ||
const Link< void *, void > & | rUpdateRecentHdl | ||
) |
Definition at line 103 of file charmapcontrol.cxx.
References getFavCharacterList(), getRecentCharacterList(), i, LINK, m_aFavCharView, m_aRecentCharView, m_aUpdateFavHdl, m_aUpdateRecentHdl, SvxCharView::setClearAllClickHdl(), SvxCharView::setClearClickHdl(), SvxCharView::SetHasInsert(), SvxCharView::setMouseClickHdl(), updateFavCharControl(), and updateRecentCharControl().
Referenced by SfxCharmapCtrl::SfxCharmapCtrl().
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.
void SfxCharmapContainer::updateFavCharacterList | ( | const OUString & | sTitle, |
const OUString & | rFont | ||
) |
Definition at line 328 of file charmapcontrol.cxx.
References comphelper::ConfigurationChanges::create(), getFavChar(), i, m_aFavCharFontList, and m_aFavCharList.
void SfxCharmapContainer::updateFavCharControl | ( | ) |
Definition at line 165 of file charmapcontrol.cxx.
References Link< typename Arg, typename Ret >::Call(), SvxCharView::GetFont(), weld::CustomWidgetController::Hide(), i, m_aFavCharFontList, m_aFavCharList, m_aFavCharView, m_aUpdateFavHdl, vcl::Font::SetFamilyName(), SvxCharView::SetFont(), SvxCharView::SetText(), and weld::CustomWidgetController::Show().
Referenced by init().
void SfxCharmapContainer::updateRecentCharacterList | ( | const OUString & | sTitle, |
const OUString & | rFont | ||
) |
Definition at line 290 of file charmapcontrol.cxx.
References comphelper::ConfigurationChanges::create(), getRecentChar(), i, m_aRecentCharFontList, m_aRecentCharList, and updateRecentCharControl().
void SfxCharmapContainer::updateRecentCharControl | ( | ) |
Definition at line 265 of file charmapcontrol.cxx.
References Link< typename Arg, typename Ret >::Call(), SvxCharView::GetFont(), weld::CustomWidgetController::Hide(), i, m_aRecentCharFontList, m_aRecentCharList, m_aRecentCharView, m_aUpdateRecentHdl, vcl::Font::SetFamilyName(), SvxCharView::SetFont(), SvxCharView::SetText(), and weld::CustomWidgetController::Show().
Referenced by init(), and updateRecentCharacterList().
|
private |
Definition at line 76 of file charwin.hxx.
Referenced by deleteFavCharacterFromList(), getFavChar(), getFavCharacterList(), isFavChar(), updateFavCharacterList(), and updateFavCharControl().
|
private |
Definition at line 75 of file charwin.hxx.
Referenced by deleteFavCharacterFromList(), FavCharListIsFull(), getFavChar(), getFavCharacterList(), isFavChar(), updateFavCharacterList(), and updateFavCharControl().
|
private |
Definition at line 79 of file charwin.hxx.
Referenced by GrabFocusToFirstFavorite(), init(), SfxCharmapContainer(), and updateFavCharControl().
|
private |
Definition at line 74 of file charwin.hxx.
Referenced by getRecentChar(), getRecentCharacterList(), updateRecentCharacterList(), and updateRecentCharControl().
|
private |
Definition at line 73 of file charwin.hxx.
Referenced by getRecentChar(), getRecentCharacterList(), hasRecentChars(), updateRecentCharacterList(), and updateRecentCharControl().
|
private |
Definition at line 78 of file charwin.hxx.
Referenced by init(), SfxCharmapContainer(), and updateRecentCharControl().
|
private |
Definition at line 86 of file charwin.hxx.
Referenced by init(), and updateFavCharControl().
|
private |
Definition at line 87 of file charwin.hxx.
Referenced by init(), and updateRecentCharControl().
|
private |
Definition at line 81 of file charwin.hxx.
|
private |
Definition at line 84 of file charwin.hxx.
Referenced by SfxCharmapContainer().
|
private |
Definition at line 80 of file charwin.hxx.
|
private |
Definition at line 83 of file charwin.hxx.
Referenced by SfxCharmapContainer().