Lars Hvam
32781d2463
replace DOMA FLAG with ABAP_BOOLEAN ( #870 )
...
#692
2021-11-05 15:31:56 +01:00
Lars Hvam
689d9c7b5b
DTEL, change to builtin STRING ( #863 )
...
Change uses from DOMA STRING to builtin STRING
#692
2021-11-05 15:31:10 +01:00
Lars Hvam
fc211853d2
fix syntax error ( #873 )
...
* enable syntax check
* fix syntax error
* additional checks
* upd
2021-11-05 13:28:15 +01:00
Abo
052cd39a4f
solves part of #859 - calculate_cell_distance ( #871 )
2021-11-05 05:14:27 +01:00
sandraros
9b6bf15277
SET_CELL_FORMULA: set formula even if cell was uninitialized ( #868 )
...
* Fix #866
Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-04 19:54:50 +01:00
Abo
d26a1f32fa
WIP #859 - split tests for is_cell_in_range ( #865 )
...
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-11-04 06:37:06 +01:00
Abo
d7930494b5
WIP #859 - split tests for convert_column2int ( #864 )
2021-11-04 06:34:25 +01:00
sandraros
3b2423ea29
fix #844 to remove all macros ( #860 )
...
* fix #844 to remove all macros
* abaplint.json avoid_use/define false -> true
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-11-01 16:57:17 +01:00
AntonSikidin
dc3962a402
Add ability to generate report from template ( #669 )
...
write tool to automate abap2xlsx
fix merged cells
code style
Convert keyword to UPPER case
adapt code to 702
New proposal
fix of Lint errors
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-10-30 21:49:50 +02:00
Domi Bigl
6d12c57f27
fix print titles range read and write #801 ( #862 )
...
* fix print titles range read and write
* remove empty line in method definition
2021-10-30 19:54:46 +02:00
sandraros
5da41aaab2
Fix #486 Multiple Styles in One Cell ("rich text format") ( #852 )
...
* 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>
2021-10-24 16:07:58 +02:00
sandraros
b31f1730d2
Fix #745 Bind ALV with non-displayed SALV data ( #837 )
...
* Fix #745 Bind ALV with non-displayed SALV data
Fix #745
* Make solution potentially tolerant to old 7.02
Co-authored-by: sandraros <sandraros@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-10-17 20:25:23 +02:00
Abo
fb4c62d598
remove usage of CHAR5 ( WIP #692 ) ( #856 )
...
* 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>
2021-10-17 20:08:39 +02:00
Abo
b1d569ac1d
remove use of CHAR8 ( #858 )
...
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-10-17 11:22:55 +02:00
Abo
3237359c85
remove usage of CHAR7 ( #857 )
...
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-10-17 11:15:32 +02:00
Abo
ac0ae6eca0
remove usage of CHAR3 ( #855 )
...
Fix #692
2021-10-17 10:42:55 +02:00
sandraros
ec3f73c0e2
Fix #836 new feature "Ignored Errors" ( #839 )
...
* Fix SHIFT_FORMULA (issues #727 and #728 ) (#830 ) (#838 )
Fix SHIFT_FORMULA (issues #727 and #728 )
Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: Abo <andrea@borgia.bo.it>
* Fix #836 new feature "Ignored Errors"
Fix #836
* Lint xsdbool -> boolc
* lint expression as argument -> variable as argumen
* lint remove constructor expression
* Update src/zcl_excel_writer_2007.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
* Update src/zcl_excel_writer_2007.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
* fix previous merge mistake
Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: sandraros <sandraros@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-10-16 13:22:38 +02:00
sandraros
111bb57804
Ignore invalid Excel Table names ( #793 )
...
fix bug #733
Co-authored-by: sandra <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-10-16 11:00:33 +02:00
sandraros
904a014609
Fix #723 Calculated Columns - Replace PR 734 ( #843 )
...
* Fix #723 Calculated Columns - Replace PR 734
Co-authored-by: sandraros <sandraros@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-10-15 17:22:00 +02:00
sandraros
de39aa842a
Modif done but tests not done ( #851 )
...
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-10-15 15:42:33 +02:00
Domi Bigl
c24196bcd0
add better error message for logical path ( #850 )
2021-10-15 09:19:37 +02:00
Lars Hvam
98a251a859
zcl_excel_common: refactor unit tests ( #833 )
...
* split date_to_excel_string into one test per metho
* split excel_string_to_time
* refactor time_to_excel_string
2021-10-11 20:14:41 +02:00
Abo
66a45b840a
remove CHAR255 ( WIP #692 ) ( #847 )
...
DTEL, "STRU" and CLAS
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-10-09 20:04:05 +02:00
Abo
a959c0c69a
remove uses of CHAR20 ( WIP #692 ) ( #846 )
...
both DTEL and "STRU"
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-10-09 19:54:19 +02:00
Abo
b8be9c5de1
remove uses of CHAR2 ( #845 )
...
DTEL and in class
2021-10-09 19:42:53 +02:00
Domi Bigl
372fe61c75
add DECFLOAT16 and DECFLOAT34 ( #834 )
2021-10-09 11:57:38 +02:00
Domi Bigl
2cda265b4c
clear exporting parameter GET_CELL #789 ( #840 )
...
* clear exporting parameter GET_CELL #789
* satisfy linter
* satisfy linter - WHILE
2021-10-09 11:21:07 +02:00
Paul Hardy
d19ac690c6
Fix for Issue #783 - Conditional Formatting for Cells that "Begin With" a certain string - Third Attempt ( #786 )
...
* Issue 783 - Third Attempt
* Extension to fix all 4 text-specific operators
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-10-09 09:49:17 +02:00
Lars Hvam
679950b498
DDIC: pane state and type change to builtin string ( #835 )
...
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-10-08 22:58:08 +02:00
Lars Hvam
9bbc35a3ac
delete unused customui objects ( #832 )
...
closes #803
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-10-08 22:56:13 +02:00
Abo
d722718970
fix #826 ( #841 )
2021-10-08 22:53:30 +02:00
Abo
c4a97b44b9
Remove dtel char1 ( #842 )
...
* removes uses of CHAR1 data el. ( WIP #692 )
2021-10-08 20:01:12 +02:00
sandraros
f7151f3d39
Fix SHIFT_FORMULA (issues #727 and #728 ) ( #830 )
...
Fix SHIFT_FORMULA (issues #727 and #728 )
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-10-07 19:47:35 +02:00
Lars Hvam
16430d17dd
ZCL_EXCEL_COMMON: less DDIC references ( #828 )
...
* ZCL_EXCEL_COMMON: less DDIC references
* Update zexcel_s_org_rel.tabl.xml
* fix
* remove more DDIC references from testclasses
2021-10-07 06:33:48 +02:00
Lars Hvam
ca69b38a79
Less DDIC references ( #831 )
...
* CHAR3
* fix some DTELs
* fixes
* fix ZEXCEL_ALIGNMENT
* fix ZEXCEL_BORDER
* fix ZEXCEL_STYLE_COLOR_ARGB
* fixes
2021-10-07 06:32:01 +02:00
Lars Hvam
e9386fd022
refactor some ddic uses to builtin ( #824 )
...
reference = #692
2021-10-06 08:08:11 +02:00
Lars Hvam
e0052bbb9e
zcl_excel_style_number_format: refactor macro to method ( #818 )
...
* zcl_excel_style_number_format: refactor macro to method
* fix whitespace
2021-10-06 08:07:29 +02:00
sandraros
1076b86547
Fix #547 autofilter messed up if several sheets ( #821 )
...
Fix #547
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-10-04 16:50:50 +02:00
sandraros
b9a248dcb4
Fix issue #819 read/write autofilter values ( #820 )
...
* Fix issue #819 read/write autofilter values
Fix issue #819
* Code cleanup
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-10-04 16:47:32 +02:00
sandraros
90992efb50
Fix #546 autofilter on row>1 and one-row height ( #822 )
...
Fix #546
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2021-10-04 12:20:18 +02:00
Lars Hvam
e7d34b65c1
delete unused DDIC objects ( #817 )
...
* delete unused DDIC objects
#799
* enable rule unused_ddic
* delete additional objects
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-10-03 11:32:37 +02:00
Lars Hvam
af1448dbbf
refactor use of INT4 DOMA ( #816 )
...
Instead of referring to DOMA INT4, this changes the DTELs to use the built-in type INT4 instead
2021-10-03 11:11:42 +02:00
Lars Hvam
ac5c95ace7
change EXIT to RETURN, where applicable ( #814 )
2021-09-26 18:43:53 +02:00
Lars Hvam
d66e0d5cc7
zcl_excel_common: refactor STATICS to CLASS-DATA ( #811 )
...
* rename statics
* move to class-data
* move to private
* Update src/zcl_excel_common.clas.abap
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2021-09-26 13:43:36 +02:00
sandraros
03faa9500f
urgent fix of PR 805 (syntax error in write class) ( #812 )
...
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2021-09-26 12:45:08 +02:00
sandraros
868c90ffdc
Fix issue 673 trailing spaces of cell values lost ( #805 )
...
* 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>
2021-09-26 10:17:32 +02:00
Lars Hvam
88d75bfe8a
move zexcel_s_org_rel to demos ( #810 )
...
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-09-26 10:07:05 +02:00
Lars Hvam
9cc7da37cb
upadte to latest abapGit format ( #808 )
...
https://github.com/abapGit/abapGit/blob/main/changelog.txt
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-09-26 10:03:34 +02:00
Lars Hvam
24ae5ecef2
zcl_excel_common: unit tests cleanup ( #806 )
...
* common: unit tests cleanup
* refactor macro to method
* refactor macro to method
* delete old commented lines (method definitions char2hex and number_to_excel_string)
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2021-09-26 09:57:36 +02:00
Lars Hvam
10b8df9b2f
remove use of aunit class ( #809 )
...
* remove use of aunit class
* aunit
2021-09-26 09:40:24 +02:00
sandraros
e72e4ea6a9
Fix issue 704 lint sy fields modified ( #802 )
...
* 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>
2021-09-23 07:19:02 +02:00
sandraros
ae76133265
abapGit diff says source has changed ( #804 )
...
In github repository, ZDEMO_CALENDAR_CLASSES seems to not contain a newline character at the end. When pulling it, abapGit creates ABAP source code with newline character at the end -> abapGit indicates a difference. PR to push the newline character at the end.
Co-authored-by: sandra <sandra.rossi@gmail.com>
2021-09-19 13:17:59 +02:00
Lars Hvam
5fa4f838b6
update abaplint configuration to latest ( #798 )
2021-09-19 11:23:22 +02:00
sandraros
8abf2adf9f
Move non-Cloud code to separate package ( #795 )
...
Fix of issue #717
Co-authored-by: sandra <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-09-19 09:56:37 +02:00
sandraros
41d5553181
Replace useless ZCL_EXCEL_AUNIT ( #796 )
...
Fix #715 . Replaced with CL_ABAP_UNIT_ASSERT. Class ZCL_EXCEL_AUNIT deleted.
Co-authored-by: sandra <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-09-19 09:53:58 +02:00
sandraros
69d4883773
Do not change sy fields anymore (abaplint) ( #797 )
...
Fix #704
Co-authored-by: sandra <sandra.rossi@gmail.com>
2021-09-19 09:49:46 +02:00
sandraros
3b80566fa8
Fix so that empty Excel date -> ABAP date 00000000 ( #792 )
...
issue #703
Co-authored-by: sandra <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-09-14 22:57:45 +02:00
Abo
1cb2e42328
remove remaining usage of XFELD ( #775 )
...
followup #714
WIP #692
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-09-12 07:14:05 +02:00
Abo
0064ae0a40
remove usage of CHAR07 domain ( #754 )
...
* remove CHAR07
See #692
* fixed formatting
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-08-16 08:52:21 +02:00
Mike Pokraka
2710dd9717
Pretty print ( #781 )
...
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-07-28 00:33:22 +02:00
Abo
e03fd5596d
remove usage of CHAR08 DTEL ( #776 )
...
WIP #692
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-07-10 17:49:40 +02:00
Abo
bd8f75537f
remove usage of CHAR10 domain ( #777 )
...
WIP #692
2021-07-10 17:30:23 +02:00
Abo
2120bc00ee
remove usage of OS_BOOLEAN ( #774 )
...
I could find only one use of the OS_BOOLEAN DTEL in all of abap2xlsx, precisely in zdemo_excel_outputopt_incl where it is used for the return value of a standard class method, cl_send_request->send.
"send" calls "release" which calls "submit" which finally sets e_sent_to_all to X unless one recipient has issues, in which case it is cleared: for this reason, replacing "IS INITIAL" with "= abap_false" is incorrect and the test should be inverted.
2021-07-10 11:40:59 +02:00
Abo
beaac0a28a
remove unused DOMA ( #772 )
...
fix #770
2021-07-09 18:35:40 +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
Gregor Wolf
0a3beaf7f8
fix #765 and pretty pring ( #766 )
2021-06-29 15:39:35 +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
f4312ebf5d
Fix #761 ( #762 )
...
These lines are added to method SET_CELL of ZCL_EXCEL_WORKSHEET:
IF lv_value CS '_x'.
" Issue #761 value "_x0041_" rendered as "A".
" "_x...._", where "." is 0-9 a-f or A-F (case insensitive), is an internal value in sharedStrings.xml
" that Excel uses to store special characters, it's interpreted like Unicode character U+....
" for instance "_x0041_" is U+0041 which is "A".
" To not interpret such text, the first underscore is replaced with "_x005f_".
" The value "_x0041_" is to be stored internally "_x005f_x0041_" so that it's rendered like "_x0041_".
" Note that REGEX is time consuming, it's why "CS" is used above to improve the performance.
REPLACE ALL OCCURRENCES OF REGEX '_(x[0-9a-fA-F]{4}_)' IN lv_value WITH '_x005f_$1' RESPECTING CASE.
ENDIF.
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2021-06-21 23:20:57 +02:00
Jaime Rodriguez Capote
32306262b2
Remove 15 chars. limit at encrypt password ( #758 )
2021-06-03 17:31:06 +02:00
sandraros
7b48cd0d90
fix #687 for reading range of hyperlinks ( #750 )
...
fix-#687-for-reading-range-of-hyperlinks
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
2021-05-21 21:15:49 +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
AlexandreHT
85dd442551
Update of DEMO31 as advised in #558 ( #744 )
...
Set_auto_size needs lo_worksheet->calculate_column_widths( ) to work
2021-05-19 22:42:22 +02:00
Abo
7fd9e3cbe0
remove CHAR01 ( #753 )
...
see #692
2021-05-17 11:21:17 +02:00
Abo
53b19eda8d
remove "BOOLEAN" domain ( #746 )
...
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-04-19 13:14:42 +02:00
Abo
adf2c63ec8
use ZABAP2XLSX message class ( #752 )
...
related to #659
2021-04-19 12:55:00 +02:00
Abo
a9be231d99
remove CHAR_02 domain ( #747 )
...
WIP #692
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-03-20 14:20:06 +01:00
Abo
6b7d38cd8b
abapGit format update ( #748 )
2021-03-20 14:19:03 +01:00
sandraros
a0e234958b
AUnit warning zcl excel reader huge file "# au > "#au #739 ( #742 )
...
* Fix #739 AUnit warning ZCL_EXCEL_READER_HUGE_FILE
Useless warning in ABAP Unit tests of ZCL_EXCEL_READER_HUGE_FILE (reason: extra space "# AU -> "#AU) #739
* remove #AU everywhere in abap2xlsx
Co-authored-by: Jane Doe <Jane.Doe@World.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2021-02-21 16:12:15 +01:00
Abo
0a907d27de
Remove doma ZEXCEL_BOOLE01 ( #738 )
...
* remove ZEXCEL_SHEET_PROTECTION_BOOL
this dtel uses doma ZEXCEL_BOOLE01
* remove ZEXCEL_CONDITIONAL_SHOW_VALUE
this dtel uses doma ZEXCEL_BOOLE01
* ZEXCEL_BOOLE01
it was used by:
dtel ZEXCEL_SHEET_PROTECTION_BOOL
dtel ZEXCEL_CONDITIONAL_SHOW_VALUE
* fixed spurious edit of .abapgit.xml
2021-02-21 11:21:07 +01:00
Pascal Möller
bd8975ec66
Possibility to get the fieldcatalog with mandt ( #732 )
...
* Possibility to get the fieldcatalog with mandt
In some cases i need the mandt in the table.
Normally it is hidden but can be displayed if necessary
* adjusted code style
2021-02-10 09:08:57 +01:00
Abo
976c3c1d3c
cleanup types in zif_excel_book_protection ( #721 )
...
* cleanup types in zif_excel_book_protection
fixes #720
* cleanup types in zif_excel_book_protection
fixes #720
2021-02-04 14:12:03 +01:00
Abo
ccd0fb8740
fixes #716 ( #719 )
...
* changed demo links
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-01-09 12:07:10 +01:00
Abo
6c92a7f1ee
remove XFELD ( #714 )
...
see https://github.com/sapmentors/abap2xlsx/issues/692
2021-01-04 16:59:45 +01:00
Gregor Wolf
41823b64c9
Dynamic prefill of date ( #713 )
2021-01-02 10:35:42 +01:00
Stefan Rutzmoser
719fe85ef8
Fix in demo 11: Field-symbol usage ( #712 )
...
Do not rely on IF ... IS ASSIGNED for a field symbol inside a LOOP
2020-11-19 10:10:48 +01: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
Stefan Rutzmoser
74c1a543cd
Feature: Enable custom converters ( #707 )
...
* Feature: Enable custom converters
Added method get_supported_class to ZIF_EXCEL_CONVERTER.
Implement your own converter by implementing this interface
and tell via the new interface method which class you support.
All instanceable implementations of the interface will be found
automatically.
* Fix abapLint issues
2020-11-05 13:16:47 +01:00
Lars Hvam
5bc24b234c
update linter config, omit RECEIVING ( #705 )
2020-10-10 17:37:13 +02:00
Domi Bigl
17461f911b
move some includes and WDA to demo package ( #702 )
2020-10-07 12:15:17 +02:00
Domi Bigl
7297f97349
harmonize demo report titles ( #700 )
2020-10-01 22:29:48 +02:00
Domi Bigl
5a9408b685
Change package assignment of demo reports ( #699 )
...
* change package assignment of demo reports
* change package assignment of demo reports
2020-10-01 21:16:28 +02:00
Lars Hvam
c36800ee49
update linter config, plus remove identical N01 condition ( #696 )
...
* update linter config, plus remove identical N01 condition
* add deps
2020-09-19 08:14:14 +02:00
Lars Hvam
5eae938b01
replace boolean with abap_bool ( #694 )
2020-09-19 08:11:03 +02:00
Lars Hvam
100e534c4a
update to latest abapGit format ( #693 )
2020-09-17 17:56:42 +02:00
Domi Bigl
b48e0bf3cf
increase number of fields in fieldcat - CONVERTER ( #683 )
...
fixes #680
2020-08-13 19:27:52 +02: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
srps
5a33253f0e
Bug fix - add INT4 support ( #679 )
...
* Bug fix - add INT4 support
* Update abaplint.json
* Update abaplint.json
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-07-20 20:58:41 +02:00
Domi Bigl
3b7f7f7b04
get INT8 typekind dynamic ( #676 )
2020-07-02 06:39:20 +02:00
JuvickAul
1c7e527a3b
Reading corrupted xlsx file ( #663 )
...
A cell contained text in the original template. It was lated deleted. But apparently a link to SharedStrings from the cell was not removed. An exception occurred after downloading and opening the file via ZCL_EXCELL_READER_2007 class. All operations until ZCL_EXCEL_READER_2007 were done using other tools.
2020-04-28 17:28:58 +02:00
Lars Hvam
0de59b65c7
upper case interfaces ( #662 )
...
* upper case interfaces
* add some naming conventions
2020-04-26 21:07:54 +02:00
Lars Hvam
49d78bfe35
remove tabs, remove seq empty lines ( #660 )
...
LGTM
2020-04-19 16:15:07 +02:00
Dennis Schaaf
718b15091e
ATC check cleared ( #657 )
...
* ATC check cleared
removed SELECT * from USR01
removed empty SELECT...ENDSELECT on URS01
* Removed Inerface method implementation
ZIF_EXCEL_READER~CAN_READ_FILE was implemented but this method is not defined anymore in the Interface.
ATC check failed with incorrect syntax.
Solution: Method implementation deleted.
2020-04-17 11:06:58 +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
Stefan Rutzmoser
1d76e44a83
Fix: Support ranges without stop row/column ( #649 )
...
Co-authored-by: Stefan Rutzmoser <Stefan.Rutzmoser@msg.group>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2020-03-17 08:03:31 +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
Lars Hvam
b9a787afd6
fix REPORT names ( #642 )
2020-01-04 11:50:47 +01:00
Gregor Wolf
0446c85866
Update link and translation for calendar ( #640 )
2020-01-01 18:22:33 +01:00
striezl
36ea883d33
Fix #637 ( #638 )
...
LGTM. Thanks.
2019-10-30 07:20:30 +01:00
IBN
5053bf93a2
Issue #626 ( #636 )
2019-10-05 14:13:42 +02:00
Enno
2f7b9482d9
added description column for demo show report ( #635 )
...
* added description column for demo show report
* added description column for demo show report 2
2nd try
2019-10-01 16:49:07 +02:00
Gregor Wolf
7712316e9d
Fill second sheed with data to avoid print issues ( #630 )
2019-09-29 19:52:35 +02: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
Gregor Wolf
3bee79156d
No line if empty by kwaishang ( #629 )
...
* Update zcl_excel_worksheet.clas.abap
Allow int8 type columns
* Option to create empty file
Allow to create empty excel file even if input table is empty
* Update zcl_excel_worksheet.clas.abap
Add the option to create the file or not if the input table is empty
* Test report zdemo_excel43
When using CSV mainly, if the input table is empty, the csv file contained a line with empty fields and separators.
This fooled some automation process thinking there's data to process in the file.
When optional input parameter "iv_no_line_if_empty" of method "zcl_excel_worksheet->bind_table" is checked, there's no more empty line in this case.
* User demo report 44 instead of 43
Mistake in test program name
* Fix internal renaming of test report 44
* Correct filename and test both cases
* Include test 44
2019-09-29 17:03:03 +02:00
striezl
e02733290f
Fix as discussed in issue #623 ( #624 )
...
Convert exponential number from excel to ABAP datatype P (packed number)
2019-09-24 22:37:49 +02:00
Dennis Schaaf
84aa650b8e
Bugfix range conversion ( #628 )
...
When reading xlsx and autofilters are being applied a dump occured when autofilter range was defined like "Sheet1!#REF1"
Such ranges are now ignored so that the xlsx can be read.
2019-09-24 22:35:12 +02:00
striezl
1da0be9fb9
Fix Issue #610 (Error if last column of last row is empty) ( #620 )
...
* #610 Error handling in ZCL_EXCEL_WORKSHEET->GET_TA
* #610 Error handling in ZCL_EXCEL_WORKSHEET->GET_TA
* Revert "#610 Error handling in ZCL_EXCEL_WORKSHEET->GET_TA"
This reverts commit 794320fc1b
.
* #610 Error handling in ZCL_EXCEL_WORKSHEET->GET_TA
* rebase abaplint.json
2019-09-05 01:05:47 -07:00
Gregor Wolf
f5a6453e3a
Adjust to current abapGit format
2019-09-04 21:28:31 -07:00
mfallen
8006c97ceb
Pretty Print of zcl_excel_worksheet
2019-02-25 10:25:15 +01: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
Berreke
66b581391c
Pretty print of zcl_excel_writer_xlsm
2019-02-20 15:17:15 +01:00
Berreke
4f7a64656e
ZCL_EXCEL_WRITER_XLSM add required parameter
...
create_xl_sheet_rels has a required parameter iv_comment_index. This was not populated in this version. When transporting the transport goes in error because he can't activate this class. adding lv_comment_index like it is in zcl_excel_writer_2007 corrects this problem.
2019-02-20 14:40:44 +01:00
Gregor Wolf
225fa0b29a
Add ztest_excel_image_header to demos
2019-02-19 10:09:08 +00:00
Gregor Wolf
d3fd799e5b
Remove beak-point + pretty print
2019-02-19 10:08:05 +00: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
0a17f7f14a
IMAGE_HEADER_FOOTER
2019-02-19 07:37:22 +01:00
mfallen
f6b2a0218d
Update of Test program
2019-02-19 07:01:14 +01:00
Gregor Wolf
3481ca8b76
Add ZDEMO_EXCEL_COMMENTS to demo
2019-02-18 16:10:37 +00:00
mfallen
d907d03e28
Header Footer Image
...
including a test program
2019-02-18 07:23:15 +01:00
AtomKrieg
2cb048d5bb
new abapgit
...
fixed some diffs
2019-02-17 21:18:37 +03:00
AtomKrieg
a5194c647b
fix comments on second sheet
...
https://github.com/sapmentors/abap2xlsx/issues/587
2019-02-17 11:35:01 +03:00
AtomKrieg
83d4cc5dd5
Resolved merge conflict by keeping clfinal flag
2019-02-16 10:32:31 +03:00
Gregor Wolf
ec08afe506
700 support#562
2019-02-11 18:36:56 +01:00
Gregor Wolf
42a85aaa18
700 support #562
2019-02-11 17:33:24 +00:00
Gregor Wolf
e45d2c9274
700 support #562
2019-02-11 17:11:56 +00:00
Gregor Wolf
6bf5141b00
Pretty print in GET_TABLE
2019-02-11 17:03:14 +00:00
Gregor Wolf
8a7918eb11
Add example for #565
...
Example how to use zcl_excel_common%3D>excel_string_to_date
2019-02-11 16:41:01 +00:00
Lars Hvam
f7792bf272
package: remove permissions
2019-02-06 08:48:59 +01:00
Jitsuryoku
3ff18207f7
Add unit of measurement to margin attribute description
...
Added "in inches" to MARGIN_XXXXXX fields, as an inch is the specified unit of measurement for margins in OpenXML standard (so it cannot be different).
2019-01-31 10:16:58 +02:00
Gregor Wolf
8699a5ce48
Implementation for #396
...
As suggested by @Jitsuryoku
2019-01-29 15:41:43 +01: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
Gregor Wolf
095f3d135b
Read UTF-8 input file correctly ( #576 )
2019-01-09 08:29:41 -06: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
AtomKrieg
39c1ad1b08
extract unit test methods from zcl_excel_common ( #568 )
...
It is necessary to isolate the functionality for unit tests to another class according to the SRP principle.
2018-12-29 04:41:49 -08:00
bohrh
b57484b1fd
style at a merged cell #364 ( #574 )
...
I implemented the suggested changes and are using it in a customer project. It's working lick a charm
Added demo of new set_area method
2018-12-14 10:59:14 -06:00
Ivan
71f4cee997
Merge pull request #571 from larshp/master
...
whitespace fixes
2018-12-07 17:11:54 -06:00
CodePerfectionist
a50a26c764
Support for more than 255 conditional formatting rules
...
Changed conditional formatting priority datafield from int1 to int4
2018-12-05 12:32:01 +01:00
larshp
59f270b682
replace tabs with spaces
2018-11-24 11:12:35 +00:00
larshp
49f7113883
remove double spaces
2018-11-24 11:09:02 +00:00
larshp
faa434ec3e
add spaces
2018-11-21 17:50:54 +01:00
AtomKrieg
996dcc39d6
extract unit test methods from zcl_excel_common
...
It is necessary to isolate the functionality for unit tests to another class according to the SRP principle.
2018-10-29 15:55:48 +03:00
Ivan
3c578c447e
Merge pull request #566 from AtomKrieg/master
...
modern style exception raise
2018-10-19 15:18:51 -05:00
AtomKrieg
a150c56e0d
modern style exception raise
2018-10-19 07:24:31 +03:00
Ivan
1c5db94374
Merge pull request #563 from AtomKrieg/master
...
Update zcl_excel_writer_2007.clas.abap
2018-09-25 12:38:27 -05:00
AtomKrieg
d150160aea
Update zcl_excel_writer_2007.clas.abap
2018-09-25 18:52:01 +03:00
Ivan
1c143fad77
Adding some comment #551
...
Comments
2018-09-16 17:33:38 -05:00
Ivan
39c906c88d
Close issue #551
...
Including fix for issue #551
2018-09-16 17:32:06 -05:00
AtomKrieg
8653c21b89
Update zcl_excel.clas.abap
2018-09-16 12:13:16 +03:00
AtomKrieg
3e51f77be3
Update zcl_excel.clas.abap
2018-09-16 12:11:27 +03:00
AtomKrieg
a1867fd71e
Update zcl_excel.clas.abap
2018-09-16 11:52:49 +03:00
AtomKrieg
284d7db7c1
Update zcl_excel_worksheet.clas.abap
2018-09-16 11:39:01 +03:00
AtomKrieg
03247f23c7
Update zcl_excel_table.clas.abap
2018-09-16 11:36:52 +03:00
AtomKrieg
2f5c41832c
Update zcl_excel_table.clas.abap
2018-09-16 11:36:01 +03:00
AtomKrieg
bf3766a170
Update zcl_excel_style_cond.clas.abap
2018-09-16 11:34:13 +03:00
AtomKrieg
558578fa5e
Update zcl_excel_reader_xlsm.clas.abap
2018-09-16 11:29:40 +03:00
AtomKrieg
4354a8accf
Update zcl_excel_reader_huge_file.clas.abap
2018-09-16 11:28:57 +03:00
AtomKrieg
0945411b94
Update zcl_excel_reader_2007.clas.abap
2018-09-16 11:21:41 +03:00
AtomKrieg
323d91929f
Update zcl_excel_legacy_palette.clas.abap
2018-09-16 11:20:12 +03:00
AtomKrieg
70d8c148ae
Update zcl_excel_drawing.clas.abap
2018-09-16 11:18:21 +03:00
AtomKrieg
539d21bbe2
Update zcl_excel_autofilter.clas.abap
2018-09-16 11:17:01 +03:00
AtomKrieg
1b7cd1a2c1
Update zcl_excel.clas.abap
2018-09-16 11:00:38 +03:00
AtomKrieg
f767b80bfa
Update zcl_excel_worksheet.clas.testclasses.abap
2018-08-20 00:08:42 +03:00
AtomKrieg
bbbf511dd6
Update zcl_excel_worksheet.clas.abap
2018-08-20 00:07:56 +03:00
larshp
a5985ea2ea
remove some unreferenced variables
2018-07-29 11:20:21 +00:00
larshp
d1532a347b
remove double space
2018-07-29 11:16:53 +00:00
larshp
9f94ee3af3
remove TRY without CATCH
2018-07-29 11:14:48 +00:00
pacojka
7481a0bde3
modify not working on hashtables
2018-07-16 10:30:30 +02:00
pacojka
2217873519
Added hashtables for columns and rows objects
2018-07-14 22:28:35 +02:00
larshp
bdd2bfeb8d
Fix syntax warnings in ZDEMO_EXCEL*
2018-06-03 12:19:01 +00:00
larshp
1f896dd025
ZDEMO_CALENDAR_CLASSES fix syntax warnings
2018-06-03 12:16:18 +00:00
Gregor Wolf
4ecb09f839
NetWeaver 7.51 doesn't contain CHAR02
2018-04-22 21:09:29 +02:00
IvanFemia
7bb0ae6e69
Update from latest abapGit
2018-04-13 02:35:19 +00:00
Ivan
f7787a90b5
Revert "Performance improvement for GET_ROW method"
2018-03-27 11:57:41 -05:00
Ivan
bc44a6c7c9
Update zcl_excel_rows.clas.abap
2018-03-21 16:15:51 -05:00
Ivan
4917b88a77
Update zcl_excel_rows.clas.abap
2018-03-20 22:10:45 -05:00
Bilen
2f8b93f2a5
performance improvement for GET_ROW
...
Iterator logic removed and hash table logic inserted to the GET_ROW method.
2018-03-20 20:53:53 +08:00
Bilen
cb1364b65f
Update zcl_excel_rows.clas.abap
2018-03-20 20:50:10 +08:00
Bilen
66e4ef4793
Performance update for iterator
...
Iterator is slowing down for read operations, row class reference is now stored in hash table rather than iterator.
2018-03-20 09:32:36 +08:00
Ivan
33e215d075
Merge pull request #518 from christianguenter2/fix_dump
...
add with missing flag
2018-02-23 17:20:22 -06:00
Christian Günter
4d2aaf049c
add 'with unit tests'
2018-01-30 11:13:09 +01:00
Cril2000
0744e0c6c9
Update zcl_excel_writer_csv.clas.abap
...
Fixed EOL width to handle correctly CRLF
2018-01-30 10:57:01 +01:00
AtomKrieg
4a7291ca49
Update zcl_excel_worksheet.clas.abap
2017-12-16 18:10:16 +03:00
AtomKrieg
3ce3335f12
Create zcl_excel_worksheet.clas.testclasses.abap
2017-12-16 17:32:45 +03:00