Language

The Free and Open Productivity Suite
Released: Apache OpenOffice 4.1.10

API

SDK

Tips ‘n’ Tricks

Miscellaneous


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

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.