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 ABAP Type group use (TYPE-POOLS tp)  Type group use (TYPE-POOLS tp)
2 OLE2 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 MV_OLE_CONTENT_DWC Instance attribute Private Type reference (TYPE) OLE2_OBJECT used for duplicate word check 20120821
2 MV_OLE_CONTENT_MAIN Instance attribute Private Type reference (TYPE) OLE2_OBJECT 20120821
3 MV_OLE_DOCUMENTS Instance attribute Private Type reference (TYPE) OLE2_OBJECT 20120322
4 MV_OLE_DOCUMENT_DWC Instance attribute Private Type reference (TYPE) OLE2_OBJECT used for duplicate word check 20120821
5 MV_OLE_DOCUMENT_MAIN Instance attribute Private Type reference (TYPE) OLE2_OBJECT 20120821
6 MV_OLE_OPTIONS Instance attribute Private Type reference (TYPE) OLE2_OBJECT 20120423
7 MV_OLE_WORD Instance attribute Private Type reference (TYPE) OLE2_OBJECT 20120322
8 MV_T_SPELLING_EXCEPTIONS Instance attribute Private Type reference (TYPE) LXE_SC_T_STRINGS Table of Strings, e.g. for spelling error exceptions 20120530
Methods
# Method Level Visibility Method type Description Created on
1 APPEND_TO_IGNORE_GLOBALLY Instance method Public Method 20120530
2 CHECK Instance method Public Method 20120420
3 CHECK_ACTIVEX Static method Private Method 20120420
4 CHECK_AND_CORRECT Instance method Public Method check given text, correct it in popup, return corrected text 20120511
5 CHECK_DICTIONARY_AVAILABILITY Instance method Private Method 20120420
6 CHECK_IS_DW Instance method Private Method 20120822
7 CHECK_MSWORD_STARTED Instance method Private Method check if ole object has been initialized and can be used 20120420
8 CHECK_PRECONDITIONS Static method Public Method check if spellchecker can be used in current environment 20120710
9 CHECK_WORD_VERSION_SUPPORTED Static method Private Method 20120420
10 CONSTRUCTOR Instance method Private Constructor CONSTRUCTOR 20120322
11 CREATE_INSTANCE Static method Public Method 20120423
12 DWC_DOC_CONTAINS_MS_ERRS Instance method Private Method 20120822
13 GET_LCID Instance method Private Method 20120420
14 GET_SUGGESTIONS Instance method Private Method 20120420
15 RELEASE Instance method Public Method 20120423
16 SET_LANGUAGE Instance method Private Method 20120626
17 SET_TEXT Instance method Private Method 20120420
18 START_MSWORD Instance method Private Method 20120322
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 Importing 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 Importing LANGUAGE Call by reference Type reference (TYPE) LXEISOLANG Translation Language 20120420
2 Exporting SUGGESTIONS Value transfer Type reference (TYPE) LXE_SC_T_ERROR_SUGGESTIONS SpellChecker: spelling errors and suggestions 20120420
3 Importing TEXT Call by reference Type reference (TYPE) STRING 20120420
# Exception Resumable Description Created on
1 CX_LXE_SC 20120824

Method CHECK_ACTIVEX Signature

Method CHECK_ACTIVEX on class CL_LXE_SC has no parameter.
# Exception Resumable Description Created on
1 CX_LXE_SC_ACTIVEX No ActiveX 20120424

Method CHECK_AND_CORRECT Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting ADDED_NEW_SPELLING_EXCEPTIONS Call by reference Type reference (TYPE) ABAP_BOOL 20120530
2 Exporting BUTTON Call by reference Attribute reference (LIKE) SY-UCOMM Function Code that Triggered PAI 20120611
3 Exporting CORRECTED_TEXT Call by reference Type reference (TYPE) STRING 20120511
4 Importing LANGUAGE Call by reference Type reference (TYPE) LXEISOLANG 20120511
5 Importing LINEBREAKS_OK Call by reference Type reference (TYPE) ABAP_BOOL linebreaks in text ok or display warning 20120926
6 Importing SHOW_SEQ_PROC_BWD_BUTTON Call by reference Type reference (TYPE) ABAP_BOOL Display button for sequential bwd processing (several texts) 20120704
7 Importing SHOW_SEQ_PROC_FWD_BUTTON Call by reference Type reference (TYPE) ABAP_BOOL Display button for sequential fwd processing (several texts) 20120704
8 Importing TEXT Call by reference Type reference (TYPE) STRING 20120511
9 Importing TEXT_MAX_LENGTH Call by reference Type reference (TYPE) I 20120702
# Exception Resumable Description Created on
1 CX_LXE_SC 20120824

