InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
WritingModeID2.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 __WritingModeID2__
25 #define __WritingModeID2__
26 
27 #define DEFAULTTEXTSIZE 12.0
28 #define DEFAULTLINENUMBERDISPLAYSIZE 9.0
29 #define MENUSIZEINDEX 1
30 #define MULTIINCREMENTMULTIPLE 20.0 // For scrolling
31 #define WIDGETBARHEIGHT 42.0
32 #define DEFAULTPARAINDENTMULTIPLIER 4.0
33 #define DEFAULTINFOCOLUMNWIDTH 136.0
34 
35 #define TEXTLEFTINSET 6.0
36 #define TEXTRIGHTINSET 5.0
37 
38 #define MAXDISPLAYDELETEDTEXTLENGTH 32000
39 
40 //#define USETABLEDIVIDERLINE
41 
42 #include "WritingModeID.h"
43 
44 // <PlugInID>
45 //---------------------------------------------------------------
46 // PlugInID
47 //---------
48 #define kWMPrefix2 kWMPrefix + 100
49 
50 // <Class ID>
51 //---------------------------------------------------------------
52 // ClassIDs
53 //---------------------------------------------------------------
54 // removed galleyfitprogressbar kWMPrefix2 + 3
55 //gap
56 
57 // Selection Bosses
58 
59 // Galley Text Tracker
60 
61 //gap
62 
63 // Keyboard shortcuts
64 
65 // inline note tracker (now moved into note plugin)
66 //gap
67 
68 // Used for setting up observers on new document creation
69 
70 // Tabbed UI
71 
72 // suspend / resume play pending invals
73 
74 // Schema stuff
75 
76 
77 
78 
79 
80 
81 
82 
83 
84 
85 
86 
87 
88 // <Interface ID>
89 //---------------------------------------------------------------
90 // IIDs
91 //---------------------------------------------------------------
92 //DO NOT REUSE (kWMPrefix2 + 8) - InDesign 2.0 thinks this is the ID for IID_IGALLEYSWITCH and draws text incorrectly
93 // removed redlinerestoredata kWMPrefix2 + 16
94 // removed redlinerestoremenuitems kWMPrefix2 + 18
95 
96 
97 //End Selection
98 
99 // Galley selection navigation
100 
101 // Color Scheme
102 
103 // This replaces IID_IGALLEYTEXTSELECTION_SUITE
104 // This replaces IID_IGALLEYTEXTNAVIGATIONSUITE
105 
106 // Draw tags (i.e. inline notes and xml)
107 
108 // Galley display settings (preferences)
109 
110 // Galley text run information
111 
112 // Multiple story story management
113 
114 
115 // story info for print
116 
117 // Tabbed UI
118 
119 // Owned item icon drawing and detection
120 
121 // Galley/layout lines syncronization
122 
123 // Galley text damage recording
124 
125 // Private interface to keep the deleted text selection state up to date.
126 
127 // Private interface used to optimize text caret position calculations
128 
129 // Private interface to draw view contents
130 
131 //GAP
132 
133 // Selection Suite used to create an initial selection
134 
135 // Used in InCopy to identify overset text containers
136 
137 // Used to draw icons with attributes of specific types like ruby, kenton and hyperlink source.
138 
139 
140 // Used to draw little red indicator for mispelled words found in hidden deleted text and more ?
141 
142 
143 
144 
145 // <Implementation ID>
146 //---------------------------------------------------------------
147 // ImplementationIDs
148 //---------------------------------------------------------------
149 //gap
150 // removed kGalleyPageMarginsImpl, kWMPrefix2 + 13
151 // removed kDeletedLinesCalculatorImpl, kWMPrefix2 + 14
152 // removed redlinerestoredata kWMPrefix2 + 25
153 
154 // Selection Impls
155 
156 
157 
158 // Keyboard Shortcut Context
159 //gap
160 
161 // For selection Nav
162 
163 // Keyboard Shortcuts
164 
165 // Color Scheme
166 
167 // Draw tags (i.e. inline notes and xml)
168 
169 // Galley display settings
170 
171 // Footnote view characteristics like hidden or collapsed are controlled by the footnote view suite
172 
173 //gap
174 
175 // Galley text run information
176 
177 // Multiple story management
178 
179 // for fill with placeholder text
180 
181 // For setting up preference and other observers that are changed when making a new document.
182 
183 // Table view characteristics like collapsing
184 //gap
185 
186 
187 // story info for print
188 
189 // Tabbed UI
190 
191 // Owned item icon drawing, detection
192 
193 // Galley/Layout line syncronization
194 
195 // Command to do/undo/redo replace damage for story/galley views
196 
197 // Galley Damage Recording
198 
199 // to suspend and resume play pending invals
200 
201 // Private interface to keep the deleted text selection state up to date.
202 
203 // Private interface used to optimize text caret position calculations
204 
205 
206 // Private interface implementation to create a scratch space for composing text
207 //gap
208 
209 // Used to create new selections
210 
211 
212 
213 
214 // Used to finish long compositions in the background
215 
216 // Used to draw icons associated with certain attributes like ruby, kenton, hyperlinks
217 
218 
219 // Custom splitter widget handling interfaces
220 
221 
222 
223 
224 
225 
226 
227 //TextTarget impl
228 
229 
230 
231 // GalleyTextAdornment impls: These may go away if we support choose to support
232 // IGalleyTextAdornment::DrawPriority() in the future
233 //
234 
235 
236 // <Action ID>
237 //---------------------------------------------------------------
238 // Action IDs
239 //---------------------------------------------------------------
240 //
241 // // gap
242 //
243 // //gap
244 //
245 //
246 //
247 //
248 //
249 //
250 // //gap
251 //
252 //
253 //
254 
255 // <Service id>
256 //---------------------------------------------------------------
257 // Service id's
258 //---------------------------------------------------------------
259 
260 // NOTE: kGalleyTextAdornmentBeforeService & kGalleyTextAdornmentAfterService
261 // may go away if we support choose to support IGalleyTextAdornment::DrawPriority()
262 // in the future
263 
264 
265 // <Widget id>
266 //---------------------------------------------------------------
267 // Widget id's
268 //---------------------------------------------------------------
269 
270 //---------------------------------------------------
271 // InvalHandlerTypeID
272 //---------------------------------------------------
273 
274 // <Messages>
275 //---------------------------------------------------------------
276 // Messages
277 //---------------------------------------------------------------
278 //#define kShowLineNumberMsg kWMPrefix2 + 1
279 //#define kHideLineNumberMsg kWMPrefix2 + 2
280 //#define kEnterRestoreModeMsg kWMPrefix2 + 3
281 //#define kExitRestoreModeMsg kWMPrefix2 + 4
282 //
283 //#define kPreSwitchToGalleyOneWindowMsg kWMPrefix2 + 5
284 //#define kPostSwitchToGalleyOneWindowMsg kWMPrefix2 + 6
285 //#define kPreSwitchToLayoutOneWindowMsg kWMPrefix2 + 7
286 //#define kPostSwitchToLayoutOneWindowMsg kWMPrefix2 + 8
287 //
288 //#define kPreSwitchToGalleyMsg kWMPrefix2 + 9
289 //#define kPostSwitchToGalleyMsg kWMPrefix2 + 10
290 //#define kPreSwitchToLayoutMsg kWMPrefix2 + 11
291 //#define kPostSwitchToLayoutMsg kWMPrefix2 + 12
292 //
293 //#define kPostToggleALEILEMsg kWMPrefix2 + 13
294 //#define kPreToggleALEILEMsg kWMPrefix2 + 14
295 //#define kPostSwitchSelectionCompleteMsg kWMPrefix2 + 15
296 #endif // __WritingModeID2__