1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/other-licenses/ia2/AccessibleDocument.idl Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,78 @@ 1.4 +/************************************************************************* 1.5 + * 1.6 + * File Name (AccessibleDocument.idl) 1.7 + * 1.8 + * IAccessible2 IDL Specification 1.9 + * 1.10 + * Copyright (c) 2013 Linux Foundation 1.11 + * All rights reserved. 1.12 + * 1.13 + * 1.14 + * Redistribution and use in source and binary forms, with or without 1.15 + * modification, are permitted provided that the following conditions 1.16 + * are met: 1.17 + * 1.18 + * 1. Redistributions of source code must retain the above copyright 1.19 + * notice, this list of conditions and the following disclaimer. 1.20 + * 1.21 + * 2. Redistributions in binary form must reproduce the above 1.22 + * copyright notice, this list of conditions and the following 1.23 + * disclaimer in the documentation and/or other materials 1.24 + * provided with the distribution. 1.25 + * 1.26 + * 3. Neither the name of the Linux Foundation nor the names of its 1.27 + * contributors may be used to endorse or promote products 1.28 + * derived from this software without specific prior written 1.29 + * permission. 1.30 + * 1.31 + * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND 1.32 + * CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, 1.33 + * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 1.34 + * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 1.35 + * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR 1.36 + * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 1.37 + * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 1.38 + * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 1.39 + * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 1.40 + * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 1.41 + * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR 1.42 + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, 1.43 + * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 1.44 + * 1.45 + * This BSD License conforms to the Open Source Initiative "Simplified 1.46 + * BSD License" as published at: 1.47 + * http://www.opensource.org/licenses/bsd-license.php 1.48 + * 1.49 + * IAccessible2 is a trademark of the Linux Foundation. The IAccessible2 1.50 + * mark may be used in accordance with the Linux Foundation Trademark 1.51 + * Policy to indicate compliance with the IAccessible2 specification. 1.52 + * 1.53 + ************************************************************************/ 1.54 + 1.55 +import "objidl.idl"; 1.56 +import "oaidl.idl"; 1.57 +import "oleacc.idl"; 1.58 + 1.59 +/** @brief This interface represents documents. 1.60 + 1.61 + This interface is used for a representation of documents. 1.62 +*/ 1.63 +[object, uuid(C48C7FCF-4AB5-4056-AFA6-902D6E1D1149)] 1.64 +interface IAccessibleDocument : IUnknown 1.65 +{ 1.66 + /** @brief Returns the most recently used anchor target within a document. 1.67 + 1.68 + A document's most recently targeted in-page anchor is returned. A typical use 1.69 + of this method is to fetch the anchor target within an HTML document. In this 1.70 + case anchor targets are those which has been defined with the <a> tag. 1.71 + 1.72 + @param [out] accessible 1.73 + @retval S_OK 1.74 + @retval S_FALSE if there are no existing valid anchor targets, [out] value is NULL. 1.75 + */ 1.76 + [propget] HRESULT anchorTarget 1.77 + ( 1.78 + [out, retval] IUnknown **accessible 1.79 + ); 1.80 + 1.81 +}