InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IGraphicFrameData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lonnie Millett
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 __IGRAPHICFRAMEDATA__
25 #define __IGRAPHICFRAMEDATA__
26 
27 #include "IPMUnknown.h"
28 #include "PMRect.h"
29 #include "GraphicsID.h"
30 
31 class ICommand ;
33 
35 {
36 public:
37  enum { kDefaultIID = IID_IGRAPHICFRAMEDATA };
38 
42  virtual bool16 IsGraphicFrame() const = 0;
43 
47  virtual void SetGraphicFrame(bool16 isGraphicFrame) = 0;
48 
53  virtual bool16 HasContent() const = 0;
54 
59  virtual bool16 HasPlaceHolderContent() const = 0;
60 
65  virtual UID GetTextContentUID() const = 0;
66 
70  virtual UID GetMCTextFrameUID() const = 0;
71 
75  virtual IMultiColumnTextFrame* QueryMCTextFrame() const = 0;
76 
81  virtual bool16 IsSplitAllowed( const UIDRef* parent = nil ) const = 0 ;
82 
86  virtual bool16 IsCopyToCompoundPathAllowed() const = 0 ;
87 
91  virtual bool16 IsMakeCompoundPathAllowed() const = 0 ;
92 
96  virtual bool16 IsReleaseCompoundPathAllowed() const = 0 ;
97 
105  virtual ICommand* CreateSetupPartialCopyCommand( const UIDRef* parent = nil ) = 0 ;
106 
114  virtual ICommand* CreateCleanupPartialCopyCommand( const UIDRef* parent = nil ) = 0 ;
115 } ;
116 
117 #endif