SAP ABAP Class CL_XSL_DOCX (Main class of docx to output)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18 (Application Component) Internationalization (I18N)
⤷
S_OOXML_XSL_FO (Package) OOXML:XSL-FO related topics
⤷
⤷
Properties
| Class | CL_XSL_DOCX | |
| Short Description | Main class of docx to output | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | S_OOXML_XSL_FO | OOXML:XSL-FO related topics |
| Created | 20080129 | 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 CL_XSL_DOCX has no interface implemented.
Friends
Class CL_XSL_DOCX has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | TY_DOCX_MAP_TABLE | 20090109 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Static method | Public | Method | Convert .docx to HTML format. | 20080718 | |
| 2 | Static method | Public | Method | Convert .docx to XSL-FO format. | 20080617 | |
| 3 | Static method | Public | Method | Convert Word 2003 XML to XSL-FO format. | 20081030 | |
| 4 | Static method | Public | Method | 20081218 | ||
| 5 | Static method | Public | Method | Merge customer data and form template. | 20080129 | |
| 6 | Static method | Public | Method | For testing or demo purpose,gets docx and create a spool id. | 20080311 | |
| 7 | Static method | Public | Method | Create XSL-FO XSLT based on the form template and its 'sdt'. | 20080129 | |
| 8 | Static method | Public | Method | 20090430 | ||
| 9 | Static method | Public | Method | 20090114 | ||
| 10 | Static method | Public | Method | 20090109 |
Events
Class CL_XSL_DOCX has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | TY_DOCX_MAP | Private | See coding | 20090109 | begin of TY_docx_MAP,
xsltname TYPE string,
docx TYPE xstring,
end of TY_docx_MAP
|
||
| 2 | TY_DOCX_MAP_TABLE | Private | See coding | 20090109 | TY_docx_MAP_TABLE TYPE HASHED TABLE OF TY_docx_MAP WITH UNIQUE KEY xsltname
|
||
| 3 | T_RESSOURCE | Public | See coding | 20080929 | begin of T_RESSOURCE,
CID type string,
RESSOURCE type xstring,
CONTENT_TYPE type string,
end of t_ressource
|
||
| 4 | T_RESSOURCES_TAB | Public | See coding | 20080929 | T_RESSOURCES_TAB type standard table of t_ressource
|
Method Signatures
Method CONVERT_DOCX2HTML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DOCX_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20080718 | ||||
| 2 | RESSOURCES_TAB | Call by reference | Type reference (TYPE) | T_RESSOURCES_TAB | 20080929 | ||||
| 3 | RE_HTML_DATA | Value transfer | Type reference (TYPE) | XSTRING | 20080718 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Merge exceptions of parts of the package | 20080916 | ||
| 2 | Packaging Error - Invalid Content | 20081009 | ||
| 3 | Part not found | 20081009 | ||
| 4 | Allgemeiner Fehler beim CALL TRANSFORMATION | 20080929 |
Method CONVERT_DOCX2XSLFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DOCX_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20080617 | ||||
| 2 | IM_TYPE | Call by reference | Type reference (TYPE) | STRING | 'DD' | 20080729 | |||
| 3 | RE_XSLFO_DATA | Value transfer | Type reference (TYPE) | XSTRING | 20080617 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Merge exceptions of parts of the package | 20080822 | ||
| 2 | General Error When Performing CALL TRANSFORMATION | 20080822 |
Method CONVERT_WORDML2XSLFO Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_TYPE | Call by reference | Type reference (TYPE) | STRING | 'DD' | 20081030 | |||
| 2 | IM_WORDML_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20081030 | ||||
| 3 | RE_XSLFO_DATA | Value transfer | Type reference (TYPE) | XSTRING | 20081030 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | General Error When Performing CALL TRANSFORMATION | 20081030 |
Method GENERATE_DOCX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_COUNTRY | Call by reference | Type reference (TYPE) | DBCOUNTRY | Country Key | 20081218 | |||
| 2 | IM_CUSTOMXML_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20081218 | ||||
| 3 | IM_FORMTEMPLATE_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20081218 | ||||
| 4 | IM_LANGUAGE | Call by reference | Type reference (TYPE) | DBSPRAS | Language Key | 20081218 | |||
| 5 | IM_XSLT_NAME | Call by reference | Type reference (TYPE) | STRING | 20081218 | ||||
| 6 | RE_DOCX | Value transfer | Type reference (TYPE) | XSTRING | 20081218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Packaging Error - Invalid Content | 20090116 | ||
| 2 | Part not found | 20090116 | ||
| 3 | General Error When Performing CALL TRANSFORMATION | 20090115 |
Method GENERATE_OUTPUT Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_COUNTRY | Call by reference | Type reference (TYPE) | DBCOUNTRY | Country Key | 20080729 | |||
| 2 | IM_CUSTOMXML_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20080129 | ||||
| 3 | IM_LANGUAGE | Call by reference | Type reference (TYPE) | DBSPRAS | Language Key | 20080729 | |||
| 4 | IM_XSLT_NAME | Call by reference | Type reference (TYPE) | STRING | 20080129 | ||||
| 5 | IO_XSLFO_RENDERER | Call by reference | Object reference (TYPE REF TO) | CL_XSLFO_OUTPUT_ADAPTER | Output adapter base class for XSL formatter | 20080220 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | General Error When Performing CALL TRANSFORMATION | 20080822 | ||
| 2 | XSL-FO exception root class | 20080220 |
Method GENERATE_TESTPAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DELETE | Call by reference | Type reference (TYPE) | RSPO2DISPO | Delete spool request automatically | 20080311 | |||
| 2 | IM_DOCX_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20080311 | ||||
| 3 | IM_IMMED | Call by reference | Type reference (TYPE) | RSPO1DISPO | Character Field Length 1 | 20080311 | |||
| 4 | IM_PRINTER | Call by reference | Type reference (TYPE) | RSPOPNAME | 'LOCL' | Spool: Output Device | 20080311 | ||
| 5 | RE_SPOOLID | Value transfer | Type reference (TYPE) | RSPOID | Spool request number | 20080311 |
Method GENERATE_TESTPAGE on class CL_XSL_DOCX has no exception.
Method GENERATE_TRANSFORM Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_DELETE_SDT_TAGS | Call by reference | Type reference (TYPE) | C | 'Y' | Y:Delete ContentControl; N:Keep them; R:Make them read-only. | 20090826 | ||
| 2 | IM_FORMTEMPLATE_DATA | Call by reference | Type reference (TYPE) | XSTRING | 20080129 | ||||
| 3 | IM_TYPE | Call by reference | Type reference (TYPE) | C | 20080130 | ||||
| 4 | RE_XSLT_TAB | Value transfer | Type reference (TYPE) | O2PAGELINE_TABLE | O2: Oxygen Page Table | 20080130 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Merge exceptions of parts of the package | 20080822 | ||
| 2 | General Error When Performing CALL TRANSFORMATION | 20080822 |
Method SAVE_ACTIVEX_DOCX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_GROUP_POS | Call by reference | Type reference (TYPE) | STRING | 20090430 | ||||
| 2 | IM_RID | Call by reference | Type reference (TYPE) | STRING | 20090430 | ||||
| 3 | IM_XSLT_NAME | Call by reference | Type reference (TYPE) | STRING | 20090430 | ||||
| 4 | RE_RID | Value transfer | Type reference (TYPE) | STRING | 20090430 |
Method SAVE_ACTIVEX_DOCX on class CL_XSL_DOCX has no exception.
Method SAVE_AFCHUNK_DOCX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IM_MAIN_RID | Call by reference | Type reference (TYPE) | STRING | 20090121 | ||||
| 2 | IM_PART | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE_COLLECTION | IF_IXML_NODE_COLLECTION | 20090115 | |||
| 3 | IM_XSLT_NAME | Call by reference | Type reference (TYPE) | STRING | 20090115 | ||||
| 4 | RE_RID | Value transfer | Type reference (TYPE) | STRING | 20090115 |
Method SAVE_AFCHUNK_DOCX on class CL_XSL_DOCX has no exception.
Method SAVE_PART_DOCX Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | EX_HEIGHT | Call by reference | Type reference (TYPE) | STRING | 20090115 | ||||
| 2 | EX_RID | Call by reference | Type reference (TYPE) | STRING | 20090115 | ||||
| 3 | EX_WIDTH | Call by reference | Type reference (TYPE) | STRING | 20090115 | ||||
| 4 | IM_MAIN_RID | Call by reference | Type reference (TYPE) | STRING | 20090121 | ||||
| 5 | IM_PART | Call by reference | Type reference (TYPE) | STRING | 20090109 | ||||
| 6 | IM_PART_TYPE | Call by reference | Type reference (TYPE) | STRING | 20090109 | ||||
| 7 | IM_XSLT_NAME | Call by reference | Type reference (TYPE) | STRING | 20090109 |
Method SAVE_PART_DOCX on class CL_XSL_DOCX has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 711 |