SAP ABAP Class CL_FDT_DOC_PKG (Class for document packages (like OOXML, ODF))
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-SRV-BR (Application Component) BRFplus - ABAP-Based Business Rules
⤷
SFDT_EXCEL_CORE (Package) BRFplus: Excel Integration Core
⤷
⤷
Meta Relationship - Using
| # | Relationship type | Using | Short Description | Created on |
|---|---|---|---|---|
| 1 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FDT_DOCUMENT | General interface for document | 20080616 |
| 2 | Interface implementation (CLASS c. INTERFACES i_ref) | IF_FDT_DOC_PKG | Basic access to document packages | 20080616 |
Meta Relationship - Used By
| # | Relationship type | Used by | Short Description | Created on |
|---|---|---|---|---|
| 1 | Inheritance (c INHERITING FROM c_ref) | CL_FDT_XL_DOCUMENT | FDT:OOXML Document | 20080616 |
Properties
| Class | CL_FDT_DOC_PKG | |
| Short Description | Class for document packages (like OOXML, ODF) | |
| Super Class | ||
| Instantiability of a Class | 2 | Public |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | SFDT_EXCEL_CORE | BRFplus: Excel Integration Core |
| Created | 20080616 | SAP |
| Last change | 20110908 | SAP |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
Class CL_FDT_DOC_PKG has no forward declaration.
Interfaces
| # | Interface | Abstract | Final | Description | Created on |
|---|---|---|---|---|---|
| 1 | IF_FDT_DOCUMENT | General interface for document | 20080616 | ||
| 2 | IF_FDT_DOC_PKG | Basic access to document packages | 20080616 |
Friends
Class CL_FDT_DOC_PKG has no friend class.
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Instance attribute | Protected | Type reference (TYPE) | STRING | Name of the current package | 20080616 | |||
| 2 | Instance attribute | Protected | Type reference (TYPE) | STRING | Type of the document | 20080616 | |||
| 3 | Instance attribute | Protected | Type reference (TYPE) | STRING | UUID of the document | 20080616 | |||
| 4 | Instance attribute | Protected | Type reference (TYPE) | IF_FDT_DOC_PKG=>T_FILE | Table of files | 20080616 | |||
| 5 | Instance attribute | Protected | Object reference (TYPE REF TO) | IF_IXML | IF_IXML | 20080616 | |||
| 6 | Instance attribute | Protected | Type reference (TYPE) | IF_FDT_DOC_PKG=>S_FILE_METADATA | Meta data of documents | 20080616 | |||
| 7 | Instance attribute | Protected | Object reference (TYPE REF TO) | CL_ABAP_ZIP | Instance of zip package | 20080616 | |||
| 8 | Constant | Public | Type reference (TYPE) | STRING | 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet.main+xml' | 20080616 | |||
| 9 | Constant | Public | Type reference (TYPE) | STRING | 'application/vnd.ms-excel.sheet.macroEnabled.main+xml' | 20080616 | |||
| 10 | Constant | Public | Type reference (TYPE) | STRING | 'application/vnd.openxmlformats-officedocument.spreadsheetml.template.main+xml' | 20080616 | |||
| 11 | Constant | Public | Type reference (TYPE) | STRING | 'application/vnd.ms-excel.template.macroEnabled.main+xml' | 20080616 | |||
| 12 | Instance attribute | Protected | Type reference (TYPE) | XSTRING | The document as XSTRING | 20080616 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Constructor | CONSTRUCTOR | 20080616 | |
| 2 | Instance method | Protected | Method | Get an attribute from XML node | 20080616 | |
| 3 | Instance method | Protected | Method | Load document type from package | 20080616 | |
| 4 | Instance method | Protected | Method | Load filenames of package | 20080616 | |
| 5 | Instance method | Protected | Method | Load document metadata | 20080616 | |
| 6 | Instance method | Protected | Method | Parse a XML document | 20080616 | |
| 7 | Instance method | Protected | Method | Render a XML document to a file (XSTRING) | 20080616 |
Events
Class CL_FDT_DOC_PKG has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | T_ODF_MANIFEST_FILE_ENTRIES | Public | See coding | 20080616 | t_odf_manifest_file_entries TYPE STANDARD TABLE OF t_odf_manifest_file_entry
|
||
| 2 | T_ODF_MANIFEST_FILE_ENTRY | Public | See coding | 20080616 | BEGIN OF t_odf_manifest_file_entry,
media_type TYPE string,
full_path TYPE string,
END OF t_odf_manifest_file_entry
|
||
| 3 | T_POD_CT_DEFAULT | Public | See coding | 20080616 | BEGIN OF t_pod_ct_default,
extension TYPE string,
contenttype TYPE string,
END OF t_pod_ct_default
|
||
| 4 | T_POD_CT_DEFAULTS | Public | See coding | 20080616 | t_pod_ct_defaults TYPE STANDARD TABLE OF t_pod_ct_default
|
||
| 5 | T_POD_CT_OVERRIDE | Public | See coding | 20080616 | BEGIN OF t_pod_ct_override,
partname TYPE string,
contenttype TYPE string,
END OF t_pod_ct_override
|
||
| 6 | T_POD_CT_OVERRIDES | Public | See coding | 20080616 | t_pod_ct_overrides TYPE STANDARD TABLE OF t_pod_ct_override WITH KEY partname
|
||
| 7 | T_POD_RELATION | Public | See coding | 20080616 | BEGIN OF t_pod_relation,
id TYPE string,
type TYPE string,
target TYPE string,
targetmode TYPE string,
END OF t_pod_relation
|
||
| 8 | T_POD_RELATIONS | Public | See coding | 20080616 | t_pod_relations TYPE STANDARD TABLE OF t_pod_relation WITH KEY target
|
Method Signatures
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | DOCUMENT_NAME | Value transfer | Type reference (TYPE) | STRING | Name of the document (Filename) | 20080616 | |||
| 2 | MIME_TYPE | Call by reference | Type reference (TYPE) | STRING | MIME type | 20080616 | |||
| 3 | XDOCUMENT | Value transfer | Type reference (TYPE) | XSTRING | Binary stream of document | 20080616 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Export/Import to Excel core errors | 20090209 |
Method GET_ATTR_FROM_NODE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_NODE | Call by reference | Object reference (TYPE REF TO) | IF_IXML_NODE | IF_IXML_ELEMENT | 20090102 | |||
| 2 | IV_NAME | Call by reference | Type reference (TYPE) | STRING | 20090102 | ||||
| 3 | RV_VALUE | Value transfer | Type reference (TYPE) | STRING | 20090102 |
Method GET_ATTR_FROM_NODE on class CL_FDT_DOC_PKG has no exception.
Method LOAD_DOC_TYPE Signature
Method LOAD_DOC_TYPE on class CL_FDT_DOC_PKG has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Export/Import to Excel core errors | 20090209 |
Method LOAD_FILENAMES Signature
Method LOAD_FILENAMES on class CL_FDT_DOC_PKG has no parameter.
Method LOAD_FILENAMES on class CL_FDT_DOC_PKG has no exception.
Method LOAD_METADATA Signature
Method LOAD_METADATA on class CL_FDT_DOC_PKG has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | FDT: Export/Import to Excel core errors | 20090209 |
Method PARSE_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_FILE | Call by reference | Type reference (TYPE) | XSTRING | The file to parse | 20090102 | |||
| 2 | RO_XML_DOCUMENT | Value transfer | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT reference | 20090102 |
Method PARSE_XML on class CL_FDT_DOC_PKG has no exception.
Method RENDER_XML Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_XML_DOCUMENT | Call by reference | Object reference (TYPE REF TO) | IF_IXML_DOCUMENT | IF_IXML_DOCUMENT | 20090102 | |||
| 2 | RV_FILE | Value transfer | Type reference (TYPE) | XSTRING | 20090102 |
Method RENDER_XML on class CL_FDT_DOC_PKG has no exception.
History
| Last changed by/on | SAP | 20110908 |
| SAP Release Created in | 712 |