sandraros
6fcbc5c8a8
ip_columnrow in SET_CELL and other methods ( #930 )
...
* get_cell, set_cell, set_area, set_merge
* Test classes + Fixes
* demo simple set_cell in zdemo_excel1
* rename the "normalize" methods + cleanup
* Demonstration programs and few fixes
* added "raising cx_static_check"
* zdemo_excel40 call methods with only IP_RANGE
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2022-01-06 09:44:09 +01:00
Lars Hvam
87b8291ea2
remove use of DTEL SYLANGU and DTEL GUID_16 ( #953 )
...
* remove use of DTEL SYLANGU
* and GUID_16
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-01-05 21:39:55 +01:00
Lars Hvam
8d63df6ba6
refactor CONVERT_COLUMN2INT ( #952 )
...
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-01-05 21:29:37 +01:00
Lars Hvam
38160bc781
move converter classes to not_cloud package ( #951 )
...
* move converter classes to not_cloud package
* STRINGVAL to STRING
* fix whitespace
* fix SYBATCH
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-01-05 21:19:14 +01:00
sandraros
3ef605e74a
Sandraros/check demo regressions 2 ( #940 )
...
* remove sy-datum/sy-uzeit from demo programs
* Fixed data for all demo programs
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2022-01-05 10:31:48 +01:00
Lars Hvam
9d0c970682
change FLOAT to F ( #949 )
...
* change FLOAT to F
* fix whitespace
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-01-03 21:50:43 +01:00
Lars Hvam
8d072439da
remove TYPE-POOLS statements ( #948 )
...
* remove TYPE-POOLS statements
* fix whitespace
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-01-03 21:42:10 +01:00
Lars Hvam
496b51e531
change SYTABIX to I ( #947 )
...
* change SYTABIX to I
* another
2022-01-03 21:33:18 +01:00
sandraros
3a4270c11e
Delete code instead of commenting it ( #946 )
...
* 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>
2022-01-03 08:54:52 +01:00
Gregor Wolf
a5e4bb9c77
add column for photographer, improve formatting ( #943 )
...
* add column for photographer, improve formatting
* Update src/demos/zdemo_calendar.prog.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/demos/zdemo_calendar.prog.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-01-02 12:05:16 +01:00
sandraros
9ee01464fc
keyword_case upper ( #942 )
...
* keyword to upper case (using class builder)
(methods in zcl_excel_style_changer were automatically reordered)
* keyword upper case of local implementations
* Update src/zcl_excel_style_changer.clas.abap
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2022-01-02 08:23:57 +01:00
Lars Hvam
98d67652a9
refactor to use new collection classes ( #937 )
...
* refactor to use new collection classes
closes #880
* Update src/zcl_excel.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_comments.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_data_validations.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_drawings.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_worksheets.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_writer_csv.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_writer_huge_file.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_writer_xlsm.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_writer_2007.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_columns.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_fill_template.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_worksheet.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_ranges.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_reader_2007.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_rows.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_styles.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_styles_cond.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-01-01 12:46:10 +01:00
sandraros
f16a3cc9b2
Allow more than 255 sheets per workbook ( #934 )
...
Fix #530
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-12-29 05:42:09 +01:00
Gregor Wolf
2818544c9a
Domain for ZEXCEL_SHEET_TITLE ( #936 )
2021-12-28 23:35:01 +01:00
sandraros
9e90a307c1
Demo WebDynpro: ICF, button text, MIME type ( #928 )
...
* * add ICF Service to demo webdynpro
* WDA MIME application/vnd.openxmlformats-officed...
* * empty button text -> text "download"
* Custom "download" OTR text for Demo WDA
* Demo WDA button text Download dynamically (no OTR)
(to overcome issue https://github.com/abapGit/abapGit/issues/5232 )
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-12-27 21:54:21 +01:00
Lars Hvam
26a42d8bdb
ddic, fix UUID and GUID_16 ( #924 )
...
* ddic, fix DOMA UUID
* fix DTEL GUID_16
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-12-25 21:22:49 +01:00
Abo
c55cf528fd
fix typo: hasehd -> hashed ( #927 )
...
* fix typo: hasehd -> hashed
* make "hasehd" types private
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-12-24 19:20:40 +01:00
Lars Hvam
dea6cfd9f0
refactor all MOVE statements ( #926 )
...
* refactor all MOVE statements
* fix whitespace
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-12-24 18:11:40 +01:00
Abo
a35c91face
remove DTEL INTTYPE ( #898 )
...
* first draft - remove INTTYPE
* rewrite inttype as char
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-12-24 17:02:52 +01:00
Pascal Möller
49938b0c60
Fix: after BIND_TABLE no columns in object ( #731 )
...
* Fix: after BIND_TABLE no columns in object
* fix 4 methods get_{rows|columns}[_iterator]
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: John Doe <sandra.rossi@accenture.com>
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2021-12-24 16:21:42 +01:00
sandraros
3df52da4c2
+ change_area_style (same as change_cell_style, but for area) ( #922 )
...
* + change_area_style
New method change_area_style as combination of change_cell_style and set_area_style
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-12-24 12:46:31 +01:00
sandraros
df709ace6a
customizable demo 25 + backend in demo 37 ( #909 )
...
and removing demo 25 from zdemo_excel (no interest).
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-12-21 10:00:09 +01:00
Christian Günter
a479c0b337
Fix enhancement categories of several structures ( #918 )
...
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-12-18 12:22:57 +01:00
Abo
74a3559b28
Fix links after org. move ( #919 )
...
* change links to new org
* fixed links
* fixed links
2021-12-15 06:54:32 +01:00
sandraros
0f51d6d884
refactor method change_cell_style in zcl_excel_worksheet ( #904 )
...
* refactor worksheet change_cell_style
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-12-14 22:57:06 +01:00
sandraros
cb315c5572
Reader fails for workbook with chart ( #910 )
...
* Reader fails for workbook with chart
fix #790
* pretty printer
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-12-12 13:21:01 +01:00
sandraros
6532e0e0b5
+ worksheet columns right-to-left ( #911 )
...
fix #890
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-12-12 09:14:17 +01:00
sandraros
6ffcba1aa1
# Huge writer error height/hight and fit to page ( #912 )
...
Fix #553
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2021-12-11 11:21:50 +01:00
Lars Hvam
adde441cd2
remove use of DOMA INT2 ( #899 )
...
use builtin type instead, ref #692
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-12-03 15:25:17 +01:00
Lars Hvam
730ab2f174
remove use of DTEL DSTRING ( #900 )
...
use builtin type instead, ref #692
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-12-03 12:21:52 +01:00
sandraros
a5a1d65c3a
changelog ( #887 )
...
* zcl_excel_apack version 7.14.0
* Create changelog.txt
* Proposing a bigger changelog FWIW
* zcl_excel=>version = '7.14.0'
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-12-03 09:58:01 +01:00
sandraros
3167c6a8f2
huge reader reading cells multiple styles ( #897 )
...
* huge reader reading cells multiple styles
Fix #614
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-11-29 14:40:22 +01:00
sandraros
d7011f715c
Fix #893
...
* first part
* second and last part
Co-authored-by: sandraros <sandra.rossi@gmail.com>
2021-11-28 20:25:35 +01:00
Mike Pokraka
dbd260da2c
Add exeption handling ( #889 )
...
* 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>
2021-11-24 19:40:45 +01:00
Abo
68707e1469
split convert_column2alpha ( #892 )
2021-11-21 16:44:10 +01:00
sandraros
8f65718db4
SET_AREA/SET_AREA_FORMULA: set value or formula for whole area instead top/left only ( #869 )
...
* Fix #867
* Behavior to depend on ip_merge / ip_area parameters
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2021-11-14 18:36:15 +01:00
Lars Hvam
fd83cbc112
extract font width logic to new class ( #882 )
...
* extract font width logic to new class
* rename importing parameters
* fixes
* Update src/zcl_excel_font.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_font.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_worksheet.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_font.clas.testclasses.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* Update src/zcl_excel_font.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
* fix syntax
* Update src/zcl_excel_font.clas.abap
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-11-11 10:19:41 +01:00
Lars Hvam
ea40b6860e
DDIC reference fixes ( #884 )
...
* DATS -> D, and propagate exceptions to caller
* replace sydatum and syuzeit
* ZEXCEL_CONDITIONAL_ABOVE_AVG, change to builtin ty
* fix ZEXCEL_DOCSECURITY
* fix NUMC3
* fix numc3
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-11-07 20:44:40 +01:00
Lars Hvam
d80521c747
add collection classes ( #883 )
...
* add collection classes
first step of #880
* pp
2021-11-07 20:33:46 +01:00
Abo
74345edd32
split tests for shift_formula ( #886 )
2021-11-07 15:57:54 +01:00
Lars Hvam
d60571434d
worksheet: remove unused header variable ( #876 )
...
* workseet: remove unused header variable
* pretty print with SE80
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-11-06 17:23:36 +01:00
Lars Hvam
a83d322a87
pretty print zcl_excel_worksheet.clas.testclasses ( #877 )
...
Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2021-11-06 17:02:42 +01:00
Lars Hvam
a82056b285
change use of DOMA INT1 to builtin ( #879 )
2021-11-06 12:18:56 +01:00
Lars Hvam
ecfce5831b
change to XSDBOOLEAN ( #881 )
2021-11-05 17:50:35 +01:00
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