SAP ABAP Class CL_I18N_BIDI (Support for BIDI Control Codes)
Hierarchy
SAP_BASIS (Software Component) SAP Basis Component
   BC-I18 (Application Component) Internationalization (I18N)
     SI18N (Package) I18N Functions
Properties
Class CL_I18N_BIDI  
Short Description Support for BIDI Control Codes    
Super Class    
Instantiability of a Class 2  Public 
Final    
General Data
Message Class    
Program status     
Category 0   
Package SI18N   I18N Functions 
Created 20040820   SAP 
Last change 20110908   SAP 
Shared Memory-enabled    
Fixed point arithmetic    
Unicode checks active    
Forward declarations
# Type group / Object type Type Type Description
1 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
Interfaces
Class CL_I18N_BIDI has no interface implemented.
Friends
Class CL_I18N_BIDI has no friend class.
Attributes
# Attribute Level Visibility Read only Typing Associated Type Initial Value Description Created on
1 BIDI_CTRL_CODES Static Attribute Public Type reference (TYPE) STRING All available BIDI control codes 20090930
2 BIDI_CTRL_CODES_ACTIVE Static Attribute Public Type reference (TYPE) ABAP_BOOL ABAP_FALSE Are BIDI Control Codes allowed by system environment 20040820
3 BIDI_CTRL_CODE_START Static Attribute Public Type reference (TYPE) CHAR1 ' ' BIDI Start Control Code 20040820
4 BIDI_CTRL_CODE_STOP Static Attribute Public Type reference (TYPE) CHAR1 ' ' BIDI Stop Control Code 20040820
5 BIDI_FILTERING_ACTIVE Static Attribute Public Type reference (TYPE) ABAP_BOOL Is Filtering possible ? 20040825
6 LTR_EMB Static Attribute Public Type reference (TYPE) CHAR1 '' LEFT-TO-RIGHT EMBEDDING 20040824
7 LTR_MARK Static Attribute Public Type reference (TYPE) CHAR1 '' LEFT-TO-RIGHT MARK 20040824
8 LTR_OVER Static Attribute Public Type reference (TYPE) CHAR1 '' LEFT-TO-RIGHT OVERRIDE 20040824
9 PDF_CHAR Static Attribute Public Type reference (TYPE) CHAR1 '' POP DIRECTIONAL FORMATTING 20040824
10 RTL_EMB Static Attribute Public Type reference (TYPE) CHAR1 '' RIGHT-TO-LEFT EMBEDDING 20040824
11 RTL_LANGUAGES Static Attribute Public Type reference (TYPE) STRING RIGHT-TO-LEFT Languages 20050513
12 RTL_MARK Static Attribute Public Type reference (TYPE) CHAR1 '' RIGHT-TO-LEFT MARK 20040824
13 RTL_OVER Static Attribute Public Type reference (TYPE) CHAR1 '' RIGHT-TO-LEFT OVERRIDE 20040824
14 SHAPING_SCRIPTS Static Attribute Public Type reference (TYPE) STRING Languages with shaping scripts 20050513
Methods
# Method Level Visibility Method type Description Created on
1 BIDI_ENABLE Static method Public Method 20050125
2 BIDI_GET_LOGICAL_MAP Static method Public Method Apply BIDI algortihm using an index map 20090930
3 BIDI_GET_LOGICAL_MAP_PRIV Static method Private Method Kernel method to apply BIDI algorithm using an index map 20090930
4 BIDI_STR_MIRROR_PRIV Static method Private Method Replace characters with the "mirrored" property in RTL runs. 20090930
5 CLASS_CONSTRUCTOR Static method Public Constructor CLASS_CONSTRUCTOR 20040820
6 FILTER_BIDI_CTRL_CODES Static method Public Method Should Bidi Control Codes filtered ? 20040824
7 GET_BIDI_FLAGS Static method Public Method Return the flags "LTR Base direction" and "Filter Codes" 20040824
8 GET_SHAPED_GLYPH_WIDTH Static method Public Method shaped length for Arabic glyph 20041202
9 GET_SHAPED_GLYPH_WIDTH_PRIV Static method Private Method shaped length for Arabic glyph in Unicode 20041202
10 IS_SCRIPT_SHAPING Static method Public Method 20050125
11 LTR_OUTPUT Static method Public Method output a field with base direction LTR 20050117
12 OTF_MIRROR_LAYOUT Static method Public Method Change OTF layout to Right-To-Left 20090930
13 OTF_RTL_RESORT Static method Public Method re-sort of OTF table 20041129
14 REMOVE_BIDI_CTRL_CODES Static method Public Method Filter Control Codes 20040824
15 SHAPE_GET_WIDTH Static method Public Method shape Arabic and determine width 20041203
16 SHAPE_GET_WIDTH_PRIV Static method Private Method shape Arabic and determine width in Unicode 20041202
17 SHAPE_WITH_DIGITS_PRIV Static method Private Method shape Arabic and digits 20090930
Events
Class CL_I18N_BIDI has no event.
Types
Class CL_I18N_BIDI has no local type.
Method Signatures

