InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IArticleChildList.h
1 //========================================================================================
2 //
3 // ADOBE CONFIDENTIAL
4 //
5 // $File$
6 //
7 // Owner: Paresh Goel
8 //
9 // $Author$
10 //
11 // $DateTime$
12 //
13 // $Revision$
14 //
15 // $Change$
16 //
17 // Copyright 2010 Adobe Systems Incorporated
18 // All Rights Reserved.
19 //
20 // NOTICE: All information contained herein is, and remains
21 // the property of Adobe Systems Incorporated and its suppliers,
22 // if any. The intellectual and technical concepts contained
23 // herein are proprietary to Adobe Systems Incorporated and its
24 // suppliers and are protected by trade secret or copyright law.
25 // Dissemination of this information or reproduction of this material
26 // is strictly forbidden unless prior written permission is obtained
27 // from Adobe Systems Incorporated.
28 //
29 //========================================================================================
30 
31 
32 #ifndef __IARTICLECHILDLIST__
33 #define __IARTICLECHILDLIST__
34 
35 #include "IPMUnknown.h"
36 #include "ArticleID.h"
37 
42 {
43 public:
44  enum { kDefaultIID = IID_IARTICLECHILDLIST };
45 
48  virtual int32 CountChildren() const = 0 ;
49 
54  virtual void AddChild(UID childUID, int32 pos = -1) = 0 ;
55 
59  virtual void RemoveChild(UID childUID) = 0 ;
60 
64  virtual void RemoveNthChild(int32 pos) = 0 ;
65 
68  virtual void RemoveAllChildren() = 0 ;
69 
74  virtual UID GetNthChildUID(int32 pos) const = 0 ;
75 
80  virtual int32 GetChildPosition(UID childUID) const = 0 ;
81 };
82 
83 #endif // __IARTICLECHILDLIST__