virtual bool FindChildElement(std::string strElementName, bool fThrowError=true)
Finds a child element by name.
virtual float GetChildAttribFloat(std::string strAttribName, bool bThrowError=true, float fltDefault=0)
Gets a child attribute float.
bool m_bBold
true for bold font.
float m_fltSize
Size of the font.
virtual void AddChildElement(std::string strElementName)
Adds a child element to current element.
virtual bool GetChildAttribBool(std::string strAttribName, bool bThrowError=true, bool bDefault=false)
Gets a child attribute bool.
bool Std_InValidRange(int iMinVal, int iMaxVal, int iVal, bool bThrowError, std::string strParamName)
Tests whether a number is within a valid range.
bool m_bStrikethrough
true for Strikethrough font.
std::string m_strName
Name of the font.
virtual void SetChildAttrib(std::string strAttribName, std::string strVal)
Sets a child attribute.
bool m_bUnderline
true for Underline font.
virtual ~CStdFont()
Destructor.
A standard xml manipulation class.
float m_fltWeight
The weight of the font.
virtual void Save(CStdXml &oXml, std::string strParamName)
Saves the font.
bool m_bItalic
true for italic font.
Namespace for the standard utility objects.
virtual std::string GetChildAttribString(std::string strAttribName, bool bCanBeBlank=false, bool bThrowError=true, std::string strDefault="")
Gets a child attribute string.
CStdFont()
Default constructor.
virtual void Load(CStdXml &oXml, std::string strParamName, bool bThrowError=false)
Loads the font.