InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
SplineID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner: Robin_Briggs
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 __SplineID__
25 #define __SplineID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 #include "FormatNumber.h"
30 
31 #define kSplinePrefix RezLong(0x6200)
32 
33 // PluginID
34 #define kSplinePluginName "Spline"
35 
36 // Rsrc IDs
37 #define kSplineStringsRsrcID 1300
38 #define kSplineStringsNoTransRsrcID 1400
39 
40 // ClassIDs
41 //
42 //gap
43 //gap
44 
45 // Commands
46 
47 
48 
49 // gap 41-60
50 
51 
52 // commands
53 
54 //gap 71-80
55 
56 //scripting
57 
58 
59 // Implementation IDs
60 //
61 
62 
63 // Commands
64 
65 
66 // KBSC
67 
68 //More implementations
69 // gap
70 // gap
71 
72 //Scripting
73 //gap
74 // IIDs
75 //
76 // gap
77 // gap
78 
79 // <Widget ID>
80 //
81 
82 // <Action ID>
83 //
84 //
85 //Script Element IDs
86 //
87 
88 //Suites
89 
90 //Objects
91 
92 //Events
93 
94 //Properties
95 
96 
97 //Enums
98 
99 
100 //GUIDS
101 // {496F0BD6-7834-11d2-AAF0-00C04FA37726}
102 #define kPath_CLSID { 0x496f0bd6, 0x7834, 0x11d2, { 0xaa, 0xf0, 0x0, 0xc0, 0x4f, 0xa3, 0x77, 0x26 } }
103 // {496F0BD7-7834-11d2-AAF0-00C04FA37726}
104 #define kPaths_CLSID { 0x496f0bd7, 0x7834, 0x11d2, { 0xaa, 0xf0, 0x0, 0xc0, 0x4f, 0xa3, 0x77, 0x26 } }
105 // {A3736548-4F5C-11d2-AB07-00C04FA349C7}
106 #define kPoint_CLSID { 0xa3736548, 0x4f5c, 0x11d2, { 0xab, 0x7, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
107 // {496F0BD8-7834-11d2-AAF0-00C04FA37726}
108 #define kPoints_CLSID { 0x496f0bd8, 0x7834, 0x11d2, { 0xaa, 0xf0, 0x0, 0xc0, 0x4f, 0xa3, 0x77, 0x26 } }
109 // {77617578-D3DE-11d1-AAA6-00C04FA349C7}
110 #define kOval_CLSID { 0x77617578, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
111 // {77617579-D3DE-11d1-AAA6-00C04FA349C7}
112 #define kOvals_CLSID { 0x77617579, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
113 // {7761757A-D3DE-11d1-AAA6-00C04FA349C7}
114 #define kRectangle_CLSID { 0x7761757a, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
115 // {7761757B-D3DE-11d1-AAA6-00C04FA349C7}
116 #define kRectangles_CLSID { 0x7761757b, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
117 // {7761757C-D3DE-11d1-AAA6-00C04FA349C7}
118 #define kLine_CLSID { 0x7761757c, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
119 // {7761757D-D3DE-11d1-AAA6-00C04FA349C7}
120 #define kLines_CLSID { 0x7761757d, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
121 // {7761757E-D3DE-11d1-AAA6-00C04FA349C7}
122 #define kPolygon_CLSID { 0x7761757e, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
123 // {7761757F-D3DE-11d1-AAA6-00C04FA349C7}
124 #define kPolygons_CLSID { 0x7761757f, 0xd3de, 0x11d1, { 0xaa, 0xa6, 0x0, 0xc0, 0x4f, 0xa3, 0x49, 0xc7 } }
125 // {BF2662C3-310F-4b2b-B0F7-044E172735A2}
126 #define kSplineItem_CLSID { 0xbf2662c3, 0x310f, 0x4b2b, { 0xb0, 0xf7, 0x4, 0x4e, 0x17, 0x27, 0x35, 0xa2 } }
127 // {DC775DDE-6039-4595-8F7C-7FB8FE06372C}
128 #define kSplineItems_CLSID { 0xdc775dde, 0x6039, 0x4595, { 0x8f, 0x7c, 0x7f, 0xb8, 0xfe, 0x6, 0x37, 0x2c } }
129 
130 enum SplineScriptIDs
131 {
132  c_Oval = 'covl', // cOval in AERegistry.h
133  c_Ovals = 'ovls',
134  c_Rectangle = 'crec', // cRectangle in AERegistry.h
135  c_Rectangles = 'recs',
136  c_GraphicLine = 'glin', // cGraphicLine in AERegistry.h
137  c_GraphicLines = 'lins',
138  c_Polygon = 'cpgn', // cPolygon in AERegistry.h
139  c_Polygons = 'pgns',
140  c_SplineItem = 'SplI',
141  c_SplineItems = 'Spls',
142 } ;
143 
144 #endif // __SplineID__