Syntax
interface XPossibleHyphens : com::sun::star::uno::XInterface ;
Description
Gives information about a word's possible hyphenation points.
Example: In German pre-spelling-reform you may have the following:
getWord: Dampfschiffahrt
getPossibleHyphens: Dampf=schiff=fahrt
getOrigHyphensPositions: 4, 9
That is "Dampfschiffahrt" can be hyphenated after the "pf" (4) and
between the double "ff" (9). And if you are going to hyphenate it at
position 9 you will get an additional "f" before the hyphen
character.
See also
- XHyphenator
-
Method Details
|
|
Syntax
- string getWord
();
Description
Returns
-
the word for which the information of possible hyphenation
points was obtained.
Syntax
- com::sun::star::lang::Locale getLocale
();
Returns
-
the language of the hyphenated word.
See also
- Locale
-
Syntax
- string getPossibleHyphens
();
Description
Returns
-
a string depicting the word with all hyphen positions
which are represented by '=' characters.
If there are any alternative spellings, the word will be altered
accordingly.
Syntax
- sequence< short > getHyphenationPositions
();
Description
Returns
-
an ascending sequence of numbers where each number is an offset
within the original word which denotes a hyphenation
position corresponding to one of the hyphens in the
'getPossibleHyphens' string.
See also
- getWord
-
See also
- getPossibleHyphens
-
|
Top of Page
Copyright 2002 Sun Microsystems, Inc., 901 San Antonio Road, Palo Alto, CA 94303 USA.