Closed ivanfemia closed 10 years ago
Fixed with latest commit [url:https://code.sdn.sap.com/code/abap2xlsx/subversion/changesets/234|#234]
Test report is ZDEMO_EXCEL23.
Sorry, Ivan. Issue not fixed. Please, change IF condition at lines 1070-1072 method CREATE_XL_SHEET class ZCL_EXCEL_WRITER_2007! There are TWO times repeats __io_worksheet->sheet_setup->vertical_centered__. if ONLY horizontal_centered is TRUE (veritcal_centered and print_gridlines are FALSE) condition will be FALSE and attribute 'horizontalCentered' NOT set.
Hi Alexander, have you worked with SubVersion? If yes please check out the current Code from the repository, export your modified ZCL_EXCEL_WRITER_2007, create a patch and attach it to this tread. Also it would be great if you can enhance the Test report to test also the error you've found.
Best regard Gregor
Hi Gregor, i've tried...
(In [[r:249]]) Ready to test #128, thank you Alexander Budeyev the Patch worked.
[[file:cF6vR8dcKr473dacwqjQYw]] Patch
Symptom: flag "Horizontal Centered" set in file only with flag "Vertical Centered". Reason: ZCL_EXCEL_WRITER_2007 method CREATE_XL_SHEET line 1065-1067 repeats 2 times io_worksheet->sheet_setup->vertical_centered. Solution: change one io_worksheet->sheet_setup->vertical_centered to io_worksheet->sheet_setup->horizontal_centered.