InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IWRAttributeAccessor.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: prubini
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 // Usage rights licenced to Adobe Inc. 1993 - 2007.
24 //
25 //========================================================================================
26 
27 #ifndef __IWRAttributeAccessor__
28 #define __IWRAttributeAccessor__
29 
30 #include "IPMUnknown.h"
31 #include "WorldReadyID.h"
32 
33 class IDrawingStyle;
34 
35 #ifndef _WRDefines__
36 typedef int WRInt32;
37 #endif
38 #ifndef __WRAttributes__
39 typedef WRInt32 WRTag;
40 #endif
41 
43 {
44 public:
45  enum { kDefaultIID = IID_IWRATTRIBUTEACCESSOR };
46  //These functions return kTrue if the linguistic plug-in bringing the language is present (appears in the language list)
47  virtual WRTag GetOwnerTag(void) = 0;
48  virtual WRInt32 GetAttributeValue(WRTag ownerTag, WRTag attrTag, const IDrawingStyle* drawingStyle, void* data, WRInt32 len) = 0;
49 };
50 
51 #endif //__IWRAttributeAccessor__