Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.15

:: 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

Apache Software Foundation

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

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