InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IModifyTOCFormatInfoCmdData.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 // Comments: This interface is used to access the command data related to ModifyTOCFormatInfoCmd.
24 //
25 //========================================================================================
26 
27 #ifndef __IMODIFYTOCFORMATINFOCMDDATA__
28 #define __IMODIFYTOCFORMATINFOCMDDATA__
29 
30 #include "ICommand.h"
31 #include "TOCID.h"
32 
41 {
42  public:
43  enum { kDefaultIID = IID_IMODIFYTOCFORMATINFOCMDDATA };
44 
56  virtual void Set
57  (
58  const UIDRef& target,
59  const UIDRef& styleRef,
60  const PMString& styleName,
61  bool16 isParaStyle,
62  bool16 isRename,
63  const UIDRef& replaceUIDRef //manojg
64  ) = 0;
65 
71  virtual const UIDRef& GetTarget() const = 0;
72 
76  virtual void SetTarget(const UIDRef& target) = 0;
77 
82  virtual const UIDRef& GetStyleRef() const = 0;
83 
87  virtual void SetStyleRef(const UIDRef& styleRef) = 0;
88 
93  virtual const PMString& GetStyleName() const = 0;
94 
98  virtual void SetStyleName(const PMString& styleName) = 0;
99 
104  virtual const bool16& IsParaStyle() const = 0;
105 
109  virtual void SetParaStyleFlag(const bool16& paraStyleFlag) = 0;
110 
118  virtual const bool16& IsRename() const = 0;
119 
123  virtual void SetRenameFlag(const bool16& renameFlag) = 0;
124 
129  virtual const UIDRef& GetReplaceUIDRef() const = 0;
130 
134  virtual void SetReplaceUIDRef(const UIDRef& replaceUIDRef) = 0;
135 
141  virtual const ICommand::CommandState GetCmdState() const = 0;
142 
147  virtual void SetCmdState(const ICommand::CommandState state) = 0;
148 };
149 
150 #endif //__IMODIFYTOCFORMATINFOCMDDATA__