1 /*************************************************************************
3 * File Name (AccessibleDocument.idl)
5 * IAccessible2 IDL Specification
7 * Copyright (c) 2013 Linux Foundation
11 * Redistribution and use in source and binary forms, with or without
12 * modification, are permitted provided that the following conditions
15 * 1. Redistributions of source code must retain the above copyright
16 * notice, this list of conditions and the following disclaimer.
18 * 2. Redistributions in binary form must reproduce the above
19 * copyright notice, this list of conditions and the following
20 * disclaimer in the documentation and/or other materials
21 * provided with the distribution.
23 * 3. Neither the name of the Linux Foundation nor the names of its
24 * contributors may be used to endorse or promote products
25 * derived from this software without specific prior written
28 * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND
29 * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES,
30 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
31 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
32 * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR
33 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
34 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
35 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
36 * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
37 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
38 * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR
39 * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
40 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
42 * This BSD License conforms to the Open Source Initiative "Simplified
43 * BSD License" as published at:
44 * http://www.opensource.org/licenses/bsd-license.php
46 * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2
47 * mark may be used in accordance with the Linux Foundation Trademark
48 * Policy to indicate compliance with the IAccessible2 specification.
50 ************************************************************************/
56 /** @brief This interface represents documents.
58 This interface is used for a representation of documents.
60 [object, uuid(C48C7FCF
-4AB5
-4056-AFA6
-902D6E1D1149
)]
61 interface IAccessibleDocument
: IUnknown
63 /** @brief Returns the most recently used anchor target within a document.
65 A document's most recently targeted in-page anchor is returned. A typical use
66 of this method is to fetch the anchor target within an HTML document. In this
67 case anchor targets are those which has been defined with the <a> tag.
69 @param [out] accessible
71 @retval S_FALSE if there are no existing valid anchor targets, [out] value is NULL.
73 [propget] HRESULT anchorTarget
75 [out, retval] IUnknown
**accessible