InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IBaseVisitor.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 __IBASEVISITOR__
25 #define __IBASEVISITOR__
26 
27 #include "IPMUnknown.h"
28 #include "IBaseHandler.h"
29 #include "IShape.h"
30 
31 #include "GraphicsID.h"
32 
33 class IDataBase;
34 class IBaseHandler;
35 class IVisitorHelper;
36 
106 class IBaseVisitor : public IPMUnknown
107 {
108  public:
109 
117  virtual bool16 InitVisitor(IDataBase* theDB, IBaseHandler* theHandler, bool16 bFinishChildren = kFalse) = 0;
118 
122  virtual IBaseHandler* GetHandler(void) const = 0;
123 
127  virtual bool16 GetFinishChildren(void) const = 0;
128 
134  virtual bool16 VisitChildren(IVisitorHelper* pVisitable) = 0;
135 
140  virtual bool16 VisitSpread(IVisitorHelper* pVisitable) = 0;
141 
146  virtual bool16 VisitSpreadLayer(IVisitorHelper* pVisitable) = 0;
147 
152  virtual bool16 VisitInlineItem(IVisitorHelper* pVisitable) = 0;
153 
158  virtual bool16 VisitSplineItem(IVisitorHelper* pVisitable) = 0;
159 
164  virtual bool16 VisitMultiColumnFrameItem(IVisitorHelper* pVisitable) = 0;
165 
170  virtual bool16 VisitFrameItem(IVisitorHelper* pVisitable) = 0;
171 
176  virtual bool16 VisitGroupItem(IVisitorHelper* pVisitable) = 0;
177 
182  virtual bool16 VisitGuideItem(IVisitorHelper* pVisitable) = 0;
183 
188  virtual bool16 VisitPage(IVisitorHelper* pVisitable) = 0;
189 
194  virtual bool16 VisitImageItem(IVisitorHelper* pVisitable) = 0;
195 
200  virtual bool16 VisitHTMLItem(IVisitorHelper* pVisitable) = 0;
201 
206  virtual bool16 VisitEPSTextItem(IVisitorHelper* pVisitable) = 0;
207 
212  virtual bool16 VisitEPSItem(IVisitorHelper* pVisitable) = 0;
213 
218  virtual bool16 VisitPICTItem(IVisitorHelper* pVisitable) = 0;
219 
224  virtual bool16 VisitWMFItem(IVisitorHelper* pVisitable) = 0;
225 
230  virtual bool16 VisitPDFItem(IVisitorHelper* pVisitable) = 0;
231 
236  virtual bool16 VisitTOPItem(IVisitorHelper* pVisitable) = 0;
237 
242  virtual bool16 VisitOwnedItem(IVisitorHelper* pVisitable) = 0;
243 
248  virtual bool16 VisitWaxAnchoredElementItem(IVisitorHelper* pVisitable) = 0;
249 
254  virtual bool16 VisitParcelItem(IVisitorHelper* pVisitable) = 0;
255 
260  virtual bool16 VisitUnknownItem(IVisitorHelper* pVisitable) = 0;
261 };
262 
263 
264 #endif