LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
SvxSearchCharSet Class Referencefinal

#include <searchcharmap.hxx>

Inheritance diagram for SvxSearchCharSet:
Collaboration diagram for SvxSearchCharSet:

Public Member Functions

 SvxSearchCharSet (std::unique_ptr< weld::ScrolledWindow > pScrolledWindow, const VclPtr< VirtualDevice > &rDevice)
virtual ~SvxSearchCharSet () override
virtual void RecalculateFont (vcl::RenderContext &rRenderContext) override
void SelectCharacter (const Subset *sub)
virtual sal_UCS4 GetSelectCharacter () const override
virtual svx::SvxShowCharSetItemImplGetItem (int _nPos) override
virtual int LastInView () const override
virtual void SelectIndex (int index, bool bFocus=false) override
void AppendCharToList (sal_UCS4 cChar)
void ClearPreviousData ()
virtual sal_Int32 getMaxCharCount () const override
- Public Member Functions inherited from SvxShowCharSet
 SvxShowCharSet (std::unique_ptr< weld::ScrolledWindow > pScrollArea, const VclPtr< VirtualDevice > &rVirDev)
virtual ~SvxShowCharSet () override
void SelectCharacter (sal_UCS4 cNew)
void createContextMenu ()
void SetDoubleClickHdl (const Link< SvxShowCharSet *, void > &rLink)
void SetSelectHdl (const Link< SvxShowCharSet *, void > &rHdl)
void SetHighlightHdl (const Link< SvxShowCharSet *, void > &rHdl)
void SetPreSelectHdl (const Link< SvxShowCharSet *, void > &rHdl)
void SetFavClickHdl (const Link< SvxShowCharSet *, void > &rHdl)
void SetFont (const vcl::Font &rFont)
vcl::Font const & GetFont () const
FontCharMapRef const & GetFontCharMap ()
bool isFavChar (const OUString &sTitle, const OUString &rFont)
void getFavCharacterList ()
void updateFavCharacterList (const OUString &rChar, const OUString &rFont)
int FirstInView () const
int PixelToMapIndex (const Point &) const
void OutputIndex (int index)
void DeSelect ()
bool IsSelected (sal_uInt16 _nPos) const
sal_uInt16 GetSelectIndexId () const
virtual void Show () override
virtual void Hide () override
uno::Reference< css::accessibility::XAccessible > getAccessibleParent () const
- Public Member Functions inherited from weld::CustomWidgetController
virtual void StyleUpdated ()
virtual bool Command (const CommandEvent &)
virtual tools::Rectangle GetFocusRect ()
virtual OUString RequestHelp (tools::Rectangle &)
virtual OUString GetHelpText () const
Size const & GetOutputSizePixel () const
void SetOutputSizePixel (const Size &rSize)
weld::DrawingAreaGetDrawingArea () const
void Invalidate ()
void Invalidate (const tools::Rectangle &rRect)
void GrabFocus ()
bool HasFocus () const
bool IsVisible () const
bool IsReallyVisible () const
bool IsEnabled () const
void Enable () const
void Disable () const
bool IsActive () const
int GetTextHeight () const
int GetTextWidth (const OUString &rText) const
OUString GetAccessibleName () const
OUString GetAccessibleDescription () const
void CaptureMouse ()
bool IsMouseCaptured () const
Point GetPointerPosPixel () const
void EnableRTL (bool bEnable)
bool IsRTLEnabled () const
void ReleaseMouse ()
void SetPointer (PointerStyle ePointerStyle)
void SetHelpId (const OString &rHelpId)
void SetAccessibleName (const OUString &rName)
void SetInputContext (const InputContext &rInputContext)
void SetCursorRect (const tools::Rectangle &rCursorRect, int nExtTextInputWidth)
virtual int GetSurroundingText (OUString &)
virtual bool DeleteSurroundingText (const Selection &)
css::uno::Reference< css::datatransfer::dnd::XDropTarget > GetDropTarget ()
css::uno::Reference< css::datatransfer::clipboard::XClipboard > GetClipboard () const
void SetDragDataTransferrable (rtl::Reference< TransferDataContainer > &rTransferrable, sal_uInt8 eDNDConstants)
virtual bool StartDrag ()
void set_size_request (int nWidth, int nHeight)
void queue_resize ()
 CustomWidgetController ()
virtual ~CustomWidgetController ()
 CustomWidgetController (CustomWidgetController const &)=default
 CustomWidgetController (CustomWidgetController &&)=default
CustomWidgetControlleroperator= (CustomWidgetController const &)=default
CustomWidgetControlleroperator= (CustomWidgetController &&)=default

Private Member Functions

virtual void DrawChars_Impl (vcl::RenderContext &rRenderContext, int n1, int n2) override
virtual void Paint (vcl::RenderContext &rRenderContext, const tools::Rectangle &rRect) override
virtual bool KeyInput (const KeyEvent &rKEvt) override

