InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
BasePanelSAXHandler.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Burnard
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2010 Adobe Systems Incorporated. All rights reserved.
16 //
17 // NOTICE: Adobe permits you to use, modify, and distribute this file in accordance
18 // with the terms of the Adobe license agreement accompanying it. If you have received
19 // this file from a source other than Adobe, then your use, modification, or
20 // distribution of it requires the prior written permission of Adobe.
21 //
22 //========================================================================================
23 
24 #ifndef __BasePanelSAXHandler__
25 #define __BasePanelSAXHandler__
26 
27 #include "CSAXContentHandler.h"
28 #include "PaletteRef.h"
29 
30 class IControlView;
31 class ISAXServices;
32 
33 #ifdef WIDGET_BUILD
34 #endif
35 
50 {
52 
53 public:
55  virtual ~BasePanelSAXHandler();
56 
58  virtual void Register(ISAXServices* saxServices, IPMUnknown *importer);
59 
61  virtual void StartElement(const WideString& uri, const WideString& localname, const WideString& qname, ISAXAttributes* attrs) = 0;
62 
64  virtual void EndElement(const WideString& uri, const WideString& localname, const WideString& qname);
65 
67  virtual bool16 HandlesSubElements() const;
68 
69 protected:
70 
71  ISAXServices* fSAXServices;
72 };
73 
74 
75 #endif //BasePaletteSAXHandler