:: drafts :: com :: sun :: star :: i18n ::

interface XScriptTypeDetector
Base Hierarchy
::com::sun::star::uno::XInterface
 |
 +-XScriptTypeDetector
Description
contains the help routines for layouting complex text

Assumption - StartPos is inclusive and EndPos is exclusive.

The nScriptDirection parameters are of type ScriptDirection


Methods' Summary
beginOfScriptDirection
endOfScriptDirection
getScriptDirection
beginOfCTLScriptType
endOfCTLScriptType
getCTLScriptType
Methods' Details
beginOfScriptDirection
long
beginOfScriptDirection(
 
[in] string
[in] long
[in] short
 
aText,
nPos,
nScriptDirection );

Returns
the position where the specified Script Direction starts.
endOfScriptDirection
long
endOfScriptDirection(
 
[in] string
[in] long
[in] short
 
aText,
nPos,
nScriptDirection );

Returns
the position where the specified Script Direction ends.
getScriptDirection
short
getScriptDirection(
 
[in] string
[in] long
[in] short
 
aText,
nPos,
nDefaultScriptDirection );

Returns
the Script Direction of the current position.
beginOfCTLScriptType
long
beginOfCTLScriptType(
 
[in] string
[in] long
 
aText,
nPos );

Returns
the position where the specified CTL Script Type starts.
endOfCTLScriptType
long
endOfCTLScriptType(
 
[in] string
[in] long
 
aText,
nPos );

Returns
the position where the specified CTL Script Type ends.
getCTLScriptType
short
getCTLScriptType(
 
[in] string
[in] long
 
aText,
nPos );

Returns
the CTL script type of the current position.
One of CTLScriptType constants.
Top of Page