Commit Graph

59 Commits

Author SHA1 Message Date
FoxAhead
371dfbba56 Method DATE_TO_EXCEL_STRING: Date field = space
Sometimes you get date field empty - containing only space(s) (not zeroes '00000000'). This value treated as not initial in ABAP for fields typed as D. This resulted in passing by
  CHECK ip_value IS NOT INITIAL
and calculating
  lv_date_diff = ip_value - c_excel_baseline_date + 1.
which returns "-693596". In EXCEL this displayed as #########...
2016-09-29 15:00:57 +03:00
Stefan Schmöcker
96d945145e Contribution by Stefan Schnell: Added all built-in styles into class ZCL_EXCEL_TABLE
Hint by Stefan Schnell:  Sometimes my name ( or better the umlaut in my name ) seems to cause problems.  I changed it from ö to oe wherever still wrong
2015-11-22 12:15:18 +01:00
Stefan Schmöcker
a9d2a41cbd Created new directory for objects not to be included in daily-build nugget which should hold all slinkees from the trunk/ZA2X/... subdirectories
Correction of issue #393 ( only SVN update - no daily build nugget )
Minimal additions to ZCL_EXCEL_COMMON->GET_FIELDCATALOG to speed up usage of BIND_TABLE-method in Worksheet
Minimal change to output-include ( S-message instead of I-message in one case )
2015-08-11 10:39:42 +02:00
StefanSchmoecker
93cbadacf0 issue #380: File filter in ZCL_EXCEL_COMMON made language dependant 2015-06-16 14:59:39 +02:00
Ivan
24515b3a0a fix issue #361 #363 #357 by Stefan Schmöcker""
I commit the changes due to an inconsistency in Stefan's repository
2015-03-02 09:46:24 -06:00
Ivan
fde89c9625 Several Fixes and Include Pull Request #350
Added the pull request #350 "Gradient Fill -> writer + demo programs 2 &
34" manually
Fixed ZEXCEL_DEMO report, bug after fix #345
Excel common has a bug, right now I used a quick and really dirty
solution
2015-01-09 18:07:01 -06:00
StefanSchmoecker
600ac8a159 Fixed issue #348: Referenced formulae truncated
CLASS ZCL_EXCEL_COMMON : Extended length of internal field - now we'd really need huuuuuuuge formulae before we truncate ( was afraid to switch to string, no time to analyze if that is feasible )
CLASS ZCL_EXCEL_STYLE_COLOR: Added a method to allow creating rgb-colors with integer input instead of hex-input for the colors
Report ZDEMO_EXCEL37:  Added line to create output when using alternate writerclass ( was buggy after my extension of the report ), added code to save .xlsm templates as .xlsm when downloading, added set-get-parameter for better handling
2015-01-05 13:46:41 +01:00
StefanSchmoecker
f60604601a #345: Dump on small page margins corrected
#258:  Added dummy default emailaddress to ZDEMO_EXCEL_OUTPUTOPT_INCL
Enhanced Demoreport 37 to pass information about uncaught exceptios when needed
2014-12-31 11:48:08 +01:00
oliver-huetkoeper
3cfb536b02 Add test method for is_cell_in_range 2014-11-14 09:32:08 +01:00
oliver-huetkoeper
248ed862d4 Add method to check if a cell is within a range 2014-10-02 08:28:47 +02:00
Gregor Wolf
c8fee653ca Recover Unit Tests from previous version and fix issue #318 2014-05-02 22:57:37 +02:00
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