LibreOffice Module starmath (master) 1
|
#include <cfgitem.hxx>
Public Member Functions | |
SmFontFormatList () | |
void | Clear () |
void | AddFontFormat (const OUString &rFntFmtId, const SmFontFormat &rFntFmt) |
void | RemoveFontFormat (std::u16string_view rFntFmtId) |
const SmFontFormat * | GetFontFormat (std::u16string_view rFntFmtId) const |
const SmFontFormat * | GetFontFormat (size_t nPos) const |
OUString | GetFontFormatId (const SmFontFormat &rFntFmt) const |
OUString | GetFontFormatId (const SmFontFormat &rFntFmt, bool bAdd) |
OUString | GetFontFormatId (size_t nPos) const |
OUString | GetNewFontFormatId () const |
size_t | GetCount () const |
bool | IsModified () const |
void | SetModified (bool bVal) |
Private Member Functions | |
SmFontFormatList (const SmFontFormatList &)=delete | |
SmFontFormatList & | operator= (const SmFontFormatList &)=delete |
Private Attributes | |
std::vector< SmFntFmtListEntry > | aEntries |
bool | bModified |
Definition at line 70 of file cfgitem.hxx.
|
privatedelete |
SmFontFormatList::SmFontFormatList | ( | ) |
Definition at line 229 of file cfgitem.cxx.
void SmFontFormatList::AddFontFormat | ( | const OUString & | rFntFmtId, |
const SmFontFormat & | rFntFmt | ||
) |
Definition at line 245 of file cfgitem.cxx.
References aEntries, GetFontFormat(), and SetModified().
Referenced by GetFontFormatId().
void SmFontFormatList::Clear | ( | ) |
Definition at line 235 of file cfgitem.cxx.
References aEntries, and SetModified().
|
inline |
Definition at line 91 of file cfgitem.hxx.
References aEntries.
Referenced by GetNewFontFormatId(), SmMathConfig::SaveFontFormatList(), and SmMathConfig::StripFontFormatList().
const SmFontFormat * SmFontFormatList::GetFontFormat | ( | size_t | nPos | ) | const |
Definition at line 293 of file cfgitem.cxx.
const SmFontFormat * SmFontFormatList::GetFontFormat | ( | std::u16string_view | rFntFmtId | ) | const |
Definition at line 276 of file cfgitem.cxx.
References aEntries.
Referenced by AddFontFormat(), GetNewFontFormatId(), SmMathConfig::LoadFormat(), SmMathConfig::ReadSymbol(), SmMathConfig::SaveFontFormatList(), and SmMathConfig::StripFontFormatList().
OUString SmFontFormatList::GetFontFormatId | ( | const SmFontFormat & | rFntFmt | ) | const |
Definition at line 302 of file cfgitem.cxx.
References aEntries.
Referenced by GetFontFormatId(), SmMathConfig::SaveFontFormatList(), SmMathConfig::SaveFormat(), and SmMathConfig::StripFontFormatList().
OUString SmFontFormatList::GetFontFormatId | ( | const SmFontFormat & | rFntFmt, |
bool | bAdd | ||
) |
Definition at line 319 of file cfgitem.cxx.
References AddFontFormat(), GetFontFormatId(), and GetNewFontFormatId().
OUString SmFontFormatList::GetFontFormatId | ( | size_t | nPos | ) | const |
Definition at line 331 of file cfgitem.cxx.
OUString SmFontFormatList::GetNewFontFormatId | ( | ) | const |
Definition at line 340 of file cfgitem.cxx.
References GetCount(), GetFontFormat(), and i.
Referenced by GetFontFormatId().
|
inline |
Definition at line 93 of file cfgitem.hxx.
References bModified.
Referenced by SmMathConfig::SaveFontFormatList().
|
privatedelete |
void SmFontFormatList::RemoveFontFormat | ( | std::u16string_view | rFntFmtId | ) |
Definition at line 259 of file cfgitem.cxx.
References aEntries, i, and SetModified().
Referenced by SmMathConfig::StripFontFormatList().
|
inline |
Definition at line 94 of file cfgitem.hxx.
References bModified.
Referenced by AddFontFormat(), Clear(), RemoveFontFormat(), and SmMathConfig::SaveFontFormatList().
|
private |
Definition at line 72 of file cfgitem.hxx.
Referenced by AddFontFormat(), Clear(), GetCount(), GetFontFormat(), GetFontFormatId(), and RemoveFontFormat().
|
private |
Definition at line 73 of file cfgitem.hxx.
Referenced by IsModified(), and SetModified().