LibreOffice Module starmath (master) 1
|
#include <ElementsDockingWindow.hxx>
Public Member Functions | |
SmElementsControl (std::unique_ptr< weld::IconView > pIconView) | |
~SmElementsControl () | |
void | setElementSetIndex (int nSetIndex) |
void | setSmSyntaxVersion (sal_uInt16 nSmSyntaxVersion) |
void | SetSelectHdl (const Link< OUString, void > &rLink) |
Static Public Member Functions | |
static const std::vector< TranslateId > & | categories () |
static Color | GetTextColor () |
static Color | GetControlBackground () |
Private Member Functions | |
void | addElement (const OUString &aElementVisual, const OUString &aElementSource, const OUString &aHelpText) |
void | addElements (int nCategory) |
void | build () |
DECL_LINK (QueryTooltipHandler, const weld::TreeIter &, OUString) | |
DECL_LINK (ElementActivatedHandler, weld::IconView &, bool) | |
Static Private Member Functions | |
static OUString | GetElementSource (const OUString &itemId) |
static OUString | GetElementHelpText (const OUString &itemId) |
Private Attributes | |
std::unique_ptr< AbstractSmParser > | maParser |
SmDocShell * | mpDocShell |
SmFormat | maFormat |
int | mnCurrentSetIndex |
sal_uInt16 | m_nSmSyntaxVersion |
std::vector< std::unique_ptr< ElementData > > | maItemDatas |
std::unique_ptr< weld::IconView > | mpIconView |
Link< OUString, void > | maSelectHdlLink |
Definition at line 37 of file ElementsDockingWindow.hxx.
|
explicit |
Definition at line 466 of file ElementsDockingWindow.cxx.
References EMBEDDED_OBJECT, starmathdatabase::GetVersionSmParser(), LINK, m_nSmSyntaxVersion, maParser, and mpIconView.
SmElementsControl::~SmElementsControl | ( | ) |
Definition at line 479 of file ElementsDockingWindow.cxx.
References SfxObjectShell::DoClose(), and mpDocShell.
|
private |
Definition at line 527 of file ElementsDockingWindow.cxx.
References vcl::text::Default, Size::extendBy(), VclPtr< class reference_type >::get(), GetControlBackground(), GetTextColor(), LANGUAGE_ENGLISH, maFormat, maItemDatas, maParser, mpDocShell, mpIconView, SmMapUnit(), weld::toId(), and Size::Width().
Referenced by addElements().
|
private |
Definition at line 575 of file ElementsDockingWindow.cxx.
References addElement(), i, maItemDatas, o3tl::make_unsigned(), mpIconView, and SmResId().
Referenced by build().
|
private |
Definition at line 608 of file ElementsDockingWindow.cxx.
References addElements(), m_nSmSyntaxVersion, and mnCurrentSetIndex.
Referenced by setElementSetIndex(), and setSmSyntaxVersion().
|
static |
Definition at line 450 of file ElementsDockingWindow.cxx.
Referenced by sm::sidebar::SmElementsPanel::SmElementsPanel().
|
private |
|
private |
|
static |
Definition at line 490 of file ElementsDockingWindow.cxx.
References StyleSettings::GetFieldColor(), Application::GetSettings(), and AllSettings::GetStyleSettings().
Referenced by addElement().
|
staticprivate |
Definition at line 562 of file ElementsDockingWindow.cxx.
|
staticprivate |
Definition at line 557 of file ElementsDockingWindow.cxx.
|
static |
Definition at line 484 of file ElementsDockingWindow.cxx.
References StyleSettings::GetFieldTextColor(), Application::GetSettings(), and AllSettings::GetStyleSettings().
Referenced by addElement().
void SmElementsControl::setElementSetIndex | ( | int | nSetIndex | ) |
Definition at line 567 of file ElementsDockingWindow.cxx.
References build(), and mnCurrentSetIndex.
|
inline |
Definition at line 72 of file ElementsDockingWindow.hxx.
References maSelectHdlLink.
void SmElementsControl::setSmSyntaxVersion | ( | sal_uInt16 | nSmSyntaxVersion | ) |
Definition at line 621 of file ElementsDockingWindow.cxx.
References build(), starmathdatabase::GetVersionSmParser(), m_nSmSyntaxVersion, and maParser.
|
private |
Definition at line 44 of file ElementsDockingWindow.hxx.
Referenced by build(), setSmSyntaxVersion(), and SmElementsControl().
|
private |
Definition at line 42 of file ElementsDockingWindow.hxx.
Referenced by addElement().
|
private |
Definition at line 46 of file ElementsDockingWindow.hxx.
Referenced by addElement(), and addElements().
|
private |
Definition at line 39 of file ElementsDockingWindow.hxx.
Referenced by addElement(), setSmSyntaxVersion(), and SmElementsControl().
|
private |
Definition at line 49 of file ElementsDockingWindow.hxx.
Referenced by SetSelectHdl().
|
private |
Definition at line 43 of file ElementsDockingWindow.hxx.
Referenced by build(), and setElementSetIndex().
|
private |
Definition at line 41 of file ElementsDockingWindow.hxx.
Referenced by addElement(), and ~SmElementsControl().
|
private |
Definition at line 47 of file ElementsDockingWindow.hxx.
Referenced by addElement(), addElements(), and SmElementsControl().