Method CHECK_DICTIONARY_AVAILABILITY Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing MSLANGUAGE Call by reference Type reference (TYPE) I Locale ID 20120420
# Exception Resumable Description Created on
1 CX_LXE_SC_DICT_AVAILABILITY Dictionary not available 20120424

Method CHECK_IS_DW Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning RESULT Value transfer Type reference (TYPE) ABAP_BOOL Boolean Variable (X=True, -=False, Space=Unknown) 20120822
2 Importing TEXT Call by reference Type reference (TYPE) STRING 20120822
# Exception Resumable Description Created on
1 CX_LXE_SC 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 CX_LXE_SC_MSWORD_NOT_RUNNING Spellchecker Exception 20120424

Method CHECK_PRECONDITIONS Signature

Method CHECK_PRECONDITIONS on class CL_LXE_SC has no parameter.
# Exception Resumable Description Created on
1 CX_LXE_SC_ACTIVEX No ActiveX 20120821
2 CX_LXE_SC_MSWORD_VERSION MS Word version not supported 20120821
3 CX_LXE_SC_NO_SAP 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 CX_LXE_SC_MSWORD_VERSION MS Word version not supported 20120424

Method CONSTRUCTOR Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing SC_FLAG_REPEATED_WORDS Call by reference Type reference (TYPE) AS4FLAG 20120711
2 Importing SC_IGNORE_ADDRESSES Call by reference Type reference (TYPE) AS4FLAG 20120711
3 Importing SC_IGNORE_MIXEDDIGITS Call by reference Type reference (TYPE) AS4FLAG 20120711
4 Importing SC_IGNORE_UPPERCASE Call by reference Type reference (TYPE) AS4FLAG 20120711
5 Importing SC_KOREAN_ALLOWAUXILIARYFORMS Call by reference Type reference (TYPE) AS4FLAG AllowCombinedAuxiliaryForms 20120712
6 Importing SC_KOREAN_ALLOWCOMPOUNDPROCESS Call by reference Type reference (TYPE) AS4FLAG AllowCompoundNounProcessing 20120712
7 Importing 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 CX_LXE_SC 20120824

Method CREATE_INSTANCE Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Returning INSTANCE Value transfer Object reference (TYPE REF TO) CL_LXE_SC Spellchecker 20120423
2 Importing SC_FLAG_REPEATED_WORDS Call by reference Type reference (TYPE) AS4FLAG 20120711
3 Importing SC_IGNORE_ADDRESSES Call by reference Type reference (TYPE) AS4FLAG 20120711
4 Importing SC_IGNORE_MIXEDDIGITS Call by reference Type reference (TYPE) AS4FLAG 20120711
5 Importing SC_IGNORE_UPPERCASE Call by reference Type reference (TYPE) AS4FLAG 20120711
6 Importing SC_KOREAN_ALLOWAUXILIARYFORMS Call by reference Type reference (TYPE) AS4FLAG AllowCombinedAuxiliaryForms 20120712
7 Importing SC_KOREAN_ALLOWCOMPOUNDPROCESS Call by reference Type reference (TYPE) AS4FLAG AllowCompoundNounProcessing 20120712
8 Importing 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 CX_LXE_SC 20120824

Method DWC_DOC_CONTAINS_MS_ERRS Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Exporting RESULT Value transfer Type reference (TYPE) ABAP_BOOL 20120822
# Exception Resumable Description Created on
1 CX_LXE_SC_DWC duplicate word check error 20120822

Method GET_LCID Signature

# Type Parameter Pass Value Optional Typing Method Associated Type Default value Description Created on
1 Importing LANGUAGE Call by reference Type reference (TYPE) LXEISOLANG Translation Language 20120420
2 Returning LCID Value transfer Type reference (TYPE) I 20120420
# Exception Resumable Description Created on
1 CX_LXE_SC_LCID 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 Importing LANGUAGE Call by reference Type reference (TYPE) LXEISOLANG Translation Language 20120806
2 Exporting SUGGESTIONS Call by reference Type reference (TYPE) LXE_SC_T_ERROR_SUGGESTIONS SpellChecker: spelling errors and suggestions 20120822
# Exception Resumable Description Created on
1 CX_LXE_SC 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 Importing LCID Call by reference Type reference (TYPE) I Translation Language 20120626
# Exception Resumable Description Created on
1 CX_LXE_SC_DOCUMENT_LANGUAGE 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 Changing CONTENT Call by reference Type reference (TYPE) OLE2_OBJECT 20120821
2 Importing TEXT Call by reference Type reference (TYPE) STRING 20120420
# Exception Resumable Description Created on
1 CX_LXE_SC_TEXT 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 CX_LXE_SC_START_MSWORD Spellchecker Exception 20120424
History
Last changed by/on SAP  20130531 
SAP Release Created in 740