InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IPreflightResultNodeData.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 "IPreflightObject.h"
26 #include "IPMUnknown.h"
27 #include "PackageAndPreflightID.h"
28 #include "IPreflightRuleInfo.h"
29 #include "IPreflightResultNodeInfo.h"
30 
44 {
45 public:
46  enum { kDefaultIID = IID_IPREFLIGHTRESULTNODEDATA };
47 
48  typedef enum
49  {
50  kFieldRequired, // "Required: xxx"
51  kFieldProblem, // "Problem: xxx"
52  kFieldFix // "Fix: xxx"
53  } InfoField;
54 
55 public:
56 
59  virtual void SetObjectID(const PreflightObjectID& objID) = 0;
60 
63  virtual const PreflightObjectID& GetObjectID() const = 0;
64 
67  virtual void SetRootSortValue(const PreflightRuleID& ruleID) = 0;
68 
73  virtual void SetRootSortValue(const PMString& s) = 0;
74 
77  virtual void SetName(const PMString& name) = 0;
78 
81  virtual PMString GetName() const = 0;
82 
88  virtual PMString GetSortValue() const = 0;
89 
97  virtual WideString GetUniqueString() const = 0;
98 
103  virtual void AddInfoString(InfoField whichField, const PMString& s) = 0;
104 
109  virtual void AddInfoString(const PMString& fieldLabel, const PMString& s) = 0;
110 
113  virtual PMString GetInfoText() const = 0;
114 
119 
124 
129 
133  virtual PMString GetPageNumber() const = 0;
134 
138  virtual void SetPageNumber(const PMString& sPage) = 0;
139 };
140