wined3d: Use wined3d_mask_from_size() in glsl_blitter_blit().
[wine.git] / include / tom.idl
blobfda81777db06954796140962c96f402092022ae9
1 /*
2 * Copyright 2006 Juan Lang
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 import "oaidl.idl";
20 import "ocidl.idl";
22 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
23 cpp_quote("#undef FindText")
24 cpp_quote("#endif")
26 typedef enum tagTomConstants
28 tomFalse = (int) 0,
29 tomTrue = (int) -1,
30 tomUndefined = (int) -9999999,
31 tomToggle = (int) -9999998,
32 tomAutoColor = (int) -9999997,
33 tomDefault = (int) -9999996,
34 tomSuspend = (int) -9999995,
35 tomResume = (int) -9999994,
37 /* ITextFont::Reset() modes */
38 tomApplyNow = (int) 0,
39 tomApplyLater = (int) 1,
40 tomTrackParms = (int) 2,
41 tomCacheParms = (int) 3,
42 tomApplyTmp = (int) 4,
43 tomDisableSmartFont = (int) 8,
44 tomEnableSmartFont = (int) 9,
45 tomUsePoints = (int) 10,
46 tomUseTwips = (int) 11,
48 tomBackward = (int) 0xc0000001,
49 tomForward = (int) 0x3fffffff,
50 tomMove = (int) 0,
51 tomExtend = (int) 1,
52 tomNoSelection = (int) 0,
53 tomSelectionIP = (int) 1,
54 tomSelectionNormal = (int) 2,
55 tomSelectionFrame = (int) 3,
56 tomSelectionColumn = (int) 4,
57 tomSelectionRow = (int) 5,
58 tomSelectionBlock = (int) 6,
59 tomSelectionInlineShape = (int) 7,
60 tomSelectionShape = (int) 8,
61 tomSelStartActive = (int) 1,
62 tomSelAtEOL = (int) 2,
63 tomSelOvertype = (int) 4,
64 tomSelActive = (int) 8,
65 tomSelReplace = (int) 16,
66 tomEnd = (int) 0,
67 tomStart = (int) 32,
68 tomCollapseEnd = (int) 0,
69 tomCollapseStart = (int) 1,
70 tomClientCoord = (int) 256,
71 tomNone = (int) 0,
72 tomSingle = (int) 1,
73 tomWords = (int) 2,
74 tomDouble = (int) 3,
75 tomDotted = (int) 4,
76 tomDash = (int) 5,
77 tomDashDot = (int) 6,
78 tomDashDotDot = (int) 7,
79 tomWave = (int) 8,
80 tomThick = (int) 9,
81 tomHair = (int) 10,
82 tomLineSpaceSingle = (int) 0,
83 tomLineSpace1pt5 = (int) 1,
84 tomLineSpaceDouble = (int) 2,
85 tomLineSpaceAtLeast = (int) 3,
86 tomLineSpaceExactly = (int) 4,
87 tomLineSpaceMultiple = (int) 5,
88 tomAlignLeft = (int) 0,
89 tomAlignCenter = (int) 1,
90 tomAlignRight = (int) 2,
91 tomAlignJustify = (int) 3,
92 tomAlignDecimal = (int) 3,
93 tomAlignBar = (int) 4,
94 tomAlignInterWord = (int) 3,
95 tomAlignInterLetter = (int) 4,
96 tomAlignScaled = (int) 5,
97 tomAlignGlyphs = (int) 6,
98 tomAlignSnapGrid = (int) 7,
99 tomSpaces = (int) 0,
100 tomDots = (int) 1,
101 tomDashes = (int) 2,
102 tomLines = (int) 3,
103 tomThickLines = (int) 4,
104 tomEquals = (int) 5,
105 tomTabBack = (int) -3,
106 tomTabNext = (int) -2,
107 tomTabHere = (int) -1,
108 tomListBullet = (int) 1,
109 tomListNumberAsArabic = (int) 2,
110 tomListNumberAsLCLetter = (int) 3,
111 tomListNumberAsUCLetter = (int) 4,
112 tomListNumberAsLCRoman = (int) 5,
113 tomListNumberAsUCRoman = (int) 6,
114 tomListNumberAsSequence = (int) 7,
115 tomListParentheses = (int) 0x10000,
116 tomListPeriod = (int) 0x20000,
117 tomListPlain = (int) 0x30000,
118 tomCharacter = (int) 1,
119 tomWord = (int) 2,
120 tomSentence = (int) 3,
121 tomParagraph = (int) 4,
122 tomLine = (int) 5,
123 tomStory = (int) 6,
124 tomScreen = (int) 7,
125 tomSection = (int) 8,
126 tomColumn = (int) 9,
127 tomRow = (int) 10,
128 tomWindow = (int) 11,
129 tomCell = (int) 12,
130 tomCharFormat = (int) 13,
131 tomParaFormat = (int) 14,
132 tomTable = (int) 15,
133 tomObject = (int) 16,
134 tomMatchWord = (int) 2,
135 tomMatchCase = (int) 4,
136 tomMatchPattern = (int) 8,
138 /* ITextRange story type values */
139 tomUnknownStory = (int) 0,
140 tomMainTextStory = (int) 1,
141 tomFootnotesStory = (int) 2,
142 tomEndnotesStory = (int) 3,
143 tomCommentsStory = (int) 4,
144 tomTextFrameStory = (int) 5,
145 tomEvenPagesHeaderStory = (int) 6,
146 tomPrimaryHeaderStory = (int) 7,
147 tomEvenPagesFooterStory = (int) 8,
148 tomPrimaryFooterStory = (int) 9,
149 tomFirstPageHeaderStory = (int) 10,
150 tomFirstPageFooterStory = (int) 11,
152 /* ITextFont animation property */
153 tomNoAnimation = (int) 0,
154 tomLasVegasLights = (int) 1,
155 tomBlinkingBackground = (int) 2,
156 tomSparkleText = (int) 3,
157 tomMarchingBlackAnts = (int) 4,
158 tomMarchingRedAnts = (int) 5,
159 tomShimmer = (int) 6,
160 tomWipeDown = (int) 7,
161 tomWipeRight = (int) 8,
162 tomAnimationMax = (int) 8,
164 tomLowerCase = (int) 0,
165 tomUpperCase = (int) 1,
166 tomTitleCase = (int) 2,
167 tomSentenceCase = (int) 4,
168 tomToggleCase = (int) 5,
169 tomReadOnly = (int) 0x100,
170 tomShareDenyRead = (int) 0x200,
171 tomShareDenyWrite = (int) 0x400,
172 tomPasteFile = (int) 0x1000,
173 tomCreateNew = (int) 0x10,
174 tomCreateAlways = (int) 0x20,
175 tomOpenExisting = (int) 0x30,
176 tomOpenAlways = (int) 0x40,
177 tomTruncateExisting = (int) 0x50,
178 tomRTF = (int) 0x1,
179 tomText = (int) 0x2,
180 tomHTML = (int) 0x3,
181 tomWordDocument = (int) 0x4,
182 tomBold = (int) 0x80000001,
183 tomItalic = (int) 0x80000002,
184 tomUnderline = (int) 0x80000004,
185 tomStrikeout = (int) 0x80000008,
186 tomProtected = (int) 0x80000010,
187 tomLink = (int) 0x80000020,
188 tomSmallCaps = (int) 0x80000040,
189 tomAllCaps = (int) 0x80000080,
190 tomHidden = (int) 0x80000100,
191 tomOutline = (int) 0x80000200,
192 tomShadow = (int) 0x80000400,
193 tomEmboss = (int) 0x80000800,
194 tomImprint = (int) 0x80001000,
195 tomDisabled = (int) 0x80002000,
196 tomRevised = (int) 0x80004000,
197 tomNormalCaret = (int) 0,
198 tomKoreanBlockCaret = (int) 0x1,
199 tomIncludeInset = (int) 0x1,
200 tomIgnoreCurrentFont = (int) 0,
201 tomMatchFontCharset = (int) 0x1,
202 tomMatchFontSignature = (int) 0x2,
203 tomCharset = (int) 0x80000000,
204 tomRE10Mode = (int) 0x1,
205 tomNoIME = (int) 0x80000,
206 tomSelfIME = (int) 0x40000
207 } tomConstants;
209 interface ITextRange;
210 interface ITextSelection;
211 interface ITextStoryRanges;
214 object,
215 uuid(8cc497c0-a1df-11ce-8098-00aa0047be5d)
217 interface ITextDocument : IDispatch
219 HRESULT GetName([retval, out]BSTR *pName);
220 HRESULT GetSelection([retval, out]ITextSelection **ppSel);
221 HRESULT GetStoryCount([retval, out]LONG *pCount);
222 HRESULT GetStoryRanges([retval, out]ITextStoryRanges **ppStories);
223 HRESULT GetSaved([retval, out]LONG *pValue);
224 HRESULT SetSaved([in]LONG Value);
225 HRESULT GetDefaultTabStop([retval, out]float *pValue);
226 HRESULT SetDefaultTabStop([in]float Value);
227 HRESULT New();
228 HRESULT Open([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage);
229 HRESULT Save([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage);
230 HRESULT Freeze([retval, out]LONG *pCount);
231 HRESULT Unfreeze([retval, out]LONG *pCount);
232 HRESULT BeginEditCollection();
233 HRESULT EndEditCollection();
234 HRESULT Undo([in]LONG Count, [retval, out]LONG *prop);
235 HRESULT Redo([in]LONG Count, [retval, out]LONG *prop);
236 HRESULT Range([in]LONG cp1, [in]LONG cp2, [retval, out]ITextRange **ppRange);
237 HRESULT RangeFromPoint([in]LONG x, [in]LONG y, [retval, out]ITextRange **ppRange);
241 object,
242 uuid(01c25500-4268-11d1-883a-3c8b00c10000)
244 interface ITextDocument2Old : ITextDocument
246 HRESULT AttachMsgFilter([in]IUnknown *filter);
247 HRESULT SetEffectColor([in]LONG index, [in]COLORREF cr);
248 HRESULT GetEffectColor([in]LONG index, [out]COLORREF *cr);
249 HRESULT GetCaretType([retval, out]LONG *type);
250 HRESULT SetCaretType([in]LONG type);
251 HRESULT GetImmContext([retval, out]LONG *context);
252 HRESULT ReleaseImmContext([in]LONG context);
253 HRESULT GetPreferredFont([in]LONG cp, [in]LONG codepage, [in]LONG option, [in]LONG current_codepage, [in]LONG current_fontsize,
254 [out]BSTR *bstr, [out]LONG *pitch_family, [out]LONG *new_fontsize);
255 HRESULT GetNotificationMode([retval, out]LONG *mode);
256 HRESULT SetNotificationMode([in]LONG mode);
257 HRESULT GetClientRect([in]LONG type, [out]LONG *left, [out]LONG *top, [out]LONG *right, [out]LONG *bottom);
258 HRESULT GetSelectionEx([retval, out]ITextSelection **selection);
259 HRESULT GetWindow([out]LONG *hwnd);
260 HRESULT GetFEFlags([out]LONG *flags);
261 HRESULT UpdateWindow();
262 HRESULT CheckTextLimit([in]LONG cch, [out]LONG *exceed);
263 HRESULT IMEInProgress([in]LONG mode);
264 HRESULT SysBeep();
265 HRESULT Update([in]LONG mode);
266 HRESULT Notify([in]LONG notify);
269 interface ITextDisplays;
270 interface ITextFont2;
271 interface ITextPara2;
272 interface ITextRange2;
273 interface ITextSelection2;
274 interface ITextStory;
275 interface ITextStoryRanges2;
276 interface ITextStrings;
279 object,
280 uuid(c241f5e0-7206-11d8-a2c7-00a0d1d6c6b3)
282 interface ITextDocument2 : ITextDocument
284 HRESULT GetCaretType([retval, out]LONG *value);
285 HRESULT SetCaretType([in]LONG value);
286 HRESULT GetDisplays([retval, out]ITextDisplays **displays);
287 HRESULT GetDocumentFont([retval, out]ITextFont2 **font);
288 HRESULT SetDocumentFont([in]ITextFont2 *font);
289 HRESULT GetDocumentPara([retval, out]ITextPara2 **para);
290 HRESULT SetDocumentPara([in]ITextPara2 *para);
291 HRESULT GetEastAsianFlags([retval, out]LONG *flags);
292 HRESULT GetGenerator([retval, out]BSTR *bstr);
293 HRESULT SetIMEInProgress([in]LONG value);
294 HRESULT GetNotificationMode([retval, out]LONG *mode);
295 HRESULT SetNotificationMode([in]LONG mode);
296 HRESULT GetSelection2([retval, out]ITextSelection2 **selection);
297 HRESULT GetStoryRanges2([retval, out]ITextStoryRanges2 **stories);
298 HRESULT GetTypographyOptions([retval, out]LONG *options);
299 HRESULT GetVersion([retval, out]LONG *value);
300 HRESULT GetWindow([retval, out]LONG *hwnd);
301 HRESULT AttachMsgFilter([in]IUnknown *filter);
302 HRESULT CheckTextLimit([in]LONG cch, [out]LONG *exceed);
303 HRESULT GetCallManager([retval, out]IUnknown **manager);
304 HRESULT GetClientRect([in]LONG type, [out]LONG *left, [out]LONG *top, [out]LONG *right, [out]LONG *bottom);
305 HRESULT GetEffectColor([in]LONG index, [out]COLORREF *cr);
306 HRESULT GetImmContext([retval, out]LONG *context);
307 HRESULT GetPreferredFont([in]LONG cp, [in]LONG codepage, [in]LONG option, [in]LONG current_codepage, [in]LONG current_fontsize,
308 [out]BSTR *bstr, [out]LONG *pitch_family, [out]LONG *new_fontsize);
309 HRESULT GetProperty([in]LONG type, [out]LONG *value);
310 HRESULT GetStrings([out]ITextStrings **strings);
311 HRESULT Notify([in]LONG notify);
312 HRESULT Range2([in]LONG cp_active, [in]LONG cp_anchor, [retval, out]ITextRange2 **range);
313 HRESULT RangeFromPoint2([in]LONG x, [in]LONG y, [in]LONG type, [retval, out]ITextRange2 **range);
314 HRESULT ReleaseCallManager([in]IUnknown *manager);
315 HRESULT ReleaseImmContext([in]LONG context);
316 HRESULT SetEffectColor([in]LONG index, [in]LONG value);
317 HRESULT SetProperty([in]LONG type, [in]LONG value);
318 HRESULT SetTypographyOptions([in]LONG options, [in]LONG mask);
319 HRESULT SysBeep();
320 HRESULT Update([in]LONG value);
321 HRESULT UpdateWindow();
322 HRESULT GetMathProperties([out]LONG *options);
323 HRESULT SetMathProperties([in]LONG options, [in]LONG mask);
324 HRESULT GetActiveStory([retval, out]ITextStory **story);
325 HRESULT SetActiveStory([in]ITextStory *story);
326 HRESULT GetMainStory([retval, out]ITextStory **story);
327 HRESULT GetNewStory([retval, out]ITextStory **story);
328 HRESULT GetStory([in]LONG index, [retval, out]ITextStory **story);
331 interface ITextFont;
332 interface ITextPara;
335 object,
336 uuid(8cc497c2-a1df-11ce-8098-00aa0047be5d)
338 interface ITextRange : IDispatch
340 HRESULT GetText([retval, out]BSTR *pbstr);
341 HRESULT SetText([in]BSTR bstr);
342 HRESULT GetChar([retval, out]LONG *pch);
343 HRESULT SetChar([in]LONG ch);
344 HRESULT GetDuplicate([retval, out]ITextRange **ppRange);
345 HRESULT GetFormattedText([retval, out]ITextRange **ppRange);
346 HRESULT SetFormattedText([in]ITextRange *pRange);
347 HRESULT GetStart([retval, out]LONG *pcpFirst);
348 HRESULT SetStart([in]LONG cpFirst);
349 HRESULT GetEnd([retval, out]LONG *pcpLim);
350 HRESULT SetEnd([in]LONG cpLim);
351 HRESULT GetFont([retval, out]ITextFont **pFont);
352 HRESULT SetFont([in]ITextFont *pFont);
353 HRESULT GetPara([retval, out]ITextPara **ppPara);
354 HRESULT SetPara([in]ITextPara *pPara);
355 HRESULT GetStoryLength([retval, out]LONG *pcch);
356 HRESULT GetStoryType([retval, out]LONG *pValue);
357 HRESULT Collapse([in]LONG bStart);
358 HRESULT Expand([in]LONG Unit, [retval, out]LONG *pDelta);
359 HRESULT GetIndex([in]LONG Unit, [retval, out]LONG *pIndex);
360 HRESULT SetIndex([in]LONG Unit, [in]LONG Index, [in]LONG Extend);
361 HRESULT SetRange([in]LONG anchor, [in]LONG active);
362 HRESULT InRange([in]ITextRange *pRange, [retval, out]LONG *pb);
363 HRESULT InStory([in]ITextRange *pRange, [retval, out]LONG *pb);
364 HRESULT IsEqual([in]ITextRange *pRange, [retval, out]LONG *pb);
365 HRESULT Select();
366 HRESULT StartOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
367 HRESULT EndOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
368 HRESULT Move([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
369 HRESULT MoveStart([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
370 HRESULT MoveEnd([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
371 HRESULT MoveWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
372 HRESULT MoveStartWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
373 HRESULT MoveEndWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
374 HRESULT MoveUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
375 HRESULT MoveStartUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
376 HRESULT MoveEndUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
377 HRESULT FindText([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
378 HRESULT FindTextStart([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
379 HRESULT FindTextEnd([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
380 HRESULT Delete([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
381 HRESULT Cut([out]VARIANT *pVar);
382 HRESULT Copy([out]VARIANT *pVar);
383 HRESULT Paste([in]VARIANT *pVar, [in]LONG Format);
384 HRESULT CanPaste([in]VARIANT *pVar, [in]LONG Format, [retval, out]LONG *pb);
385 HRESULT CanEdit([retval, out]LONG *pb);
386 HRESULT ChangeCase([in]LONG Type);
387 HRESULT GetPoint([in]LONG Type, [out]LONG *cx, [out]LONG *cy);
388 HRESULT SetPoint([in]LONG x, [in]LONG y, [in]LONG Type, [in]LONG Extend);
389 HRESULT ScrollIntoView([in]LONG Value);
390 HRESULT GetEmbeddedObject([retval, out]IUnknown **ppv);
394 object,
395 uuid(8cc497c1-a1df-11ce-8098-00aa0047be5d)
397 interface ITextSelection : ITextRange
399 HRESULT GetFlags([retval, out]LONG *pFlags);
400 HRESULT SetFlags([in]LONG Flags);
401 HRESULT GetType([retval, out]LONG *pType);
402 HRESULT MoveLeft([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
403 HRESULT MoveRight([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
404 HRESULT MoveUp([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
405 HRESULT MoveDown([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
406 HRESULT HomeKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
407 HRESULT EndKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
408 HRESULT TypeText([in]BSTR bstr);
412 object,
413 uuid(8cc497c3-a1df-11ce-8098-00aa0047be5d)
415 interface ITextFont : IDispatch
417 HRESULT GetDuplicate([retval, out]ITextFont **ppFont);
418 HRESULT SetDuplicate([in]ITextFont *pFont);
419 HRESULT CanChange([out]LONG *pB);
420 HRESULT IsEqual([in]ITextFont *pFont, [retval, out]LONG *pB);
421 HRESULT Reset([in]LONG Value);
422 HRESULT GetStyle([retval, out]LONG *pValue);
423 HRESULT SetStyle([in]LONG Value);
424 HRESULT GetAllCaps([retval, out]LONG *pValue);
425 HRESULT SetAllCaps([in]LONG Value);
426 HRESULT GetAnimation([retval, out]LONG *pValue);
427 HRESULT SetAnimation([in]LONG Value);
428 HRESULT GetBackColor([retval, out]LONG *pValue);
429 HRESULT SetBackColor([in]LONG Value);
430 HRESULT GetBold([retval, out]LONG *pValue);
431 HRESULT SetBold([in]LONG Value);
432 HRESULT GetEmboss([retval, out]LONG *pValue);
433 HRESULT SetEmboss([in]LONG Value);
434 HRESULT GetForeColor([retval, out]LONG *pValue);
435 HRESULT SetForeColor([in]LONG Value);
436 HRESULT GetHidden([retval, out]LONG *pValue);
437 HRESULT SetHidden([in]LONG Value);
438 HRESULT GetEngrave([retval, out]LONG *pValue);
439 HRESULT SetEngrave([in]LONG Value);
440 HRESULT GetItalic([retval, out]LONG *pValue);
441 HRESULT SetItalic([in]LONG Value);
442 HRESULT GetKerning([retval, out]float *pValue);
443 HRESULT SetKerning([in]float Value);
444 HRESULT GetLanguageID([retval, out]LONG *pValue);
445 HRESULT SetLanguageID([in]LONG Value);
446 HRESULT GetName([retval, out]BSTR *pValue);
447 HRESULT SetName([in]BSTR Value);
448 HRESULT GetOutline([retval, out]LONG *pValue);
449 HRESULT SetOutline([in]LONG Value);
450 HRESULT GetPosition([retval, out]float *pValue);
451 HRESULT SetPosition([in]float Value);
452 HRESULT GetProtected([retval, out]LONG *pValue);
453 HRESULT SetProtected([in]LONG Value);
454 HRESULT GetShadow([retval, out]LONG *pValue);
455 HRESULT SetShadow([in]LONG Value);
456 HRESULT GetSize([retval, out]float *pValue);
457 HRESULT SetSize([in]float Value);
458 HRESULT GetSmallCaps([retval, out]LONG *pValue);
459 HRESULT SetSmallCaps([in]LONG Value);
460 HRESULT GetSpacing([retval, out]float *pValue);
461 HRESULT SetSpacing([in]float Value);
462 HRESULT GetStrikeThrough([retval, out]LONG *pValue);
463 HRESULT SetStrikeThrough([in]LONG Value);
464 HRESULT GetSubscript([retval, out]LONG *pValue);
465 HRESULT SetSubscript([in]LONG Value);
466 HRESULT GetSuperscript([retval, out]LONG *pValue);
467 HRESULT SetSuperscript([in]LONG Value);
468 HRESULT GetUnderline([retval, out]LONG *pValue);
469 HRESULT SetUnderline([in]LONG Value);
470 HRESULT GetWeight([retval, out]LONG *pValue);
471 HRESULT SetWeight([in]LONG Value);
475 object,
476 uuid(8cc497c4-a1df-11ce-8098-00aa0047be5d)
478 interface ITextPara : IDispatch
480 HRESULT GetDuplicate([retval, out]ITextPara **ppPara);
481 HRESULT SetDuplicate([in]ITextPara *pPara);
482 HRESULT CanChange([out]LONG *pB);
483 HRESULT IsEqual([in]ITextPara *pPara, [retval, out]LONG *pB);
484 HRESULT Reset([in]LONG Value);
485 HRESULT GetStyle([retval, out]LONG *pValue);
486 HRESULT SetStyle([in]LONG Value);
487 HRESULT GetAlignment([retval, out]LONG *pValue);
488 HRESULT SetAlignment([in]LONG Value);
489 HRESULT GetHyphenation([retval, out]LONG *pValue);
490 HRESULT SetHyphenation([in]LONG Value);
491 HRESULT GetFirstLineIndent([retval, out]float *pValue);
492 HRESULT GetKeepTogether([retval, out]LONG *pValue);
493 HRESULT SetKeepTogether([in]LONG Value);
494 HRESULT GetKeepWithNext([retval, out]LONG *pValue);
495 HRESULT SetKeepWithNext([in]LONG Value);
496 HRESULT GetLeftIndent([retval, out]float *pValue);
497 HRESULT GetLineSpacing([retval, out]float *pValue);
498 HRESULT GetLineSpacingRule([retval, out]LONG *pValue);
499 HRESULT GetListAlignment([retval, out]LONG *pValue);
500 HRESULT SetListAlignment([in]LONG Value);
501 HRESULT GetListLevelIndex([retval, out]LONG *pValue);
502 HRESULT SetListLevelIndex([in]LONG Value);
503 HRESULT GetListStart([retval, out]LONG *pValue);
504 HRESULT SetListStart([in]LONG Value);
505 HRESULT GetListTab([retval, out]float *pValue);
506 HRESULT SetListTab([in]float Value);
507 HRESULT GetListType([retval, out]LONG *pValue);
508 HRESULT SetListType([in]LONG Value);
509 HRESULT GetNoLineNumber([retval, out]LONG *pValue);
510 HRESULT SetNoLineNumber([in]LONG Value);
511 HRESULT GetPageBreakBefore([retval, out]LONG *pValue);
512 HRESULT SetPageBreakBefore([in]LONG Value);
513 HRESULT GetRightIndent([retval, out]float *pValue);
514 HRESULT SetRightIndent([in]float Value);
515 HRESULT SetIndents([in]float StartIndent, [in]float LeftIndent, [in]float RightIndent);
516 HRESULT SetLineSpacing([in]LONG LineSpacingRule, [in]float LineSpacing);
517 HRESULT GetSpaceAfter([retval, out]float *pValue);
518 HRESULT SetSpaceAfter([in]float Value);
519 HRESULT GetSpaceBefore([retval, out]float *pValue);
520 HRESULT SetSpaceBefore([in]float Value);
521 HRESULT GetWidowControl([retval, out]LONG *pValue);
522 HRESULT SetWidowControl([in]LONG Value);
523 HRESULT GetTabCount([retval, out]LONG *pCount);
524 HRESULT AddTab([in]float tbPos, [in]LONG tbAlign, [in]LONG tbLeader);
525 HRESULT ClearAllTabs();
526 HRESULT DeleteTab([in]float tbPos);
527 HRESULT GetTab([in]LONG iTab, [out]float *ptbPos, [out]LONG *ptbAlign, [out]LONG *ptbLeader);
531 object,
532 uuid(8cc497c5-a1df-11ce-8098-00aa0047be5d)
534 interface ITextStoryRanges : IDispatch
536 HRESULT _NewEnum([retval, out]IUnknown **ppUnkEnum);
537 HRESULT Item([in]LONG Index, [retval, out]ITextRange **ppRange);
538 HRESULT GetCount([retval, out]LONG *pCount);