SAP ABAP Class CL_GUI_HTML_EDITOR (HTML Editor)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-FES-CTL (Application Component) SAP GUI for Windows Controls
⤷
SAPHTMLEDITOR (Package) Development Class for HTML Editor
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_GUI_CONTROL | Proxy Class for Control in GUI | 19990205 |
Properties
| Class | CL_GUI_HTML_EDITOR | |
| Short Description | HTML Editor | |
| Super Class | CL_GUI_CONTROL | Proxy Class for Control in GUI |
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SAPHTMLEDITOR | Development Class for HTML Editor |
| Created | 19990205 | SAP |
| Last change | 00000000 | 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) | |
| 3 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 4 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 5 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
Interfaces
Class CL_GUI_HTML_EDITOR has no interface implemented.
Friends
Class CL_GUI_HTML_EDITOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | I | 0 | boolean like value 'FALSE' to handle properties of control | 19990205 | ||
| 2 | Constant | Protected | Type reference (TYPE) | MY_STRING | 'X-R3HTML' | mime Subtype | 19990205 | ||
| 3 | Constant | Protected | Type reference (TYPE) | MY_STRING | 'Application' | MIME Type | 19990205 | ||
| 4 | Instance attribute | Protected | Type reference (TYPE) | CNTL_HANDLE | Handle for the Data Provider | 19990526 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | UI_FUNC | Function Code | 19990608 | |||
| 6 | Constant | Public | Type reference (TYPE) | I | 1 | Event ID | 19990608 | ||
| 7 | Instance attribute | Public | Type reference (TYPE) | I | 0 | Result | 19990608 | ||
| 8 | Constant | Public | Type reference (TYPE) | I | 1 | boolean like value 'TRUE' to handle properties of Control | 19990205 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | Creates and Links the HTML Editor Control | 19990205 | |
| 2 | Instance method | Public | Method | insert HTML text into the document | 19990608 | |
| 3 | Instance method | Public | Method | Send HTML as stream to control (incl. " " and " ") | 19990205 | |
| 4 | Instance method | Public | Method | Replace Selected HTML with Stream | 19990205 | |
| 5 | Instance method | Public | Method | Loads the Toolbar XML File | 20000614 | |
| 6 | Instance method | Public | Method | Loads a Document by URL | 20000614 |
Events
| # | Event | Type | Visibility | Description | Created on |
|---|---|---|---|---|---|
| 1 | FUNCTION_SELECTED | Instance Event (0) |
Public (2) |
Is fired when a button or a menu item was selected | 19990608 |
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | MY_STRING | Protected | See coding | MY_STRING | 19990205 | |
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | LIFETIME | Value transfer | Type reference (TYPE) | I | for lifetime management | 19990205 | |||
| 2 | PARENT | Value transfer | Object reference (TYPE REF TO) | CL_GUI_CONTAINER | Parent Container | 19990205 | |||
| 3 | SHELLSTYLE | Value transfer | Type reference (TYPE) | I | shell style | 19990526 | |||
| 4 | TOOLBARXML | Value transfer | Type reference (TYPE) | STRING | XML Datei Url | 20000614 | |||
| 5 | USER_ACTIONS | Value transfer | Type reference (TYPE) | CNHE_ITAB_ACTIONS | user defined actions | 19990608 | |||
| 6 | USER_TOOLBAR | Value transfer | Type reference (TYPE) | TTB_BUTTON | table for configuration of the user toolbar | 19990608 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while performing creation of HTMLEdit control! | 19990526 | ||
| 2 | Error while initializing HTMLEdit control! | 19990526 | ||
| 3 | Error in calling a Data Provider method | 19990608 |
Method INSERT_HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTML_TEXT | Call by reference | Type reference (TYPE) | CNHE_HTML_TEXT | HTML source | 19990608 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | error in call_method of CFW | 19990608 |
Method SET_HTML_AS_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | HTML | Call by reference | Type reference (TYPE) | TABLE | text as stream with carriage returns and linefeeds | 19990205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while sending data via the DataProvider! | 19990205 | ||
| 2 | Error while creating DataProvider Object | 19990205 |
Method SET_SELECTED_HTML_AS_STREAM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | SELECTED_HTML | Call by reference | Type reference (TYPE) | TABLE | text as stream to replace selection | 19990205 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Error while control in browse mode ! | 19990205 | ||
| 2 | Error while sending HTML via the DataProvider! | 19990205 | ||
| 3 | Error while creating DataProvider! | 19990205 |
Method SET_TOOLBAR_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | URL | Call by reference | Type reference (TYPE) | STRING | Url einer Dokument | 20000614 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CFW Fehler | 20000614 |
Method SET_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | URL | Call by reference | Type reference (TYPE) | STRING | Url einer Dokument | 20000614 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | CFW Fehler | 20000614 |
Event Signatures
Event FUNCTION_SELECTED Signature
| # | Parameter | Type | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | FCODE | Exporting | Value transfer | Type reference (TYPE) | UI_FUNC | FCode | 19990608 |
History
| Last changed by/on | SAP | 00000000 |
| SAP Release Created in |