:: com :: sun :: star :: accessibility ::
|
interface XAccessibleTextAttributes |
|
- Description
- Implement this interface to give access to the attributes of a text.
- Since
- OOo 2.0.4
|
Methods' Details |
getDefaultAttributes
sequence< ::com::sun::star::beans::PropertyValue > |
getDefaultAttributes( |
[in] sequence< string > |
RequestedAttributes ); |
- Description
- Get the default attribute set for the text.
Returns a set of all default paragraph and default character
attributes that are associated for the text. To prevent the method
from returning possibly large sets of attributes that the caller
is not interested in the caller can provide a list of attributes
that he wants to be returned.
- Parameter RequestedAttributes
- This string sequence defines the set of attributes that the
caller is interested in. When there are requested attributes
that are not defined for the text then they are ignored.
When the sequence is empty all attributes are returned.
- Returns
- Returns the requested attributes of the text. Each attribute
is represented by a ::com::sun::star::beans::PropertyValue
object.
|
|
getRunAttributes
- Description
- Get the run attribute set for the specified position.
Returns a set of character attributes that are associated for
the character at the given index and are directly set or are set
via a character style. To prevent the method from returning all of
these attributes the caller can provide a list of attributes
that he wants to be returned.
- Parameter Index
- The index of the character for which to return its attributes.
The valid range is 0..length of text-1.
- Parameter RequestedAttributes
- This string sequence defines the set of attributes that the
caller is interested in. When there are requested attributes
that are not defined for the text then they are ignored.
When the sequence is empty all attributes are returned.
- Returns
- Returns the requested attributes of the specified character.
Each attribute is represented by a
::com::sun::star::beans::PropertyValue object.
- Throws
- ::com::sun::star::lang::IndexOutOfBoundsException
if the index is invalid
|
|
Top of Page
Copyright © 2000, 2013 LibreOffice contributors and/or their affiliates. All rights reserved.
LibreOffice was created by The Document Foundation, based on OpenOffice.org, which is Copyright 2000, 2010 Oracle and/or its affiliates.
The Document Foundation acknowledges all community members, please find more info at our website.
Privacy Policy | Impressum (Legal Info) | Copyright information: The source code of LibreOffice is licensed under the GNU Lesser General Public License (LGPLv3). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.