Commit Graph

39 Commits

Author SHA1 Message Date
Mike Pokraka
2710dd9717
Pretty print (#781)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-07-28 00:33:22 +02:00
sandraros
e029864bbb
Wrongly changed file size #722 (#741)
* Fix #722 worksheet dimension (last empty rows)

* Fix #722 reduce DIFF quantity (indentations)

Co-authored-by: Jane Doe <Jane.Doe@World.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-07-03 19:07:18 +02:00
sandraros
5110f924b4
Fix Vietnamese/Emoji not rendered #756 (#757)
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>
2021-06-26 14:18:40 +02:00
sandraros
8c92b12d6f
Fix 474 newline in table header (#763)
* 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>
2021-06-21 23:24:30 +02:00
sandraros
6eac42678c
Unicode characters not written to excel (#743)
* 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>
2021-05-21 20:28:17 +02:00
Stefan Rutzmoser
1c276c6027
Fix package errors (#708)
* Fix package check errors

* Bump version number to 7.2.0
2020-11-10 18:21:38 +01:00
Lars Hvam
88ac30f84c
update linter config, remove some unused variables (#685)
* update linter config

* teched9 demo, cleanup unused variables

* 28 and 29, cleanup unused variables

* remove few more
2020-08-12 08:48:15 +02:00
psio3123
3e780bb65e
Fixed ShowDropDown Constant (#670)
Enable display of DropDownList when using inline value list

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-09 12:19:33 +02:00
psio3123
701e8a197e
Enable ValidationStyle (#671)
Enable Validation Style (Error/Warning/...) for Value Lists

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-08-09 12:16:28 +02:00
Domi Bigl
37ad2fd68a
improve handling of multiple CF rules and ranges (#682) 2020-07-21 22:22:20 +02:00
Lars Hvam
49d78bfe35
remove tabs, remove seq empty lines (#660)
LGTM
2020-04-19 16:15:07 +02:00
bhavesh4321
c48484d6dc
Update zcl_excel_writer_2007.clas.abap (#654)
* Update zcl_excel_writer_2007.clas.abap

* dummy change

* revert

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-24 08:20:08 +01:00
Lars Hvam
8ea5ab07ea update abaplint config to latest (#645)
* update abaplint config to latest

* remove whitespace
2020-01-23 09:00:14 +01:00
Manuel Laggner
df80e6fd74 remove illegal files from the XML (#644)
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)
2020-01-22 14:40:44 +01:00
mfallen
d104e020f3 Error headerfooter (#603)
Error (again?) when using more than 1 sheet
2019-09-29 19:07:29 +02:00
AtomKrieg
8938dba50f remove boilerplate: create/render ixml_document (#605)
also clear "dead code"
2019-09-29 17:40:48 +02:00
mfallen
edb50701b1 Redefinition Header Footer Image
Get errors when using header/footer in more than one sheet
2019-02-21 15:45:27 +01:00
Gregor Wolf
09b6b5f162
Merge pull request #595 from mfallen/headerfooter
Header Footer Image
2019-02-19 10:55:44 +01:00
mfallen
d1c74a18e4 Update XSTRING conversion 2019-02-19 07:47:30 +01:00
mfallen
d907d03e28 Header Footer Image
including a test program
2019-02-18 07:23:15 +01:00
AtomKrieg
a5194c647b fix comments on second sheet
https://github.com/sapmentors/abap2xlsx/issues/587
2019-02-17 11:35:01 +03:00
Gregor Wolf
42a85aaa18 700 support #562 2019-02-11 17:33:24 +00:00
Gregor Wolf
aaad50440d Support for comments (Issue #180) (#583)
* Read UTF-8 input file correctly

* Classes for cell coments

As contributed by guillaumegarcia13

* Support for comments (Issue #180)

As contributed by guillaumegarcia13
2019-01-23 08:23:09 -06:00
Lars Hvam
6b84761443
update to latest abapGit format (#582)
* update to latest abapGit format

* fix syntax error
2019-01-11 09:46:50 +01:00
MCH123
4ca4991167 Issue #572 - Protect sheet with filter caused Excel error (#577)
Issue #572 - Protect sheet with filter caused Excel error 

Autofilter + sheet protection causes excel error.

Sheet protection must be set BEFORE autofilter in XML.
2019-01-09 08:25:50 -06:00
larshp
faa434ec3e add spaces 2018-11-21 17:50:54 +01:00
AtomKrieg
d150160aea
Update zcl_excel_writer_2007.clas.abap 2018-09-25 18:52:01 +03:00
Ivan
58d98d362b
Merge pull request #507 from larshp/master
simplify some IFs
2017-11-15 10:04:15 -06:00
Ivan Femia
e71644d487 Fix #489
Thanks to @Gh14Cc10
2017-11-15 17:02:11 +01:00
larshp
eaea931778 simplify some IFs 2017-11-05 18:16:35 +00:00
larshp
de5dd96564 remove some unused variables 2017-07-26 16:39:34 +00:00
Ivan
c8b9132337 Merge branch 'master' into Column-Row-Dimension-Fix 2017-07-07 13:10:08 -05:00
Ivan Femia
969da4a9dc Fix issue #484
Removed the conditional formatting object from the structure
2017-05-22 21:00:39 +02:00
Ivan Femia
6c124bf61d Fix issue #484
Removed row dimension and introduced row object
2017-05-19 23:52:29 +02:00
Ivan Femia
68b2c66edd First implementation for issue #484 2017-05-19 00:11:31 +02:00
Ivan
6356cad9f3 Merge pull request #485 from larshp/master
clean up
2017-05-18 12:01:20 -05:00
larshp
77bedd78c4 remove unreferenced variables 2017-05-18 16:44:58 +00:00
Ivan Femia
5d80ca2a41 Fix issue #461 2017-05-17 22:26:37 +02:00
Ivan Femia
f8b0e354db Moving to abapGit
First commit to abapGit
2017-05-16 22:22:30 +02:00