20#ifndef INCLUDED_SFX2_INC_CHARWIN_HXX
21#define INCLUDED_SFX2_INC_CHARWIN_HXX
43 virtual void Resize()
override;
55 void SetText(
const OUString& rText );
56 OUString
const &
GetText()
const {
return m_sText; }
57 void SetHasInsert(
bool bInsert );
58 void InsertCharToDoc();
60 void createContextMenu(
const Point& rPosition);
68 void ContextMenuSelect(std::u16string_view rIdent);
80 std::unique_ptr<weld::CustomWeld> m_xRecentCharView[16];
81 std::unique_ptr<weld::CustomWeld> m_xFavCharView[16];
101 void getFavCharacterList();
102 void updateFavCharControl();
104 void getRecentCharacterList();
105 void updateRecentCharControl();
107 void updateRecentCharacterList(
const OUString& sTitle,
const OUString& rFont);
108 void updateFavCharacterList(
const OUString& sTitle,
const OUString& rFont);
109 void deleteFavCharacterFromList(std::u16string_view sTitle, std::u16string_view rFont);
111 bool isFavChar(std::u16string_view sTitle, std::u16string_view rFont);
112 bool hasRecentChars()
const;
114 bool FavCharListIsFull()
const;
116 void GrabFocusToFirstFavorite();
119 std::pair<std::deque<OUString>::const_iterator, std::deque<OUString>::const_iterator>
120 getRecentChar(std::u16string_view sTitle, std::u16string_view rFont)
const;
122 std::pair<std::deque<OUString>::const_iterator, std::deque<OUString>::const_iterator>
123 getFavChar(std::u16string_view sTitle, std::u16string_view rFont)
const;
std::unique_ptr< weld::Widget > m_xRecentGrid
DECL_DLLPRIVATE_LINK(RecentClearAllClickHdl, SvxCharView *, void)
std::deque< OUString > m_aFavCharList
DECL_DLLPRIVATE_LINK(FavClearAllClickHdl, SvxCharView *, void)
DECL_DLLPRIVATE_LINK(FavClearClickHdl, SvxCharView *, void)
std::deque< OUString > m_aFavCharFontList
std::unique_ptr< weld::Widget > m_xFavGrid
DECL_DLLPRIVATE_LINK(RecentClearClickHdl, SvxCharView *, void)
Link< void *, void > m_aUpdateFavHdl
std::deque< OUString > m_aRecentCharFontList
std::deque< OUString > m_aRecentCharList
Link< void *, void > m_aUpdateRecentHdl
Size get_preferred_size() const
vcl::Font const & GetFont() const
Link< SvxCharView *, void > maClearClickHdl
Link< SvxCharView *, void > maMouseClickHdl
VclPtr< VirtualDevice > mxVirDev
Link< SvxCharView *, void > maClearAllClickHdl
OUString const & GetText() const
virtual void SetText(const OUString &rStr) override
static void init(struct DocumentMetadataAccess_Impl &i_rImpl)
init Impl struct