1 | /*
|
---|
2 | * Copyright 2006 Juan Lang
|
---|
3 | *
|
---|
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.
|
---|
8 | *
|
---|
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.
|
---|
13 | *
|
---|
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
|
---|
17 | */
|
---|
18 |
|
---|
19 | /*
|
---|
20 | * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
21 | * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
|
---|
22 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
23 | * a choice of LGPL license versions is made available with the language indicating
|
---|
24 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
25 | * of the LGPL is applied is otherwise unspecified.
|
---|
26 | */
|
---|
27 |
|
---|
28 | import "oaidl.idl";
|
---|
29 | import "ocidl.idl";
|
---|
30 |
|
---|
31 | cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
|
---|
32 | cpp_quote("#undef FindText")
|
---|
33 | cpp_quote("#endif")
|
---|
34 |
|
---|
35 | typedef enum tagTomConstants
|
---|
36 | {
|
---|
37 | tomFalse = 0,
|
---|
38 | tomTrue = -1,
|
---|
39 | tomUndefined = -9999999,
|
---|
40 | tomToggle = -9999998,
|
---|
41 | tomAutoColor = -9999997,
|
---|
42 | tomDefault = -9999996,
|
---|
43 | tomSuspend = -9999995,
|
---|
44 | tomResume = -9999994,
|
---|
45 | tomApplyNow = 0,
|
---|
46 | tomApplyLater = 1,
|
---|
47 | tomTrackParms = 2,
|
---|
48 | tomCacheParms = 3,
|
---|
49 | tomBackward = 0xc0000001,
|
---|
50 | tomForward = 0x3fffffff,
|
---|
51 | tomMove = 0,
|
---|
52 | tomExtend = 1,
|
---|
53 | tomNoSelection = 0,
|
---|
54 | tomSelectionIP = 1,
|
---|
55 | tomSelectionNormal = 2,
|
---|
56 | tomSelectionFrame = 3,
|
---|
57 | tomSelectionColumn = 4,
|
---|
58 | tomSelectionRow = 5,
|
---|
59 | tomSelectionBlock = 6,
|
---|
60 | tomSelectionInlineShape = 7,
|
---|
61 | tomSelectionShape = 8,
|
---|
62 | tomSelStartActive = 1,
|
---|
63 | tomSelAtEOL = 2,
|
---|
64 | tomSelOvertype = 4,
|
---|
65 | tomSelActive = 8,
|
---|
66 | tomSelReplace = 16,
|
---|
67 | tomEnd = 0,
|
---|
68 | tomStart = 32,
|
---|
69 | tomCollapseEnd = 0,
|
---|
70 | tomCollapseStart = 1,
|
---|
71 | tomClientCoord = 256,
|
---|
72 | tomNone = 0,
|
---|
73 | tomSingle = 1,
|
---|
74 | tomWords = 2,
|
---|
75 | tomDouble = 3,
|
---|
76 | tomDotted = 4,
|
---|
77 | tomDash = 5,
|
---|
78 | tomDashDot = 6,
|
---|
79 | tomDashDotDot = 7,
|
---|
80 | tomWave = 8,
|
---|
81 | tomThick = 9,
|
---|
82 | tomHair = 10,
|
---|
83 | tomLineSpaceSingle = 0,
|
---|
84 | tomLineSpace1pt5 = 1,
|
---|
85 | tomLineSpaceDouble = 2,
|
---|
86 | tomLineSpaceAtLeast = 3,
|
---|
87 | tomLineSpaceExactly = 4,
|
---|
88 | tomLineSpaceMultiple = 5,
|
---|
89 | tomAlignLeft = 0,
|
---|
90 | tomAlignCenter = 1,
|
---|
91 | tomAlignRight = 2,
|
---|
92 | tomAlignJustify = 3,
|
---|
93 | tomAlignDecimal = 3,
|
---|
94 | tomAlignBar = 4,
|
---|
95 | tomAlignInterWord = 3,
|
---|
96 | tomAlignInterLetter = 4,
|
---|
97 | tomAlignScaled = 5,
|
---|
98 | tomAlignGlyphs = 6,
|
---|
99 | tomAlignSnapGrid = 7,
|
---|
100 | tomSpaces = 0,
|
---|
101 | tomDots = 1,
|
---|
102 | tomDashes = 2,
|
---|
103 | tomLines = 3,
|
---|
104 | tomThickLines = 4,
|
---|
105 | tomEquals = 5,
|
---|
106 | tomTabBack = -3,
|
---|
107 | tomTabNext = -2,
|
---|
108 | tomTabHere = -1,
|
---|
109 | tomListBullet = 1,
|
---|
110 | tomListNumberAsArabic = 2,
|
---|
111 | tomListNumberAsLCLetter = 3,
|
---|
112 | tomListNumberAsUCLetter = 4,
|
---|
113 | tomListNumberAsLCRoman = 5,
|
---|
114 | tomListNumberAsUCRoman = 6,
|
---|
115 | tomListNumberAsSequence = 7,
|
---|
116 | tomListParentheses = 0x10000,
|
---|
117 | tomListPeriod = 0x20000,
|
---|
118 | tomListPlain = 0x30000,
|
---|
119 | tomCharacter = 1,
|
---|
120 | tomWord = 2,
|
---|
121 | tomSentence = 3,
|
---|
122 | tomParagraph = 4,
|
---|
123 | tomLine = 5,
|
---|
124 | tomStory = 6,
|
---|
125 | tomScreen = 7,
|
---|
126 | tomSection = 8,
|
---|
127 | tomColumn = 9,
|
---|
128 | tomRow = 10,
|
---|
129 | tomWindow = 11,
|
---|
130 | tomCell = 12,
|
---|
131 | tomCharFormat = 13,
|
---|
132 | tomParaFormat = 14,
|
---|
133 | tomTable = 15,
|
---|
134 | tomObject = 16,
|
---|
135 | tomMatchWord = 2,
|
---|
136 | tomMatchCase = 4,
|
---|
137 | tomMatchPattern = 8,
|
---|
138 | tomUnknownStory = 0,
|
---|
139 | tomMainTextStory = 1,
|
---|
140 | tomFootnotesStory = 2,
|
---|
141 | tomEndnotesStory = 3,
|
---|
142 | tomCommentsStory = 4,
|
---|
143 | tomTextFrameStory = 5,
|
---|
144 | tomEvenPagesHeaderStory = 6,
|
---|
145 | tomPrimaryHeaderStory = 7,
|
---|
146 | tomEvenPagesFooterStory = 8,
|
---|
147 | tomPrimaryFooterStory = 9,
|
---|
148 | tomFirstPageHeaderStory = 10,
|
---|
149 | tomFirstPageFooterStory = 11,
|
---|
150 | tomNoAnimation = 0,
|
---|
151 | tomLasVegasLights = 1,
|
---|
152 | tomBlinkingBackground = 2,
|
---|
153 | tomSparkleText = 3,
|
---|
154 | tomMarchingBlackAnts = 4,
|
---|
155 | tomMarchingRedAnts = 5,
|
---|
156 | tomShimmer = 6,
|
---|
157 | tomWipeDown = 7,
|
---|
158 | tomWipeRight = 8,
|
---|
159 | tomAnimationMax = 8,
|
---|
160 | tomLowerCase = 0,
|
---|
161 | tomUpperCase = 1,
|
---|
162 | tomTitleCase = 2,
|
---|
163 | tomSentenceCase = 4,
|
---|
164 | tomToggleCase = 5,
|
---|
165 | tomReadOnly = 0x100,
|
---|
166 | tomShareDenyRead = 0x200,
|
---|
167 | tomShareDenyWrite = 0x400,
|
---|
168 | tomPasteFile = 0x1000,
|
---|
169 | tomCreateNew = 0x10,
|
---|
170 | tomCreateAlways = 0x20,
|
---|
171 | tomOpenExisting = 0x30,
|
---|
172 | tomOpenAlways = 0x40,
|
---|
173 | tomTruncateExisting = 0x50,
|
---|
174 | tomRTF = 0x1,
|
---|
175 | tomText = 0x2,
|
---|
176 | tomHTML = 0x3,
|
---|
177 | tomWordDocument = 0x4,
|
---|
178 | tomBold = 0x80000001,
|
---|
179 | tomItalic = 0x80000002,
|
---|
180 | tomUnderline = 0x80000004,
|
---|
181 | tomStrikeout = 0x80000008,
|
---|
182 | tomProtected = 0x80000010,
|
---|
183 | tomLink = 0x80000020,
|
---|
184 | tomSmallCaps = 0x80000040,
|
---|
185 | tomAllCaps = 0x80000080,
|
---|
186 | tomHidden = 0x80000100,
|
---|
187 | tomOutline = 0x80000200,
|
---|
188 | tomShadow = 0x80000400,
|
---|
189 | tomEmboss = 0x80000800,
|
---|
190 | tomImprint = 0x80001000,
|
---|
191 | tomDisabled = 0x80002000,
|
---|
192 | tomRevised = 0x80004000,
|
---|
193 | tomNormalCaret = 0,
|
---|
194 | tomKoreanBlockCaret = 0x1,
|
---|
195 | tomIncludeInset = 0x1,
|
---|
196 | tomIgnoreCurrentFont = 0,
|
---|
197 | tomMatchFontCharset = 0x1,
|
---|
198 | tomMatchFontSignature = 0x2,
|
---|
199 | tomCharset = 0x80000000,
|
---|
200 | tomRE10Mode = 0x1,
|
---|
201 | tomNoIME = 0x80000,
|
---|
202 | tomSelfIME = 0x40000
|
---|
203 | } tomConstants;
|
---|
204 |
|
---|
205 | interface ITextRange;
|
---|
206 | interface ITextSelection;
|
---|
207 | interface ITextStoryRanges;
|
---|
208 |
|
---|
209 | [
|
---|
210 | object,
|
---|
211 | uuid(8cc497c0-a1df-11ce-8098-00aa0047be5d)
|
---|
212 | ]
|
---|
213 | interface ITextDocument : IDispatch
|
---|
214 | {
|
---|
215 | HRESULT GetName([retval, out]BSTR *pName);
|
---|
216 | HRESULT GetSelection([retval, out]ITextSelection **ppSel);
|
---|
217 | HRESULT GetStoryCount([retval, out]LONG *pCount);
|
---|
218 | HRESULT GetStoryRanges([retval, out]ITextStoryRanges **ppStories);
|
---|
219 | HRESULT GetSaved([retval, out]LONG *pValue);
|
---|
220 | HRESULT SetSaved([in]LONG Value);
|
---|
221 | HRESULT GetDefaultTabStop([retval, out]float *pValue);
|
---|
222 | HRESULT SetDefaultTabStop([in]float Value);
|
---|
223 | HRESULT New();
|
---|
224 | HRESULT Open([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage);
|
---|
225 | HRESULT Save([in]VARIANT *pVar, [in]LONG Flags, [in]LONG CodePage);
|
---|
226 | HRESULT Freeze([retval, out]LONG *pCount);
|
---|
227 | HRESULT Unfreeze([retval, out]LONG *pCount);
|
---|
228 | HRESULT BeginEditCollection();
|
---|
229 | HRESULT EndEditCollection();
|
---|
230 | HRESULT Undo([in]LONG Count, [retval, out]LONG *prop);
|
---|
231 | HRESULT Redo([in]LONG Count, [retval, out]LONG *prop);
|
---|
232 | HRESULT Range([in]LONG cp1, [in]LONG cp2, [retval, out]ITextRange **ppRange);
|
---|
233 | HRESULT RangeFromPoint([in]LONG x, [in]LONG y, [retval, out]ITextRange **ppRange);
|
---|
234 | }
|
---|
235 |
|
---|
236 | interface ITextFont;
|
---|
237 | interface ITextPara;
|
---|
238 |
|
---|
239 | [
|
---|
240 | object,
|
---|
241 | uuid(8cc497c2-a1df-11ce-8098-00aa0047be5d)
|
---|
242 | ]
|
---|
243 | interface ITextRange : IDispatch
|
---|
244 | {
|
---|
245 | HRESULT GetText([retval, out]BSTR *pbstr);
|
---|
246 | HRESULT SetText([in]BSTR bstr);
|
---|
247 | HRESULT GetChar([retval, out]LONG *pch);
|
---|
248 | HRESULT SetChar([in]LONG ch);
|
---|
249 | HRESULT GetDuplicate([retval, out]ITextRange **ppRange);
|
---|
250 | HRESULT GetFormattedText([retval, out]ITextRange **ppRange);
|
---|
251 | HRESULT SetFormattedText([in]ITextRange *pRange);
|
---|
252 | HRESULT GetStart([retval, out]LONG *pcpFirst);
|
---|
253 | HRESULT SetStart([in]LONG cpFirst);
|
---|
254 | HRESULT GetEnd([retval, out]LONG *pcpLim);
|
---|
255 | HRESULT SetEnd([in]LONG cpLim);
|
---|
256 | HRESULT GetFont([retval, out]ITextFont **pFont);
|
---|
257 | HRESULT SetFont([in]ITextFont *pFont);
|
---|
258 | HRESULT GetPara([retval, out]ITextPara **ppPara);
|
---|
259 | HRESULT SetPara([in]ITextPara *pPara);
|
---|
260 | HRESULT GetStoryLength([retval, out]LONG *pcch);
|
---|
261 | HRESULT GetStoryType([retval, out]LONG *pValue);
|
---|
262 | HRESULT Collapse([in]LONG bStart);
|
---|
263 | HRESULT Expand([in]LONG Unit, [retval, out]LONG *pDelta);
|
---|
264 | HRESULT GetIndex([in]LONG Unit, [retval, out]LONG *pIndex);
|
---|
265 | HRESULT SetIndex([in]LONG Unit, [in]LONG Index, [in]LONG Extend);
|
---|
266 | HRESULT SetRange([in]LONG cpActive, [in]LONG cpOther);
|
---|
267 | HRESULT InRange([in]ITextRange *pRange, [retval, out]LONG *pb);
|
---|
268 | HRESULT InStory([in]ITextRange *pRange, [retval, out]LONG *pb);
|
---|
269 | HRESULT IsEqual([in]ITextRange *pRange, [retval, out]LONG *pb);
|
---|
270 | HRESULT Select();
|
---|
271 | HRESULT StartOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
|
---|
272 | HRESULT EndOf([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
|
---|
273 | HRESULT Move([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
274 | HRESULT MoveStart([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
275 | HRESULT MoveEnd([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
276 | HRESULT MoveWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
277 | HRESULT MoveStartWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
278 | HRESULT MoveEndWhile([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
279 | HRESULT MoveUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
280 | HRESULT MoveStartUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
281 | HRESULT MoveEndUntil([in]VARIANT *Cset, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
282 | HRESULT FindText([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
|
---|
283 | HRESULT FindTextStart([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
|
---|
284 | HRESULT FindTextEnd([in]BSTR bstr, [in]LONG cch, [in]LONG Flags, [retval, out]LONG *pLength);
|
---|
285 | HRESULT Delete([in]LONG Unit, [in]LONG Count, [retval, out]LONG *pDelta);
|
---|
286 | HRESULT Cut([out]VARIANT *pVar);
|
---|
287 | HRESULT Copy([out]VARIANT *pVar);
|
---|
288 | HRESULT Paste([in]VARIANT *pVar, [in]LONG Format);
|
---|
289 | HRESULT CanPaste([in]VARIANT *pVar, [in]LONG Format, [retval, out]LONG *pb);
|
---|
290 | HRESULT CanEdit([retval, out]LONG *pb);
|
---|
291 | HRESULT ChangeCase([in]LONG Type);
|
---|
292 | HRESULT GetPoint([in]LONG Type, [out]LONG *cx, [out]LONG *cy);
|
---|
293 | HRESULT SetPoint([in]LONG x, [in]LONG y, [in]LONG Type, [in]LONG Extend);
|
---|
294 | HRESULT ScrollIntoView([in]LONG Value);
|
---|
295 | HRESULT GetEmbeddedObject([retval, out]IUnknown **ppv);
|
---|
296 | }
|
---|
297 |
|
---|
298 | [
|
---|
299 | object,
|
---|
300 | uuid(8cc497c1-a1df-11ce-8098-00aa0047be5d)
|
---|
301 | ]
|
---|
302 | interface ITextSelection : ITextRange
|
---|
303 | {
|
---|
304 | HRESULT GetFlags([retval, out]LONG *pFlags);
|
---|
305 | HRESULT SetFlags([in]LONG Flags);
|
---|
306 | HRESULT GetType([retval, out]LONG *pType);
|
---|
307 | HRESULT MoveLeft([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
|
---|
308 | HRESULT MoveRight([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
|
---|
309 | HRESULT MoveUp([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
|
---|
310 | HRESULT MoveDown([in]LONG Unit, [in]LONG Count, [in]LONG Extend, [retval, out]LONG *pDelta);
|
---|
311 | HRESULT HomeKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
|
---|
312 | HRESULT EndKey([in]LONG Unit, [in]LONG Extend, [retval, out]LONG *pDelta);
|
---|
313 | HRESULT TypeText([in]BSTR bstr);
|
---|
314 | }
|
---|
315 |
|
---|
316 | [
|
---|
317 | object,
|
---|
318 | uuid(8cc497c3-a1df-11ce-8098-00aa0047be5d)
|
---|
319 | ]
|
---|
320 | interface ITextFont : IDispatch
|
---|
321 | {
|
---|
322 | HRESULT GetDuplicate([retval, out]ITextFont **ppFont);
|
---|
323 | HRESULT SetDuplicate([in]ITextFont *pFont);
|
---|
324 | HRESULT CanChange([out]LONG *pB);
|
---|
325 | HRESULT IsEqual([in]ITextFont *pFont, [retval, out]LONG *pB);
|
---|
326 | HRESULT Reset([in]LONG Value);
|
---|
327 | HRESULT GetStyle([retval, out]LONG *pValue);
|
---|
328 | HRESULT SetStyle([in]LONG Value);
|
---|
329 | HRESULT GetAllCaps([retval, out]LONG *pValue);
|
---|
330 | HRESULT SetAllCaps([in]LONG Value);
|
---|
331 | HRESULT GetAnimation([retval, out]LONG *pValue);
|
---|
332 | HRESULT SetAnimation([in]LONG Value);
|
---|
333 | HRESULT GetBackColor([retval, out]LONG *pValue);
|
---|
334 | HRESULT SetBackColor([in]LONG Value);
|
---|
335 | HRESULT GetBold([retval, out]LONG *pValue);
|
---|
336 | HRESULT SetBold([in]LONG Value);
|
---|
337 | HRESULT GetEmboss([retval, out]LONG *pValue);
|
---|
338 | HRESULT SetEmboss([in]LONG Value);
|
---|
339 | HRESULT GetForeColor([retval, out]LONG *pValue);
|
---|
340 | HRESULT SetForeColor([in]LONG Value);
|
---|
341 | HRESULT GetHidden([retval, out]LONG *pValue);
|
---|
342 | HRESULT SetHidden([in]LONG Value);
|
---|
343 | HRESULT GetEngrave([retval, out]LONG *pValue);
|
---|
344 | HRESULT SetEngrave([in]LONG Value);
|
---|
345 | HRESULT GetItalic([retval, out]LONG *pValue);
|
---|
346 | HRESULT SetItalic([in]LONG Value);
|
---|
347 | HRESULT GetKerning([retval, out]LONG *pValue);
|
---|
348 | HRESULT SetKerning([in]LONG Value);
|
---|
349 | HRESULT GetLanguageID([retval, out]LONG *pValue);
|
---|
350 | HRESULT SetLanguageID([in]LONG Value);
|
---|
351 | HRESULT GetName([retval, out]BSTR *pValue);
|
---|
352 | HRESULT SetName([in]BSTR Value);
|
---|
353 | HRESULT GetOutline([retval, out]LONG *pValue);
|
---|
354 | HRESULT SetOutline([in]LONG Value);
|
---|
355 | HRESULT GetPosition([retval, out]LONG *pValue);
|
---|
356 | HRESULT SetPosition([in]LONG Value);
|
---|
357 | HRESULT GetProtected([retval, out]LONG *pValue);
|
---|
358 | HRESULT SetProtected([in]LONG Value);
|
---|
359 | HRESULT GetShadow([retval, out]LONG *pValue);
|
---|
360 | HRESULT SetShadow([in]LONG Value);
|
---|
361 | HRESULT GetSize([retval, out]LONG *pValue);
|
---|
362 | HRESULT SetSize([in]LONG Value);
|
---|
363 | HRESULT GetSmallCaps([retval, out]LONG *pValue);
|
---|
364 | HRESULT SetSmallCaps([in]LONG Value);
|
---|
365 | HRESULT GetSpacing([retval, out]float *pValue);
|
---|
366 | HRESULT SetSpacing([in]float Value);
|
---|
367 | HRESULT GetStrikeThrough([retval, out]LONG *pValue);
|
---|
368 | HRESULT SetStrikeThrough([in]LONG Value);
|
---|
369 | HRESULT GetSubscript([retval, out]LONG *pValue);
|
---|
370 | HRESULT SetSubscript([in]LONG Value);
|
---|
371 | HRESULT GetSuperscript([retval, out]LONG *pValue);
|
---|
372 | HRESULT SetSuperscript([in]LONG Value);
|
---|
373 | HRESULT GetUnderline([retval, out]LONG *pValue);
|
---|
374 | HRESULT SetUnderline([in]LONG Value);
|
---|
375 | HRESULT GetWeight([retval, out]LONG *pValue);
|
---|
376 | HRESULT SetWeight([in]LONG Value);
|
---|
377 | }
|
---|
378 |
|
---|
379 | [
|
---|
380 | object,
|
---|
381 | uuid(8cc497c4-a1df-11ce-8098-00aa0047be5d)
|
---|
382 | ]
|
---|
383 | interface ITextPara : IDispatch
|
---|
384 | {
|
---|
385 | HRESULT GetDuplicate([retval, out]ITextPara **ppPara);
|
---|
386 | HRESULT SetDuplicate([in]ITextPara *pPara);
|
---|
387 | HRESULT CanChange([out]LONG *pB);
|
---|
388 | HRESULT IsEqual([in]ITextPara *pPara, [retval, out]LONG *pB);
|
---|
389 | HRESULT Reset([in]LONG Value);
|
---|
390 | HRESULT GetStyle([retval, out]LONG *pValue);
|
---|
391 | HRESULT SetStyle([in]LONG Value);
|
---|
392 | HRESULT GetAlignment([retval, out]LONG *pValue);
|
---|
393 | HRESULT SetAlignment([in]LONG Value);
|
---|
394 | HRESULT GetHyphenation([retval, out]LONG *pValue);
|
---|
395 | HRESULT SetHyphenation([in]LONG Value);
|
---|
396 | HRESULT GetFirstLineIndent([retval, out]float *pValue);
|
---|
397 | HRESULT GetKeepTogether([retval, out]LONG *pValue);
|
---|
398 | HRESULT SetKeepTogether([in]LONG Value);
|
---|
399 | HRESULT GetKeepWithNext([retval, out]LONG *pValue);
|
---|
400 | HRESULT SetKeepWithNext([in]LONG Value);
|
---|
401 | HRESULT GetLeftIndent([retval, out]float *pValue);
|
---|
402 | HRESULT GetLineSpacing([retval, out]float *pValue);
|
---|
403 | HRESULT GetLineSpacingRule([retval, out]LONG *pValue);
|
---|
404 | HRESULT GetListAlignment([retval, out]LONG *pValue);
|
---|
405 | HRESULT SetListAlignment([in]LONG Value);
|
---|
406 | HRESULT GetListLevelIndex([retval, out]LONG *pValue);
|
---|
407 | HRESULT SetListLevelIndex([in]LONG Value);
|
---|
408 | HRESULT GetListStart([retval, out]LONG *pValue);
|
---|
409 | HRESULT SetListStart([in]LONG Value);
|
---|
410 | HRESULT GetListTab([retval, out]LONG *pValue);
|
---|
411 | HRESULT SetListTab([in]LONG Value);
|
---|
412 | HRESULT GetListType([retval, out]LONG *pValue);
|
---|
413 | HRESULT SetListType([in]LONG Value);
|
---|
414 | HRESULT GetNoLineNumber([retval, out]LONG *pValue);
|
---|
415 | HRESULT SetNoLineNumber([in]LONG Value);
|
---|
416 | HRESULT GetPageBreakBefore([retval, out]LONG *pValue);
|
---|
417 | HRESULT SetPageBreakBefore([in]LONG Value);
|
---|
418 | HRESULT GetRightIndent([retval, out]float *pValue);
|
---|
419 | HRESULT SetRightIndent([in]float Value);
|
---|
420 | HRESULT SetIndents([in]float StartIndent, [in]float LeftIndent, [in]float RightIndent);
|
---|
421 | HRESULT SetLineSpacing([in]LONG LineSpacingRule, [in]float LineSpacing);
|
---|
422 | HRESULT GetSpaceAfter([retval, out]float *pValue);
|
---|
423 | HRESULT SetSpaceAfter([in]float Value);
|
---|
424 | HRESULT GetSpaceBefore([retval, out]float *pValue);
|
---|
425 | HRESULT SetSpaceBefore([in]float Value);
|
---|
426 | HRESULT GetWindowControl([retval, out]float *pValue);
|
---|
427 | HRESULT SetWindowControl([in]float Value);
|
---|
428 | HRESULT GetTabCount([retval, out]LONG *pCount);
|
---|
429 | HRESULT AddTab([in]float tbPos, [in]LONG tbAlign, [in]LONG tbLeader);
|
---|
430 | HRESULT ClearAllTabs();
|
---|
431 | HRESULT DeleteTab([in]float tbPos);
|
---|
432 | HRESULT GetTab([in]LONG iTab, [out]float *ptbPos, [out]LONG *ptbAlign, [out]LONG *ptbLeader);
|
---|
433 | }
|
---|
434 |
|
---|
435 | [
|
---|
436 | object,
|
---|
437 | uuid(8cc497c5-a1df-11ce-8098-00aa0047be5d)
|
---|
438 | ]
|
---|
439 | interface ITextStoryRanges : IDispatch
|
---|
440 | {
|
---|
441 | HRESULT _NewEnum([retval, out]IUnknown **ppUnkEnum);
|
---|
442 | HRESULT Item([in]LONG Index, [retval, out]ITextRange **ppRange);
|
---|
443 | HRESULT GetCount([retval, out]LONG *pCount);
|
---|
444 | }
|
---|