InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightObjectModelUtils.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Matt Phillips
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 
25 #include "IPMUnknown.h"
26 #include "PackageAndPreflightID.h"
27 #include "PreflightObjectID.h"
28 #include "Utils.h"
29 #include "TableTypes.h"
30 
31 class IDocument;
32 class ISpread;
33 class IShape;
34 
48 {
49 public:
50  enum { kDefaultIID = IID_IPREFLIGHTOBJECTMODELUTILS };
51 
52 public:
53 
60  virtual PreflightObjectID GetDocumentObject(const IDocument* iDoc) const = 0;
61 
68  virtual PreflightObjectID GetSpreadObject(const ISpread* iSpread) const = 0;
69 
77  virtual PreflightObjectID GetShapeObject(const IShape* iShape) const = 0;
78 
88  (
89  const UIDRef& textModelRef,
90  TextIndex start,
91  int32 span
92  ) const = 0;
93 
102  (
103  const UIDRef& textModelRef,
104  TextIndex start
105  ) const = 0;
106 
117  (
118  const UIDRef& textModelRef,
119  TextIndex start,
120  ClassID adornmentID
121  ) const = 0;
122 
132  (
133  const UIDRef& textModelRef,
134  TextIndex index
135  ) const = 0;
136 
147  (
148  const UIDRef& tableModelRef,
149  const UIDRef& tableFrameRef,
150  const GridArea& area
151  ) const = 0;
152 
160  virtual PreflightObjectID GetSpellCheckStateObject(const IDocument* iDoc) const = 0;
161 
168  virtual PreflightObjectID GetTrackedChangeStateObject(const IDocument* iDoc) const = 0;
169 };
170 
171 
172