InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGuideDataSuite.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Yeming Liu
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 __IGUIDEDATASUITE__
25 #define __IGUIDEDATASUITE__
26 
27 // ----- Interface files
28 
29 #include "IPMUnknown.h"
30 #include "IColorData.h"
31 #include "IGuideData.h"
32 
33 // ----- ID files
34 
35 #include "ShuksanID.h" // for IID_IGUIDEDATASUITE
36 
41 {
42  public:
43  enum { kDefaultIID = IID_IGUIDEDATASUITE };
44 
45  // ----- Abilities
46 
51  virtual bool16 AreGuidesSelected() const = 0;
52 
56  virtual void GetViewThreshold(K2Vector<PMReal>& thresholdList) = 0;
57 
61  virtual void GetColorUID(K2Vector<UID>& colorUIDList) = 0;
62 
66  virtual void GetType(K2Vector<IGuideData::GuideType>& typeList) = 0;
67 
71  virtual void GetGrowZone(K2Vector<PMReal>& growZoneList) = 0;
72 
73 
74  // ----- Execution
75 
80  virtual ErrorCode DeselectGuideUnderViewThreshold(PMReal viewTheshold) = 0;
81 
86  virtual ErrorCode DoSetColor(const UID& colorUID) = 0;
87 
92  virtual ErrorCode DoSetThreshold(const PMReal& viewTheshold) = 0;
93 
98  virtual ErrorCode DoSetType(IGuideData::GuideType type) = 0;
99 
104  virtual ErrorCode DoSetGrowZone(const PMReal& growZone) = 0;
105 };
106 
107 #endif // __IGUIDEDATASUITE__