InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IConditionTagSet.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Kevin Van Wiel
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 __ICONDITIONTAGSET__
25 #define __ICONDITIONTAGSET__
26 
27 #include "IPMUnknown.h"
28 #include "IConditionalTextFacade.h"
29 
30 #include "ConditionalTextID.h"
31 
32 #include <vector>
33 
34 class IDataBase;
35 class WideString;
36 
37 using namespace Facade;
38 
47 {
48 public:
49  enum { kDefaultIID = IID_ICONDITIONTAGSET };
50 
55  virtual ErrorCode SetName(const WideString &name) = 0;
56 
61  virtual ErrorCode GetName(WideString &name) = 0;
62 
68  virtual ErrorCode SetConditionList(const IConditionalTextFacade::ConditionSetElementList &conditions) = 0;
69 
74  virtual ErrorCode SetConditionList(const UIDList &conditions) = 0;
75 
81  virtual ErrorCode GetConditionList(IConditionalTextFacade::ConditionSetElementList &conditions) = 0;
82 
87  virtual ErrorCode RemoveCondition(UID conditionUID) = 0;
88 
94  virtual ErrorCode AddCondition(const IConditionalTextFacade::ConditionSetElement &condition) = 0;
95 };
96 
97 #endif // __ICONDITIONTAGSET__