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 | 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 | Static Attribute | Public | Type reference (TYPE) | STRING | All available BIDI control codes | 20090930 | |||
| 2 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Are BIDI Control Codes allowed by system environment | 20040820 | ||
| 3 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | ' ' | BIDI Start Control Code | 20040820 | ||
| 4 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | ' ' | BIDI Stop Control Code | 20040820 | ||
| 5 | Static Attribute | Public | Type reference (TYPE) | ABAP_BOOL | Is Filtering possible ? | 20040825 | |||
| 6 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '' | LEFT-TO-RIGHT EMBEDDING | 20040824 | ||
| 7 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '' | LEFT-TO-RIGHT MARK | 20040824 | ||
| 8 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '' | LEFT-TO-RIGHT OVERRIDE | 20040824 | ||
| 9 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '' | POP DIRECTIONAL FORMATTING | 20040824 | ||
| 10 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '' | RIGHT-TO-LEFT EMBEDDING | 20040824 | ||
| 11 | Static Attribute | Public | Type reference (TYPE) | STRING | RIGHT-TO-LEFT Languages | 20050513 | |||
| 12 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '' | RIGHT-TO-LEFT MARK | 20040824 | ||
| 13 | Static Attribute | Public | Type reference (TYPE) | CHAR1 | '' | RIGHT-TO-LEFT OVERRIDE | 20040824 | ||
| 14 | Static Attribute | Public | Type reference (TYPE) | STRING | Languages with shaping scripts | 20050513 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | 20050125 | ||
| 2 | Static method | Public | Method | Apply BIDI algortihm using an index map | 20090930 | |
| 3 | Static method | Private | Method | Kernel method to apply BIDI algorithm using an index map | 20090930 | |
| 4 | Static method | Private | Method | Replace characters with the "mirrored" property in RTL runs. | 20090930 | |
| 5 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20040820 | |
| 6 | Static method | Public | Method | Should Bidi Control Codes filtered ? | 20040824 | |
| 7 | Static method | Public | Method | Return the flags "LTR Base direction" and "Filter Codes" | 20040824 | |
| 8 | Static method | Public | Method | shaped length for Arabic glyph | 20041202 | |
| 9 | Static method | Private | Method | shaped length for Arabic glyph in Unicode | 20041202 | |
| 10 | Static method | Public | Method | 20050125 | ||
| 11 | Static method | Public | Method | output a field with base direction LTR | 20050117 | |
| 12 | Static method | Public | Method | Change OTF layout to Right-To-Left | 20090930 | |
| 13 | Static method | Public | Method | re-sort of OTF table | 20041129 | |
| 14 | Static method | Public | Method | Filter Control Codes | 20040824 | |
| 15 | Static method | Public | Method | shape Arabic and determine width | 20041203 | |
| 16 | Static method | Private | Method | shape Arabic and determine width in Unicode | 20041202 | |
| 17 | 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 | IM_LANGU | Call by reference | Type reference (TYPE) | LANG | SY-LANGU | 20050125 | |||
| 2 | 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 | IM_DO_MIRRORING | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE | Replace characters with the "mirrored" property in RTL runs. | 20090930 | ||
| 2 | IM_RTL_DIRECTION | Call by reference | Type reference (TYPE) | FLAG | General Flag | 20090930 | |||
| 3 | TEXT_TABLE | Call by reference | Type reference (TYPE) | STANDARD TABLE | 20090930 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Thrown from kernel methods, see message. | 20090930 | ||
| 2 | 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 | EX_MAP | Call by reference | Type reference (TYPE) | XSTRING | A C-array of integers, stored in a xstring | 20090930 | |||
| 2 | IM_LANG | Call by reference | Type reference (TYPE) | SYLANGU | Language associted with the IM_LINE | 20090930 | |||
| 3 | IM_LINE | Call by reference | Type reference (TYPE) | STRING | The text to be analyzed | 20090930 | |||
| 4 | IM_RTL_DIRECTION | Call by reference | Type reference (TYPE) | FLAG | Indicates right-to-left text direction | 20090930 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | EX_STATUS | Call by reference | Type reference (TYPE) | I | Return code | 20090930 | |||
| 2 | EX_STR | Call by reference | Type reference (TYPE) | STRING | Version of IM_STR with mirrored characters | 20090930 | |||
| 3 | IM_RTL_DIRECTION | Call by reference | Type reference (TYPE) | ABAP_BOOL | Text has RTL direction | 20090930 | |||
| 4 | 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 | IM_FILTER_FLAG | Call by reference | Type reference (TYPE) | CHAR1 | Filter-Control-Codes | 20040824 | |||
| 2 | IM_LTR_FLAG | Call by reference | Type reference (TYPE) | CHAR1 | LTR-Grundrichtung | 20040824 | |||
| 3 | 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 | EX_FILTER_FLAG | Call by reference | Type reference (TYPE) | CHAR1 | Filter-Control-Codes | 20040824 | |||
| 2 | EX_LTR_FLAG | Call by reference | Type reference (TYPE) | CHAR1 | LTR-Grundrichtung | 20040824 | |||
| 3 | EX_RC | Call by reference | Type reference (TYPE) | I | Rückgabewert | 20040824 | |||
| 4 | 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 | FONT_METRICS | Call by reference | Type reference (TYPE) | RSPOFONTMETRICS | 20041202 | ||||
| 2 | GLYPH_TECH_LEN | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041202 | |||
| 3 | GLYPH_VIS_LEN | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041202 | |||
| 4 | TXT_LOG | Call by reference | Type reference (TYPE) | STRING | 20041202 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | FONT_METRICS | Call by reference | Type reference (TYPE) | RSPOFONTMETRICS | 20041202 | ||||
| 2 | GLYPH_TECH_LEN | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041202 | |||
| 3 | GLYPH_VIS_LEN | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041202 | |||
| 4 | RESULT | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041202 | |||
| 5 | 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 | IM_LANGU | Call by reference | Type reference (TYPE) | LANG | SY-LANGU | 20050125 | |||
| 2 | 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 | FIELD | Call by reference | Type reference (TYPE) | CLIKE | 20050117 | ||||
| 2 | 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 | 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 | 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 | 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 | FONT_METRICS | Call by reference | Type reference (TYPE) | RSPOFONTMETRICS | 20041203 | ||||
| 2 | LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | SPACE | Language Key of Current Text Environment | 20090930 | ||
| 3 | SHAPE_DIGITS | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Replace digits (context dependent) | 20090930 | ||
| 4 | TXT_LOG | Call by reference | Type reference (TYPE) | STRING | 20041203 | ||||
| 5 | TXT_SHAPED | Call by reference | Type reference (TYPE) | STRING | 20041203 | ||||
| 6 | TXT_SHAPED_TECLEN | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041203 | |||
| 7 | TXT_SHAPED_VISLEN | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041203 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 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 | FONT_METRICS | Call by reference | Type reference (TYPE) | RSPOFONTMETRICS | 20041202 | ||||
| 2 | RESULT | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041202 | |||
| 3 | TXT_LOG | Call by reference | Type reference (TYPE) | STRING | 20041203 | ||||
| 4 | TXT_SHAPED | Call by reference | Type reference (TYPE) | STRING | 20041202 | ||||
| 5 | TXT_SHAPED_TECLEN | Call by reference | Type reference (TYPE) | INT4 | Natürliche Zahl | 20041202 | |||
| 6 | 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 | FONT_METRICS | Call by reference | Type reference (TYPE) | RSPOFONTMETRICS | 20090930 | ||||
| 2 | LANGUAGE | Call by reference | Type reference (TYPE) | SYLANGU | Language Key of Current Text Environment | 20090930 | |||
| 3 | RESULT | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20090930 | |||
| 4 | TXT_LOG | Call by reference | Type reference (TYPE) | STRING | 20090930 | ||||
| 5 | TXT_SHAPED | Call by reference | Type reference (TYPE) | STRING | 20090930 | ||||
| 6 | TXT_SHAPED_TECLEN | Call by reference | Type reference (TYPE) | INT4 | Natural number | 20090930 | |||
| 7 | 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 |