Method BIDI_ENABLE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LANGU Call by reference Type reference (TYPE) LANG SY-LANGU 20050125
2 Returning RE_RTL Value transfer Type reference (TYPE) ABAP_BOOL 20050125

Method BIDI_ENABLE on class CL_I18N_BIDI has no exception.

Method BIDI_GET_LOGICAL_MAP Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_DO_MIRRORING Call by reference Type reference (TYPE) ABAP_BOOL ABAP_TRUE Replace characters with the "mirrored" property in RTL runs. 20090930
2 Importing IM_RTL_DIRECTION Call by reference Type reference (TYPE) FLAG General Flag 20090930
3 Changing TEXT_TABLE Call by reference Type reference (TYPE) STANDARD TABLE 20090930
# Exception Resumable Description Created on
1 CX_I18N_BIDI_INTERNAL_ERROR Thrown from kernel methods, see message. 20090930
2 CX_I18N_BIDI_INVALID_TABLE Table does not have the expected structure 20090930

Method BIDI_GET_LOGICAL_MAP_PRIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_MAP Call by reference Type reference (TYPE) XSTRING A C-array of integers, stored in a xstring 20090930
2 Importing IM_LANG Call by reference Type reference (TYPE) SYLANGU Language associted with the IM_LINE 20090930
3 Importing IM_LINE Call by reference Type reference (TYPE) STRING The text to be analyzed 20090930
4 Importing IM_RTL_DIRECTION Call by reference Type reference (TYPE) FLAG Indicates right-to-left text direction 20090930
# Exception Resumable Description Created on
1 CX_I18N_BIDI_INTERNAL_ERROR Thrown from kernel methods, see message. 20090930

Method BIDI_STR_MIRROR_PRIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_STATUS Call by reference Type reference (TYPE) I Return code 20090930
2 Exporting EX_STR Call by reference Type reference (TYPE) STRING Version of IM_STR with mirrored characters 20090930
3 Importing IM_RTL_DIRECTION Call by reference Type reference (TYPE) ABAP_BOOL Text has RTL direction 20090930
4 Importing IM_STR Call by reference Type reference (TYPE) STRING Input Text 20090930

Method BIDI_STR_MIRROR_PRIV on class CL_I18N_BIDI has no exception.

Method CLASS_CONSTRUCTOR Signature

Method CLASS_CONSTRUCTOR on class CL_I18N_BIDI has no parameter.
Method CLASS_CONSTRUCTOR on class CL_I18N_BIDI has no exception.

Method FILTER_BIDI_CTRL_CODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_FILTER_FLAG Call by reference Type reference (TYPE) CHAR1 Filter-Control-Codes 20040824
2 Importing IM_LTR_FLAG Call by reference Type reference (TYPE) CHAR1 LTR-Grundrichtung 20040824
3 Returning RE_FILTER Value transfer Type reference (TYPE) ABAP_BOOL Control-Codes ausfiltern? 20040824

Method FILTER_BIDI_CTRL_CODES on class CL_I18N_BIDI has no exception.

Method GET_BIDI_FLAGS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting EX_FILTER_FLAG Call by reference Type reference (TYPE) CHAR1 Filter-Control-Codes 20040824
2 Exporting EX_LTR_FLAG Call by reference Type reference (TYPE) CHAR1 LTR-Grundrichtung 20040824
3 Exporting EX_RC Call by reference Type reference (TYPE) I Rückgabewert 20040824
4 Importing IM_DTEL Call by reference Type reference (TYPE) ROLLNAME Datenelement (semantische Domäne) 20040824

Method GET_BIDI_FLAGS on class CL_I18N_BIDI has no exception.

Method GET_SHAPED_GLYPH_WIDTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FONT_METRICS Call by reference Type reference (TYPE) RSPOFONTMETRICS 20041202
2 Exporting GLYPH_TECH_LEN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041202
3 Exporting GLYPH_VIS_LEN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041202
4 Importing TXT_LOG Call by reference Type reference (TYPE) STRING 20041202
# Exception Resumable Description Created on
1 ILLEGAL_INPUT_DATA Kein gültiger Text zum Formen 20041202

