Hierarchy
⤷
⤷
Properties
| Class | /SLOAP/CL_SVG_GEN | |
| Short Description | creates SVG out of Tree | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | /SLOAP/SVG | parser for svg org charts |
| Created | 20100127 | SAP |
| Last change | 20141030 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class /SLOAP/CL_SVG_GEN has no forward declaration.
Interfaces
Class /SLOAP/CL_SVG_GEN has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | /SLOAP/CL_OUTPUT_GENERATOR | 20100127 |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Private | Object reference (TYPE REF TO) | IF_IXML_NODE | tree with all vertical elements | 20100127 | |||
| 2 | Instance attribute | Private | Type reference (TYPE) | /SLOAP/TREE_TAB | table which is the basis to paint | 20100127 | |||
| 3 | Instance attribute | Private | Type reference (TYPE) | /SLOAP/LEGEND_COUNTER | saves painted legend elements | 20100127 | |||
| 4 | Instance attribute | Private | Type reference (TYPE) | /SLOAP/T_NOT_PAINTED | saves vertical elements for later painting | 20100127 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | I | 0 | represents actural tree depth | 20100127 | ||
| 6 | Instance attribute | Private | Type reference (TYPE) | STRING | hight of SVG ellement | 20100127 | |||
| 7 | Instance attribute | Private | Type reference (TYPE) | I | position of last element X-axis | 20100127 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | I | position of last element Y-axis | 20100127 | |||
| 9 | Constant | Private | Type reference (TYPE) | I | 500 | initial hight of element | 20100127 | ||
| 10 | Instance attribute | Private | Type reference (TYPE) | I | 600 | indicates the width of overall picture | 20100127 | ||
| 11 | Instance attribute | Private | Type reference (TYPE) | I | maximum depth of tree | 20100127 | |||
| 12 | Constant | Private | Type reference (TYPE) | I | 15 | sets limit of tree depth | 20100127 | ||
| 13 | Instance attribute | Private | Type reference (TYPE) | STRING | saves value of element on top of tree | 20100127 | |||
| 14 | Instance attribute | Private | Type reference (TYPE) | I | counts vertical layer | 20100127 | |||
| 15 | Instance attribute | Private | Type reference (TYPE) | I | saves layer of vertical elements | 20100127 | |||
| 16 | Instance attribute | Private | Type reference (TYPE) | I | width determined in tree | 20100127 | |||
| 17 | Instance attribute | Private | Type reference (TYPE) | I | saves width of last leaf | 20100127 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Private | Method | determins if two nodes are partners in Root_x | 20100127 | |
| 2 | Instance method | Private | Method | parses though the whole tree in specific level | 20100127 | |
| 3 | Instance method | Private | Method | adds legend for each level to svg | 20100127 | |
| 4 | Instance method | Private | Method | creates pic for one element incl. position determination | 20100127 | |
| 5 | Instance method | Public | Method | creates SVG out of tree | 20100127 | |
| 6 | Instance method | Private | Method | creates picture with help of tree and table | 20100127 | |
| 7 | Instance method | Private | Method | creates one level for whole SVG picture | 20100127 | |
| 8 | Instance method | Private | Method | creates one level for whole SVG picture | 20100127 | |
| 9 | Instance method | Private | Method | checks if there are elements on top -> + painting | 20100127 | |
| 10 | Instance method | Private | Method | checks if there are elements on top -> + painting | 20100127 | |
| 11 | Instance method | Private | Method | checks if there are elements on top -> + painting | 20100127 | |
| 12 | Instance method | Private | Method | returns key where node appends to | 20100127 | |
| 13 | Instance method | Private | Method | returns color for each level | 20100127 | |
| 14 | Instance method | Private | Method | returns attributes of node | 20100127 | |
| 15 | Instance method | Private | Method | retruns the summed value of one attribute | 20100127 | |
| 16 | Instance method | Private | Method | returns key node of actual node | 20100127 | |
| 17 | Instance method | Private | Method | returns lowest layer of table | 20100127 | |
| 18 | Instance method | Private | Method | sets the necessary attributes for horizontal elements | 20100127 | |
| 19 | Instance method | Private | Method | sets and calculates with attribute for vertical nodes | 20100127 | |
| 20 | Instance method | Private | Method | creates SVG item, not complete SVG file | 20100127 | |
| 21 | Instance method | Private | Method | parses though the whole tree in specific level | 20100127 | |
| 22 | Instance method | Private | Method | returns attributes of node | 20100127 | |
| 23 | Instance method | Private | Method | set global width, initial position x and y for elements | 20100127 |
Events
Class /SLOAP/CL_SVG_GEN has no event.
Types
Class /SLOAP/CL_SVG_GEN has no local type.
Method Signatures
Method CHECK_NEIGHBORS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EV_IS_NEIGHBOR | Value transfer | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100127 | |||
| 2 | IV_ACT_CHILD_NAME | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 3 | IV_ACT_CHILD_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 4 | IV_ACT_GID | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 5 | IV_OLD_CHILD_NAME | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 6 | IV_OLD_CHILD_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100127 |
Method CHECK_NEIGHBORS on class /SLOAP/CL_SVG_GEN has no exception.
Method CHECK_TREE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NODE_LIST | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_LIST | IF_IXML_NODE | 20100127 |
Method CHECK_TREE on class /SLOAP/CL_SVG_GEN has no exception.
Method CREATE_LEGEND Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LEGEND_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 |
Method CREATE_LEGEND on class /SLOAP/CL_SVG_GEN has no exception.
Method CREATE_PIC Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ELEMENT_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | E_ELEMENT_TREE | Call by reference | Type reference (TYPE) | /SLOAP/SVG_TREE_STRUC | necessary to generate org. structure from analysis | 20100127 | |||
| 3 | E_ELEMENT_WIDTH | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 4 | I_ELEMENT_TREE | Call by reference | Type reference (TYPE) | /SLOAP/SVG_TREE_STRUC | necessary to generate org. structure from analysis | 20100127 | |||
| 5 | I_LAYER_ELEM_COUNT | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 6 | I_NEIGHBOR_WIDTH | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 7 | I_NODE_LIST | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_LIST | IF_IXML_NODE_LIST | 20100127 | |||
| 8 | I_NODE_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 9 | I_PARENT_WIDTH | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 10 | I_PARENT_X | Call by reference | Type reference (TYPE) | I | 20100127 |
Method CREATE_PIC on class /SLOAP/CL_SVG_GEN has no exception.
Method CREATE_PICTURE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_XML_TREE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20100127 | |||
| 2 | RV_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 |
Method CREATE_PICTURE on class /SLOAP/CL_SVG_GEN has no exception.
Method CREATE_PIC_FROM_T_AND_T Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_NODE_LIST | 20100127 | |||
| 2 | RV_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 |
Method CREATE_PIC_FROM_T_AND_T on class /SLOAP/CL_SVG_GEN has no exception.
Method CREATE_PIC_LEVEL_NEU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ELEMENT_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | I_NODE_LIST | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_LIST | IF_IXML_NODE_LIST | 20100127 | |||
| 3 | I_PARENT_WIDTH | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 4 | I_PARENT_X | Call by reference | Type reference (TYPE) | I | Natural Number | 20100127 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | exception class of svg generator | 20100414 |
Method CREATE_PIC_LEVEL_UP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ELEMENT_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | I_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20100127 |
Method CREATE_PIC_LEVEL_UP on class /SLOAP/CL_SVG_GEN has no exception.
Method CREATE_PIC_TOP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ELEMENT_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | IV_ROOT_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 3 | I_NODE_LIST | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_LIST | IF_IXML_NODE_LIST | 20100127 |
Method CREATE_PIC_TOP on class /SLOAP/CL_SVG_GEN has no exception.
Method CREATE_PIC_TOP_NEU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ELEMENT_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | I_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20100127 |
Method CREATE_PIC_TOP_NEU on class /SLOAP/CL_SVG_GEN has no exception.
Method CREATE_PIC_TOP_POSITION Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ES_ELEMENT_STRUC | Call by reference | Type reference (TYPE) | /SLOAP/TREE_STRUC | necessary to generate org. structure from analysis | 20100127 | |||
| 2 | E_ELEMENT_SVG | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 3 | IS_ELEMENT_STRUC | Call by reference | Type reference (TYPE) | /SLOAP/TREE_STRUC | necessary to generate org. structure from analysis | 20100127 | |||
| 4 | IT_CHILDREN | Call by reference | Type reference (TYPE) | /SLOAP/TREE_TAB | IF_IXML_NODE_LIST | 20100127 | |||
| 5 | IV_COUNTER | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 6 | IV_LAYER | Call by reference | Type reference (TYPE) | I | 20100127 |
Method CREATE_PIC_TOP_POSITION on class /SLOAP/CL_SVG_GEN has no exception.
Method DETERMINE_KEY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_KEY_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | RR_KEY_NODE | Value transfer | Object reference (TYPE REF TO) | IF_IXML_ELEMENT | Element | 20100127 |
Method DETERMINE_KEY on class /SLOAP/CL_SVG_GEN has no exception.
Method FIND_COLOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_COLOR_CODE | Value transfer | Type reference (TYPE) | STRING | Character field, length 7 | 20100127 | |||
| 2 | I_ORG_NAME | Call by reference | Type reference (TYPE) | CHAR5 | R/2 table | 20100127 |
Method FIND_COLOR on class /SLOAP/CL_SVG_GEN has no exception.
Method GET_ATTRIBUTE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | I_INDEX | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 3 | I_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE | 20100127 |
Method GET_ATTRIBUTE_VALUE on class /SLOAP/CL_SVG_GEN has no exception.
Method GET_ATTR_VALUE_OF_CHILDREN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SUM_VALUES | Value transfer | Type reference (TYPE) | I | 20100127 | ||||
| 2 | I_INDEX | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 3 | I_NODE_LIST | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_LIST | IF_IXML_NODE | 20100127 |
Method GET_ATTR_VALUE_OF_CHILDREN on class /SLOAP/CL_SVG_GEN has no exception.
Method GET_KEY_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IR_ACT_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE | 20100127 | |||
| 2 | RV_KEY_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100127 |
Method GET_KEY_NODE on class /SLOAP/CL_SVG_GEN has no exception.
Method GET_LOWEST_LAYER Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LAYER | Value transfer | Type reference (TYPE) | I | 20100127 | ||||
| 2 | I_NOT_PAINTED | Call by reference | Type reference (TYPE) | /SLOAP/T_NOT_PAINTED | structure contains infortmation to paint element | 20100127 |
Method GET_LOWEST_LAYER on class /SLOAP/CL_SVG_GEN has no exception.
Method GET_NODE_INFO_HORIZONTAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_LAYER | Value transfer | Type reference (TYPE) | I | 20100127 | ||||
| 2 | I_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE | 20100127 | |||
| 3 | I_NODE_LIST | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_LIST | IF_IXML_NODE_LIST | 20100127 | |||
| 4 | I_NODE_NAME | Call by reference | Type reference (TYPE) | STRING | 20100127 |
Method GET_NODE_INFO_HORIZONTAL on class /SLOAP/CL_SVG_GEN has no exception.
Method GET_NODE_INFO_VERTICAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_WIDTH_VALUE | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | I_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE | 20100127 | |||
| 3 | I_NODE_LIST | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_LIST | IF_IXML_NODE_LIST | 20100127 |
Method GET_NODE_INFO_VERTICAL on class /SLOAP/CL_SVG_GEN has no exception.
Method PAINT_ELEMENT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_SVG_ELEMENT | Value transfer | Type reference (TYPE) | STRING | 20100127 | ||||
| 2 | I_ELEMENT_COLOR | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 3 | I_ELEMENT_HIGHT | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 4 | I_ELEMENT_WIDTH | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 5 | I_ELEMENT_X | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 6 | I_ELEMENT_Y | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 7 | I_NODE_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 8 | I_TEXT_X | Call by reference | Type reference (TYPE) | STRING | 20100127 | ||||
| 9 | I_TEXT_Y | Call by reference | Type reference (TYPE) | STRING | 20100127 |
Method PAINT_ELEMENT on class /SLOAP/CL_SVG_GEN has no exception.
Method PARSE_TO_LEVEL_NEU Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NODE_LIST | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_LIST | IF_IXML_NODE | 20100127 | |||
| 2 | I_VERTICAL | Call by reference | Type reference (TYPE) | BOOLEAN | Boolean Variable (X=True, -=False, Space=Unknown) | 20100127 |
Method PARSE_TO_LEVEL_NEU on class /SLOAP/CL_SVG_GEN has no exception.
Method SET_ATTRIBUTE_VALUE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_INDEX | Call by reference | Type reference (TYPE) | I | 20100127 | ||||
| 2 | I_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE | 20100127 | |||
| 3 | I_VALUE | Call by reference | Type reference (TYPE) | STRING | 20100127 |
Method SET_ATTRIBUTE_VALUE on class /SLOAP/CL_SVG_GEN has no exception.
Method SET_GLOBAL_DATA_FOR_SVG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | I_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_NODE_LIST | 20100127 |
Method SET_GLOBAL_DATA_FOR_SVG on class /SLOAP/CL_SVG_GEN has no exception.
History
| Last changed by/on | SAP | 20141030 |
| SAP Release Created in | 700 |