Language:

The Free and Open Productivity Suite
Apache OpenOffice 4.1.4 released

Developer's Guide

API

SDK

Tips 'n' Tricks

Miscellaneous


:: com :: sun :: star :: accessibility ::

constants group AccessibleTextType
Description
Collection of types of text portions.

This collection describes the types of text portions that can be accessed with the help of the methods of the XAccessibleText interface.

Since
OOo 1.1.2

Constants
CHARACTER Single character.  
WORD Single word.  
SENTENCE Single sentence.  
PARAGRAPH Single paragraph.  
LINE Single line.  
GLYPH Single glyph.  
ATTRIBUTE_RUN Attribute run.  
Constants' Details
CHARACTER
const short CHARACTER = 1;
Description
Single character.

Indicates that single (multibyte) characters are used.

WORD
const short WORD = 2;
Description
Single word.

Indicates that single words are used. The definition of what a word is is implementation and language/locale dependent. While in english a word is ended by a space or a special character like a comma or a period, this is not necessarily true in other languages.

SENTENCE
const short SENTENCE = 3;
Description
Single sentence.

Indicates that single sentences are used. The definition of what a sentence is is implementation and language/locale dependent. While in english a sentence is ended by a period, this is not necessarily true in other languages.

PARAGRAPH
const short PARAGRAPH = 4;
Description
Single paragraph.

Indicates that single paragraphs are used. The definition of what a paragraph is is implementation and language/locale dependent.

LINE
const short LINE = 5;
Description
Single line.

Indicates that single lines, as displayed on the screen, are used. In contrast to the constants CHARACTER, WORD, SENTENCE, and PARAGRAPH which are content oriented this constant is view oriented. It can be used to retrieve hyphenation information.

GLYPH
const short GLYPH = 6;
Description
Single glyph.

Glyphs are runs of one or more (multibyte) characters which are displayed as one symbol.

ATTRIBUTE_RUN
const short ATTRIBUTE_RUN = 7;
Description
Attribute run.

Each attribute run is a character run of maximal length where all characters have the same attributes set.

Top of Page

Apache Software Foundation

Copyright & License | Privacy | Contact Us | Donate | Thanks

Apache and the Apache feather logo are trademarks of The Apache Software Foundation. OpenOffice, OpenOffice.org and the seagull logo are registered trademarks of The Apache Software Foundation. Other names appearing on the site may be trademarks of their respective owners.