InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IXMLCreateElementCmdData.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: robin briggs
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 __IXMLCreateElementCmdData__
25 #define __IXMLCreateElementCmdData__
26 
27 #include "IPMUnknown.h"
28 #include "XMLID.h"
29 #include "XMLReference.h"
30 #include "TableTypes.h" // for GridID
31 
41 {
42 public:
43  enum { kDefaultIID = IID_IXMLCREATEELEMENTCMDDATA };
44 
52  virtual void Set(const WideString& tagToApply, UIDRef storyUIDRef, TextIndex startTextIndex, TextIndex endTextIndex, const XMLReference& parentXMLRef = kInvalidXMLReference) = 0;
53 
61  virtual void Set(UID tagToApply, UIDRef storyUIDRef, TextIndex startTextIndex, TextIndex endTextIndex, const XMLReference& parentXMLRef = kInvalidXMLReference) = 0;
62 
69  virtual void Set(const WideString& tagToApply, UID contentItem, const XMLReference& parentXMLRef, int32 indexInParent) = 0;
70 
77  virtual void Set(UID tagToApply, UID contentItem, const XMLReference& parentXMLRef, int32 indexInParent) = 0;
78 
79 
86  virtual void Set(const WideString& tagToApply, const UIDRef& table, GridID anchor, const GridSpan& span) = 0;
87 
94  virtual void Set(UID tagToApply, const UIDRef& table, GridID anchor, const GridSpan& span) = 0;
95 
96 
102  virtual void Set(const WideString& tagToApply, const UIDRef& tableModelUIDRef, GridID cellGridID) = 0;
103 
109  virtual void Set(UID tagToApply, const UIDRef& tableModelUIDRef, GridID cellGridID) = 0;
110 
111 
119  virtual void Set(const WideString& tagToApply, const XMLReference& parentXMLRef, int32 indexInParent) = 0;
120 
128  virtual void Set(UID tagToApply, const XMLReference& parentXMLRef, int32 indexInParent) = 0;
129 
140  virtual void Set(UID tagToApply, const UIDRef& storyUIDRef, UID contentItem, bool16 addToDocRefList) = 0;
141 
146  virtual const XMLReference& GetCreatedElement() const = 0;
147 
151  virtual void SetCreatedElement(const XMLReference& newItem) = 0;
152 
158  virtual bool16 UsedTableSet() const = 0;
159 
165  virtual bool16 UsedTextSet() const = 0;
166 
172  virtual bool16 UsedTableCellSet() const = 0;
173 
179  virtual bool16 UsedStructuralSet() const = 0;
180 
184  virtual void SetSetMethod(bool16 usedTextSet) = 0;
185 
190  virtual UID GetTag() const = 0;
191 
192 
197  virtual UIDRef GetStoryUIDRef() const = 0;
198 
202  virtual void SetStoryUIDRef(const UIDRef& storyUIDRef) = 0;
203 
208  virtual TextIndex GetStartTextIndex() const = 0;
209 
214  virtual TextIndex GetEndTextIndex() const = 0;
215 
220  virtual const UIDRef& GetTable() const = 0;
221 
226  virtual GridID GetAnchor() const = 0;
227 
232  virtual const GridSpan& GetSpan() const = 0;
233 
238  virtual void SetTextRange(TextIndex startTextIndex, TextIndex endTextIndex) = 0;
239 
244  virtual const XMLReference& GetParent() const = 0;
245 
249  virtual void SetParent(const XMLReference& parentXMLRef) = 0;
250 
254  virtual bool16 GetAddToDocRefList() const = 0;
255 
260  virtual int32 GetIndexInParent() const = 0;
261 
265  virtual void SetIndexInParent(int32 indexInParent) = 0;
266 
271  virtual UID GetContentItem() const = 0;
272 
276  virtual void SetContentItem(UID contentItemUID) = 0;
277 
282  virtual ClassID GetBossID() const = 0;
283 
287  virtual void SetBossID(ClassID bossID) = 0;
288 
293  virtual bool16 IsTextOnPathInline() const = 0;
294 
298  virtual void SetTextOnPathInline(bool16 isTOP) = 0;
299 
306  virtual bool16 DoInlineCheck() const = 0;
307 
311  virtual void SetDoInlineCheck(bool16 doInlineCheck) = 0;
312 
316  virtual bool16 DoForwardCalcXMLParent() const = 0;
317 
325  virtual void SetDoForwardCalcXMLParent(bool16 forwardCalcXMLParent) = 0;
326 
331  virtual bool16 UseExistingMarkers() const = 0;
332 
338  virtual void SetUseExistingMarkers(const bool16 shouldUse) = 0;
339 
340 };
341 
342 #endif // __IXMLCreateElementCmdData__