InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
TextWalkerServiceProviderID.h
1 //========================================================================================
2 //
3 // $File$
4 //
5 // Owner:
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 __TextWalkerServiceProviderID__
25 #define __TextWalkerServiceProviderID__
26 
27 #include "CrossPlatformTypes.h"
28 #include "IDFactory.h"
29 
30 #define kTextWalkerServiceProviderPrefix RezLong(0x8400)
31 
32 //---------------------------------------------------------------
33 // Format Numbers
34 //---------------------------------------------------------------
35 
36 // K2
37 #define kTWSLastK2MinorFormat kLastK2MinorVersionNumber
38 
39 // Hotaka
40 #define kTWSLastHotakaMinorFormat kHotakaInitialMinorFormatNumber
41 
42 // Anna
43 #define kTWSAnnaFCOptionsChange kAnnaInitialMinorFormatNumber
44 #define kTWSLastAnnaMinorFormat kTWSAnnaFCOptionsChange
45 
46 // Cobalt
47 #define kTWSCobaltFCOptionsChange kCobaltInitialMinorFormatNumber + 1
48 #define kTWSLastCobaltMinorFormat kTWSCobaltFCOptionsChange
49 // Overall
50 #define kTWSLastMajorFormatNumber kSiriusMajorFormatNumber
51 #define kTWSLastMinorFormatNumber kSiriusInitialMinorFormatNumber
52 
53 // <Start IDC>
54 // PluginID
55 #define kTextWalkerServicePluginName "Text Walker"
56 
57 // String resource ids
58 #define kTextWalkerServiceProviderStringsRsrcID 1000
59 #define kTextWalkerServiceProviderStringsNoTransRsrcID 1100
60 #define kTextWalkerErrorStringTableRsrcID 2000
61 
62 // <Class ID>
63 //******CLASS IDs
64 //gap
65 
66 
67 
68 // <Interface ID>
69 //******INTERFACE IDs
70 
71 
72 
73 
74 
75 // <Service ID>
76 //******SERVICE IDs
77 
78 // <Implementation ID>
79 //******IMPLEMENTATION IDs
80 
81 
82 
83 
84 
85 //gap
86 
87 
88 //gap
89 
90 
91 
92 
93 
94 
95 
96 
97 
98 
99 
100 
101 // <Error ID>
102 //******ERROR CODE IDs
103 
105 
106  // Received by observer that observe kTextWalkerServiceProviderBoss.
107  // Sent by TextWalker::WalkRange() direct after calling ITextWalkerClient::OnStart().
108  // ChangeBy: ITextWalkerClient *.
109  // Received by observer that observe kTextWalkerServiceProviderBoss.
110  // Sent by TextWalker::WalkRange() direct after calling ITextWalkerClient::OnEnd().
111  // ChangeBy: ITextWalkerClient *.
112  // Received by observer that observe kTextWalkerServiceProviderBoss.
113  // ChangeBy: ITextWalkerClient *.
114  // Received by observer that observe kTextWalkerServiceProviderBoss.
115  // Sent by TextWalker::Suspend().
116  // ChangeBy: ITextWalkerClient *.
117  // Received by observer that observe kTextWalkerServiceProviderBoss.
118  // Sent by TextWalker::Resume().
119  // ChangeBy: ITextWalkerClient *.
120 
121  // Received by observer that observe kTextWalkerServiceProviderBoss.
122  // Sent by TextWalker::WalkStory() and WalkStoryList() direct after calling ITextWalkerClient::OnStoryStart().
123  // ChangeBy: ITextWalkerClient *.
124  // Received by observer that observe kTextWalkerServiceProviderBoss.
125  // Sent by TextWalker::WalkStory() and WalkStoryList() direct after calling ITextWalkerClient::OnStoryEnd().
126  // ChangeBy: ITextWalkerClient *.
127 
128  // Received by TextWalkerObserver, calls ITextWalker::MoveTo() in order to synchronize the walker with the word change.
129  // Example: sent by SpellWordEventHandler after changing the word in the editbox.
130  // ChangeBy: const PMString *pNewWord.
131 
132  // Sent by TextWalkerObserver shortly before calling ITextWalker::Halt().
133  // Example: received by SpellScopeObserver so it could resume after interactive spelling mode.
134  // ChangeBy: this TextWalkerObserver.
135  // Received by TextWalkerObserver, sets the new scope.
136  // Example: sent by SpellScopeObserver.
137  // ChangeBy: const ITextWalker::WalkScope *pNewScope.
138  // Received by TextWalkerObserver, sets the new overset flag.
139  // Example: sent by SpellOversetObserver.
140  // ChangeBy: const bool16 *pNewOverset.
141  // Received by TextWalkerObserver, sets the new wrap flag.
142  // Example: sent by SpellWrapObserver.
143  // ChangeBy: const bool16 *pNewWrap.
144 
145 
146 //
147 //Script Element IDs
148 //
149 
150 //gap
151 //gap
152 //gap
153 //gap
154 //gap
155 
156 
157 
158 //GUIDS
159 // {96EA6552-0AF2-442f-AA5B-68950D578A8D}
160 #define kFindPref_CLSID { 0x96ea6552, 0xaf2, 0x442f, { 0xaa, 0x5b, 0x68, 0x95, 0xd, 0x57, 0x8a, 0x8d } }
161 // {C33267EA-E8B0-11d3-9D01-00C04F99131A}
162 #define kChangePref_CLSID { 0xc33267ea, 0xe8b0, 0x11d3, { 0x9d, 0x1, 0x0, 0xc0, 0x4f, 0x99, 0x13, 0x1a } }
163 // {1408EBD9-210E-4a56-8BCE-13D96DF65856}
164 #define kFindChangeTextOptions_CLSID { 0x1408ebd9, 0x210e, 0x4a56, { 0x8b, 0xce, 0x13, 0xd9, 0x6d, 0xf6, 0x58, 0x56 } }
165 // {4DDDBCE6-DE1F-49b7-B7FA-212112425A27}
166 #define kFindChangeGrepOptions_CLSID { 0x4dddbce6, 0xde1f, 0x49b7, { 0xb7, 0xfa, 0x21, 0x21, 0x12, 0x42, 0x5a, 0x27 } }
167 // {9DFFD927-708D-4afa-A14C-497D44B9BA89}
168 #define kFindChangeGlyphOptions_CLSID { 0x9dffd927, 0x708d, 0x4afa, { 0xa1, 0x4c, 0x49, 0x7d, 0x44, 0xb9, 0xba, 0x89 } }
169 // {3C01E0B1-88A2-4214-92D8-176BD17CA2F8}
170 #define kFindChangeObjectOptions_CLSID { 0x3c01e0b1, 0x88a2, 0x4214, { 0x92, 0xd8, 0x17, 0x6b, 0xd1, 0x7c, 0xa2, 0xf8 } }
171 // {590D370D-4E05-48b6-84DC-0410A309F04E}
172 #define kFindChangeTransliterateOptions_CLSID { 0x590d370d, 0x4e05, 0x48b6, { 0x84, 0xdc, 0x4, 0x10, 0xa3, 0x9, 0xf0, 0x4e } }
173 // {7A344CB5-B629-4046-AFA7-B92EA4047F75}
174 #define kFindTextPreferences_CLSID { 0x7a344cb5, 0xb629, 0x4046, { 0xaf, 0xa7, 0xb9, 0x2e, 0xa4, 0x4, 0x7f, 0x75 } }
175 // {D30435E3-522A-4630-BE1D-C29143B3519D}
176 #define kFindGrepPreferences_CLSID { 0xd30435e3, 0x522a, 0x4630, { 0xbe, 0x1d, 0xc2, 0x91, 0x43, 0xb3, 0x51, 0x9d } }
177 // {2C4C24E8-92D2-4fb2-AE06-D45292A38CA8}
178 #define kFindGlyphPreferences_CLSID { 0x2c4c24e8, 0x92d2, 0x4fb2, { 0xae, 0x6, 0xd4, 0x52, 0x92, 0xa3, 0x8c, 0xa8 } }
179 // {63C1AABA-1537-4f38-AE58-F8A61EB2BDFA}
180 #define kFindObjectPreferences_CLSID { 0x63c1aaba, 0x1537, 0x4f38, { 0xae, 0x58, 0xf8, 0xa6, 0x1e, 0xb2, 0xbd, 0xfa } }
181 // {54BBD585-3C47-4b59-90EE-E17AFD4B0EA6}
182 #define kFindTransliteratePreferences_CLSID { 0x54bbd585, 0x3c47, 0x4b59, { 0x90, 0xee, 0xe1, 0x7a, 0xfd, 0x4b, 0xe, 0xa6 } }
183 // {24E5C855-0317-4d1f-935E-2FE848CB6B76}
184 #define kChangeTextPreferences_CLSID { 0x24e5c855, 0x317, 0x4d1f, { 0x93, 0x5e, 0x2f, 0xe8, 0x48, 0xcb, 0x6b, 0x76 } }
185 // {F1F5E505-B99E-4f26-8152-A2F5962735DF}
186 #define kChangeGrepPreferences_CLSID { 0xf1f5e505, 0xb99e, 0x4f26, { 0x81, 0x52, 0xa2, 0xf5, 0x96, 0x27, 0x35, 0xdf } }
187 // {57B06035-7DBB-49f8-8CDB-4C6E293FD755}
188 #define kChangeGlyphPreferences_CLSID { 0x57b06035, 0x7dbb, 0x49f8, { 0x8c, 0xdb, 0x4c, 0x6e, 0x29, 0x3f, 0xd7, 0x55 } }
189 // {E4432D00-6797-460f-95D9-2318DFC8A37E}
190 #define kChangeObjectPreferences_CLSID { 0xe4432d00, 0x6797, 0x460f, { 0x95, 0xd9, 0x23, 0x18, 0xdf, 0xc8, 0xa3, 0x7e } }
191 // {37D5C1E7-DB19-4e12-9B61-DAEC754294BC}
192 #define kChangeTransliteratePreferences_CLSID { 0x37d5c1e7, 0xdb19, 0x4e12, { 0x9b, 0x61, 0xda, 0xec, 0x75, 0x42, 0x94, 0xbc } }
193 // {E0217BFC-FD9C-4935-A4C9-80288BBCAF8E}
194 #define kFindChangeColorOptions_CLSID { 0xe0217bfc, 0xfd9c, 0x4935, { 0xa4, 0xc9, 0x80, 0x28, 0x8b, 0xbc, 0xaf, 0x8e } }
195 // {0141262D-5B5D-4FA7-8516-E050D80183D6}
196 #define kFindColorPreferences_CLSID { 0x141262d, 0x5b5d, 0x4fa7, { 0x85, 0x16, 0xe0, 0x50, 0xd8, 0x1, 0x83, 0xd6 } }
197 // {389057B1-C0F6-40D9-9D35-59DFD072726B}
198 #define kChangeColorPreferences_CLSID { 0x389057b1, 0xc0f6, 0x40d9, { 0x9d, 0x35, 0x59, 0xdf, 0xd0, 0x72, 0x72, 0x6b } }
199 
200 
201 #endif // __TextWalkerServiceProviderID__