LibreOffice Module starmath (master) 1
Public Member Functions | Public Attributes | List of all members
SmColorTokenTableEntry Struct Reference

#include <token.hxx>

Collaboration diagram for SmColorTokenTableEntry:
[legend]

Public Member Functions

 SmColorTokenTableEntry ()
 
 SmColorTokenTableEntry (const SmColorTokenTableEntry *amColorTokenTableEntry)
 
 SmColorTokenTableEntry (const std::unique_ptr< SmColorTokenTableEntry > amColorTokenTableEntry)
 
 SmColorTokenTableEntry (OUString name, SmTokenType ctype, Color ncolor)
 
 SmColorTokenTableEntry (OUString name, SmTokenType ctype, sal_uInt32 ncolor)
 
bool equals (std::u16string_view colorname) const
 
bool equals (sal_uInt32 colorcode) const
 
bool equals (Color colorcode) const
 

Public Attributes

OUString aIdent
 
SmTokenType eType
 
Color cColor
 

Detailed Description

Definition at line 160 of file token.hxx.

Constructor & Destructor Documentation

◆ SmColorTokenTableEntry() [1/5]

SmColorTokenTableEntry::SmColorTokenTableEntry ( )
inline

Definition at line 166 of file token.hxx.

◆ SmColorTokenTableEntry() [2/5]

SmColorTokenTableEntry::SmColorTokenTableEntry ( const SmColorTokenTableEntry amColorTokenTableEntry)
inline

Definition at line 172 of file token.hxx.

◆ SmColorTokenTableEntry() [3/5]

SmColorTokenTableEntry::SmColorTokenTableEntry ( const std::unique_ptr< SmColorTokenTableEntry amColorTokenTableEntry)
inline

Definition at line 179 of file token.hxx.

◆ SmColorTokenTableEntry() [4/5]

SmColorTokenTableEntry::SmColorTokenTableEntry ( OUString  name,
SmTokenType  ctype,
Color  ncolor 
)
inline

Definition at line 186 of file token.hxx.

References name.

◆ SmColorTokenTableEntry() [5/5]

SmColorTokenTableEntry::SmColorTokenTableEntry ( OUString  name,
SmTokenType  ctype,
sal_uInt32  ncolor 
)
inline

Definition at line 193 of file token.hxx.

References ColorTransparency, and name.

Member Function Documentation

◆ equals() [1/3]

bool SmColorTokenTableEntry::equals ( Color  colorcode) const
inline

Definition at line 207 of file token.hxx.

References cColor.

◆ equals() [2/3]

bool SmColorTokenTableEntry::equals ( sal_uInt32  colorcode) const
inline

Definition at line 205 of file token.hxx.

References cColor.

◆ equals() [3/3]

bool SmColorTokenTableEntry::equals ( std::u16string_view  colorname) const
inline

Definition at line 200 of file token.hxx.

References aIdent, and o3tl::compareToIgnoreAsciiCase().

Member Data Documentation

◆ aIdent

OUString SmColorTokenTableEntry::aIdent

Definition at line 162 of file token.hxx.

Referenced by equals(), SmXMLExport::ExportFont(), and SmMLExport::exportMlAttributes().

◆ cColor

Color SmColorTokenTableEntry::cColor

Definition at line 164 of file token.hxx.

Referenced by equals(), and SmToken::operator=().

◆ eType

SmTokenType SmColorTokenTableEntry::eType

Definition at line 163 of file token.hxx.

Referenced by SmToken::operator=().


The documentation for this struct was generated from the following file: