michael@0: /* -*- Mode: C++; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- michael@0: /* This Source Code Form is subject to the terms of the Mozilla Public michael@0: * License, v. 2.0. If a copy of the MPL was not distributed with this michael@0: * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ michael@0: michael@0: #include "nsISupports.idl" michael@0: michael@0: interface nsIAccessible; michael@0: michael@0: /** michael@0: * A range representing a piece of text in the document. michael@0: */ michael@0: [scriptable, uuid(6fe17c33-6709-4d7a-9ba0-3d448c4b3ef4)] michael@0: interface nsIAccessibleTextRange : nsISupports michael@0: { michael@0: readonly attribute nsIAccessible startContainer; michael@0: readonly attribute long startOffset; michael@0: readonly attribute nsIAccessible endContainer; michael@0: readonly attribute long endOffset; michael@0: michael@0: /** michael@0: * Return text within the range. michael@0: */ michael@0: readonly attribute AString text; michael@0: };