Private Attributes

sal_Int32 nCount
std::unordered_map< sal_Int32, sal_UCS4m_aItemList

Additional Inherited Members

- Static Public Member Functions inherited from SvxShowCharSet
static sal_uInt32 & getSelectedChar ()
static void CopyToClipboard (const OUString &str)
static sal_uInt16 GetRowPos (sal_uInt16 _nPos)
static sal_uInt16 GetColumnPos (sal_uInt16 _nPos)
- Static Public Member Functions inherited from weld::CustomWidgetController
static bool IsUpdateMode ()
- Protected Types inherited from SvxShowCharSet
typedef std::map< sal_Int32, std::shared_ptr< svx::SvxShowCharSetItem > > ItemsMap
- Protected Member Functions inherited from SvxShowCharSet
void InitSettings (vcl::RenderContext &rRenderContext)
Point MapIndexToPixel (int) const
 DECL_LINK (VscrollHdl, weld::ScrolledWindow &, void)
void ContextMenuSelect (std::string_view rIdent)
void init ()
tools::Rectangle getGridRectangle (const Point &rPointUL, const Size &rOutputSize) const
- Protected Attributes inherited from SvxShowCharSet
VclPtr< VirtualDevicemxVirDev
vcl::Font maFont
std::unique_ptr< weld::ScrolledWindowmxScrollArea
ItemsMap m_aItems
Link< SvxShowCharSet *, voidaDoubleClkHdl
Link< SvxShowCharSet *, voidaSelectHdl
Link< SvxShowCharSet *, voidaFavClickHdl
Link< SvxShowCharSet *, voidaHighHdl
Link< SvxShowCharSet *, voidaPreSelectHdl
std::deque< OUString > maFavCharList
std::deque< OUString > maFavCharFontList
rtl::Reference< svx::SvxShowCharSetAccm_xAccessible
uno::Reference< uno::XComponentContext > mxContext
tools::Long nX
tools::Long nY
tools::Long m_nXGap
tools::Long m_nYGap
bool bDrag
sal_Int32 nSelectedIndex
FontCharMapRef mxFontCharMap
Size maFontSize
Point maPosition
bool mbRecalculateFont: 1
bool mbUpdateForeground: 1
bool mbUpdateBackground: 1

Detailed Description

Definition at line 37 of file searchcharmap.hxx.

Constructor & Destructor Documentation

SvxSearchCharSet::SvxSearchCharSet ( std::unique_ptr< weld::ScrolledWindow pScrolledWindow,
const VclPtr< VirtualDevice > &  rDevice 

Definition at line 39 of file searchcharmap.cxx.

References nCount.

SvxSearchCharSet::~SvxSearchCharSet ( )

Definition at line 388 of file searchcharmap.cxx.

Member Function Documentation

void SvxSearchCharSet::AppendCharToList ( sal_UCS4  cChar)

Definition at line 425 of file searchcharmap.cxx.

References m_aItemList, and nCount.

void SvxSearchCharSet::ClearPreviousData ( )
void SvxSearchCharSet::DrawChars_Impl ( vcl::RenderContext rRenderContext,
int  n1,
int  n2 
sal_Int32 SvxSearchCharSet::getMaxCharCount ( ) const

Reimplemented from SvxShowCharSet.

Definition at line 413 of file searchcharmap.cxx.

References nCount.

sal_UCS4 SvxSearchCharSet::GetSelectCharacter ( ) const

Reimplemented from SvxShowCharSet.

Definition at line 271 of file searchcharmap.cxx.

References m_aItemList, and SvxShowCharSet::nSelectedIndex.

svx::SvxShowCharSetItem * SvxSearchCharSet::ImplGetItem ( int  _nPos)
bool SvxSearchCharSet::KeyInput ( const KeyEvent rKEvt)
int SvxSearchCharSet::LastInView ( ) const

Reimplemented from SvxShowCharSet.

Definition at line 45 of file searchcharmap.cxx.

References COLUMN_COUNT, SvxShowCharSet::FirstInView(), nCount, nIndex, and ROW_COUNT.

Referenced by DrawChars_Impl(), Paint(), and SelectIndex().

void SvxSearchCharSet::Paint ( vcl::RenderContext rRenderContext,
const tools::Rectangle rRect 
void SvxSearchCharSet::RecalculateFont ( vcl::RenderContext rRenderContext)
void SvxSearchCharSet::SelectCharacter ( const Subset sub)
void SvxSearchCharSet::SelectIndex ( int  index,
bool  bFocus = false 

Member Data Documentation

std::unordered_map<sal_Int32, sal_UCS4> SvxSearchCharSet::m_aItemList
sal_Int32 SvxSearchCharSet::nCount

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