LibreOffice
LibreOffice 5.3 SDK API Reference
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
XScriptTypeDetector Interface Referencepublished

contains the help routines for layouting complex text More...

import "XScriptTypeDetector.idl";

Inheritance diagram for XScriptTypeDetector:
XInterface

Public Member Functions

long beginOfScriptDirection ([in] string aText, [in] long nPos, [in] short nScriptDirection)
 
long endOfScriptDirection ([in] string aText, [in] long nPos, [in] short nScriptDirection)
 
short getScriptDirection ([in] string aText, [in] long nPos, [in] short nDefaultScriptDirection)
 
long beginOfCTLScriptType ([in] string aText, [in] long nPos)
 
long endOfCTLScriptType ([in] string aText, [in] long nPos)
 
short getCTLScriptType ([in] string aText, [in] long nPos)
 
- Public Member Functions inherited from XInterface
any queryInterface ([in] type aType)
 queries for a new interface to an existing UNO object. More...
 
void acquire ()
 increases the reference counter by one. More...
 
void release ()
 decreases the reference counter by one. More...
 

Detailed 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

Member Function Documentation

long beginOfCTLScriptType ( [in] string  aText,
[in] long  nPos 
)
Returns
the position where the specified CTL Script Type starts.
long beginOfScriptDirection ( [in] string  aText,
[in] long  nPos,
[in] short  nScriptDirection 
)
Returns
the position where the specified Script Direction starts.
long endOfCTLScriptType ( [in] string  aText,
[in] long  nPos 
)
Returns
the position where the specified CTL Script Type ends.
long endOfScriptDirection ( [in] string  aText,
[in] long  nPos,
[in] short  nScriptDirection 
)
Returns
the position where the specified Script Direction ends.
short getCTLScriptType ( [in] string  aText,
[in] long  nPos 
)
Returns
the CTL script type of the current position.
One of CTLScriptType constants.
short getScriptDirection ( [in] string  aText,
[in] long  nPos,
[in] short  nDefaultScriptDirection 
)
Returns
the Script Direction of the current position.

The documentation for this interface was generated from the following file: