InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IObjStylesAttrCategoriesList.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Danielle Darling
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 // Adobe Patent or Adobe Patent Pending Invention Included Within this File
24 //
25 //========================================================================================
26 
27 #ifndef _IOBJSTYLESATTRCATEGORIESLIST_
28 #define _IOBJSTYLESATTRCATEGORIESLIST_
29 
30 // ----- Interface files -----
31 
32 #include "IPMUnknown.h"
33 
34 // ----- ID files -----
35 
36 #include "GenericID.h"
37 
38 //
39 // Adobe patent application tracking #B098,
40 // entitled Design a flexible and extensible way to implement object style,
41 // inventors: Danielle Darling, Yeming Liu
42 //
43 
47 {
48  public:
49  enum { kDefaultIID = IID_IOBJSTYLESATTRCATEGORIESLIST };
50 
54  virtual const K2Vector<ClassID>& GetApplyCategories() const = 0;
55 
59  virtual void SetApplyCategories(const K2Vector<ClassID>& category) = 0;
60 
64  virtual void AddCategory(ClassID classID) = 0;
65 
69  virtual void RemoveCategory(ClassID classID) = 0;
70 
74  virtual bool16 SupportsCategory(ClassID classID) const = 0;
75 
78  virtual void Clear() = 0;
79 };
80 
81 #endif // _IOBJSTYLESATTRCATEGORIESLIST_