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