ZCL_EXCEL_WORKSHEET:
- in method BIND_ALV optional parameter I_TABLE added so we can decide
if we want to have formated table in Excel or not
- in method BIND_TABLE optional parameter IV_DEFAULT_DESCR added to be
able to control which description you want to use as a table header.
ZCL_EXCEL_STYLE_NUMBER_FORMAT :
- GBP and PLN currency formats added
ZCL_EXCEL_TABLE:
- few built in table styles added
When you take the grid object from reuse_alv_grid_display FM then when
cells were colored I received dump as the structure of color table was
hardcoded to lvc_t_scol. When we have object from SLIS then there
structure is differen so I prepared code to handle both situations.
Correction of issue #393 ( only SVN update - no daily build nugget )
Minimal additions to ZCL_EXCEL_COMMON->GET_FIELDCATALOG to speed up usage of BIND_TABLE-method in Worksheet
Minimal change to output-include ( S-message instead of I-message in one case )
Basically only the size was miscalulated. Added new method to Drawing class to convert from emu to pixel and use this on reading a drawing.
Probable still not working when using different dpi then standard - but I have to see this before I can tackle it.
Added new class/method to wrap obsolete function GUID_CREATE and use replacement class SAP provides. Old function call still found in wrapper class commented out for use in older releases, which don't have the new methods from SAP yet ( 7.01 does not have it for example )
Replaced calls to function by calls to wrapper-method
Changed calculation of last date in month in ZDEMO_CALENDAR since it was calling an obsoleted function as well.
If Excel's shared string table (SST) contains the empty string not only at the beginning but also redundantly at a further place, the following bug in the shared string table reader of class ZCL_EXCEL_READER_HUGE_FILE occurs:
Since the sXML reader was not cleared with the beginning of each node, the last read string of the table was carried over into the next string .
Added unit test ```test_shared_string_some_empty``` to reproduce the bug, and fixed it in the way proposed by Kai Walter (see Def-376)
When setting a style for all columns the reader only reads this style for filled columns. The style of the remaining columns is dropped.
Example: You activate border lines for all cells, but you fill only the first three columns. After reading and writing it with ABAP2XLSX, only the first three columns have border lines.
This is fixed by setting the default style here.
ZCL_EXCEL->GET_WORKSHEET_BY_INDEX ( new )
ZCL_EXCEL->SET_ACTIVE_SHEET_INDEX ( Test if worksheet is existing --> raise on error )
ZCL_EXCEL->DELETE_WORKSHEET ( new )
ZCL_EXCEL->DELETE_WORKSHEET_BY_NAME ( new )
ZCL_EXCEL->DELETE_WORKSHEET_BY_INDEX ( new )
ZCL_EXCEL_WRITER_2007->CREATE_XL_WORKBOOK ( Set active sheet to 1 if illegal active sheet is passed )