InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IAnchoredObjectInsertData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Eric Menninga
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 __IANCHOREDOBJECTINSERTDATA__
25 #define __IANCHOREDOBJECTINSERTDATA__
26 
27 #include "IPMUnknown.h"
28 #include "TextID.h"
29 
30 
40 {
41 public:
42  enum { kDefaultIID = IID_IANCHOREDOBJECTINSERTDATA };
43 
45  typedef enum { kTextFrame, kGraphicFrame, kUnassignedFrame } AnchoredContent;
46 
48  enum { kCmdSelector_Content = 0x01, kCmdSelector_ObjectStyle = 0x02, kCmdSelector_ParaStyle = 0x04,
49  kCmdSelector_Height = 0x08, kCmdSelector_Width = 0x010 };
50 
59 
63  virtual void SetInitialObjectStyle(UID styleID) = 0;
67  virtual UID GetInitialObjectStyle() const = 0;
68 
72  virtual void SetInitialParagraphStyle(UID styleID) = 0;
76  virtual UID GetInitialParagraphStyle() const = 0;
77 
81  virtual void SetInitialWidth(PMReal w) = 0;
85  virtual PMReal GetInitialWidth() const = 0;
86 
90  virtual void SetInitialHeight(PMReal h) = 0;
94  virtual PMReal GetInitialHeight() const = 0;
95 
96 };
97 
98 #endif
99  // __IANCHOREDOBJECTINSERTDATA__
100 
101 
102 
103