Method GET_SHAPED_GLYPH_WIDTH_PRIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FONT_METRICS Call by reference Type reference (TYPE) RSPOFONTMETRICS 20041202
2 Exporting GLYPH_TECH_LEN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041202
3 Exporting GLYPH_VIS_LEN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041202
4 Exporting RESULT Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041202
5 Importing TXT_LOG Call by reference Type reference (TYPE) STRING 20041202

Method GET_SHAPED_GLYPH_WIDTH_PRIV on class CL_I18N_BIDI has no exception.

Method IS_SCRIPT_SHAPING Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing IM_LANGU Call by reference Type reference (TYPE) LANG SY-LANGU 20050125
2 Returning RE_SHA Value transfer Type reference (TYPE) ABAP_BOOL 20050125

Method IS_SCRIPT_SHAPING on class CL_I18N_BIDI has no exception.

Method LTR_OUTPUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing FIELD Call by reference Type reference (TYPE) CLIKE 20050117
2 Importing ISSIGNEDNUMBER Call by reference Type reference (TYPE) ABAP_BOOL 20050117

Method LTR_OUTPUT on class CL_I18N_BIDI has no exception.

Method OTF_MIRROR_LAYOUT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IM_OTFTABLE Call by reference Type reference (TYPE) OTF_T_ITCOO OTF Structure 20090930

Method OTF_MIRROR_LAYOUT on class CL_I18N_BIDI has no exception.

Method OTF_RTL_RESORT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing IM_OTFTABLE Call by reference Type reference (TYPE) OTF_T_ITCOO OTF-Tabelle 20041129

Method OTF_RTL_RESORT on class CL_I18N_BIDI has no exception.

Method REMOVE_BIDI_CTRL_CODES Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Changing TEXT Call by reference Type reference (TYPE) STRING Text, in dem Control-Codes gefiltert werden sollen 20040824

Method REMOVE_BIDI_CTRL_CODES on class CL_I18N_BIDI has no exception.

Method SHAPE_GET_WIDTH Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FONT_METRICS Call by reference Type reference (TYPE) RSPOFONTMETRICS 20041203
2 Importing LANGUAGE Call by reference Type reference (TYPE) SYLANGU SPACE Language Key of Current Text Environment 20090930
3 Importing SHAPE_DIGITS Call by reference Type reference (TYPE) ABAP_BOOL ABAP_FALSE Replace digits (context dependent) 20090930
4 Importing TXT_LOG Call by reference Type reference (TYPE) STRING 20041203
5 Exporting TXT_SHAPED Call by reference Type reference (TYPE) STRING 20041203
6 Exporting TXT_SHAPED_TECLEN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041203
7 Exporting TXT_SHAPED_VISLEN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041203
# Exception Resumable Description Created on
1 ILLEGAL_INPUT_DATA Kein gültiger Text zum Formen 20041203

Method SHAPE_GET_WIDTH_PRIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FONT_METRICS Call by reference Type reference (TYPE) RSPOFONTMETRICS 20041202
2 Exporting RESULT Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041202
3 Importing TXT_LOG Call by reference Type reference (TYPE) STRING 20041203
4 Exporting TXT_SHAPED Call by reference Type reference (TYPE) STRING 20041202
5 Exporting TXT_SHAPED_TECLEN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041202
6 Exporting TXT_SHAPED_VISLEN Call by reference Type reference (TYPE) INT4 Natürliche Zahl 20041202

Method SHAPE_GET_WIDTH_PRIV on class CL_I18N_BIDI has no exception.

Method SHAPE_WITH_DIGITS_PRIV Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing FONT_METRICS Call by reference Type reference (TYPE) RSPOFONTMETRICS 20090930
2 Importing LANGUAGE Call by reference Type reference (TYPE) SYLANGU Language Key of Current Text Environment 20090930
3 Exporting RESULT Call by reference Type reference (TYPE) INT4 Natural number 20090930
4 Importing TXT_LOG Call by reference Type reference (TYPE) STRING 20090930
5 Exporting TXT_SHAPED Call by reference Type reference (TYPE) STRING 20090930
6 Exporting TXT_SHAPED_TECLEN Call by reference Type reference (TYPE) INT4 Natural number 20090930
7 Exporting TXT_SHAPED_VISLEN Call by reference Type reference (TYPE) INT4 Natural number 20090930

Method SHAPE_WITH_DIGITS_PRIV on class CL_I18N_BIDI has no exception.
History
Last changed by/on SAP  20110908 
SAP Release Created in 700