19#ifndef INCLUDED_CUI_CUICHARMAP_HXX
20#define INCLUDED_CUI_CUICHARMAP_HXX
32#include <com/sun/star/frame/XFrame.hpp>
41#define CHARMAP_MAXLEN 32
45struct SvxShowCharSetItem;
59 virtual void Resize()
override;
67 void SetText(
const OUString& rText);
68 OUString
const&
GetText()
const {
return m_sText; }
85 css::uno::Reference<css::frame::XFrame>
m_xFrame;
137 void selectCharByCode(
Radix radix);
141 css::uno::Reference<css::frame::XFrame> xFrame);
142 virtual short run()
override;
148 void DisableFontSelection();
151 void SetCharFont(
const vcl::Font& rFont);
156 void insertCharToDoc(
const OUString& sChar);
158 void setFavButtonState(std::u16string_view sTitle, std::u16string_view rFont);
160 void setCharName(
sal_UCS4 nDecimalValue);
162 void toggleSearchView(
bool state);
Reference< XExecutableDialog > m_xDialog
FILE * init(int, char **)
The main purpose of this dialog is to enable the use of characters that are not easily accessible fro...
std::unique_ptr< SvxShowCharSet > m_xShowSet
DECL_DLLPRIVATE_LINK(InsertClickHdl, weld::Button &, void)
DECL_DLLPRIVATE_LINK(FavClickHdl, SvxShowCharSet *, void)
void set_title(const OUString &rTitle)
std::unique_ptr< weld::Label > m_xFontText
std::unique_ptr< weld::Entry > m_xDecimalCodeText
std::unique_ptr< weld::CustomWeld > m_xSearchSetArea
DECL_DLLPRIVATE_LINK(FavSelectHdl, weld::Button &, void)
DECL_DLLPRIVATE_LINK(SearchUpdateHdl, weld::Entry &, void)
ScopedVclPtr< VirtualDevice > m_xVirDev
DECL_DLLPRIVATE_LINK(CharPreSelectHdl, SvxShowCharSet *, void)
std::unique_ptr< weld::ComboBox > m_xFontLB
DECL_DLLPRIVATE_LINK(ReturnKeypressOnCharHdl, SvxShowCharSet *, void)
std::unique_ptr< weld::Entry > m_xHexCodeText
DECL_DLLPRIVATE_LINK(DecimalCodeChangeHdl, weld::Entry &, void)
DECL_DLLPRIVATE_LINK(CharSelectHdl, SvxShowCharSet *, void)
std::unique_ptr< weld::Label > m_xCharName
const vcl::Font & GetCharFont() const
std::unique_ptr< weld::CustomWeld > m_xShowChar
std::unique_ptr< const SubsetMap > pSubsetMap
std::unique_ptr< SvxSearchCharSet > m_xSearchSet
DECL_DLLPRIVATE_LINK(SubsetSelectHdl, weld::ComboBox &, void)
DECL_DLLPRIVATE_LINK(HexCodeChangeHdl, weld::Entry &, void)
std::unique_ptr< weld::ComboBox > m_xSubsetLB
std::unique_ptr< weld::Button > m_xOKBtn
std::unique_ptr< weld::CustomWeld > m_xShowSetArea
const SfxItemSet * GetOutputItemSet() const
DECL_DLLPRIVATE_LINK(FontSelectHdl, weld::ComboBox &, void)
SfxCharmapContainer m_aCharmapContents
css::uno::Reference< css::frame::XFrame > m_xFrame
std::unique_ptr< weld::Entry > m_xSearchText
DECL_DLLPRIVATE_LINK(SearchCharHighlightHdl, SvxShowCharSet *, void)
std::unique_ptr< weld::Button > m_xFavouritesBtn
std::unique_ptr< weld::Label > m_xSubsetText
DECL_DLLPRIVATE_LINK(CharClickHdl, SvxCharView *, void)
std::unique_ptr< SfxAllItemSet > m_xOutputSet
DECL_DLLPRIVATE_LINK(SearchFieldGetFocusHdl, weld::Widget &, void)
DECL_DLLPRIVATE_LINK(CharDoubleClickHdl, SvxShowCharSet *, void)
DECL_DLLPRIVATE_LINK(CharHighlightHdl, SvxShowCharSet *, void)
DECL_DLLPRIVATE_LINK(UpdateFavHdl, void *, void)
Provides the show characters or texts in a drawing area with special sizes and fonts.
Size get_preferred_size() const
ScopedVclPtr< VirtualDevice > m_xVirDev
vcl::Font const & GetFont() const
OUString const & GetText() const
void SetCentered(bool bCenter)
virtual void SetText(const OUString &rStr) override
def run(arg=None, arg2=-1)