* add column_name to fcat and link cell to table
add column_name char 255 to table fieldcat - this is used as table name and cell value
link cell to table and fieldcat
* update fieldcat by cell value change
* fix linter errors
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
* fix linter errors
* fix linter errors
* undo PP
* undo PP
* undo PP
* fix colname for totals functions
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
* Detect commented code
* Update abaplint.json
Co-authored-by: Lars Hvam <larshp@hotmail.com>
* first batch of modifications
* Last batch of modifications
* Last batch of modifications (again)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
* Add exeption handling
* Lint fixes
* Revert back keywords -> upper case
(test classes of zcl_excel_worksheet)
* revert pretty print->diff shows only excp handl
proposing to create a different pull request with only pretty print
* proposing tiny fixes
1) a few alignment fixes
2) ls_message renamed to lv_message
3) message ... type 'E' -> message ... type 'I' display like 'E' to avoid short dumps
Co-authored-by: John Doe <sandra.rossi@accenture.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Final modifications - All good
* Lint 7.02 + reader huge was forgotten
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: sandraros <sandraros@gmail.com>
* remove usage of CHAR5
* remove type from class local types
* move type declaration
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
Co-authored-by: Domi Bigl <dominik.bigl@cadaxo.com>
* indicate preserve attribute in Excel writer
fix#673
* Update src/zcl_excel_writer_2007.clas.abap
Not sure to understand why it's needed, but no problem to do that
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: sandra <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
* Do not change sy fields anymore (abaplint)
Fix#704
* forgotten case in zcl_excel_writer_2007
#704
Co-authored-by: sandra <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Fix of bug #756
Vietnamese/Emoji should now be rendered in systems before ABAP 7.52
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
* First solution, but wrong
Excel saves table1.xml with _x000d__x000a_ but abap2xlsx doing the same thing makes Excel say it's wrong!? To be analyzed...
* non-final solution
* Fix newline now accepted in table header
Fix of #474, \r\n can now be used in field catalog of table header in bind_table to display text on several lines. ZDEMO_EXCEL22 demonstrates it in first column "Flight Number" on 2 lines.
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
* Fix output of "non-XML" characters 672 and 688
Fix#672 ("vietnamese") and #688 ("emoji").
It works for a recent system but unfortunately I can't test it on a old system to make sure that the new method `is_support_non_xml_characters` returns false.
* Remove useless code and rename variables
* Demo "Hello World" in 10 major languages + Emoji
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
according to the SAP note 1750204 we can use the method IF_IXML_OSTREAM->SKIP_NON_XML_CHARACTERS to strip out illegal characters for XML rendering.
Since this method needs a kernel version with builtin support, I've made the call dynamically in a try/catch block to support systems with a lower kernel too.
This patch fixes the issues from #298 (at least for us)
* Read UTF-8 input file correctly
* Classes for cell coments
As contributed by guillaumegarcia13
* Support for comments (Issue #180)
As contributed by guillaumegarcia13
Issue #572 - Protect sheet with filter caused Excel error
Autofilter + sheet protection causes excel error.
Sheet protection must be set BEFORE autofilter in XML.