SAP ABAP Class IF_XSLFO_GRAPHIC_OUTPUT (Output interface graphical output)
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | CL_XSLFO_OUTPUT_ADAPTER | Output adapter base class for XSL formatter | 20081015 |
Properties
| Class | IF_XSLFO_GRAPHIC_OUTPUT | |
| Short Description | Output interface graphical output | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | ||
| Created | 20081014 | SAP |
| Last change | 20110908 | 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
Class IF_XSLFO_GRAPHIC_OUTPUT has no interface implemented.
Friends
Class IF_XSLFO_GRAPHIC_OUTPUT has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Constant | Public | Type reference (TYPE) | STRING | 'image/x-ms-bmp' | 20081014 | |||
| 2 | Constant | Public | Type reference (TYPE) | STRING | 'image/x-emf' | 20081014 | |||
| 3 | Constant | Public | Type reference (TYPE) | STRING | 'image/gif' | 20081014 | |||
| 4 | Constant | Public | Type reference (TYPE) | STRING | 'image/jpeg' | 20081014 | |||
| 5 | Constant | Public | Type reference (TYPE) | STRING | 'image/png' | 20081014 | |||
| 6 | Constant | Public | Type reference (TYPE) | STRING | 'image/tiff' | 20081014 | |||
| 7 | Constant | Public | Type reference (TYPE) | STRING | 'image/x-wmf' | 20081014 | |||
| 8 | Constant | Public | Type reference (TYPE) | I | 3 | 20081014 | |||
| 9 | Constant | Public | Type reference (TYPE) | I | 2 | 20081014 | |||
| 10 | Constant | Public | Type reference (TYPE) | I | 5 | 20081014 | |||
| 11 | Constant | Public | Type reference (TYPE) | I | 1 | 20081014 | |||
| 12 | Constant | Public | Type reference (TYPE) | I | 0 | 20081014 | |||
| 13 | Constant | Public | Type reference (TYPE) | I | 4 | 20081014 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | Search cache for named image of given size | 20090928 | |
| 2 | Instance method | Public | Method | Get metrics of prepared image | 20081110 | |
| 3 | Instance method | Public | Method | Output a filled rectangle on the rendering surface | 20081014 | |
| 4 | Instance method | Public | Method | Output a horizontal line of given length + thickness fixup | 20081014 | |
| 5 | Instance method | Public | Method | Output an prepared image | 20081110 | |
| 6 | Instance method | Public | Method | Output a vertical line of given length + thickness fixup | 20081014 | |
| 7 | Instance method | Public | Method | Copy an prepared image to a new handle | 20081111 | |
| 8 | Instance method | Public | Method | Prepare an image for later output | 20081110 | |
| 9 | Instance method | Public | Method | Load image from URL and prepare it for later output | 20081110 | |
| 10 | Instance method | Public | Method | Resize prepared image | 20081111 |
Events
Class IF_XSLFO_GRAPHIC_OUTPUT has no event.
Types
Class IF_XSLFO_GRAPHIC_OUTPUT has no local type.
Method Signatures
Method FIND_CACHED_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 | image name | 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 FIND_CACHED_IMAGE on class IF_XSLFO_GRAPHIC_OUTPUT has no exception.
Method GET_IMAGE_METRICS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_HEIGHT | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL:FO length unit (1/72000 inch) | 20081110 | |||
| 2 | EV_WIDTH | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL:FO length unit (1/72000 inch) | 20081110 | |||
| 3 | IV_HANDLE | Call by reference | Type reference (TYPE) | I | 20081110 |
Method GET_IMAGE_METRICS on class IF_XSLFO_GRAPHIC_OUTPUT has no exception.
Method OUTPUT_FILLED_RECT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLOR | Call by reference | Type reference (TYPE) | XSLFO_COLOR | XSL-FO color containing 6 hex char preceded by # | 20081014 | |||
| 2 | IV_HEIGHT | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 3 | IV_WIDTH | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 4 | IV_X | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 5 | IV_Y | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081014 |
Method OUTPUT_HORIZONTAL_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLOR | Call by reference | Type reference (TYPE) | XSLFO_COLOR | '#000000' | XSL-FO color containing 6 hex char preceded by # | 20081014 | ||
| 2 | IV_LENGTH | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 3 | IV_STYLE | Call by reference | Type reference (TYPE) | XSLFO_ENUM | CO_LINE_STYLE_SOLID | XSL-FO enumerated data type | 20081014 | ||
| 4 | IV_THICKNESS | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 5 | IV_X | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 6 | IV_Y | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081014 |
Method OUTPUT_PREPARED_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 | Image to output | 20081110 | |||
| 2 | IV_X | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL:FO length unit (1/72000 inch) | 20081110 | |||
| 3 | IV_Y | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL:FO length unit (1/72000 inch) | 20081110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Output adapter error | 20081110 |
Method OUTPUT_VERTICAL_LINE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_COLOR | Call by reference | Type reference (TYPE) | XSLFO_COLOR | '#000000' | XSL-FO color containing 6 hex char preceded by # | 20081014 | ||
| 2 | IV_LENGTH | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 3 | IV_STYLE | Call by reference | Type reference (TYPE) | XSLFO_ENUM | CO_LINE_STYLE_SOLID | XSL-FO enumerated data type | 20081014 | ||
| 4 | IV_THICKNESS | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 5 | IV_X | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 | |||
| 6 | IV_Y | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL-FO length in thousandth part of a point (at 72dpi) | 20081014 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | 20081014 |
Method PREPARE_IMAGE_DUPLICATE 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 |
Method PREPARE_IMAGE_DUPLICATE on class IF_XSLFO_GRAPHIC_OUTPUT has no exception.
Method PREPARE_IMAGE_FROM_DATA 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 | RV_HANDLE | Value transfer | Type reference (TYPE) | I | 20081110 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Output adapter error | 20081110 |
Method PREPARE_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 | Output adapter error | 20081110 |
Method RESIZE_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 | IV_HEIGHT | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL:FO length unit (1/72000 inch) | 20081111 | |||
| 3 | IV_WIDTH | Call by reference | Type reference (TYPE) | XSLFO_LENGTH | XSL:FO length unit (1/72000 inch) | 20081111 |
Method RESIZE_IMAGE on class IF_XSLFO_GRAPHIC_OUTPUT has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in |