Commit Graph

48 Commits

Author SHA1 Message Date
Ivan
c2419f3896 Code Inspector improvements
Change coding issues raised by code inspector.
Still some remain to fix.
2014-03-18 10:34:13 -05:00
Stefan Schmöcker
efedac0571 #284: Added support of reading XLSX-Files where the formulae are not stated explicitly but by reference to another cell holding a reference formula. Thanks to David for supplying the method to shift a formula to another cell.
Enhanced Demoreport 6 to demonstrate how this new method can be used in other circumstances then reading in an EXCEL-sheet


set to test #268:  Changed unit-test to make use of the extended functionality in ZCX_EXCEL

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@428 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-08-11 10:43:02 +00:00
Gregor Wolf
9448918fa0 Add unit test to ZCL_EXCEL_COMMON=>DESCRIBE_STRUCTURE and fix empty fieldname for DDIC element
Ready to test #270 ZCL_EXCEL_COMMON=>DESCRIBE_STRUCTURE not covered in unit test

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@422 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-05-24 10:45:23 +00:00
Gregor Wolf
d84f04f8ac Add unit test for issue #241 Error in ZCL_EXCEL_COMMON=>CONVERT_RANGE2COLUMN_A_ROW
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@421 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-05-24 09:20:06 +00:00
Gregor Wolf
41a2b67b0a Fixed failing unit test of ZCL_EXCEL_COMMON
Ready to test #268

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@420 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-05-20 20:21:16 +00:00
Ivan Femia
9a3096cb9b ready to test #257
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@414 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-04-07 10:08:22 +00:00
Alessandro Iannacci
047183e848 Solution to issue #256
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@409 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-03-21 17:53:12 +00:00
Stefan Schmöcker
5c0c447d6d Set to test #246 - minor error in ZCL_EXCEL_COMMON->CONVERT_COLUMN2INT
Also normalized code for issue 230 and added 2 exceptioncalls for errors not handled so far

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@402 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-29 12:42:09 +00:00
Stefan Schmöcker
9b4aaf829f #235 Extended Readerclass to support templating of repeatable rows/columns, minor fix in zcl_excel_common-method for range-area-breakup
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@400 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-09 11:06:01 +00:00
Stefan Schmöcker
29f91d9660 finished issues: #241, #242 ( errors in range-formatting / escaping and unescaping of names )
worked at issues: #151, #230   ( less restrictive parameters, pimp my code )

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@398 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-08 11:50:10 +00:00
Stefan Schmöcker
88ac03dab9 Added constant Filefilter to ZCL_EXCEL_COMMON/ Cosmetic change to Demoreport 37
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@352 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-04 11:49:16 +00:00
Stefan Schmöcker
1d148d17d2 #216 ( BIND_TABLE // zcl_excel_common=>get_fieldcatalog for non-DDIC tables )
Ready to test

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@344 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-23 16:24:16 +00:00
Ivan Femia
3cac5e5501 Ready to test #208
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@338 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-14 13:19:57 +00:00
Rene Turnheim
4c30c90972 Issue #204 was created with latest changes for none data dictionary structures.
The issue #204 is now fixed #204

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@332 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-29 00:52:35 +00:00
Ivan Femia
485a7e8655 Ready to test #204 #187 #188
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@328 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-26 16:28:49 +00:00
Rene Turnheim
f6da60df73 ISSUE #200 and #201
This solution was proposed by Vladimir Scheglov and modified to solve same problem in converter and common class. Recursive call with check dictionary type was needed.
Ready for testing #200 and also #201

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@326 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-11 20:35:41 +00:00
Gregor Wolf
cd1b8f99e6 Ready to test #184
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@319 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-07-01 09:47:46 +00:00
Gregor Wolf
e49ac07a69 ready to test #165
Adjusted unit test for initial date and date before 1900

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@312 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-05-01 19:07:30 +00:00
Gregor Wolf
ea62e0eac3 ready to test #167
Adjusted the check values in the Unit test to the values that Excel 2007 creates

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@311 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-05-01 18:53:22 +00:00
Gregor Wolf
3bb877e17f ready to test #166
corrected excel_string_to_date and extended the unit test

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@310 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-05-01 18:36:19 +00:00
Gregor Wolf
76c26ba75d Ready to test #165
Adjusted method DATE_TO_EXCEL_STRING in ZCL_EXCEL_COMMON and the Unit Test
Extended ZDEMO_EXCEL24 to show the problem with the wrong leap year for 1900 in Excel

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@306 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-25 21:58:42 +00:00
Ivan Femia
d9f4a9812f Added unit test in class ZCL_EXCEL_COMMON
Not all methods are tested yet

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@301 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-25 13:58:12 +00:00
Ivan Femia
e6bf4339a1 Ready to test #163
Ready to test #164

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@299 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-25 10:08:20 +00:00
Ivan Femia
27e441ad95 Reverted files to previous commit until issue #158 will be discussed in details
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@294 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-09 10:32:05 +00:00
Stefan Schmöcker
7c5a0e9023 Issue #158 - Enhancing exceptionclass ZCX_EXCEL
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@293 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-09 09:08:48 +00:00
Stefan Schmöcker
9ca303b3c1 Issue #155 - less strict typing of parameters. This time: ip_column set from ZEXCEL_CELL_COLUMN_ALPHA to SIMPLE
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@290 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-02 14:10:16 +00:00
Stefan Schmöcker
44854f8820 git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@285 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049 2012-03-29 20:29:00 +00:00
Ivan Femia
f6febd8a5c Ready to test #139
Changed methods RECURSIVE_CLASS_TO_STRUCT and RECURSIVE_STRUCT_TO_CLASS, now in class ZCL_EXCEL_COMMON
Deleted method CREATE_AUTOFILTER, now included in CREATE_XL_SHEET
Moved method ADD_STATIC_STYLES from method ZIF_EXCEL_WRITER~WRITE_FILE of class ZCL_EXCEL_WRITER_2007/ZCL_EXCEL_WRITER_XLSM to method CREATE
Renamed ZDEMO_EXCEL2A in ZDEMO_EXCEL34
Renamed ZDEMO_EXCEL2B in ZDEMO_EXCEL35
Added demos in ZDEMO_EXCEL (Demo Collection)

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@270 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-19 21:46:37 +00:00
Ivan Femia
76144697e9 New Daily Build: added fixes for issues: #127, #131, #132 by Shahrin Shahrulzaman and Gregor Wolf
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@246 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-01-03 18:10:15 +00:00
Gregor Wolf
b5ab52c346 ready to test #132
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@244 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-01-03 17:11:54 +00:00
Gregor Wolf
f81f987a36 Fixed #125 for testing.
Created ABAPUnit test class for ZCL_EXCEL_COMMON class.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@228 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-12-06 22:16:21 +00:00
Ivan Femia
f4107fa169 Fix issue #119
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@223 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-09-26 06:59:02 +00:00
Ivan Femia
358ecc4dc9 Fix issue #110
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@222 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-09-25 11:18:07 +00:00
Ivan Femia
ecc03faf04 Fix issue #119
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@220 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-09-25 10:13:22 +00:00
Ivan Femia
956e3b060c Fixed conditional formatting if used with merged cells. Fix time formatting if it is 00:00:00
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@189 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-05-27 17:08:53 +00:00
Ivan Femia
9b364a7341 Fixed issue #46
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@133 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-12 16:09:37 +00:00
Tomek Mackowski
ca9442051a re #59 Allow using internal tables which refer to types defined directly in program. Previously only DDIC references were allowed and other internal tables caused short dumps.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@104 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-01-19 22:46:27 +00:00
Ivan Femia
047330e494 Data Validation Custom, Sheet Properties, DEMO22 (based on real Business Requirements)
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@85 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-21 20:23:36 +00:00
Tomek Mackowski
4a88b6a38a re #42 Adding methods for conversion of date and time from Excel to SAP format. Including also unit tests for the conversion methods.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@76 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-11 22:28:48 +00:00
Gregor Wolf
620f9e1bca Included local ABAP Unit Test Class into ZCL_EXCEL_COMMON. Please update your SAPLink ZSAPLINK_CLASS class to the latest SVN Version of SAPLink: http://code.google.com/p/saplink/source/detail?r=317
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@74 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-11 00:02:45 +00:00
Gregor Wolf
0e8bce3637 Added CONVERT_COLUMNROW2COLUMN_A_ROW method in the ZCL_EXCEL_COMMON class to fix #45 in the Excel Reader class ZCL_EXCEL_READER_2007.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@73 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-10 22:35:10 +00:00
Tomek Mackowski
43b9000761 closes #41
Check if date is not initial before converting it to excel format

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@71 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-06 21:00:54 +00:00
Gregor Wolf
9ecda2a325 Adjustments in the formating.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@58 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-11-23 18:32:57 +00:00
Ivan Femia
cec41e3cc3 Fixes #37
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@56 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-11-23 13:19:04 +00:00
Gregor Wolf
7777763f4f Updated ENCRYPT_PASSWORD method in ZCL_EXCEL_COMMON class according to the correction provided by Joachim Wrba https://cw.sdn.sap.com/cw/message/42905#42905 to fix issue #37
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@53 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-11-22 19:52:01 +00:00
Ivan Femia
7dc63196d4 Password encrypt algorithm by Joachim Wrba
Demo20 by default uses SAPWorkdir

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@51 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-11-20 17:21:45 +00:00
Ivan Femia
1455f6e436 Fix issue #35
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@43 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-11-11 22:10:14 +00:00
Ivan Femia
2b85b956c9 git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@3 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049 2010-09-14 08:05:50 +00:00