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

interface 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

Since
OOo 1.1.2

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

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

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

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

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

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

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