Commit Graph

110 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
Lars Hvam
ac5c95ace7
change EXIT to RETURN, where applicable (#814) 2021-09-26 18:43:53 +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
Mike Pokraka
2710dd9717
Pretty print (#781)
Co-authored-by: Lars Hvam <larshp@hotmail.com>
2021-07-28 00:33:22 +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
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
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
Abo
adf2c63ec8
use ZABAP2XLSX message class (#752)
related to #659
2021-04-19 12:55:00 +02:00
Abo
6c92a7f1ee
remove XFELD (#714)
see https://github.com/sapmentors/abap2xlsx/issues/692
2021-01-04 16:59:45 +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
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
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
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
striezl
36ea883d33 Fix #637 (#638)
LGTM. Thanks.
2019-10-30 07:20:30 +01: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
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
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
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
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
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
AtomKrieg
a150c56e0d modern style exception raise 2018-10-19 07:24:31 +03:00
AtomKrieg
284d7db7c1
Update zcl_excel_worksheet.clas.abap 2018-09-16 11:39:01 +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
pacojka
2217873519 Added hashtables for columns and rows objects 2018-07-14 22:28:35 +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
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
AtomKrieg
4a7291ca49
Update zcl_excel_worksheet.clas.abap 2017-12-16 18:10:16 +03:00
AtomKrieg
a5515b432b
Update zcl_excel_worksheet.clas.abap 2017-12-16 15:55:45 +03:00
Ivan Femia
333d505a1f fix #505 2017-11-15 18:25:33 +01:00
Ivan
90523b9853
Merge pull request #505 from muten86/patch-1
Enhancement of Class with Method GET_TABLE
2017-11-15 10:49:30 -06:00
larshp
207bf54a54 few more 2017-11-05 18:32:33 +00:00
larshp
eaea931778 simplify some IFs 2017-11-05 18:16:35 +00:00
muten86
1475bda3d6 Enhancement of Class with Method GET_TABLE
This class lifts the functionality of the whole project to a full excel-upload and download framework, without having known limititions, of other ABAP Excel Upload mechanisms.

Best regards
D. Rauchenstein
2017-10-06 10:43:44 +02:00
Ivan Femia
4f66d3445b updating to latest version of abapGit 2017-10-05 19:12:49 +02:00
larshp
de5dd96564 remove some unused variables 2017-07-26 16:39:34 +00:00
Ivan
c8b9132337 Merge branch 'master' into Column-Row-Dimension-Fix 2017-07-07 13:10:08 -05:00
Ivan Femia
969da4a9dc Fix issue #484
Removed the conditional formatting object from the structure
2017-05-22 21:00:39 +02:00
Ivan Femia
6c124bf61d Fix issue #484
Removed row dimension and introduced row object
2017-05-19 23:52:29 +02:00
Ivan Femia
68b2c66edd First implementation for issue #484 2017-05-19 00:11:31 +02:00
larshp
77bedd78c4 remove unreferenced variables 2017-05-18 16:44:58 +00:00
Ivan Femia
f8b0e354db Moving to abapGit
First commit to abapGit
2017-05-16 22:22:30 +02:00