27 #ifndef _CEGUIFont_xmlHandler_h_
28 #define _CEGUIFont_xmlHandler_h_
30 #include "CEGUI/XMLHandler.h"
31 #include "CEGUI/String.h"
37 class CEGUIEXPORT Font_xmlHandler :
public XMLHandler
41 static const String FontSchemaName;
43 static const String FontElement;
45 static const String MappingElement;
47 static const String FontTypeAttribute;
49 static const String FontNameAttribute;
51 static const String FontFilenameAttribute;
53 static const String FontResourceGroupAttribute;
55 static const String FontAutoScaledAttribute;
57 static const String FontNativeHorzResAttribute;
59 static const String FontNativeVertResAttribute;
61 static const String FontLineSpacingAttribute;
63 static const String FontSizeAttribute;
65 static const String FontAntiAliasedAttribute;
67 static const String MappingCodepointAttribute;
69 static const String MappingImageAttribute;
71 static const String MappingHorzAdvanceAttribute;
73 static const String FontVersionAttribute;
75 static const String FontTypeFreeType;
77 static const String FontTypePixmap;
86 const String& getObjectName()
const;
92 const String& getSchemaName()
const;
93 const String& getDefaultResourceGroup()
const;
96 void elementEnd(
const String& element);
102 void elementFontEnd();
116 mutable bool d_objectRead;