200 bool equals(std::u16string_view colorname)
const
205 bool equals(sal_uInt32 colorcode)
const {
return colorcode ==
static_cast<sal_uInt32
>(
cColor); }
229 sal_uInt16 nTokenLevel = 0)
260 cMathChar = OUString::number(
static_cast<sal_uInt32
>(aTokenTableEntry.
cColor), 16);
269 cMathChar = OUString::number(
static_cast<sal_uInt32
>(aTokenTableEntry->
cColor), 16);
274 void operator=(
const std::unique_ptr<SmColorTokenTableEntry>& aTokenTableEntry)
277 eType = aTokenTableEntry->eType;
278 cMathChar = OUString::number(
static_cast<sal_uInt32
>(aTokenTableEntry->cColor), 16);
int compareToIgnoreAsciiCase(std::u16string_view s1, std::u16string_view s2)
SmColorTokenTableEntry(const SmColorTokenTableEntry *amColorTokenTableEntry)
bool equals(std::u16string_view colorname) const
bool equals(Color colorcode) const
bool equals(sal_uInt32 colorcode) const
SmColorTokenTableEntry(OUString name, SmTokenType ctype, Color ncolor)
SmColorTokenTableEntry(const std::unique_ptr< SmColorTokenTableEntry > amColorTokenTableEntry)
SmColorTokenTableEntry(OUString name, SmTokenType ctype, sal_uInt32 ncolor)
void operator=(const SmTokenTableEntry *aTokenTableEntry)
void operator=(const std::unique_ptr< SmColorTokenTableEntry > &aTokenTableEntry)
SmToken(SmTokenType eTokenType, sal_Unicode cMath, OUString rText, TG nTokenGroup=TG::NONE, sal_uInt16 nTokenLevel=0)
void operator=(const SmTokenTableEntry &aTokenTableEntry)
void operator=(const SmColorTokenTableEntry *aTokenTableEntry)
void setChar(sal_Unicode cChar)
void operator=(const SmColorTokenTableEntry &aTokenTableEntry)
TG
The tokens contain the information gathered by the parser.