SAP ABAP Class CL_FXS_IMAGE_PROCESSOR (Image Processor)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18 (Application Component) Internationalization (I18N)
⤷
S_XSLFO_SUPPLEMENTARY_IMAGE (Package) Supplementary image functionality
⤷
⤷
Properties
| Class | CL_FXS_IMAGE_PROCESSOR | |
| Short Description | Image Processor | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_XSLFO_SUPPLEMENTARY_IMAGE | Supplementary image functionality |
| Created | 20081110 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_FXS_IMAGE_PROCESSOR has no forward declaration.
Interfaces
Class CL_FXS_IMAGE_PROCESSOR has no interface implemented.
Friends
Class CL_FXS_IMAGE_PROCESSOR has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_IGS_IMAGE_CONVERTER | 20081110 | ||||
| 2 | Static Attribute | Protected | See coding | 20081110 | |||||
| 3 | Instance attribute | Protected | See coding | 20081110 | |||||
| 4 | Instance attribute | Protected | See coding | 20081110 | |||||
| 5 | Instance attribute | Protected | Type reference (TYPE) | I | 1 | 20081110 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Add image for further processing | 20081110 | |
| 2 | Instance method | Public | Method | Add image from given url (CL_FXS_URL_DATA_FETCHER) | 20081110 | |
| 3 | Static method | Public | Constructor | 20081110 | ||
| 4 | Instance method | Public | Constructor | 20081125 | ||
| 5 | Instance method | Public | Method | Convert image to another format | 20081110 | |
| 6 | Instance method | Public | Method | Discard image | 20081110 | |
| 7 | Instance method | Public | Method | Duplicate image | 20081111 | |
| 8 | Instance method | Protected | Method | 20081110 | ||
| 9 | Instance method | Public | Method | Get binary image data | 20081110 | |
| 10 | Instance method | Public | Method | Get information about dimensions and other stuff | 20081110 | |
| 11 | Instance method | Public | Method | Get image by name and size | 20090928 | |
| 12 | Instance method | Protected | Method | 20081110 | ||
| 13 | Instance method | Public | Method | Resize image | 20081111 |
Events
Class CL_FXS_IMAGE_PROCESSOR has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_IMAGE | Protected | See coding | 20081110 | BEGIN OF ty_image,
handle TYPE i,
stream TYPE REF TO cl_fxs_binary_stream,
handler TYPE REF TO cl_fxs_image_handler,
mimetype TYPE string,
xres TYPE i,
yres TYPE i,
xdpi TYPE i,
ydpi TYPE i,
bitdepth TYPE i,
image_name type string,
END OF ty_image
|
Method Signatures
Method ADD_IMAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20081110 | ||||
| 2 | IV_IMAGE_NAME | Call by reference | Type reference (TYPE) | STRING | Name of image for cache | 20090928 | |||
| 3 | RV_HANDLE | Value transfer | Type reference (TYPE) | I | 20081110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsupported image type | 20081110 |
Method ADD_IMAGE_FROM_URL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IMAGE_NAME | Call by reference | Type reference (TYPE) | STRING | image name | 20090928 | |||
| 2 | IV_URL | Call by reference | Type reference (TYPE) | STRING | 20081110 | ||||
| 3 | RV_HANDLE | Value transfer | Type reference (TYPE) | I | 20081110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsupported image type | 20081110 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_FXS_IMAGE_PROCESSOR has no parameter.
Method CLASS_CONSTRUCTOR on class CL_FXS_IMAGE_PROCESSOR has no exception.
Method CONSTRUCTOR Signature
Method CONSTRUCTOR on class CL_FXS_IMAGE_PROCESSOR has no parameter.
Method CONSTRUCTOR on class CL_FXS_IMAGE_PROCESSOR has no exception.
Method CONVERT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FORMAT | Call by reference | Type reference (TYPE) | STRING | 20081110 | ||||
| 2 | IV_HANDLE | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 3 | IV_OTF_ADJUST | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20081110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exceptions Accessing Subfields Beyond Boundary | 20081110 |
Method DISCARD_IMAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HANDLE | Call by reference | Type reference (TYPE) | I | 20081110 |
Method DISCARD_IMAGE on class CL_FXS_IMAGE_PROCESSOR has no exception.
Method DUPLICATE_IMAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HANDLE | Call by reference | Type reference (TYPE) | I | 20081111 | ||||
| 2 | RV_HANDLE | Value transfer | Type reference (TYPE) | I | 20081111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exceptions Accessing Subfields Beyond Boundary | 20081111 |
Method FIND_HANDLER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_STREAM | Call by reference | Object reference (TYPE REF TO) | CL_FXS_BINARY_STREAM | 20081110 | ||||
| 2 | RO_HANDLER | Value transfer | Object reference (TYPE REF TO) | CL_FXS_IMAGE_HANDLER | 20081110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Unsupported image type | 20081110 |
Method GET_IMAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HANDLE | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 2 | RV_XSTRING | Value transfer | Type reference (TYPE) | XSTRING | 20081110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exceptions Accessing Subfields Beyond Boundary | 20081110 |
Method GET_INFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_BITDEPTH | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 2 | EV_MIMETYPE | Call by reference | Type reference (TYPE) | STRING | 20081110 | ||||
| 3 | EV_XDPI | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 4 | EV_XRES | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 5 | EV_YDPI | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 6 | EV_YRES | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 7 | IV_HANDLE | Call by reference | Type reference (TYPE) | I | 20081110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exceptions Accessing Subfields Beyond Boundary | 20081110 |
Method GET_NAMED_IMAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_IMAGE_HEIGHT | Call by reference | Type reference (TYPE) | I | height in 1/72000 inch | 20090928 | |||
| 2 | IV_IMAGE_NAME | Call by reference | Type reference (TYPE) | STRING | Name of image | 20090928 | |||
| 3 | IV_IMAGE_WIDTH | Call by reference | Type reference (TYPE) | I | width in 1/72000 inch | 20090928 | |||
| 4 | RT_HANDLE | Value transfer | Type reference (TYPE) | I | image handle (0 if not found) | 20090928 |
Method GET_NAMED_IMAGE on class CL_FXS_IMAGE_PROCESSOR has no exception.
Method GET_OTF_DPI Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_XDPI | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 2 | IV_YDPI | Call by reference | Type reference (TYPE) | I | 20081110 | ||||
| 3 | RV_DPI | Value transfer | Type reference (TYPE) | I | 20081110 |
Method GET_OTF_DPI on class CL_FXS_IMAGE_PROCESSOR has no exception.
Method RESIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_HANDLE | Call by reference | Type reference (TYPE) | I | 20081111 | ||||
| 2 | IV_XRES | Call by reference | Type reference (TYPE) | I | 20081111 | ||||
| 3 | IV_YRES | Call by reference | Type reference (TYPE) | I | 20081111 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | System Exceptions Accessing Subfields Beyond Boundary | 20081111 |
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 720 |