InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IArticleList.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 #ifndef __IARTICLELIST__
32 #define __IARTICLELIST__
33 
34 #include "IPMUnknown.h"
35 #include "ArticleID.h"
36 
37 
41 class IArticleList : public IPMUnknown
42 {
43 public:
44  enum { kDefaultIID = IID_IARTICLELIST };
45 
50  virtual void AddArticle(UID articleUID, int32 pos = -1) = 0 ;
51 
55  virtual void RemoveArticle(UID articleUID) = 0 ;
56 
60  virtual void RemoveNthArticle(int32 pos) = 0 ;
61 
64  virtual void RemoveAllArticles() = 0 ;
65 
69  virtual int32 CountArticles() const = 0 ;
70 
75  virtual UID GetNthArticleUID(int32 pos) const = 0 ;
76 
81  virtual int32 GetArticlePosition(UID articleUID) const = 0 ;
82 };
83 
84 #endif // __IARTICLELIST__