SAP ABAP Class CL_LXE_SC (Spellchecker)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-DOC-TTL (Application Component) Translation Tools
⤷
SLXE_SC (Package) Translation Editor Spellchecker
⤷
⤷
Properties
| Class | CL_LXE_SC | |
| Short Description | Spellchecker | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SLXE_SC | Translation Editor Spellchecker |
| Created | 20120322 | SAP |
| Last change | 20130531 | 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) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_LXE_SC has no interface implemented.
Friends
Class CL_LXE_SC has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Type reference (TYPE) | OLE2_OBJECT | used for duplicate word check | 20120821 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | OLE2_OBJECT | 20120821 | ||||
| 3 | Instance attribute | Private | Type reference (TYPE) | OLE2_OBJECT | 20120322 | ||||
| 4 | Instance attribute | Private | Type reference (TYPE) | OLE2_OBJECT | used for duplicate word check | 20120821 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | OLE2_OBJECT | 20120821 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | OLE2_OBJECT | 20120423 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | OLE2_OBJECT | 20120322 | ||||
| 8 | Instance attribute | Private | Type reference (TYPE) | LXE_SC_T_STRINGS | Table of Strings, e.g. for spelling error exceptions | 20120530 |
Methods
Events
Class CL_LXE_SC has no event.
Types
Class CL_LXE_SC has no local type.
Method Signatures
Method APPEND_TO_IGNORE_GLOBALLY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SPELLING_EXCEPTIONS | Call by reference | Type reference (TYPE) | LXE_SC_T_STRINGS | Text | 20120530 |
Method APPEND_TO_IGNORE_GLOBALLY on class CL_LXE_SC has no exception.
Method CHECK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANGUAGE | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120420 | |||
| 2 | SUGGESTIONS | Value transfer | Type reference (TYPE) | LXE_SC_T_ERROR_SUGGESTIONS | SpellChecker: spelling errors and suggestions | 20120420 | |||
| 3 | TEXT | Call by reference | Type reference (TYPE) | STRING | 20120420 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120824 |
Method CHECK_ACTIVEX Signature
Method CHECK_ACTIVEX on class CL_LXE_SC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No ActiveX | 20120424 |
Method CHECK_AND_CORRECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ADDED_NEW_SPELLING_EXCEPTIONS | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20120530 | ||||
| 2 | BUTTON | Call by reference | Attribute reference (LIKE) | SY-UCOMM | Function Code that Triggered PAI | 20120611 | |||
| 3 | CORRECTED_TEXT | Call by reference | Type reference (TYPE) | STRING | 20120511 | ||||
| 4 | LANGUAGE | Call by reference | Type reference (TYPE) | LXEISOLANG | 20120511 | ||||
| 5 | LINEBREAKS_OK | Call by reference | Type reference (TYPE) | ABAP_BOOL | linebreaks in text ok or display warning | 20120926 | |||
| 6 | SHOW_SEQ_PROC_BWD_BUTTON | Call by reference | Type reference (TYPE) | ABAP_BOOL | Display button for sequential bwd processing (several texts) | 20120704 | |||
| 7 | SHOW_SEQ_PROC_FWD_BUTTON | Call by reference | Type reference (TYPE) | ABAP_BOOL | Display button for sequential fwd processing (several texts) | 20120704 | |||
| 8 | TEXT | Call by reference | Type reference (TYPE) | STRING | 20120511 | ||||
| 9 | TEXT_MAX_LENGTH | Call by reference | Type reference (TYPE) | I | 20120702 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120824 |
Method CHECK_DICTIONARY_AVAILABILITY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | MSLANGUAGE | Call by reference | Type reference (TYPE) | I | Locale ID | 20120420 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Dictionary not available | 20120424 |
Method CHECK_IS_DW Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | Boolean Variable (X=True, -=False, Space=Unknown) | 20120822 | |||
| 2 | TEXT | Call by reference | Type reference (TYPE) | STRING | 20120822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | duplicate word check error | 20120824 |
Method CHECK_MSWORD_STARTED Signature
Method CHECK_MSWORD_STARTED on class CL_LXE_SC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Spellchecker Exception | 20120424 |
Method CHECK_PRECONDITIONS Signature
Method CHECK_PRECONDITIONS on class CL_LXE_SC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | No ActiveX | 20120821 | ||
| 2 | MS Word version not supported | 20120821 | ||
| 3 | Current system is not SAP internal | 20120821 |
Method CHECK_WORD_VERSION_SUPPORTED Signature
Method CHECK_WORD_VERSION_SUPPORTED on class CL_LXE_SC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | MS Word version not supported | 20120424 |
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SC_FLAG_REPEATED_WORDS | Call by reference | Type reference (TYPE) | AS4FLAG | 20120711 | ||||
| 2 | SC_IGNORE_ADDRESSES | Call by reference | Type reference (TYPE) | AS4FLAG | 20120711 | ||||
| 3 | SC_IGNORE_MIXEDDIGITS | Call by reference | Type reference (TYPE) | AS4FLAG | 20120711 | ||||
| 4 | SC_IGNORE_UPPERCASE | Call by reference | Type reference (TYPE) | AS4FLAG | 20120711 | ||||
| 5 | SC_KOREAN_ALLOWAUXILIARYFORMS | Call by reference | Type reference (TYPE) | AS4FLAG | AllowCombinedAuxiliaryForms | 20120712 | |||
| 6 | SC_KOREAN_ALLOWCOMPOUNDPROCESS | Call by reference | Type reference (TYPE) | AS4FLAG | AllowCompoundNounProcessing | 20120712 | |||
| 7 | SC_PORTUGUESE_PORTUGALREFORM | Call by reference | Type reference (TYPE) | INT_1 | 2 = post-reform, 1 = pre-reform, 3 = both | 20120712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120824 |
Method CREATE_INSTANCE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_LXE_SC | Spellchecker | 20120423 | |||
| 2 | SC_FLAG_REPEATED_WORDS | Call by reference | Type reference (TYPE) | AS4FLAG | 20120711 | ||||
| 3 | SC_IGNORE_ADDRESSES | Call by reference | Type reference (TYPE) | AS4FLAG | 20120711 | ||||
| 4 | SC_IGNORE_MIXEDDIGITS | Call by reference | Type reference (TYPE) | AS4FLAG | 20120711 | ||||
| 5 | SC_IGNORE_UPPERCASE | Call by reference | Type reference (TYPE) | AS4FLAG | 20120711 | ||||
| 6 | SC_KOREAN_ALLOWAUXILIARYFORMS | Call by reference | Type reference (TYPE) | AS4FLAG | AllowCombinedAuxiliaryForms | 20120712 | |||
| 7 | SC_KOREAN_ALLOWCOMPOUNDPROCESS | Call by reference | Type reference (TYPE) | AS4FLAG | AllowCompoundNounProcessing | 20120712 | |||
| 8 | SC_PORTUGUESE_PORTUGALREFORM | Call by reference | Type reference (TYPE) | INT_1 | 2 = post-reform, 1 = pre-reform, 3 = both | 20120712 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20120824 |
Method DWC_DOC_CONTAINS_MS_ERRS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20120822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | duplicate word check error | 20120822 |
Method GET_LCID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANGUAGE | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120420 | |||
| 2 | LCID | Value transfer | Type reference (TYPE) | I | 20120420 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Could not get LCID for language specified | 20120424 |
Method GET_SUGGESTIONS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LANGUAGE | Call by reference | Type reference (TYPE) | LXEISOLANG | Translation Language | 20120806 | |||
| 2 | SUGGESTIONS | Call by reference | Type reference (TYPE) | LXE_SC_T_ERROR_SUGGESTIONS | SpellChecker: spelling errors and suggestions | 20120822 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | duplicate word check error | 20120824 |
Method RELEASE Signature
Method RELEASE on class CL_LXE_SC has no parameter.
Method RELEASE on class CL_LXE_SC has no exception.
Method SET_LANGUAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LCID | Call by reference | Type reference (TYPE) | I | Translation Language | 20120626 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Could not set document language | 20120626 |
Method SET_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | CONTENT | Call by reference | Type reference (TYPE) | OLE2_OBJECT | 20120821 | ||||
| 2 | TEXT | Call by reference | Type reference (TYPE) | STRING | 20120420 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Could not set text | 20120424 |
Method START_MSWORD Signature
Method START_MSWORD on class CL_LXE_SC has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Spellchecker Exception | 20120424 |
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 740 |