LibreOffice Module svx (master)
1
|
#include <searchcharmap.hxx>
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_UCS4 > | m_aItemList |
Definition at line 37 of file searchcharmap.hxx.
SvxSearchCharSet::SvxSearchCharSet | ( | std::unique_ptr< weld::ScrolledWindow > | pScrolledWindow, |
const VclPtr< VirtualDevice > & | rDevice | ||
) |
Definition at line 41 of file searchcharmap.cxx.
References nCount.
|
overridevirtual |
Definition at line 390 of file searchcharmap.cxx.
Definition at line 429 of file searchcharmap.cxx.
References m_aItemList, and nCount.
void SvxSearchCharSet::ClearPreviousData | ( | ) |
Definition at line 422 of file searchcharmap.cxx.
References weld::CustomWidgetController::Invalidate(), m_aItemList, and nCount.
|
overrideprivatevirtual |
Reimplemented from SvxShowCharSet.
Definition at line 153 of file searchcharmap.cxx.
References tools::Rectangle::Bottom(), COLUMN_COUNT, OutputDevice::DrawLine(), OutputDevice::DrawRect(), OutputDevice::DrawText(), SvxShowCharSet::FirstInView(), StyleSettings::GetFaceColor(), StyleSettings::GetFieldTextColor(), OutputDevice::GetFillColor(), SvxShowCharSet::getGridRectangle(), StyleSettings::GetHighlightColor(), StyleSettings::GetHighlightTextColor(), StyleSettings::GetLightColor(), OutputDevice::GetLineColor(), weld::CustomWidgetController::GetOutputSizePixel(), Application::GetSettings(), StyleSettings::GetShadowColor(), AllSettings::GetStyleSettings(), OutputDevice::GetTextBoundRect(), OutputDevice::GetTextColor(), OutputDevice::GetTextHeight(), OutputDevice::GetTextWidth(), tools::Rectangle::GetWidth(), weld::CustomWidgetController::HasFocus(), Size::Height(), i, tools::Rectangle::IsEmpty(), LastInView(), tools::Rectangle::Left(), m_aItemList, SvxShowCharSet::m_nXGap, SvxShowCharSet::m_nYGap, SvxShowCharSet::MapIndexToPixel(), SvxShowCharSet::nSelectedIndex, SvxShowCharSet::nX, SvxShowCharSet::nY, Point, tools::Rectangle::Right(), ROW_COUNT, OutputDevice::SetFillColor(), OutputDevice::SetLineColor(), OutputDevice::SetTextColor(), sName, tools::Rectangle::Top(), Size::Width(), x, and y.
Referenced by Paint().
|
overridevirtual |
Reimplemented from SvxShowCharSet.
Definition at line 417 of file searchcharmap.cxx.
References nCount.
|
overridevirtual |
Reimplemented from SvxShowCharSet.
Definition at line 273 of file searchcharmap.cxx.
References m_aItemList, and SvxShowCharSet::nSelectedIndex.
|
overridevirtual |
Reimplemented from SvxShowCharSet.
Definition at line 394 of file searchcharmap.cxx.
References m_aItemList, SvxShowCharSet::m_aItems, SvxShowCharSet::m_xAccessible, SvxShowCharSet::MapIndexToPixel(), SvxShowCharSet::nX, SvxShowCharSet::nY, and Point.
Referenced by SelectIndex().
|
overrideprivatevirtual |
Reimplemented from SvxShowCharSet.
Definition at line 57 of file searchcharmap.cxx.
References SvxShowCharSet::aPreSelectHdl, SvxShowCharSet::aSelectHdl, Link< class, class >::Call(), COLUMN_COUNT, vcl::KeyCode::GetCode(), KeyEvent::GetKeyCode(), vcl::KeyCode::GetModifier(), KEY_DOWN, KEY_END, KEY_ESCAPE, KEY_HOME, KEY_LEFT, KEY_PAGEDOWN, KEY_PAGEUP, KEY_RETURN, KEY_RIGHT, KEY_SPACE, KEY_TAB, KEY_UP, nCount, SvxShowCharSet::nSelectedIndex, ROW_COUNT, and SelectIndex().
|
overridevirtual |
Reimplemented from SvxShowCharSet.
Definition at line 47 of file searchcharmap.cxx.
References COLUMN_COUNT, SvxShowCharSet::FirstInView(), nCount, nIndex, and ROW_COUNT.
Referenced by DrawChars_Impl(), Paint(), and SelectIndex().
|
overrideprivatevirtual |
Reimplemented from SvxShowCharSet.
Definition at line 146 of file searchcharmap.cxx.
References DrawChars_Impl(), SvxShowCharSet::FirstInView(), SvxShowCharSet::InitSettings(), LastInView(), and RecalculateFont().
|
overridevirtual |
Reimplemented from SvxShowCharSet.
Definition at line 287 of file searchcharmap.cxx.
References ALIGN_TOP, COLUMN_COUNT, SvxShowCharSet::getFavCharacterList(), OutputDevice::GetFont(), OutputDevice::GetFontCharMap(), weld::CustomWidgetController::GetOutputSizePixel(), Size::Height(), SvxShowCharSet::m_nXGap, SvxShowCharSet::m_nYGap, SvxShowCharSet::maFontSize, SvxShowCharSet::mbRecalculateFont, SvxShowCharSet::mxFontCharMap, SvxShowCharSet::mxScrollArea, nCount, SvxShowCharSet::nX, SvxShowCharSet::nY, OutputDevice::PixelToLogic(), ROW_COUNT, vcl::Font::SetAlignment(), OutputDevice::SetFont(), vcl::Font::SetFontSize(), vcl::Font::SetTransparent(), vcl::Font::SetWeight(), WEIGHT_LIGHT, and Size::Width().
Referenced by Paint(), SelectCharacter(), and SelectIndex().
Definition at line 118 of file searchcharmap.cxx.
References SvxShowCharSet::aHighHdl, Link< class, class >::Call(), Subset::GetRangeMin(), weld::CustomWidgetController::Invalidate(), tools::SvRef< T >::is(), m_aItemList, SvxShowCharSet::mxFontCharMap, SvxShowCharSet::mxVirDev, RecalculateFont(), and SelectIndex().
Reimplemented from SvxShowCharSet.
Definition at line 320 of file searchcharmap.cxx.
References SvxShowCharSet::aHighHdl, Any, Link< class, class >::Call(), COLUMN_COUNT, SvxShowCharSet::FirstInView(), svx::SvxShowCharSetItem::GetAccessible(), ImplGetItem(), weld::CustomWidgetController::Invalidate(), tools::SvRef< T >::is(), LastInView(), SvxShowCharSet::m_xAccessible, svx::SvxShowCharSetItem::m_xItem, makeAny(), SvxShowCharSet::mxFontCharMap, SvxShowCharSet::mxScrollArea, SvxShowCharSet::mxVirDev, nCount, SvxShowCharSet::nSelectedIndex, and RecalculateFont().
Referenced by KeyInput(), and SelectCharacter().
|
private |
Definition at line 61 of file searchcharmap.hxx.
Referenced by AppendCharToList(), ClearPreviousData(), DrawChars_Impl(), GetSelectCharacter(), ImplGetItem(), and SelectCharacter().
|
private |
Definition at line 57 of file searchcharmap.hxx.
Referenced by AppendCharToList(), ClearPreviousData(), getMaxCharCount(), KeyInput(), LastInView(), RecalculateFont(), and SelectIndex().