Hierarchy
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CLG_THTMLBX_BTF | Base: |
20060428 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_HTMLB_DATA | Input Data from HTMLB | 20060425 |
Properties
| Class | CL_THTMLBX_BTF_EDITOR | |
| Short Description | Element Handler: <btf:editor> | |
| Super Class | CLG_THTMLBX_BTF | Base: <thtmlbx:btf> |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | BSP_DYN_CONFIG_TAG_LIB | New tag library for CRM IC |
| Created | 20060425 | 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) |
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_HTMLB_DATA | Input Data from HTMLB | 20060425 |
Friends
Class CL_THTMLBX_BTF_EDITOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Public | Type reference (TYPE) | STRING | 'btfImportClick' | 20060425 | |||
| 2 | Instance attribute | Public | Type reference (TYPE) | STRING | 'btfInsertImage' | 20060425 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'DEFAULT/ON/OFF/NEWWINDOW' | Enum Type Navigation Types | 20070528 | ||
| 4 | Constant | Private | Type reference (TYPE) | STRING | '?=?' | Used to seperate the value | 20090729 | ||
| 5 | Constant | Private | Type reference (TYPE) | STRING | '#=#' | Used to seperate the variables | 20090729 | ||
| 6 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Content of the document was changed | 20090217 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | STRING | Persist the cursor position for js front end. | 20121102 | |||
| 8 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Is current browser Firefox | 20090204 | |||
| 9 | Static Attribute | Private | Type reference (TYPE) | ABAP_BOOL | Is current browser Safari | 20090204 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | STRING | String of Javascript variables | 20090729 | |||
| 11 | Static Attribute | Private | Type reference (TYPE) | STRING | Place holder value set by the application | 20090206 | |||
| 12 | Instance attribute | Public | Type reference (TYPE) | XSTRING | InsertImage Content | 20060425 | |||
| 13 | Instance attribute | Public | Type reference (TYPE) | STRING | InsertImage Filename | 20060425 | |||
| 14 | Static Attribute | Private | See coding | 20110718 | |||||
| 15 | Instance attribute | Private | Type reference (TYPE) | TEXTPOOL_TYPE | Text Pool for Tool Tips | 20060425 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | SYMSGID | ID of message to be displayed when content is filtered | 20121207 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | SYMSGNO | Number of message to be displayed when content is filtered | 20121207 | |||
| 18 | Instance attribute | Private | Type reference (TYPE) | SYMSGTY | Type of message to be displayed when content is filtered | 20121207 | |||
| 19 | Instance attribute | Private | Type reference (TYPE) | STRING | Optionally define the default font to be selected on load. | 20130813 | |||
| 20 | Instance attribute | Private | Type reference (TYPE) | STRING | Optionally specify the default font size to be loaded. | 20130813 | |||
| 21 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060425 | |||
| 22 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20070528 | |||
| 23 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20070528 | |||
| 24 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | 'X' | whether to display a message when content is filtered | 20121207 | ||
| 25 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | White-List basierter Filter | 20110718 | |||
| 26 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20070528 | |||
| 27 | Instance attribute | Public | Type reference (TYPE) | BOOLEAN | Wurde gefiltert? | 20110718 | |||
| 28 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110718 | |||
| 29 | Instance attribute | Private | Type reference (TYPE) | STRING | Text für Ersetzungsdokument | 20110718 | |||
| 30 | Instance attribute | Public | Type reference (TYPE) | STRING | Last Filter Error | 20070528 | |||
| 31 | Instance attribute | Public | Object reference (TYPE REF TO) | CX_ROOT | Abstract Superclass for All Global Exceptions | 20070528 | |||
| 32 | Instance attribute | Private | Type reference (TYPE) | TEXTPOOL_TYPE | Text Pool for Tool Tips | 20060425 | |||
| 33 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20110408 | |||
| 34 | Static Attribute | Private | Object reference (TYPE REF TO) | CL_HTMLTIDY | HTML repair and conversion tool | 20070528 | |||
| 35 | Instance attribute | Private | Type reference (TYPE) | STRING | ID | 20060425 | |||
| 36 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_IXML | IF_IXML | 20070528 | |||
| 37 | Static Attribute | Private | Object reference (TYPE REF TO) | IF_IXML_STREAM_FACTORY | IF_IXML_STREAM_FACTORY | 20070528 | |||
| 38 | Instance attribute | Private | Type reference (TYPE) | STRING | Navigation Type | 20070528 | |||
| 39 | Static Attribute | Private | See coding | 20110718 | |||||
| 40 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20070528 | |||
| 41 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060501 | |||
| 42 | Instance attribute | Private | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20060425 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Constructor | CLASS_CONSTRUCTOR | 20070528 | |
| 2 | Instance method | Public | Constructor | Constructor | 20060425 | |
| 3 | Static method | Protected | Method | convert css color defintion from rgb format to hex. values | 20121026 | |
| 4 | Static method | Public | Method | Convert a String to XString | 20090429 | |
| 5 | Static method | Public | Method | Convert a XString to String | 20090429 | |
| 6 | Instance method | Private | Method | Creates the default toolbar | 20090204 | |
| 7 | Static method | Private | Method | Decode Document Base64 | 20060425 | |
| 8 | Static method | Private | Method | Encode Document Base64 | 20060425 | |
| 9 | Static method | Protected | Method | filter out invalid html from Word/Outlook, | 20120924 | |
| 10 | Static method | Public | Method | Filter Document Content | 20070528 | |
| 11 | Static method | Public | Method | Returns Mime Path | 20060429 | |
| 12 | Instance method | Private | Method | Get Text from Text Pool | 20060425 | |
| 13 | Static method | Public | Method | Check if the content was changed over the roundtrip | 20090217 | |
| 14 | Instance method | Private | Method | Render a button | 20090204 | |
| 15 | Instance method | Private | Method | Render Tooltip Variable for Button (Default) | 20060425 | |
| 16 | Instance method | Private | Method | Render Button for Toolbar (Default) | 20060425 | |
| 17 | Instance method | Private | Method | Render Editor (Default) | 20060425 | |
| 18 | Instance method | Private | Method | Render Font Name Combo Box (Default) | 20060425 | |
| 19 | Instance method | Private | Method | Render Font Size Combo Box (Default) | 20060425 | |
| 20 | Instance method | Private | Method | Render Java Script (Default) | 20060425 | |
| 21 | Instance method | Private | Method | Render Routine (Default) | 20060425 | |
| 22 | Instance method | Private | Method | Render the toolbar button | 20090204 | |
| 23 | Static method | Public | Method | Set the Place holder value | 20090206 |
Events
Class CL_THTMLBX_BTF_EDITOR has no event.
Types
Class CL_THTMLBX_BTF_EDITOR has no local type.
Method Signatures
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_THTMLBX_BTF_EDITOR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_THTMLBX_BTF_EDITOR has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_THTMLBX_BTF_EDITOR has no parameter.
Method CONSTRUCTOR on class CL_THTMLBX_BTF_EDITOR has no exception.
Method CONVERT_RGBCOLOR_TO_HEXFORMAT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_CSSCOLOR_STRING | Call by reference | Type reference (TYPE) | STRING | 20121026 | ||||
| 2 | O_HEXCOLOR_STRING | Call by reference | Type reference (TYPE) | STRING | 20121026 |
Method CONVERT_RGBCOLOR_TO_HEXFORMAT on class CL_THTMLBX_BTF_EDITOR has no exception.
Method CONVERT_STRING_TO_XSTRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | 20090601 | |||
| 2 | IV_STRING | Call by reference | Type reference (TYPE) | STRING | 20090429 | ||||
| 3 | RV_XSTRING | Value transfer | Type reference (TYPE) | XSTRING | 20090429 |
Method CONVERT_STRING_TO_XSTRING on class CL_THTMLBX_BTF_EDITOR has no exception.
Method CONVERT_XSTRING_TO_STRING Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ENCODING | Call by reference | Type reference (TYPE) | ABAP_ENCODING | 'DEFAULT' | 20090601 | |||
| 2 | IV_IGNORE_CERR | Call by reference | Type reference (TYPE) | BOOLEAN | ABAP_TRUE | Flag: Ignore Errors When Converting Character Set | 20090601 | ||
| 3 | IV_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20090429 | ||||
| 4 | RV_STRING | Value transfer | Type reference (TYPE) | STRING | 20090429 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exception for Code Page Converter Initialization | 20090601 | ||
| 2 | System Exception Converting Character Set | 20090601 |
Method CREATE_DEFAULT_TOOLBAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_TOOLBAR | Call by reference | Type reference (TYPE) | WCFT_BTF_TOOLBAR | Table of WCFS_BTF_TOOLBAR | 20090204 |
Method CREATE_DEFAULT_TOOLBAR on class CL_THTMLBX_BTF_EDITOR has no exception.
Method DECODE_DOCUMENT_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EDITOR | Value transfer | Object reference (TYPE REF TO) | CL_THTMLBX_BTF_EDITOR | Element Handler: |
20070528 | |||
| 2 | ENC | Value transfer | Type reference (TYPE) | STRING | Encoding | 20060425 | |||
| 3 | STR | Value transfer | Type reference (TYPE) | STRING | String | 20060425 | |||
| 4 | XSTR | Value transfer | Type reference (TYPE) | XSTRING | XString | 20060425 | |||
| 5 | XSTR_UNFILTERED | Value transfer | Type reference (TYPE) | XSTRING | XString, unfiltered | 20130121 |
Method DECODE_DOCUMENT_CONTENT on class CL_THTMLBX_BTF_EDITOR has no exception.
Method ENCODE_DOCUMENT_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EDITOR | Value transfer | Object reference (TYPE REF TO) | CL_THTMLBX_BTF_EDITOR | Element Handler: |
20070528 | |||
| 2 | ENC | Value transfer | Type reference (TYPE) | STRING | Encoding | 20060425 | |||
| 3 | STR | Value transfer | Type reference (TYPE) | STRING | String | 20060425 | |||
| 4 | XSTR | Value transfer | Type reference (TYPE) | XSTRING | XString | 20060425 |
Method ENCODE_DOCUMENT_CONTENT on class CL_THTMLBX_BTF_EDITOR has no exception.
Method FILTEROUT_INVALID_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_ORIGINAL_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20120924 | ||||
| 2 | O_FILTERED_XSTRING | Call by reference | Type reference (TYPE) | XSTRING | 20120924 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTF Exception: Runtime Error | 20120924 |
Method FILTER_DOCUMENT_CONTENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ERROR | Call by reference | Type reference (TYPE) | STRING | 20070528 | ||||
| 2 | E_FILTERED | Call by reference | Type reference (TYPE) | BOOLEAN | Wurde gefiltert? | 20110718 | |||
| 3 | E_XSTR | Call by reference | Type reference (TYPE) | XSTRING | 20070528 | ||||
| 4 | I_USEWL | Value transfer | Type reference (TYPE) | BOOLEAN | 'X' | White-List basierender Filter | 20110718 | ||
| 5 | I_XSTR | Call by reference | Type reference (TYPE) | XSTRING | 20070528 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | BTF Exception: Internal Error | 20070528 | ||
| 2 | BTF Exception: Parameter Error | 20070528 | ||
| 3 | BTF Exception: Runtime Error | 20070528 |
Method GET_MIME_PATH Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BROWSER_TYPE | Call by reference | Type reference (TYPE) | STRING | 'nn' | Browser type ie or ns | 20060429 | ||
| 2 | EXTENSION | Call by reference | Type reference (TYPE) | STRING | File extension name | 20060429 | |||
| 3 | FILE | Call by reference | Type reference (TYPE) | STRING | file name | 20060429 | |||
| 4 | MIME_PATH | Value transfer | Type reference (TYPE) | STRING | /SAP/PUBLIC/BC/BTF[/...] | 20060429 | |||
| 5 | RUNTIME | Call by reference | Object reference (TYPE REF TO) | IF_BSP_RUNTIME | Business Server Page (BSP) Runtime | 20060429 |
Method GET_MIME_PATH on class CL_THTMLBX_BTF_EDITOR has no exception.
Method GET_TEXTPOOL_TEXT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ENTRY | Value transfer | Type reference (TYPE) | TEXTPOOL-ENTRY | Language-dependent text in ABAP/4 text pool | 20060425 | |||
| 2 | KEY | Call by reference | Type reference (TYPE) | TEXTPOOL-KEY | Text Element Key (Number/Selection Name) | 20060425 |
Method GET_TEXTPOOL_TEXT on class CL_THTMLBX_BTF_EDITOR has no exception.
Method IS_CONTENT_MODIFIED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Call by reference | Type reference (TYPE) | STRING | 20100121 | ||||
| 2 | RV_CONTENT_MODIFIED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090217 |
Method IS_CONTENT_MODIFIED on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_BUTTON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HTML | Call by reference | Type reference (TYPE) | STRING | 20090204 | ||||
| 2 | IV_BUTTON | Call by reference | Type reference (TYPE) | CRMT_THTMLB_BUTTON | Pushbutton | 20090204 | |||
| 3 | IV_PLACE_HOLDER | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20090206 |
Method RENDER_BUTTON on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_BUTTON_TOOLTIP_VAR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FUNCTION | Value transfer | Type reference (TYPE) | STRING | Image | 20060425 | |||
| 2 | HTML | Value transfer | Type reference (TYPE) | STRING | HTML | 20060425 | |||
| 3 | TOOLTIP | Value transfer | Type reference (TYPE) | TEXTPOOLKY | Quick Info | 20060425 |
Method RENDER_BUTTON_TOOLTIP_VAR on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_DEFAULT_BUTTON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FUNCTION | Value transfer | Type reference (TYPE) | STRING | Image | 20060425 | |||
| 2 | HTML | Value transfer | Type reference (TYPE) | STRING | HTML | 20060425 | |||
| 3 | TOOLTIP | Value transfer | Type reference (TYPE) | TEXTPOOLKY | Quick Info | 20060425 |
Method RENDER_DEFAULT_BUTTON on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_DEFAULT_EDITOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BROWSER_TYPE | Call by reference | Type reference (TYPE) | STRING | 'nn' | Browser type | 20060429 | ||
| 2 | HTML | Value transfer | Type reference (TYPE) | STRING | HTML | 20060425 |
Method RENDER_DEFAULT_EDITOR on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_DEFAULT_FONTNAME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTML | Value transfer | Type reference (TYPE) | STRING | HTML | 20060425 |
Method RENDER_DEFAULT_FONTNAME on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_DEFAULT_FONTSIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTML | Value transfer | Type reference (TYPE) | STRING | HTML | 20060425 |
Method RENDER_DEFAULT_FONTSIZE on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_DEFAULT_JS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BROWSER_TYPE | Call by reference | Type reference (TYPE) | STRING | 'nn' | Browser type | 20060429 | ||
| 2 | HTML | Value transfer | Type reference (TYPE) | STRING | HTML | 20060425 |
Method RENDER_DEFAULT_JS on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_DEFAULT_START Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | BROWSER_TYPE | Call by reference | Type reference (TYPE) | STRING | 'nn' | Browser type 'ie' or 'nn' | 20060429 | ||
| 2 | RC | Value transfer | Type reference (TYPE) | I | Return Code | 20060425 |
Method RENDER_DEFAULT_START on class CL_THTMLBX_BTF_EDITOR has no exception.
Method RENDER_TOOLBAR_BUTTON Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BUTTON_HTML | Call by reference | Type reference (TYPE) | STRING | 20090204 | ||||
| 2 | EV_TOOLBAR_ID | Call by reference | Type reference (TYPE) | STRING | 20090525 | ||||
| 3 | IV_ELEMENT | Call by reference | Type reference (TYPE) | WCFC_BTF_ELEMENT | BTF Editor toolbar element | 20090204 | |||
| 4 | IV_ENABLED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090204 | |||
| 5 | IV_HIDDEN | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090204 |
Method RENDER_TOOLBAR_BUTTON on class CL_THTMLBX_BTF_EDITOR has no exception.
Method SET_PLACE_HOLDER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_PLACE_HOLDER | Call by reference | Type reference (TYPE) | STRING | 20090206 |
Method SET_PLACE_HOLDER on class CL_THTMLBX_BTF_EDITOR has no exception.
History
| Last changed by/on | SAP | 20130531 |
| SAP Release Created in | 700 |