InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IBaseHandler.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Rich Gartland
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 __IBASEHANDLER__
25 #define __IBASEHANDLER__
26 
27 #include "IPMUnknown.h"
28 #include "IShape.h"
29 
30 #include "GraphicsID.h"
31 
32 class GraphicsData;
33 class IShape;
34 class IBaseVisitor;
35 class IVisitorHelper;
36 
93 class IBaseHandler : public IPMUnknown
94 {
95  public:
101  virtual void InitHandler(GraphicsData* theGD, IShape* theShape) = 0;
102 
105  virtual void TerminateHandler(void) = 0;
106 
110  virtual const PMRect GetHandlerIntersectionRect(void) const = 0;
111 
115  virtual const GraphicsData* GetHandlerGraphicsDataPtr(void) const = 0;
116 
122  virtual bool16 HandleSpread(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
123 
129  virtual bool16 HandleSpreadLayer(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
130 
136  virtual bool16 HandleInlineItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
137 
143  virtual bool16 HandleSplineItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
144 
150  virtual bool16 HandleMultiColumnFrameItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
151 
157  virtual bool16 HandleFrameItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
158 
164  virtual bool16 HandleGroupItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
165 
171  virtual bool16 HandleGuideItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
172 
178  virtual bool16 HandlePage(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
179 
185  virtual bool16 HandleImageItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
186 
192  virtual bool16 HandleHTMLItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
193 
199  virtual bool16 HandleEPSTextItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
200 
206  virtual bool16 HandleEPSItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
207 
213  virtual bool16 HandlePICTItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
214 
220  virtual bool16 HandleWMFItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
221 
227  virtual bool16 HandlePDFItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
228 
234  virtual bool16 HandleTOPItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
235 
241  virtual bool16 HandleOwnedItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
242 
248  virtual bool16 HandleWaxAnchoredElementItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
249 
255  virtual bool16 HandleParcelItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
256 
262  virtual bool16 HandleUnknownItem(IVisitorHelper* pVisitable, IBaseVisitor* theVisitor) = 0;
263 };
264 
265 #endif