Commit Graph

812 Commits

Author SHA1 Message Date
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