SAP ABAP Class CL_XLSX_DOCUMENT (OpenXML/xlsx Package)
Hierarchy
☛
SAP_BASIS (Software Component) SAP Basis Component
⤷
BC-I18 (Application Component) Internationalization (I18N)
⤷
S_OOXML_XLSX (Package) OpenXML/xlsx support

⤷

⤷

Meta Relationship - Using
# | Relationship type | Using | Short Description | Created on |
---|---|---|---|---|
1 | Inheritance (c INHERITING FROM c_ref) | CL_OPENXML_PACKAGE | OpenXML Package | 20080808 |
Properties
Class | CL_XLSX_DOCUMENT | |
Short Description | OpenXML/xlsx Package | |
Super Class | CL_OPENXML_PACKAGE | OpenXML Package |
Instantiability of a Class | 1 | Protected |
Final |
General Data
Message Class | ||
Program status | ||
Category | 0 | |
Package | S_OOXML_XLSX | OpenXML/xlsx support |
Created | 20080808 | SAP |
Last change | 20130531 | 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_XLSX_DOCUMENT has no interface implemented.
Friends
Class CL_XLSX_DOCUMENT has no friend class.
Attributes
# | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
Constant | Public | Type reference (TYPE) | OXA_OPC_CONTENT_TYPE | 'application/vnd.openxmlformats-officedocument.spreadsheetml.spreadsheet' | Content Type of a Part (e.g application/xml) | 20080808 | |
2 | ![]() |
Constant | Public | Type reference (TYPE) | OXA_OPC_CONTENT_TYPE | 'application/vnd.ms-excel.spreadsheet.macroEnabled.12' | 20080808 |
Methods
# | Method | Level | Visibility | Method type | Description | Created on |
---|---|---|---|---|---|---|
1 | ![]() |
Instance method | Public | Method | Create the custom properties part | 20080808 |
2 | ![]() |
Instance method | Public | Method | Create the custom ui part | 20080808 |
3 | ![]() |
Instance method | Public | Method | Create the extended properties part | 20080808 |
4 | ![]() |
Instance method | Public | Method | Create the workbook part | 20080808 |
5 | ![]() |
Static method | Public | Method | Create new package | 20080808 |
6 | ![]() |
Instance method | Public | Method | Get custom properties part | 20080808 |
7 | ![]() |
Instance method | Public | Method | Get custom ui part | 20080808 |
8 | ![]() |
Instance method | Public | Method | Get extended properties part | 20080808 |
9 | ![]() |
Instance method | Public | Method | Get workbook part | 20080808 |
10 | ![]() |
Static method | Public | Method | Load package | 20080808 |
Events
Class CL_XLSX_DOCUMENT has no event.
Types
Class CL_XLSX_DOCUMENT has no local type.
Method Signatures
Method ADD_CUSTOMPROPERTIESPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RR_PART | Value transfer | Object reference (TYPE REF TO) | CL_OXML_CUSTOMPROPERTIESPART | OpenXML/docx Custom Properties Part | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Action is not allowed | 20080808 |
Method ADD_CUSTOMUIPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RR_PART | Value transfer | Object reference (TYPE REF TO) | CL_OXML_CUSTOMUIPART | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20080808 |
Method ADD_EXTENDEDPROPERTIESPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RR_PART | Value transfer | Object reference (TYPE REF TO) | CL_OXML_EXTENDEDPROPERTIESPART | OpenXML/docx Extended Properties Part | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Action is not allowed | 20080808 |
Method ADD_WORKBOOKPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RR_PART | Value transfer | Object reference (TYPE REF TO) | CL_XLSX_WORKBOOKPART | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20080808 |
Method CREATE_DOCUMENT Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
IV_EMPTY | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20080808 | ||
2 | ![]() |
RR_DOC | Value transfer | Object reference (TYPE REF TO) | CL_XLSX_DOCUMENT | OpenXML/docx package | 20080808 |
Method CREATE_DOCUMENT on class CL_XLSX_DOCUMENT has no exception.
Method GET_CUSTOMPROPERTIESPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RR_PART | Value transfer | Object reference (TYPE REF TO) | CL_OXML_CUSTOMPROPERTIESPART | OpenXML/docx Custom Properties Part | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Packaging Error - Invalid Content | 20080808 | |
2 | ![]() |
Part not found | 20080808 |
Method GET_CUSTOMUIPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RR_PART | Value transfer | Object reference (TYPE REF TO) | CL_OXML_CUSTOMUIPART | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20080808 | ||
2 | ![]() |
20080808 |
Method GET_EXTENDEDPROPERTIESPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RR_PART | Value transfer | Object reference (TYPE REF TO) | CL_OXML_EXTENDEDPROPERTIESPART | OpenXML/docx Extended Properties Part | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Packaging Error - Invalid Content | 20080808 | |
2 | ![]() |
Part not found | 20080808 |
Method GET_WORKBOOKPART Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | ![]() |
RR_PART | Value transfer | Object reference (TYPE REF TO) | CL_XLSX_WORKBOOKPART | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
20080808 | ||
2 | ![]() |
20080808 |
Method LOAD_DOCUMENT 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 | 20080808 | |||
2 | ![]() |
RR_DOC | Value transfer | Object reference (TYPE REF TO) | CL_XLSX_DOCUMENT | OpenXML/docx package | 20080808 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | ![]() |
Not a valid OpenXML/OPC Package | 20080808 |
History
Last changed by/on | SAP | 20130531 |
SAP Release Created in | 712 |