28 #ifndef _CEGUIFalagard_xmlHandler_h_ 
   29 #define _CEGUIFalagard_xmlHandler_h_ 
   31 #include "../CEGUIChainedXMLHandler.h" 
   32 #include "../CEGUIcolour.h" 
   33 #include "CEGUIFalDimensions.h" 
   34 #include "../CEGUIWindow.h" 
   41     class WidgetLookManager;
 
   43     class WidgetComponent;
 
   46     class LayerSpecification;
 
   47     class SectionSpecification;
 
   48     class ImageryComponent;
 
   54     class PropertyLinkDefinition;
 
   92         typedef std::map<String, ElementStartHandler, String::FastLessCompare> ElementStartHandlerMap;
 
   94         typedef std::map<String, ElementEndHandler, String::FastLessCompare> ElementEndHandlerMap;
 
  100         static const String FalagardElement;            
 
  101         static const String WidgetLookElement;          
 
  102         static const String ChildElement;               
 
  103         static const String ImagerySectionElement;      
 
  104         static const String StateImageryElement;        
 
  105         static const String LayerElement;               
 
  106         static const String SectionElement;             
 
  107         static const String ImageryComponentElement;    
 
  108         static const String TextComponentElement;       
 
  109         static const String FrameComponentElement;      
 
  110         static const String AreaElement;                
 
  111         static const String ImageElement;               
 
  112         static const String ColoursElement;             
 
  113         static const String VertFormatElement;          
 
  114         static const String HorzFormatElement;          
 
  115         static const String VertAlignmentElement;       
 
  116         static const String HorzAlignmentElement;       
 
  117         static const String PropertyElement;            
 
  118                 static const String DimElement;                 
 
  119                 static const String UnifiedDimElement;          
 
  120         static const String AbsoluteDimElement;         
 
  121         static const String ImageDimElement;            
 
  122         static const String WidgetDimElement;           
 
  123         static const String FontDimElement;             
 
  124         static const String PropertyDimElement;         
 
  125         static const String TextElement;                
 
  126         static const String ColourPropertyElement;      
 
  127         static const String ColourRectPropertyElement;  
 
  128         static const String NamedAreaElement;           
 
  129         static const String PropertyDefinitionElement;  
 
  130         static const String PropertyLinkDefinitionElement;  
 
  131         static const String PropertyLinkTargetElement;  
 
  132         static const String DimOperatorElement;         
 
  133         static const String VertFormatPropertyElement;  
 
  134         static const String HorzFormatPropertyElement;  
 
  135         static const String AreaPropertyElement;        
 
  136         static const String ImagePropertyElement;       
 
  137         static const String TextPropertyElement;        
 
  138         static const String FontPropertyElement;        
 
  139         static const String ColourElement;              
 
  141         static const String TopLeftAttribute;           
 
  142         static const String TopRightAttribute;          
 
  143         static const String BottomLeftAttribute;        
 
  144         static const String BottomRightAttribute;       
 
  145         static const String ImagesetAttribute;          
 
  146         static const String ImageAttribute;             
 
  147         static const String TypeAttribute;              
 
  148         static const String NameAttribute;              
 
  149         static const String PriorityAttribute;          
 
  150         static const String SectionNameAttribute;       
 
  151         static const String NameSuffixAttribute;        
 
  152         static const String RendererAttribute;          
 
  153         static const String LookAttribute;              
 
  154         static const String ScaleAttribute;             
 
  155         static const String OffsetAttribute;            
 
  156         static const String ValueAttribute;             
 
  157         static const String DimensionAttribute;         
 
  158         static const String WidgetAttribute;            
 
  159         static const String StringAttribute;            
 
  160         static const String FontAttribute;              
 
  161         static const String InitialValueAttribute;      
 
  162         static const String ClippedAttribute;           
 
  163         static const String OperatorAttribute;          
 
  164         static const String PaddingAttribute;           
 
  165         static const String LayoutOnWriteAttribute;     
 
  166         static const String RedrawOnWriteAttribute;     
 
  167         static const String TargetPropertyAttribute;    
 
  168         static const String ControlPropertyAttribute;   
 
  169         static const String ColourAttribute;            
 
  170         static const String PropertyAttribute;          
 
  171         static const String ControlValueAttribute;      
 
  172         static const String ControlWidgetAttribute;   
 
  174         static const String HelpStringAttribute;
 
  184         void assignAreaDimension(
Dimension& dim);
 
  185         void assignColours(
const ColourRect& colours);
 
  191         void doBaseDimStart(
const BaseDim* dim);
 
  203         void elementWidgetLookStart(
const XMLAttributes& attributes);
 
  215         void elementImagerySectionStart(
const XMLAttributes& attributes);
 
  221         void elementStateImageryStart(
const XMLAttributes& attributes);
 
  239         void elementImageryComponentStart(
const XMLAttributes& attributes);
 
  245         void elementTextComponentStart(
const XMLAttributes& attributes);
 
  251         void elementFrameComponentStart(
const XMLAttributes& attributes);
 
  275         void elementVertFormatStart(
const XMLAttributes& attributes);
 
  281         void elementHorzFormatStart(
const XMLAttributes& attributes);
 
  287         void elementVertAlignmentStart(
const XMLAttributes& attributes);
 
  293         void elementHorzAlignmentStart(
const XMLAttributes& attributes);
 
  311         void elementUnifiedDimStart(
const XMLAttributes& attributes);
 
  317         void elementAbsoluteDimStart(
const XMLAttributes& attributes);
 
  341         void elementPropertyDimStart(
const XMLAttributes& attributes);
 
  353         void elementColourPropertyStart(
const XMLAttributes& attributes);
 
  359         void elementColourRectPropertyStart(
const XMLAttributes& attributes);
 
  371         void elementPropertyDefinitionStart(
const XMLAttributes& attributes);
 
  377         void elementPropertyLinkDefinitionStart(
const XMLAttributes& attributes);
 
  383         void elementDimOperatorStart(
const XMLAttributes& attributes);
 
  389         void elementVertFormatPropertyStart(
const XMLAttributes& attributes);
 
  395         void elementHorzFormatPropertyStart(
const XMLAttributes& attributes);
 
  401         void elementAreaPropertyStart(
const XMLAttributes& attributes);
 
  407         void elementImagePropertyStart(
const XMLAttributes& attributes);
 
  413         void elementTextPropertyStart(
const XMLAttributes& attributes);
 
  419         void elementFontPropertyStart(
const XMLAttributes& attributes);
 
  428         void elementPropertyLinkTargetStart(
const XMLAttributes& attributes);
 
  431         void elementAnimationDefinitionStart(
const XMLAttributes& attributes);
 
  437         void elementFalagardEnd();
 
  443         void elementWidgetLookEnd();
 
  449         void elementChildEnd();
 
  455         void elementImagerySectionEnd();
 
  461         void elementStateImageryEnd();
 
  467         void elementLayerEnd();
 
  473         void elementSectionEnd();
 
  479         void elementImageryComponentEnd();
 
  485         void elementTextComponentEnd();
 
  491         void elementFrameComponentEnd();
 
  497         void elementAreaEnd();
 
  503         void elementNamedAreaEnd();
 
  509         void elementAnyDimEnd();
 
  512         void elementPropertyLinkDefinitionEnd();
 
  518         void registerElementStartHandler(
const String& element, ElementStartHandler handler);
 
  524         void registerElementEndHandler(
const String& element, ElementEndHandler handler);
 
  535         ElementStartHandlerMap  d_startHandlersMap;
 
  536         ElementEndHandlerMap    d_endHandlersMap;
 
  552         std::vector<BaseDim*>    d_dimStack;
 
  560 #endif  // end of guard _CEGUIFalagard_xmlHandler_h_