InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightResultNodeInfo.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 #include "IPMUnknown.h"
25 #include "PackageAndPreflightID.h"
26 #include "IPreflightResultNodeInfo.h"
27 
59 {
60 public:
61  enum { kDefaultIID = IID_IPREFLIGHTRESULTNODEINFO };
62 
63  typedef enum
64  {
67 
70 
73 
76 
81 
82  } NodeType;
83 
84 public:
85 
89  virtual NodeType GetType() const = 0;
90 
94  virtual PMString GetName() const = 0;
95 
104  virtual PMString GetDescription() const = 0;
105 
109  {
110  public:
111  DescriptionPair(const PMString& sLabel, const PMString& sValue) : fLabel(sLabel), fValue(sValue) {}
112  typedef object_type data_type;
113  PMString fLabel;
114  PMString fValue;
115  };
116 
120 
127  virtual void GetDescriptionPairs(DescriptionPairVector& pairs) const = 0;
128 
134  virtual PMString GetSortValue() const = 0;
135 
143  virtual WideString GetUniqueString() const = 0;
144 
145  typedef enum
146  {
149 
152 
157 
160 
165 
166  } GoToSupport;
167 
173  virtual GoToSupport GetGoToSupport(PMString* pFailStr = nil) const = 0;
174 
178  virtual bool DoGoTo() const = 0;
179 
183  virtual PMString GetPageNumber() const = 0;
184 };
185