This interface gives access to a paragraph fragment that is at least
partially visible on the screen. A paragraph fragment is the portion
of a paragraph that is displayed on a single page or a in a single
column.
The parent returned by ::getAccessibleParent
is the accessible view of a text document (in this case the
paragraph is contained in a page body) or the accessible view
of a header, footer, footnote, endnote, table cell, text frame,
page or shape.
The children returned by ::getAccessibleChild are
the graphics, text boxes and OLE objects that are bound as
character within the paragraph. Graphics, text boxes and OLE
objects that are bound to the paragraph or to a character
within the paragraph are not children of the paragraph
fragment but of the document view itself.
The role is either ::PARAGRAPH or
::HEADING . The later one is returned if the
paragraph's style is contained in the chapter numbering
of a text document.
The name is "paragraph" or "heading" (or the equivalent term
in application's language) with a number appended.
The description contains the term "paragraph" (or the equivalent
term in application's language) and the first sentence of
the paragraph.
There are no relations.
The following states are supported by the
::XAccessibleStateSet returned by
::getAccessibleStateSet .
::DEFUNC (indicates that the document
window has been closed or the paragraph fragment is
not existing any longer).
::EDITABLE
::ENABLED (always contained)
::MULTILINE (always contained)
::MULTISELECTABLE (always contained)
::OPAQUE
::SHOWING
::VISIBLE
::FOCUSED
Depending of the application's region setting, the locale is
the western, asian or complex language of the paragraph.
This interface gives access to a paragraph fragment's text. The text
contains the paragraph's editable text as well as generated text,
like chapter numbers, hyphens or fields. Characters of generated
text contribute to the text's character indexing. However, it is not
possible to set the caret or start a selection within generated text.
For text frames, graphics, etc. that are bound as character some
text is generated that contains the objects description.
The attributes (or properties) returned by getCharacterAttributes
are a sub set of the properties described by the service
For properties
that have asian and complex counterparts, the value that is visible
is returned. This can be in fact the western, asian or complex value.
Its not possible to change the value of any property by using
::setAttributes .
TODO: If there is a demand, some attributes might be added that
tells whether the character at a certain index is editable or generated.
This interface is a subset of
::com.sun.star.accessibility.XAccessibleEditableText
and gives access to a paragraph fragment's text in a read-only mode.
The text contains the paragraph's text (changeable as
well as generated text, like chapter numbers, hyphens or
fields). Characters of generated text contribute to the text's
character indexing.
For text frames, graphics, etc. that are bound as character
some text is generated that contains the objects description.
The attributes (or properties) returned by
getCharacterAttributes are a sub set of the properties
described by the service
For
properties that have asian and complex counterparts, the value
that is visible is returned. This can be in fact the western,
asian or complex value.
TODO: If there is a demand,
some attributes might be added that tells whether the
character at a certain index is changeable or generated.