InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
IDHAScriptingDefs.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Lea Savage
6 //
7 // $Author$
8 //
9 // $DateTime$
10 //
11 // $Revision$
12 //
13 // $Change$
14 //
15 // Copyright 1997-2008 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 
25 #ifndef __IDHAScriptingDefs_h__
26 #define __IDHAScriptingDefs_h__
27 
28 #define kCPrefs_CLSID { 0x8d448fe0, 0x8194, 0x11d3, { 0xa6, 0x53, 0x0, 0xe0, 0x98, 0x71, 0xa, 0x6f } }
29 DECLARE_GUID(CPrefs_CLSID, kCPrefs_CLSID);
30 
31 // Note: 4-char IDs below must be unique.
32 // See ScriptingDefs.h for further information.
33 
34 // Event IDs
35 enum IDHAScriptEvents
36 {
37  // Page Item Events
38  e_GeometryChangedEvent = 'geoC',
39  e_ContentChangedEvent = 'conC',
40  e_FormatChangedEvent = 'forC',
41 
42  // Layer Events
43  e_LayerCreatedEvent = 'lyCr',
44  e_LayerAddedEvent = 'lyAd',
45  e_LayerChangedEvent = 'lyCh',
46  e_LayerVisibleChangedEvent = 'lyVC',
47  e_LayerLockChangedEvent = 'lyLC',
48  e_LayerOrderChangedEvent = 'lyOC',
49 
50  // Style Events
51  e_StyleListChangedEvent = 'stLC',
52  e_ParaStyleListChangedEvent = 'HaPs',
53  e_CharStyleListChangedEvent = 'HaCs',
54  e_SpreadListChangedEvent = 'HaSl',
55  e_ObjectStyleListChangedEvent = 'obLC',
56  e_TableStyleListChangedEvent = 'tbLC',
57  e_CellStyleListChangedEvent = 'clLC',
58 
59  // Drag/Drop events
60  e_DropEvent = 'drEV',
61 
62  // Keyboard Events (some way for people to implement shortcuts easily)
63  e_KeyDownEvent = 'kyDn',
64  e_KeyUpEvent = 'kyUp',
65  e_KeyPressedEvent = 'kyPr',
66 
67  // Other possibilities
68  e_MasterPageAppliedEvent = 'mpAp',
69  e_OverrideMasterPageItemEvent = 'ovMP',
70  e_DetachFromMasterPageEvent = 'dfMP',
71  e_CreateObjectEvent = 'creO',
72  e_ModifyObjectEvent = 'modO',
73 };
74 
75 // Property IDs
76 enum IDHAScriptProperties
77 {
78  //p_Said = 'pSed',
79  p_XMPString = 'pXst'
80 };
81 
82 
83 #endif // __IDHAScriptingDefs_h__
84 
85 // Code generated by DollyXs code generator