27#ifndef _CEGUIFont_xmlHandler_h_
28#define _CEGUIFont_xmlHandler_h_
30#include "CEGUI/XMLHandler.h"
31#include "CEGUI/String.h"
102 void elementFontEnd();
116 mutable bool d_objectRead;
Handler class used to parse the Font XML files to create Font objects.
Definition Font_xmlHandler.h:38
static const String FontResourceGroupAttribute
Attribute name that stores the resource group of the font source.
Definition Font_xmlHandler.h:53
static const String FontTypeFreeType
Type name of FreeType fonts.
Definition Font_xmlHandler.h:75
static const String MappingImageAttribute
Attribute name that stores the image name for a mapping.
Definition Font_xmlHandler.h:69
static const String FontSchemaName
Filename of the XML schema used for validating Font files.
Definition Font_xmlHandler.h:41
static const String FontNameAttribute
Attribute name that stores the font name.
Definition Font_xmlHandler.h:49
static const String FontTypePixmap
Type name of Pixmap fonts.
Definition Font_xmlHandler.h:77
const String & getObjectName() const
Return string holding the name of the created Font.
void elementStart(const String &element, const XMLAttributes &attributes)
Method called to notify the handler at the start of each XML element encountered.
Font & getObject() const
Return reference to the created Font object.
static const String MappingHorzAdvanceAttribute
Attribute name that stores the horizontal advance value for a mapping.
Definition Font_xmlHandler.h:71
~Font_xmlHandler()
Destructor.
static const String FontVersionAttribute
Attribute specifying the datafile version.
Definition Font_xmlHandler.h:73
static const String MappingElement
Tag name for Mapping elements.
Definition Font_xmlHandler.h:45
static const String FontNativeVertResAttribute
Attribute name that stores the vertical native resolution.
Definition Font_xmlHandler.h:59
static const String FontAutoScaledAttribute
Attribute name that stores the auto-scaled setting.
Definition Font_xmlHandler.h:55
void elementEnd(const String &element)
Method called to notify the handler at the end of each XML element encountered.
static const String FontNativeHorzResAttribute
Attribute name that stores the horizontal native resolution.
Definition Font_xmlHandler.h:57
const String & getSchemaName() const
Retrieves the schema file name to use with resources handled by this handler.
static const String FontAntiAliasedAttribute
Attribute name that stores the font anti-aliasing setting.
Definition Font_xmlHandler.h:65
static const String FontTypeAttribute
Attribute name that stores the specific font type.
Definition Font_xmlHandler.h:47
const String & getDefaultResourceGroup() const
Retrieves the default resource group to be used when handling files.
static const String FontElement
Tag name for Font elements.
Definition Font_xmlHandler.h:43
static const String FontFilenameAttribute
Attribute name that stores the filename of the font source (font / imageset)
Definition Font_xmlHandler.h:51
static const String MappingCodepointAttribute
Attribute name that stores the codepoint value for a mapping.
Definition Font_xmlHandler.h:67
Font_xmlHandler()
Constructor.
static const String FontSizeAttribute
Attribute name that stores the font point size.
Definition Font_xmlHandler.h:63
static const String FontLineSpacingAttribute
Attribute name that stores the line height that we'll report for this font.
Definition Font_xmlHandler.h:61
Class that encapsulates a typeface.
Definition Font.h:62
String class used within the GUI system.
Definition String.h:64
base class for properties able to do native set/get
Definition TypedProperty.h:50
Class representing a block of attributes associated with an XML element.
Definition XMLAttributes.h:48
Definition XMLHandler.h:37
Main namespace for Crazy Eddie's GUI Library.
Definition arch_overview.dox:1