Line data Source code
1 : /*
2 : * DO NOT EDIT. THIS FILE IS GENERATED FROM ../../../dist/idl/nsIAccessibleTextRange.idl
3 : */
4 :
5 : #ifndef __gen_nsIAccessibleTextRange_h__
6 : #define __gen_nsIAccessibleTextRange_h__
7 :
8 :
9 : #ifndef __gen_nsISupports_h__
10 : #include "nsISupports.h"
11 : #endif
12 :
13 : /* For IDL files that don't want to include root IDL files. */
14 : #ifndef NS_NO_VTABLE
15 : #define NS_NO_VTABLE
16 : #endif
17 : class nsIAccessible; /* forward declaration */
18 :
19 : class nsIAccessibleText; /* forward declaration */
20 :
21 : class nsIArray; /* forward declaration */
22 :
23 : class nsIVariant; /* forward declaration */
24 :
25 :
26 : /* starting interface: nsIAccessibleTextRange */
27 : #define NS_IACCESSIBLETEXTRANGE_IID_STR "c4515623-55f9-4543-a3d5-c1e9afa588f4"
28 :
29 : #define NS_IACCESSIBLETEXTRANGE_IID \
30 : {0xc4515623, 0x55f9, 0x4543, \
31 : { 0xa3, 0xd5, 0xc1, 0xe9, 0xaf, 0xa5, 0x88, 0xf4 }}
32 :
33 0 : class NS_NO_VTABLE nsIAccessibleTextRange : public nsISupports {
34 : public:
35 :
36 : NS_DECLARE_STATIC_IID_ACCESSOR(NS_IACCESSIBLETEXTRANGE_IID)
37 :
38 : /* readonly attribute nsIAccessibleText startContainer; */
39 : NS_IMETHOD GetStartContainer(nsIAccessibleText * *aStartContainer) = 0;
40 :
41 : /* readonly attribute long startOffset; */
42 : NS_IMETHOD GetStartOffset(int32_t *aStartOffset) = 0;
43 :
44 : /* readonly attribute nsIAccessibleText endContainer; */
45 : NS_IMETHOD GetEndContainer(nsIAccessibleText * *aEndContainer) = 0;
46 :
47 : /* readonly attribute long endOffset; */
48 : NS_IMETHOD GetEndOffset(int32_t *aEndOffset) = 0;
49 :
50 : /* readonly attribute nsIAccessible container; */
51 : NS_IMETHOD GetContainer(nsIAccessible * *aContainer) = 0;
52 :
53 : /* readonly attribute nsIArray embeddedChildren; */
54 : NS_IMETHOD GetEmbeddedChildren(nsIArray * *aEmbeddedChildren) = 0;
55 :
56 : /* boolean compare (in nsIAccessibleTextRange aOtherRange); */
57 : NS_IMETHOD Compare(nsIAccessibleTextRange *aOtherRange, bool *_retval) = 0;
58 :
59 : enum {
60 : EndPoint_Start = 1U,
61 : EndPoint_End = 2U
62 : };
63 :
64 : /* long compareEndPoints (in unsigned long aEndPoint, in nsIAccessibleTextRange aOtherRange, in unsigned long aOtherRangeEndPoint); */
65 : NS_IMETHOD CompareEndPoints(uint32_t aEndPoint, nsIAccessibleTextRange *aOtherRange, uint32_t aOtherRangeEndPoint, int32_t *_retval) = 0;
66 :
67 : /* readonly attribute AString text; */
68 : NS_IMETHOD GetText(nsAString & aText) = 0;
69 :
70 : /* readonly attribute nsIArray bounds; */
71 : NS_IMETHOD GetBounds(nsIArray * *aBounds) = 0;
72 :
73 : enum {
74 : FormatUnit = 0U,
75 : WordUnit = 1U,
76 : LineUnit = 2U,
77 : ParagraphUnit = 3U,
78 : PageUnit = 4U,
79 : DocumentUnit = 5U
80 : };
81 :
82 : /* void move (in unsigned long aUnit, in long aCount); */
83 : NS_IMETHOD Move(uint32_t aUnit, int32_t aCount) = 0;
84 :
85 : /* void moveStart (in unsigned long aUnit, in long aCount); */
86 : NS_IMETHOD MoveStart(uint32_t aUnit, int32_t aCount) = 0;
87 :
88 : /* void moveEnd (in unsigned long aUnit, in long aCount); */
89 : NS_IMETHOD MoveEnd(uint32_t aUnit, int32_t aCount) = 0;
90 :
91 : /* void normalize (in unsigned long aUnit); */
92 : NS_IMETHOD Normalize(uint32_t aUnit) = 0;
93 :
94 : /* boolean crop (in nsIAccessible aContainer); */
95 : NS_IMETHOD Crop(nsIAccessible *aContainer, bool *_retval) = 0;
96 :
97 : /* nsIAccessibleTextRange findText (in AString aText, in boolean aIsBackward, in boolean aIsIgnoreCase); */
98 : NS_IMETHOD FindText(const nsAString & aText, bool aIsBackward, bool aIsIgnoreCase, nsIAccessibleTextRange * *_retval) = 0;
99 :
100 : enum {
101 : AnimationStyleAttr = 0U,
102 : AnnotationObjectsAttr = 1U,
103 : AnnotationTypesAttr = 2U,
104 : BackgroundColorAttr = 3U,
105 : BulletStyleAttr = 4U,
106 : CapStyleAttr = 5U,
107 : CaretBidiModeAttr = 6U,
108 : CaretPositionAttr = 7U,
109 : CultureAttr = 8U,
110 : FontNameAttr = 9U,
111 : FontSizeAttr = 10U,
112 : FontWeightAttr = 11U,
113 : ForegroundColorAttr = 12U,
114 : HorizontalTextAlignmentAttr = 13U,
115 : IndentationFirstLineAttr = 14U,
116 : IndentationLeadingAttr = 15U,
117 : IndentationTrailingAttr = 16U,
118 : IsActiveAttr = 17U,
119 : IsHiddenAttr = 18U,
120 : IsItalicAttr = 19U,
121 : IsReadOnlyAttr = 20U,
122 : IsSubscriptAttr = 21U,
123 : IsSuperscriptAttr = 22U,
124 : LinkAttr = 23U,
125 : MarginBottomAttr = 24U,
126 : MarginLeadingAttr = 25U,
127 : MarginTopAttr = 26U,
128 : MarginTrailingAttr = 27U,
129 : OutlineStylesAttr = 28U,
130 : OverlineColorAttr = 29U,
131 : OverlineStyleAttr = 30U,
132 : SelectionActiveEndAttr = 31U,
133 : StrikethroughColorAttr = 32U,
134 : StrikethroughStyleAttr = 33U,
135 : StyleIdAttr = 34U,
136 : StyleNameAttr = 35U,
137 : TabsAttr = 36U,
138 : TextFlowDirectionsAttr = 37U,
139 : UnderlineColorAttr = 38U,
140 : UnderlineStyleAttr = 39U
141 : };
142 :
143 : /* nsIAccessibleTextRange findAttr (in unsigned long aAttr, in nsIVariant aValue, in boolean aIsBackward); */
144 : NS_IMETHOD FindAttr(uint32_t aAttr, nsIVariant *aValue, bool aIsBackward, nsIAccessibleTextRange * *_retval) = 0;
145 :
146 : /* void addToSelection (); */
147 : NS_IMETHOD AddToSelection(void) = 0;
148 :
149 : /* void removeFromSelection (); */
150 : NS_IMETHOD RemoveFromSelection(void) = 0;
151 :
152 : /* void select (); */
153 : NS_IMETHOD Select(void) = 0;
154 :
155 : enum {
156 : AlignToTop = 0U,
157 : AlignToBottom = 1U
158 : };
159 :
160 : /* void scrollIntoView (in unsigned long aHow); */
161 : NS_IMETHOD ScrollIntoView(uint32_t aHow) = 0;
162 :
163 : };
164 :
165 : NS_DEFINE_STATIC_IID_ACCESSOR(nsIAccessibleTextRange, NS_IACCESSIBLETEXTRANGE_IID)
166 :
167 : /* Use this macro when declaring classes that implement this interface. */
168 : #define NS_DECL_NSIACCESSIBLETEXTRANGE \
169 : NS_IMETHOD GetStartContainer(nsIAccessibleText * *aStartContainer) override; \
170 : NS_IMETHOD GetStartOffset(int32_t *aStartOffset) override; \
171 : NS_IMETHOD GetEndContainer(nsIAccessibleText * *aEndContainer) override; \
172 : NS_IMETHOD GetEndOffset(int32_t *aEndOffset) override; \
173 : NS_IMETHOD GetContainer(nsIAccessible * *aContainer) override; \
174 : NS_IMETHOD GetEmbeddedChildren(nsIArray * *aEmbeddedChildren) override; \
175 : NS_IMETHOD Compare(nsIAccessibleTextRange *aOtherRange, bool *_retval) override; \
176 : NS_IMETHOD CompareEndPoints(uint32_t aEndPoint, nsIAccessibleTextRange *aOtherRange, uint32_t aOtherRangeEndPoint, int32_t *_retval) override; \
177 : NS_IMETHOD GetText(nsAString & aText) override; \
178 : NS_IMETHOD GetBounds(nsIArray * *aBounds) override; \
179 : NS_IMETHOD Move(uint32_t aUnit, int32_t aCount) override; \
180 : NS_IMETHOD MoveStart(uint32_t aUnit, int32_t aCount) override; \
181 : NS_IMETHOD MoveEnd(uint32_t aUnit, int32_t aCount) override; \
182 : NS_IMETHOD Normalize(uint32_t aUnit) override; \
183 : NS_IMETHOD Crop(nsIAccessible *aContainer, bool *_retval) override; \
184 : NS_IMETHOD FindText(const nsAString & aText, bool aIsBackward, bool aIsIgnoreCase, nsIAccessibleTextRange * *_retval) override; \
185 : NS_IMETHOD FindAttr(uint32_t aAttr, nsIVariant *aValue, bool aIsBackward, nsIAccessibleTextRange * *_retval) override; \
186 : NS_IMETHOD AddToSelection(void) override; \
187 : NS_IMETHOD RemoveFromSelection(void) override; \
188 : NS_IMETHOD Select(void) override; \
189 : NS_IMETHOD ScrollIntoView(uint32_t aHow) override;
190 :
191 : /* Use this macro when declaring the members of this interface when the
192 : class doesn't implement the interface. This is useful for forwarding. */
193 : #define NS_DECL_NON_VIRTUAL_NSIACCESSIBLETEXTRANGE \
194 : nsresult GetStartContainer(nsIAccessibleText * *aStartContainer); \
195 : nsresult GetStartOffset(int32_t *aStartOffset); \
196 : nsresult GetEndContainer(nsIAccessibleText * *aEndContainer); \
197 : nsresult GetEndOffset(int32_t *aEndOffset); \
198 : nsresult GetContainer(nsIAccessible * *aContainer); \
199 : nsresult GetEmbeddedChildren(nsIArray * *aEmbeddedChildren); \
200 : nsresult Compare(nsIAccessibleTextRange *aOtherRange, bool *_retval); \
201 : nsresult CompareEndPoints(uint32_t aEndPoint, nsIAccessibleTextRange *aOtherRange, uint32_t aOtherRangeEndPoint, int32_t *_retval); \
202 : nsresult GetText(nsAString & aText); \
203 : nsresult GetBounds(nsIArray * *aBounds); \
204 : nsresult Move(uint32_t aUnit, int32_t aCount); \
205 : nsresult MoveStart(uint32_t aUnit, int32_t aCount); \
206 : nsresult MoveEnd(uint32_t aUnit, int32_t aCount); \
207 : nsresult Normalize(uint32_t aUnit); \
208 : nsresult Crop(nsIAccessible *aContainer, bool *_retval); \
209 : nsresult FindText(const nsAString & aText, bool aIsBackward, bool aIsIgnoreCase, nsIAccessibleTextRange * *_retval); \
210 : nsresult FindAttr(uint32_t aAttr, nsIVariant *aValue, bool aIsBackward, nsIAccessibleTextRange * *_retval); \
211 : nsresult AddToSelection(void); \
212 : nsresult RemoveFromSelection(void); \
213 : nsresult Select(void); \
214 : nsresult ScrollIntoView(uint32_t aHow);
215 :
216 : /* Use this macro to declare functions that forward the behavior of this interface to another object. */
217 : #define NS_FORWARD_NSIACCESSIBLETEXTRANGE(_to) \
218 : NS_IMETHOD GetStartContainer(nsIAccessibleText * *aStartContainer) override { return _to GetStartContainer(aStartContainer); } \
219 : NS_IMETHOD GetStartOffset(int32_t *aStartOffset) override { return _to GetStartOffset(aStartOffset); } \
220 : NS_IMETHOD GetEndContainer(nsIAccessibleText * *aEndContainer) override { return _to GetEndContainer(aEndContainer); } \
221 : NS_IMETHOD GetEndOffset(int32_t *aEndOffset) override { return _to GetEndOffset(aEndOffset); } \
222 : NS_IMETHOD GetContainer(nsIAccessible * *aContainer) override { return _to GetContainer(aContainer); } \
223 : NS_IMETHOD GetEmbeddedChildren(nsIArray * *aEmbeddedChildren) override { return _to GetEmbeddedChildren(aEmbeddedChildren); } \
224 : NS_IMETHOD Compare(nsIAccessibleTextRange *aOtherRange, bool *_retval) override { return _to Compare(aOtherRange, _retval); } \
225 : NS_IMETHOD CompareEndPoints(uint32_t aEndPoint, nsIAccessibleTextRange *aOtherRange, uint32_t aOtherRangeEndPoint, int32_t *_retval) override { return _to CompareEndPoints(aEndPoint, aOtherRange, aOtherRangeEndPoint, _retval); } \
226 : NS_IMETHOD GetText(nsAString & aText) override { return _to GetText(aText); } \
227 : NS_IMETHOD GetBounds(nsIArray * *aBounds) override { return _to GetBounds(aBounds); } \
228 : NS_IMETHOD Move(uint32_t aUnit, int32_t aCount) override { return _to Move(aUnit, aCount); } \
229 : NS_IMETHOD MoveStart(uint32_t aUnit, int32_t aCount) override { return _to MoveStart(aUnit, aCount); } \
230 : NS_IMETHOD MoveEnd(uint32_t aUnit, int32_t aCount) override { return _to MoveEnd(aUnit, aCount); } \
231 : NS_IMETHOD Normalize(uint32_t aUnit) override { return _to Normalize(aUnit); } \
232 : NS_IMETHOD Crop(nsIAccessible *aContainer, bool *_retval) override { return _to Crop(aContainer, _retval); } \
233 : NS_IMETHOD FindText(const nsAString & aText, bool aIsBackward, bool aIsIgnoreCase, nsIAccessibleTextRange * *_retval) override { return _to FindText(aText, aIsBackward, aIsIgnoreCase, _retval); } \
234 : NS_IMETHOD FindAttr(uint32_t aAttr, nsIVariant *aValue, bool aIsBackward, nsIAccessibleTextRange * *_retval) override { return _to FindAttr(aAttr, aValue, aIsBackward, _retval); } \
235 : NS_IMETHOD AddToSelection(void) override { return _to AddToSelection(); } \
236 : NS_IMETHOD RemoveFromSelection(void) override { return _to RemoveFromSelection(); } \
237 : NS_IMETHOD Select(void) override { return _to Select(); } \
238 : NS_IMETHOD ScrollIntoView(uint32_t aHow) override { return _to ScrollIntoView(aHow); }
239 :
240 : /* Use this macro to declare functions that forward the behavior of this interface to another object in a safe way. */
241 : #define NS_FORWARD_SAFE_NSIACCESSIBLETEXTRANGE(_to) \
242 : NS_IMETHOD GetStartContainer(nsIAccessibleText * *aStartContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartContainer(aStartContainer); } \
243 : NS_IMETHOD GetStartOffset(int32_t *aStartOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetStartOffset(aStartOffset); } \
244 : NS_IMETHOD GetEndContainer(nsIAccessibleText * *aEndContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndContainer(aEndContainer); } \
245 : NS_IMETHOD GetEndOffset(int32_t *aEndOffset) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEndOffset(aEndOffset); } \
246 : NS_IMETHOD GetContainer(nsIAccessible * *aContainer) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetContainer(aContainer); } \
247 : NS_IMETHOD GetEmbeddedChildren(nsIArray * *aEmbeddedChildren) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetEmbeddedChildren(aEmbeddedChildren); } \
248 : NS_IMETHOD Compare(nsIAccessibleTextRange *aOtherRange, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Compare(aOtherRange, _retval); } \
249 : NS_IMETHOD CompareEndPoints(uint32_t aEndPoint, nsIAccessibleTextRange *aOtherRange, uint32_t aOtherRangeEndPoint, int32_t *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->CompareEndPoints(aEndPoint, aOtherRange, aOtherRangeEndPoint, _retval); } \
250 : NS_IMETHOD GetText(nsAString & aText) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetText(aText); } \
251 : NS_IMETHOD GetBounds(nsIArray * *aBounds) override { return !_to ? NS_ERROR_NULL_POINTER : _to->GetBounds(aBounds); } \
252 : NS_IMETHOD Move(uint32_t aUnit, int32_t aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Move(aUnit, aCount); } \
253 : NS_IMETHOD MoveStart(uint32_t aUnit, int32_t aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MoveStart(aUnit, aCount); } \
254 : NS_IMETHOD MoveEnd(uint32_t aUnit, int32_t aCount) override { return !_to ? NS_ERROR_NULL_POINTER : _to->MoveEnd(aUnit, aCount); } \
255 : NS_IMETHOD Normalize(uint32_t aUnit) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Normalize(aUnit); } \
256 : NS_IMETHOD Crop(nsIAccessible *aContainer, bool *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Crop(aContainer, _retval); } \
257 : NS_IMETHOD FindText(const nsAString & aText, bool aIsBackward, bool aIsIgnoreCase, nsIAccessibleTextRange * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindText(aText, aIsBackward, aIsIgnoreCase, _retval); } \
258 : NS_IMETHOD FindAttr(uint32_t aAttr, nsIVariant *aValue, bool aIsBackward, nsIAccessibleTextRange * *_retval) override { return !_to ? NS_ERROR_NULL_POINTER : _to->FindAttr(aAttr, aValue, aIsBackward, _retval); } \
259 : NS_IMETHOD AddToSelection(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->AddToSelection(); } \
260 : NS_IMETHOD RemoveFromSelection(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->RemoveFromSelection(); } \
261 : NS_IMETHOD Select(void) override { return !_to ? NS_ERROR_NULL_POINTER : _to->Select(); } \
262 : NS_IMETHOD ScrollIntoView(uint32_t aHow) override { return !_to ? NS_ERROR_NULL_POINTER : _to->ScrollIntoView(aHow); }
263 :
264 : #if 0
265 : /* Use the code below as a template for the implementation class for this interface. */
266 :
267 : /* Header file */
268 : class nsAccessibleTextRange : public nsIAccessibleTextRange
269 : {
270 : public:
271 : NS_DECL_ISUPPORTS
272 : NS_DECL_NSIACCESSIBLETEXTRANGE
273 :
274 : nsAccessibleTextRange();
275 :
276 : private:
277 : ~nsAccessibleTextRange();
278 :
279 : protected:
280 : /* additional members */
281 : };
282 :
283 : /* Implementation file */
284 : NS_IMPL_ISUPPORTS(nsAccessibleTextRange, nsIAccessibleTextRange)
285 :
286 : nsAccessibleTextRange::nsAccessibleTextRange()
287 : {
288 : /* member initializers and constructor code */
289 : }
290 :
291 : nsAccessibleTextRange::~nsAccessibleTextRange()
292 : {
293 : /* destructor code */
294 : }
295 :
296 : /* readonly attribute nsIAccessibleText startContainer; */
297 : NS_IMETHODIMP nsAccessibleTextRange::GetStartContainer(nsIAccessibleText * *aStartContainer)
298 : {
299 : return NS_ERROR_NOT_IMPLEMENTED;
300 : }
301 :
302 : /* readonly attribute long startOffset; */
303 : NS_IMETHODIMP nsAccessibleTextRange::GetStartOffset(int32_t *aStartOffset)
304 : {
305 : return NS_ERROR_NOT_IMPLEMENTED;
306 : }
307 :
308 : /* readonly attribute nsIAccessibleText endContainer; */
309 : NS_IMETHODIMP nsAccessibleTextRange::GetEndContainer(nsIAccessibleText * *aEndContainer)
310 : {
311 : return NS_ERROR_NOT_IMPLEMENTED;
312 : }
313 :
314 : /* readonly attribute long endOffset; */
315 : NS_IMETHODIMP nsAccessibleTextRange::GetEndOffset(int32_t *aEndOffset)
316 : {
317 : return NS_ERROR_NOT_IMPLEMENTED;
318 : }
319 :
320 : /* readonly attribute nsIAccessible container; */
321 : NS_IMETHODIMP nsAccessibleTextRange::GetContainer(nsIAccessible * *aContainer)
322 : {
323 : return NS_ERROR_NOT_IMPLEMENTED;
324 : }
325 :
326 : /* readonly attribute nsIArray embeddedChildren; */
327 : NS_IMETHODIMP nsAccessibleTextRange::GetEmbeddedChildren(nsIArray * *aEmbeddedChildren)
328 : {
329 : return NS_ERROR_NOT_IMPLEMENTED;
330 : }
331 :
332 : /* boolean compare (in nsIAccessibleTextRange aOtherRange); */
333 : NS_IMETHODIMP nsAccessibleTextRange::Compare(nsIAccessibleTextRange *aOtherRange, bool *_retval)
334 : {
335 : return NS_ERROR_NOT_IMPLEMENTED;
336 : }
337 :
338 : /* long compareEndPoints (in unsigned long aEndPoint, in nsIAccessibleTextRange aOtherRange, in unsigned long aOtherRangeEndPoint); */
339 : NS_IMETHODIMP nsAccessibleTextRange::CompareEndPoints(uint32_t aEndPoint, nsIAccessibleTextRange *aOtherRange, uint32_t aOtherRangeEndPoint, int32_t *_retval)
340 : {
341 : return NS_ERROR_NOT_IMPLEMENTED;
342 : }
343 :
344 : /* readonly attribute AString text; */
345 : NS_IMETHODIMP nsAccessibleTextRange::GetText(nsAString & aText)
346 : {
347 : return NS_ERROR_NOT_IMPLEMENTED;
348 : }
349 :
350 : /* readonly attribute nsIArray bounds; */
351 : NS_IMETHODIMP nsAccessibleTextRange::GetBounds(nsIArray * *aBounds)
352 : {
353 : return NS_ERROR_NOT_IMPLEMENTED;
354 : }
355 :
356 : /* void move (in unsigned long aUnit, in long aCount); */
357 : NS_IMETHODIMP nsAccessibleTextRange::Move(uint32_t aUnit, int32_t aCount)
358 : {
359 : return NS_ERROR_NOT_IMPLEMENTED;
360 : }
361 :
362 : /* void moveStart (in unsigned long aUnit, in long aCount); */
363 : NS_IMETHODIMP nsAccessibleTextRange::MoveStart(uint32_t aUnit, int32_t aCount)
364 : {
365 : return NS_ERROR_NOT_IMPLEMENTED;
366 : }
367 :
368 : /* void moveEnd (in unsigned long aUnit, in long aCount); */
369 : NS_IMETHODIMP nsAccessibleTextRange::MoveEnd(uint32_t aUnit, int32_t aCount)
370 : {
371 : return NS_ERROR_NOT_IMPLEMENTED;
372 : }
373 :
374 : /* void normalize (in unsigned long aUnit); */
375 : NS_IMETHODIMP nsAccessibleTextRange::Normalize(uint32_t aUnit)
376 : {
377 : return NS_ERROR_NOT_IMPLEMENTED;
378 : }
379 :
380 : /* boolean crop (in nsIAccessible aContainer); */
381 : NS_IMETHODIMP nsAccessibleTextRange::Crop(nsIAccessible *aContainer, bool *_retval)
382 : {
383 : return NS_ERROR_NOT_IMPLEMENTED;
384 : }
385 :
386 : /* nsIAccessibleTextRange findText (in AString aText, in boolean aIsBackward, in boolean aIsIgnoreCase); */
387 : NS_IMETHODIMP nsAccessibleTextRange::FindText(const nsAString & aText, bool aIsBackward, bool aIsIgnoreCase, nsIAccessibleTextRange * *_retval)
388 : {
389 : return NS_ERROR_NOT_IMPLEMENTED;
390 : }
391 :
392 : /* nsIAccessibleTextRange findAttr (in unsigned long aAttr, in nsIVariant aValue, in boolean aIsBackward); */
393 : NS_IMETHODIMP nsAccessibleTextRange::FindAttr(uint32_t aAttr, nsIVariant *aValue, bool aIsBackward, nsIAccessibleTextRange * *_retval)
394 : {
395 : return NS_ERROR_NOT_IMPLEMENTED;
396 : }
397 :
398 : /* void addToSelection (); */
399 : NS_IMETHODIMP nsAccessibleTextRange::AddToSelection()
400 : {
401 : return NS_ERROR_NOT_IMPLEMENTED;
402 : }
403 :
404 : /* void removeFromSelection (); */
405 : NS_IMETHODIMP nsAccessibleTextRange::RemoveFromSelection()
406 : {
407 : return NS_ERROR_NOT_IMPLEMENTED;
408 : }
409 :
410 : /* void select (); */
411 : NS_IMETHODIMP nsAccessibleTextRange::Select()
412 : {
413 : return NS_ERROR_NOT_IMPLEMENTED;
414 : }
415 :
416 : /* void scrollIntoView (in unsigned long aHow); */
417 : NS_IMETHODIMP nsAccessibleTextRange::ScrollIntoView(uint32_t aHow)
418 : {
419 : return NS_ERROR_NOT_IMPLEMENTED;
420 : }
421 :
422 : /* End of implementation class template. */
423 : #endif
424 :
425 :
426 : #endif /* __gen_nsIAccessibleTextRange_h__ */
|