LibreOffice
LibreOffice 6.4 SDK API Reference
|
Go to the documentation of this file.
19 #ifndef __com_sun_star_i18n_XBreakIterator_idl__
20 #define __com_sun_star_i18n_XBreakIterator_idl__
29 module
com { module sun { module star { module i18n {
69 [in]
short nCharacterIteratorMode,
70 [in]
long nCount, [out]
long nDone );
101 [in]
short nCharacterIteratorMode,
102 [in]
long nCount, [out]
long nDone );
125 [in]
short nWordType);
166 [in]
short nWordType);
202 [in]
short nWordType,
203 [in]
boolean bPreferForward );
229 [in]
short nWordType);
235 [in]
short nWordType);
305 [in]
long nMinBreakPos,
325 [in]
short nScriptType );
343 [in]
short nScriptType );
361 [in]
short nScriptType );
379 [in]
short nScriptType );
414 [in]
short nCharType );
436 [in]
short nCharType );
458 [in]
short nCharType );
480 [in]
short nCharType );
contains start and end position of a word.
Definition: Boundary.idl:35
short getWordType([in] string aText, [in] long nPos, [in] ::com::sun::star::lang::Locale aLocale)
Line break options passed in calls to XBreakIterator::getLineBreak().
Definition: LineBreakUserOptions.idl:29
long beginOfSentence([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale)
Traverses in Text from nStartPos to the start of a sentence.
boolean isEndWord([in] string aText, [in] long nPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nWordType)
If a word ends at position nPos.
Boundary nextWord([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nWordType)
Traverses one word in Text from nStartPos forwards.
LineBreakResults getLineBreak([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] long nMinBreakPos, [in] LineBreakHyphenationOptions aHyphOptions, [in] LineBreakUserOptions aUserOptions)
Calculate the line break position in the Text from the specified nStartPos.
long previousCharacters([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nCharacterIteratorMode, [in] long nCount, [out] long nDone)
Traverses specified number of characters/cells in Text from nStartPos backwards.
Boundary previousWord([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nWordType)
Traverses one word in Text from nStartPos backwards.
long beginOfScript([in] string aText, [in] long nStartPos, [in] short nScriptType)
Traverses in Text from nStartPos to the beginning of the specified script type.
long previousScript([in] string aText, [in] long nStartPos, [in] short nScriptType)
Traverses in Text from nStartPos to the previous start of the specified script type.
long endOfCharBlock([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nCharType)
Traverses in Text from nStartPos to the end of the specified character type.
short getScriptType([in] string aText, [in] long nPos)
Get the script type of the character at position nPos.
Boundary getWordBoundary([in] string aText, [in] long nPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nWordType, [in] boolean bPreferForward)
Identifies StartPos and EndPos of current word.
Results of method XBreakIterator::getLineBreak().
Definition: LineBreakResults.idl:31
long nextCharacters([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nCharacterIteratorMode, [in] long nCount, [out] long nDone)
Traverses specified number of characters/cells in Text from nStartPos forwards.
long endOfSentence([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale)
Traverses in Text from nStartPos to the end of a sentence.
long endOfScript([in] string aText, [in] long nStartPos, [in] short nScriptType)
Traverses in Text from nStartPos to the end of the specified script type.
contains the base routines for iteration in Unicode string.
Definition: XBreakIterator.idl:40
long beginOfCharBlock([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nCharType)
Traverses in Text from nStartPos to the beginning of the specified character type.
object represents a specific geographical, political, or cultural region.
Definition: Locale.idl:48
Definition: Ambiguous.idl:22
boolean isBeginWord([in] string aText, [in] long nPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nWordType)
If a word starts at position nPos.
Hyphenation options passed in calls to XBreakIterator::getLineBreak().
Definition: LineBreakHyphenationOptions.idl:31
long previousCharBlock([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nCharType)
Traverses in Text from nStartPos to the previous start of the specified character type.
long nextCharBlock([in] string aText, [in] long nStartPos, [in] ::com::sun::star::lang::Locale aLocale, [in] short nCharType)
Traverses in Text from nStartPos to the next start of the specified character type.
base interface of all UNO interfaces
Definition: XInterface.idl:48
long nextScript([in] string aText, [in] long nStartPos, [in] short nScriptType)
Traverses in Text from nStartPos to the next start of the specified script type.