Commit Graph

932 Commits

Author SHA1 Message Date
Kjetil Kilhavn
c304d8f211 CREATE OBJECT instead of NEW #( )
Must get used to keeping it backwards compatible...
2023-08-10 07:57:24 +00:00
Kjetil Kilhavn
375334a0ed Avoid recent syntax - keep compatible with old SAP
Data declarations made explicit
2023-08-10 07:32:39 +00:00
Kjetil Kilhavn
7e5f6da63d Initial support for time stamps
Cells which are formatted with both date format codes and time format codes are converted to time stamp values instead of date values. There is no support for time zones - all values will be converted to UTC time stamps.
2023-08-10 07:11:03 +00:00
Domi Bigl
c28162d1d1
add escape of - (#1128)
* add escape of -

* add untitests

* replace inline data declaration
2023-08-04 14:57:02 +02:00
Lars Hvam
425b6a2b7d
add basic unit test for style changer (#1123)
* add basic unit test for style changer

* xml

* revert
2023-07-28 07:02:16 +02:00
Lars Hvam
ac78cd87d2
split unit test delete_merge (#1121)
* split unit test delete_merge

into one unit test per test

* add unit test get_rows_iterator
2023-07-28 07:00:11 +02:00
Matthias
1fe298d5be
Update zcl_excel_converter_salv_table.clas.abap (#1120)
fix issue #1119
2023-07-10 14:07:26 +02:00
Domi Bigl
2b01655cab
do not use NO-ZERO for none numeric cell values (#1100) 2023-05-26 07:47:59 +02:00
sandraros
829529cf6a
don't run SALV get_metadata if not displayed yet (#1109)
fix #1097

* don't run SALV get_metadata if not displayed yet

---------

Co-authored-by: Sandra Rossi <sandraros@gmail.com>
2023-05-08 20:18:18 +02:00
sandraros
869dc52e40
Escape/unescape control characters in writer/reader (#1099)
* Escape/unescape control characters

Fix #1098

---------

Co-authored-by: sandraros <sandra.rossi@gmail.com>
2023-04-21 17:51:25 +02:00
Lars Hvam
04b143ca2e
zcl_excel_theme_fmt_scheme, replace use of cl_xml_document (#1046)
* zcl_excel_theme_fmt_scheme, add unit test

* replace use of cl_xml_document

---------

Co-authored-by: Abo <andrea@borgia.bo.it>
2023-04-08 16:36:04 +02:00
Abo
530d9e207a
replace quit-no with older name for constant (#1088)
ABAP Unit parameter Quit constant for "no" valid in versions 7.31+ is IF_AUNIT_CONSTANTS=>NO
2023-02-04 17:18:33 +01:00
Abo
e0c4fade08
fix code template generation to work on 731 (#1086)
* Update zexcel_template_get_types.prog.abap: fix code template generation to work on 731

* Update README.md: added minimum version support
2023-02-04 16:52:29 +01:00
Enno
8b729bb01a
link for demos (#1084) 2023-02-04 15:24:32 +01:00
Rüdiger Plantiko
bd8105f800
Update zcl_excel_worksheet.clas.testclasses.abap (#1082)
Replacing IF_ABAP_UNIT_CONSTANT by IF_AUNIT_CONSTANTS, as proposed by @sandraros
2023-01-28 21:18:04 +01:00
Domi Bigl
34a8ed4865
use INSERT for sorted ITab (#1066) 2023-01-14 12:18:30 +01:00
Domi Bigl
684c8f71e0
get INT8 typekind dynamic (#1065) 2022-11-20 20:44:47 +01:00
Rahul Dwivedi
df9db3d55c
zcl_excel_writer- create_xl_sheet Refactor1 (#1069) 2022-10-27 20:10:38 +02:00
sandraros
d9f557ea75
XML changes after latest abapGit (#1071)
Latest abapGit version did a cleanup of useless elements /DESCRIPTIONS/SEOCOMPOTX/CLSNAME because it's duplicate information.

<?xml version="1.0" encoding="utf-8"?>
<abapGit version="v1.0.0" serializer="LCL_OBJECT_CLAS" serializer_version="v1.0.0">
 <asx:abap xmlns:asx="http://www.sap.com/abapxml" version="1.0">
  <asx:values>
   <VSEOCLASS>
    <CLSNAME>ZCL_EXCEL_WRITER_2007</CLSNAME>
    <LANGU>E</LANGU>
    <DESCRIPT>Excel writer 2007</DESCRIPT>
    <STATE>1</STATE>
    <CLSCCINCL>X</CLSCCINCL>
    <FIXPT>X</FIXPT>
    <UNICODE>X</UNICODE>
    <WITH_UNIT_TESTS>X</WITH_UNIT_TESTS>
   </VSEOCLASS>
   <DESCRIPTIONS>
    <SEOCOMPOTX>
     <CLSNAME>ZCL_EXCEL_WRITER_2007</CLSNAME>  <============= Removed
     <CMPNAME>ADD_FURTHER_DATA_TO_ZIP</CMPNAME>
     <LANGU>E</LANGU>
     <DESCRIPT>Add further data to zip ( used by child-classes )</DESCRIPT>

Co-authored-by: sandraros <sandra.rossi@gmail.com>
2022-10-23 21:22:30 +02:00
Derby
90981b21c5
add METHOD convert_to_table. (#999)
* added METHOD convert_to_table.

Co-authored-by: Abo <andrea@borgia.bo.it>
Co-authored-by: Lars Hvam <larshp@hotmail.com>
Co-authored-by: Domi Bigl <dominik.bigl@cadaxo.com>
2022-08-29 18:04:16 +02:00
Abo
eb7d8da540
Update publishing-a-new-release.md (#1057)
ideally we shoudl run ZDEMO_EXCEL_CHECKER during the review process of each PR for both the main library and the demos, but as a safety net also before releasing a new version
2022-08-22 10:18:28 +02:00
Abo
4f3d113a43
Update guidelines for demos (#1055) 2022-08-15 18:02:03 +02:00
Abo
9d318a1bc2
Update publishing-a-new-release.md (#1054)
* Update publishing-a-new-release.md

- noted that tags should be created when working from upstream repository (they do not come via PR from outside, only from local branches apparently)
- added note regarding previous tag for auto-generation of release notes

* Remaining occurrence 15 → 16

Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-08-15 11:11:58 +02:00
Abo
ef47a724e7
Release 7.16.0 (#1053)
* location and name of version tag

* bump version to 7.16.0
2022-08-13 12:53:35 +02:00
Domi Bigl
bca6db91c3
enable 255 cell header with table binding (#1051)
* add column_name to fcat and link cell to table

add column_name char 255 to table fieldcat - this is used as table name and cell value
link cell to table and fieldcat

* update fieldcat by cell value change

* fix linter errors

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>

* fix linter errors

* fix linter errors

* undo PP

* undo PP

* undo PP

* fix colname for totals functions

Co-authored-by: abaplint[bot] <24845621+abaplint[bot]@users.noreply.github.com>
2022-08-07 15:56:26 +02:00
Abo
c6e5ad6ee6
adopt default style when setting format for date / time (#1025)
* first draft

must check cloning vs uuid assignment, it works but I'm not convinced this is correct

* remove unused class attribute

* fixed unrelated typo

* fixed linter complaints and revised changes

* Delete zexcel_t_sheet_style.ttyp.xml

* Delete zexcel_s_sheet_style.tabl.xml

Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
2022-07-16 19:38:46 +02:00
sandraros
4ab5bbe961
ZABAPGIT_STANDALONE instea of ZABAPGIT_FULL (#1047)
[abapGit instructions](https://docs.abapgit.org/guide-install.html) say `create a new report named ZABAPGIT_STANDALONE (formerly ZABAPGIT_FULL)`
2022-07-15 09:33:39 +02:00
sandraros
11b47ec222
endless loop in bind_table (#1044)
Fix #1043

* endless loop in bind_table
* Handle more than 100 identical texts
* correct typos in comments

Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2022-07-13 20:28:07 +02:00
Domi Bigl
000b7cf797
fixe column freeze error (#1042)
use lv_freeze_cell_column to column freeze instead of lv_freeze_cell_row
2022-07-02 10:39:46 +02:00
Lars Hvam
09c1eb027b
replace use of TABFDPOS (#1034)
uses LIKE instead

Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
2022-06-16 11:34:38 +02:00
Lars Hvam
a0f28d9f54
update abaplint configuration (#1033)
Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
2022-06-16 11:18:47 +02:00
Lars Hvam
d161a757a7
replace use of DTEL FIELDNAME (#1035)
adds new custom DTEL ZEXCEL_FIELDNAME

Co-authored-by: Gregor Wolf <gregor.wolf@gmail.com>
2022-06-16 11:17:23 +02:00
Lars Hvam
b04f6d3c17
replace use of ixml_iid_element (#1036)
use of typegroup IXML is not permitted in Steampunk

#632
2022-06-16 11:15:01 +02:00
Abo
781edaf1d6
Remove apack (#1029)
* remove ZCL_EXCEL_APACK

* remove changelog.txt

* remove .apack-manifest.xml

* Update publishing-a-new-release.md
2022-05-28 12:41:58 +02:00
sandraros
e4141e977b
Create publishing-a-new-release.md (#966)
* Create publishing-a-new-release.md

Co-authored-by: Abo <andrea@borgia.bo.it>
2022-05-21 12:37:50 +02:00
pksingh78
ffbc9153bb
ReplacePass by value with reference-1 (#1028)
#1012-1
2022-05-19 13:25:48 +02:00
pksingh78
b669bdf893
Replace Pass by value with reference (#1027)
#1012
2022-05-19 11:47:35 +02:00
Lars Hvam
a1053e84e1
add steampunk linting setup (#925)
* add steampunk linting setup

* Update abaplint-app.json

* update to 2202 api

Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-05-16 08:35:27 +02:00
Abo
387d8b103c
remove unused subpackage definition (#1024)
( hopefully last cleanup for #861 )
2022-05-09 08:55:53 +02:00
Tom Schmelzer
d2a1301329
docs: add missing full stop (#1023) 2022-04-28 11:27:24 +02:00
Gregor Wolf
177f30326c
replace pass by value with pass by reference (#1022) 2022-04-27 11:56:37 +02:00
Gregor Wolf
7b7984373c
Fix #1011 exception ZCX_EXCEL is not caught (#1016)
* Fix #1011 exception ZCX_EXCEL is not caught

* fix uncaught exception in test class

* activate uncaught_exception check

Co-authored-by: sandraros <34005250+sandraros@users.noreply.github.com>
2022-04-23 13:33:56 +02:00
Abo
46e234cd94
finish moving demo-related files (delete from old) (#1009) 2022-04-20 20:32:34 +02:00
Abo
f9b3a5b555
remove leftover int8 declaration (#1008) 2022-03-26 09:41:59 +01:00
sandraros
efbac83915
Note about the demos repository (#1005) 2022-03-26 08:59:21 +01:00
Abo
ac8f4a701e
Update abapGit-installation.md (#1001)
* Update abapGit-installation.md

naming suggestions for demos package and explanation

* Update abapGit-installation.md

fixed typo

* Update abapGit-installation.md

* Update abapGit-installation.md

recommend that demos be created as local package

Co-authored-by: Lars Hvam <larshp@hotmail.com>
2022-03-12 15:53:19 +01:00
sandraros
bea794926b
Delete objects moved to abap2xlsx/demos repository (#998)
* Delete objects moved to abap2xlsx/demos repository

* remove unused zexcel_export_dir

* + procedure for the demo programs

Co-authored-by: sandraros <sandra.rossi@gmail.com>
2022-03-06 20:54:20 +01:00
sandraros
e97169a0c3
Reader: custom paper height and width (#984)
Fix #396

Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2022-02-23 23:00:24 +01:00
sandraros
211cf550e6
SET_CELL_FORMULA sets formula in wrong cell (#961)
Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2022-02-19 16:29:33 +01:00
sandraros
f2dd72e76e
SET_CELL use output length for conversion exits (#982)
* SET_CELL use output length for conversion exits

* bind_table: field catalog + demo

Co-authored-by: sandraros <sandra.rossi@gmail.com>
Co-authored-by: Abo <andrea@borgia.bo.it>
2022-02-19 15:59:22 +01:00