LibreOffice Module starmath (master) 1
Public Member Functions | Private Attributes | List of all members
SmSym Class Reference

#include <symbol.hxx>

Collaboration diagram for SmSym:
[legend]

Public Member Functions

 SmSym ()
 
 SmSym (const OUString &rName, const vcl::Font &rFont, sal_UCS4 cChar, const OUString &rSet, bool bIsPredefined=false)
 
 SmSym (const SmSym &rSymbol)
 
SmSymoperator= (const SmSym &rSymbol)
 
const vcl::FontGetFace () const
 
sal_UCS4 GetCharacter () const
 
const OUString & GetName () const
 
bool IsPredefined () const
 
const OUString & GetSymbolSetName () const
 
const OUString & GetExportName () const
 
void SetExportName (const OUString &rName)
 
bool IsEqualInUI (const SmSym &rSymbol) const
 

Private Attributes

SmFace m_aFace
 
OUString m_aName
 
OUString m_aExportName
 
OUString m_aSetName
 
sal_UCS4 m_cChar
 
bool m_bPredefined
 

Detailed Description

Definition at line 36 of file symbol.hxx.

Constructor & Destructor Documentation

◆ SmSym() [1/3]

SmSym::SmSym ( )

◆ SmSym() [2/3]

SmSym::SmSym ( const OUString &  rName,
const vcl::Font rFont,
sal_UCS4  cChar,
const OUString &  rSet,
bool  bIsPredefined = false 
)

◆ SmSym() [3/3]

SmSym::SmSym ( const SmSym rSymbol)

Definition at line 40 of file symbol.cxx.

Member Function Documentation

◆ GetCharacter()

sal_UCS4 SmSym::GetCharacter ( ) const
inline

◆ GetExportName()

const OUString & SmSym::GetExportName ( ) const
inline

Definition at line 60 of file symbol.hxx.

References m_aExportName.

◆ GetFace()

const vcl::Font & SmSym::GetFace ( ) const
inline

◆ GetName()

const OUString & SmSym::GetName ( ) const
inline

◆ GetSymbolSetName()

const OUString & SmSym::GetSymbolSetName ( ) const
inline

Definition at line 59 of file symbol.hxx.

References m_aSetName.

Referenced by SmSymbolManager::AddOrReplaceSymbol(), IMPL_LINK(), and lcl_IsFromGreekSymbolSet().

◆ IsEqualInUI()

bool SmSym::IsEqualInUI ( const SmSym rSymbol) const

Definition at line 76 of file symbol.cxx.

References m_aFace, m_aName, and m_cChar.

Referenced by SmSymbolManager::AddOrReplaceSymbol().

◆ IsPredefined()

bool SmSym::IsPredefined ( ) const
inline

Definition at line 58 of file symbol.hxx.

References m_bPredefined.

◆ operator=()

SmSym & SmSym::operator= ( const SmSym rSymbol)

Definition at line 61 of file symbol.cxx.

References m_aExportName, m_aFace, m_aName, m_aSetName, m_bPredefined, m_cChar, and SM_MOD.

◆ SetExportName()

void SmSym::SetExportName ( const OUString &  rName)
inline

Definition at line 61 of file symbol.hxx.

References m_aExportName.

Referenced by SmModel::_setPropertyValues(), and SmMathConfig::ReadSymbol().

Member Data Documentation

◆ m_aExportName

OUString SmSym::m_aExportName
private

Definition at line 41 of file symbol.hxx.

Referenced by GetExportName(), operator=(), SetExportName(), and SmSym().

◆ m_aFace

SmFace SmSym::m_aFace
private

Definition at line 39 of file symbol.hxx.

Referenced by GetFace(), IsEqualInUI(), operator=(), and SmSym().

◆ m_aName

OUString SmSym::m_aName
private

Definition at line 40 of file symbol.hxx.

Referenced by GetName(), IsEqualInUI(), operator=(), and SmSym().

◆ m_aSetName

OUString SmSym::m_aSetName
private

Definition at line 42 of file symbol.hxx.

Referenced by GetSymbolSetName(), operator=(), and SmSym().

◆ m_bPredefined

bool SmSym::m_bPredefined
private

Definition at line 44 of file symbol.hxx.

Referenced by IsPredefined(), operator=(), and SmSym().

◆ m_cChar

sal_UCS4 SmSym::m_cChar
private

Definition at line 43 of file symbol.hxx.

Referenced by GetCharacter(), IsEqualInUI(), operator=(), and SmSym().


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