InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IConvertShapeCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Shengliu Dai
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 // Purpose:
24 // Data interface for changing the shape of page items in ConvertShapeCmd.cpp.
25 //
26 //========================================================================================
27 
28 #ifndef __IConvertShapeCmdData__
29 #define __IConvertShapeCmdData__
30 
31 #include "IConvertShapeSuite.h"
32 #include "SplineID.h"
33 
35 {
36 public:
37  enum {kDefaultIID = IID_ICONVERTSHAPECMDDATA};
38 
39 
51  virtual void Set(IConvertShapeSuite::ShapeType shapeType, const ClassID corner = kInvalidClass, const PMReal& cornerRadius = 12.0, const int32 numSides = 6, const int32 starInset = 0)=0;
52 
53 
58  virtual const IConvertShapeSuite::ShapeType GetShapeType() const = 0;
59 
64  virtual const ClassID GetCornerEffectClass() const = 0;
65 
70  virtual const PMReal& GetCornerRadius() const = 0;
71 
76  virtual const int32& GetNumSides() const = 0;
77 
82  virtual const int32& GetStarInset() const = 0;
83 
84 };
85 
86 
87 
88 #endif // __IConvertShapeCmdData__