InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
ISetContourWrapCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Dave Stephens
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 __ISetContourWrapCmdData__
25 #define __ISetContourWrapCmdData__
26 
27 #include "IPMUnknown.h"
28 
29 #include "IStandOffContourWrapSettings.h"
30 
31 #include "StandOffID.h"
32 
44 {
45 public:
46  enum { kDefaultIID = IID_ISETCONTOURWRAPCMDDATA };
47 
48  // pass the contour wrap settings and the pageItem for which the settings apply
49  virtual void Init(IStandOffContourWrapSettings::ContourWrapType type,
50  int16 pathOrAlphaIndex, // 0 based embbeded path or alpha channel index
51  PMReal Tolerance,
52  uint8 Threshold,
53  bool8 AllowHoles) = 0;
54 
55  // Accessor methods
56  virtual IStandOffContourWrapSettings::ContourWrapType GetType() const = 0;
57 
58  virtual int16 GetIndex() const = 0;
59 
60  virtual PMReal GetTolerance() const = 0;
61 
62  virtual uint8 GetThreshold() const = 0;
63 
64  virtual bool8 GetAllowHoles() const = 0;
65 };
66 
67 #endif // __ISetContourWrapCmdData__