Commit Graph

849 Commits

Author SHA1 Message Date
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
sandraros
6efa4c6904
Reflect new abap2xlsx project URL (#920) 2021-12-18 18:20:04 +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
Christian Aasan
7898a21548
Correcting broken links after moving of repo (#916)
The link to the documentation and abapGit installation instructions are broken after the move.
2021-12-12 15:37:37 +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
Lars Hvam
41196fd58a
README.md, update urls (#914) 2021-12-12 09:13:19 +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
sandraros
3eaf645fe2
Error on year 2021 -> 2020 (#901) 2021-12-04 12:14:02 +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