Commit Graph

340 Commits

Author SHA1 Message Date
alsp80
4310280806 Add extraction of data validations 2014-03-04 22:26:54 +01:00
alsp80
8811d2c755 Add data import of data validations to reader 2014-03-04 16:34:05 +01:00
Ivan
ad22cf7eaf Improved memory usage and readability
Extract the parts for loading the file from application server /
presentation server into two new private methods.
Not only is the code better readable (currently, the very important LOAD
call at the end of the method almost vanishes after all that file
loading code)  - it also saves memory. Currently, when the LOAD message
is processed, not only the EXCEL_DATA xstring, but also BIN_TAB, the
auxiliary table of bytes which is retrieved from GUI_UPLOAD, is kept in
the memory as a redundant copy of the raw data, although during the
parse process it is not needed any more.
2014-02-24 16:04:18 -06:00
Ivan
169764004b Renaming huge file reader class 2014-02-24 15:32:29 -06:00
Ivan
822f9f75a3 Load file has new importing parameter for sy-batch
In the interface method ZIF_EXCEL_READER~LOAD_FILE, add an optional
import parameter I_FROM_APPLSERVER of type flag with default SY-BATCH,
and use this parameter, instead of SY-BATCH directly, for the decision
whether to load the file from application or from presentation server.
This will make the method more flexible, decoupling the decision "Where
to read the file from" from the circumstance "Am I in batch mode". By
making the parameter optional and using the default value SY-BATCH, all
existing client code will work as before.
2014-02-24 15:31:25 -06:00
Ivan
449e312c87 Suggestion by Rüdiger Plantiko
In methid ZIF_EXCEL_READER~LOAD_FILE, change the import parameter
I_FILENAME from type STRING to the generic type CSEQUENCE, and move it
to a string internally where needed.
This saves the client from having to move a CHAR field to an auxiliary
STRING field, only for not having a "type conflict" when calling the
method.
2014-02-24 15:24:18 -06:00
Ivan
d844114773 Exception class is no longer marked as final 2014-02-24 15:07:13 -06:00
Ivan
75d100150f Huge file reader by Rüdiger Plantiko
See more details in this blog
http://scn.sap.com/community/abap/blog/2014/01/27/a-way-of-reading-huge-excel-files
2014-02-24 12:11:39 -06:00
Gh14Cc10
d60745f47a Corrected Conditional Formatting bug
Conditional formatting doesn't apply font styles like bold, strikes,
underlines, color and so on.
2014-02-12 12:18:01 +01:00
Gh14Cc10
1cd76945c6 Revert "Corrected Conditional Formatting bug"
This reverts commit d01e6ab5ea.
2014-02-12 12:12:28 +01:00
Gh14Cc10
d01e6ab5ea Corrected Conditional Formatting bug
Conditional formatting font styles were not applied.
2014-02-12 12:05:03 +01:00
Gh14Cc10
cc4bb7d226 Revert "Corrected Conditional Formatting bug"
This reverts commit dda3712f23.
2014-02-12 12:03:37 +01:00
Gh14Cc10
dda3712f23 Corrected Conditional Formatting bug
Conditional formatting didn't apply font styles like color, strikes,
bold and so on. Now it is working.
2014-02-12 11:50:44 +01:00
Ivan Femia
cd5e43193b Databar Conditional Formatting by Albert Lladanosa
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@437 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-10-31 21:05:10 +00:00
Ivan Femia
3bae68f551 Set to Test #292
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@434 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-09-16 23:20:17 +00:00
Ivan Femia
427ca5c4d8 Fixed #291
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@433 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-09-16 23:17:04 +00:00
Ivan Femia
5c6995fe90 Test #290
It is possible to specify a formula in the field catalog instead of a value (BIND_TABLE)

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@432 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-09-11 22:07:48 +00:00
Ivan Femia
805472ee61 Ready to test #289 new parameter in the table setting
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@431 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-09-11 21:07:09 +00:00
Rene Turnheim
efc9e39f11 Fixed #287 issue. Correct some old problems with langu="1" and add new functions as options for converter:
Hide column
No header
No subtotal
No filter
This can later be added to bind_alv method.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@429 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-08-11 18:48:00 +00: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
Stefan Schmöcker
44fa9a6558 Preparations to advance #268
Adding messageclass to enable multilingual exceptions and messages and better cross-referencing.
Enhancing ZCX_EXCEL to have a substitute for non-classbased "message .... raising"
and to enable unittests that are independant of logonlanguage when checking exceptions raised this way.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@427 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-08-10 21:32:38 +00:00
Alessandro Iannacci
7cb0888b86 Excel of demo 39 has validation issue ready to test #276
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@423 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-06-19 16:12:22 +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
e6ce67fc32 Fix an error with not characters values in set_cell method (issue #162)
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@417 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-04-09 08:01:05 +00:00
Ivan Femia
9528905a07 ready to test #162 Adding Stefan suggestion and adapting DEMO14
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@415 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-04-07 11:38:55 +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
Ivan Femia
7d5635ec6d Ready to test #259 Fix in classes ZCL_EXCEL_AUTOFILTERS, ZCL_EXCEL_AUTOFILTER, ZCL_EXCEL_WORKSHEET, ZCL_EXCEL_WRITER_2007 and ZCL_EXCEL_CONVERTER
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@413 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-04-07 10:06:59 +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
Gregor Wolf
c1f6d37498 Issue #194: Replace REGEX to split Column & Row with method from the common class in LOAD_WORKSHEET Method of ZCL_EXCEL_READER_2007.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@407 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-02-25 12:25:39 +00:00
Stefan Schmöcker
d4c658e856 set to test #246
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@406 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2013-01-29 21:59:27 +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
70e0659f82 ZCL_EXCEL_WORKSHEET=>SET_TITLE
#243 : ' not allowed as first character in title of worksheet
#230 : pimp my code

also readded implementing code of interface printsettings since it seems to have been eradicated when removing the aliases

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@399 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-08 13:11:29 +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
Alessandro Iannacci
a3cc70de8e #240 Charts + Daily build including all developments
- Print labels yes/no
- Line Charts
- VaryColors yes/no
- Code refactoring
- New Demo39
- Added Demo39 to global demo program

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@397 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-06 16:48:27 +00:00
Alessandro Iannacci
b0cbb43844 git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@396 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049 2012-12-06 12:08:04 +00:00
Alessandro Iannacci
665cb62591 Charts: added layout management
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@395 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-06 11:57:05 +00:00
Alessandro Iannacci
8612883c9a Issue #240 - Aliases (added with commit #378) removed
+
daily build including all fixes

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@394 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-06 10:37:18 +00:00
Alessandro Iannacci
5c9dde9b26 Corrupted slinkee corrected
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@392 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-06 09:51:45 +00:00
Alessandro Iannacci
359be03cf5 abap2xlsx daily build(Code refactoring + chart styles support)
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@390 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-05 16:30:25 +00:00
Alessandro Iannacci
408a280c2a #386 file corrupted --> re-added
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@388 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-05 12:06:33 +00:00
Alessandro Iannacci
8fb4ca103e git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@387 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049 2012-12-05 12:05:41 +00:00
Alessandro Iannacci
186cd05881 changeset #378 --> re-added, sorry
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@386 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-05 11:53:02 +00:00
Alessandro Iannacci
9ec17f9a2a #236: feature completed
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@385 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-05 11:46:37 +00:00
Alessandro Iannacci
1a1727c40b #236: multiple series feature added
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@384 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-04 16:33:00 +00:00
Alessandro Iannacci
f73376b3e0 #236: Chart creation in a worksheet from ABAP
Added:
- Labels management
- Serie name

TODO: Multiple series and bar charts

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@383 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-04 15:15:40 +00:00
Alessandro Iannacci
181ac2cb38 SET_OFFSET method removed.
SET_POSITION method extended.

@Ludek Vondruska: please do not edit manually the slinkee file.
@Ludek Vondruska: please do not add features if an incident doesn't exist.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@382 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-04 14:30:29 +00:00
Alessandro Iannacci
b6a4f1e5b2 version #380 is corrupted (</publicSection> tag is replicated) - Correction
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@381 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-04 14:18:45 +00:00
Ludek Vondruska
db815cc866 Added method to set offset of drawing from top-left corner
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@380 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-04 12:49:48 +00:00
Alessandro Iannacci
e5bff62d2f First Excel Pie Chart directly from ABAP via abap2xlsx
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@379 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-02 18:11:14 +00:00
Stefan Schmöcker
e7865e58cb set to test #235 - Print - Titles: Repeatable Rows and Columns
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@378 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-02 14:15:32 +00:00
Stefan Schmöcker
8a7d689995 issue #235 - Prepared Reader and Writerclass for handling of repeat rows/columns
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@377 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-02 09:46:47 +00:00
Stefan Schmöcker
14699b93ab leave at test #227 because of minor cosmetic changes
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@376 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-01 21:07:48 +00:00
Alessandro Iannacci
1b0a69d2b3 #227
Bind Table: Overlapping tables should raise exception - FIXED

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@375 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-01 18:08:28 +00:00
Alessandro Iannacci
da997b79ee git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@374 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049 2012-12-01 17:42:22 +00:00
Stefan Schmöcker
53a00ad5e3 ready to test #237 - error addressing correct style when writing column-styles
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@373 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-12-01 15:50:41 +00:00
Alessandro Iannacci
c9fff4fa44 #236 Chart creation in a worksheet from ABAP - Temporary version (doesn't work)
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@372 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-30 17:54:06 +00:00
Alessandro Iannacci
8c45483af8 git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@370 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049 2012-11-29 09:00:09 +00:00
Stefan Schmöcker
59c72ca4c1 set to test #232: ZCL_EXCEL_WRITER_2007 -> support of veryHidden sheets
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@368 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-28 19:03:02 +00:00
Stefan Schmöcker
ebc222caeb #230 . Pimp my code: All style-methods in ZCL_EXCEL_READER_2007.slnk have been normalized
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@366 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-25 22:13:46 +00:00
Stefan Schmöcker
82c6b78f09 issue #234 : We may not ship patched copy of CL_ABAP_ZIP. Removed from trunk and switched coding to dynamic methodcalls.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@365 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-18 19:21:01 +00:00
Stefan Schmöcker
3081783b51 #230 . Pimp my code: Some methods in ZCL_EXCEL_READER_2007 have been normalized
set ready to test #234 : Various problems with files created by LibreOffice
set ready to test #186 : Seems to be integrated for some time already
set ready to test #194 : Reading state Hidden, Outlinelevel, Collapsed of rows and columns

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@364 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-18 14:52:01 +00:00
Stefan Schmöcker
abc25ede86 ready to test #232
issue #230 Pimp my code:  ZCL_EXCEL_READER_2007->LOAD_WORKBOOK

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@363 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-11 09:36:28 +00:00
Stefan Schmöcker
e710844968 #230 Pimp my Code:
ZCL_EXCEL_READER_2007->ZIF_EXCEL_READER~CAN_READ_FILE
ZCL_EXCEL_READER_2007->ZIF_EXCEL_READER~LOAD
ZCL_EXCEL_READER_2007->FILL_STRUCT_FROM_ATTRIBUTES
ZCL_EXCEL_READER_2007->GET_FROM_ZIP_ARCHIVE
ZCL_EXCEL_READER_2007->GET_IXML_FROM_ZIP_ARCHIVE

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@361 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-07 23:24:34 +00:00
Stefan Schmöcker
c21a49617b #230 - Pimp my Code - ZCL_EXCEL_READER_2007->ZIF_EXCEL_READER~LOAD_FILE
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@360 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-05 23:13:19 +00:00
Ivan Femia
fda6f0e3eb Ready to test #163
Added range capability to worksheet

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@358 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-04 22:22:46 +00:00
Stefan Schmöcker
9f65e6f7f8 set ready to test #229: Set active worksheet in readerclass
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@357 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-04 20:29:40 +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
f312f7f12a ready to test #220 - Demoreport22 has invisible Columnheaders
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@351 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-11-04 00:08:46 +00:00
Stefan Schmöcker
5d1bfcc2d8 Issue #225 - Correction BIND_ALV_OLE2
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@349 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-28 23:25:22 +00:00
Stefan Schmöcker
83269343a6 fix #226 - change of sheet title invalidates named ranges referring to this sheet
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@348 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-28 20:43:03 +00:00
Stefan Schmöcker
70e0a556db Fix issue #222 - Reader was disfunctional if path .\xl\worksheets\_rels\ isn't existing.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@347 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-28 10:26:17 +00:00
Stefan Schmöcker
6e902d884b #179 - Add coloring of worksheet tabs ready for testing. Reader & Writer updated
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@345 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-23 22:23:45 +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
Stefan Schmöcker
596b0cd041 #217 - replacing coding not allowed on 7.00 systems
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@343 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-21 22:20:50 +00:00
Ivan Femia
2d1d7d3bef Ready to test #193 #194 #207
Thanks to Vladimir Scheglov

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@340 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-14 13:57:34 +00:00
Ivan Femia
b29a666585 ready to test #205
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@339 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-14 13:25:03 +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
Stefan Schmöcker
ade92885fa Correction for Issue #214
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@337 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-07 07:46:03 +00:00
Stefan Schmöcker
57dc5ef6dd Ready to test bugfixes for issues #180 and #212
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@336 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-10-02 23:18:19 +00:00
Rene Turnheim
a200b573e7 Fixed #202 issue. Added hex type to string conversion case for excel. As hex data type is not supported by Excel.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@334 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-29 01:15:10 +00:00
Rene Turnheim
cd1f087bd8 Fixed #206 issue; Minor issues resolved because of method calls direct on return values. This is not supported in 7.00.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@333 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-29 01:09:48 +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
124c56623f Ready to test #205
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@329 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-26 16:55:41 +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
f917661bb5 ISSUE #143; Resolved open issues with WD and several other open points.
Issue #143 closed.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@327 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-11 20:42:16 +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
Rene Turnheim
4ab796ff90 Issue #177 resolved.
Also cleaned missing exception class zcx_excel for some methods.
This change closes #177. 

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@325 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-10 16:21:31 +00:00
Rene Turnheim
895b5a3fb3 Issue #171 resolved. Also clean missing exception class for some methods.
This change closes #171.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@324 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-08-10 15:55:44 +00:00
Ivan Femia
161134a92d Ready to test #195
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@322 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-07-16 20:51:35 +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
Ivan Femia
a47aea4833 Small changes to descriptions
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@317 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-06-30 20:03:35 +00:00
Ivan Femia
892d7e7cd0 ready to test
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@316 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-06-30 19:49:06 +00:00
Gregor Wolf
c3c4021446 Fixed problem introduced with Changeset 302 to fix issue #163.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@315 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-06-29 14:27:31 +00:00
Rene Turnheim
f05f725862 issue #171 ready for testing;
New method GET_DEFAULT_EXCEL_TIME_FORMAT created.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@313 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-05-06 22:17:37 +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
4ea14eee0e Fix a bug introduced with commit for issue #163
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@302 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-25 15:23:32 +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
327ef3f5f6 Ready to test #151
As for OXML specification value should be a string value
- ZCL_EXCEL_WORKSHEET only pretty printer -

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@298 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-25 09:27:53 +00:00
Ivan Femia
ed0d3dd9ba Fix #159
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@295 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-09 12:57:24 +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
b47788b58e Issue #157, 2nd topic:Allow default styles for columns, sheet or whole document
Added demoreport 36 to demonstrate this

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@292 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-04 22:03:54 +00:00
Stefan Schmöcker
b1d6654f42 Issue #157 - Adding methods set_row_height and set_column_width to ZCL_EXCEL_WORKSHEET
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@291 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-04-02 20:21:39 +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
Ivan Femia
2f8023e37a Changed method GENERATE_TITLE in order to use textpools
!!! Import using latest version of SAPLINK plugin ZSAPLINK_CLASS !!!

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@288 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-31 14:13:21 +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
Stefan Schmöcker
a2ca172cf0 Issue #154 - Worksheet names ( generation if not passed and checks for uniqueness and allowed characters )
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@284 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-27 22:46:07 +00:00
Stefan Schmöcker
57867439aa #152 - ZCL_EXCEL_WORKSHEET->SET_CELL: Don't touch existing style if only value is passed
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@283 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-26 22:58:40 +00:00
Ivan Femia
9ca5bcfcca Fixed #150
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@277 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-23 22:50:58 +00:00
Rene Turnheim
455cb220d3 Correction #143; delete of ZCL_EXCEL_CONVERTER_EX_RESULT
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@273 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-21 02:07:35 +00:00
Rene Turnheim
3b811397d8 Ready for testing #143; Should support 7.00 and 7.02; in addition small bug with subtotals corrected; class names changed to support different sap versions going forward;
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@272 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-21 02:00:30 +00:00
Ivan Femia
d98d0f79d1 Fixed #122
Move to protected in order to align to WRITER and allows specific readers.

BTW it is not needed a new class in this case because reader 2007 should work either with Excel 2010.
Maybe it is useful an enhancement to current reader.



git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@271 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-19 22:10:58 +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
abcd2bb542 Missed file in latest commit
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@269 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-19 19:33:13 +00:00
Rene Turnheim
7f249f89eb Add auto filter option: #142; This allows now to create auto filters. Demo33 shows a simple example. Converter update is also needed for this.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@266 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-17 14:35:33 +00:00
Rene Turnheim
fadff4ea8e Converter improvements issue #143; Add new functionality and resolved several issues with background processing.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@265 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-17 14:07:48 +00:00
Ivan Femia
9e766b5363 Implemented fixes for issue #145 Sheet / Page Header and Footer including placeholders for pagenumber, date etc.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@263 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-03-15 22:27:51 +00:00
Rene Turnheim
0e89946359 Fixed #138. DEMO30 and DEMO09 work now with the new solution.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@260 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-02-18 13:01:13 +00:00
Rene Turnheim
57902fcc78 Fixed is default values for zoom #140 and error introduced with get_value_type method #138
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@257 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-02-15 01:54:08 +00:00
Rene Turnheim
8e2fee3389 New method get_value_type created and it will get executed in set_cell, if ip_abap_type is not supplied.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@255 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-02-09 12:20:48 +00:00
Ivan Femia
0ccae1ac59 Removed aliases (they causes an error with SAPLink)
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@254 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-01-22 16:52:36 +00:00
Ivan Femia
3397d0ac6c Fiz issue #135
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@251 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-01-20 20:45:45 +00:00
Ivan Femia
6d0a0eb44f Fixed issue #91, great job by Rene Turnheim
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@250 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-01-20 20:33:22 +00:00
Gregor Wolf
011b88692b Ready to test #128, thank you Alexander Budeyev the Patch worked.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@249 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-01-13 06:34:08 +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
42a8c8a5b6 ready to test #127 - enhanced ZDEMO_EXCEL15 to test new functionality, thanks to Shahrin Shahrulzaman for this contribution.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@245 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2012-01-03 17:43:06 +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
616bb510a4 ready to test #130
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@236 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-12-29 18:39:16 +00:00
Ivan Femia
b536dbdfd1 Fix issue #168 by Alexander Budeyev
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@234 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-12-26 11:47:38 +00:00
Gregor Wolf
e239953895 Implemented Fix by Shahrin Shahrulzaman to add support for named rages for the Excel 2007 Reader #126
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@230 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-12-15 21:32:29 +00:00
Gregor Wolf
b146c57818 ready to test #120
Thanks to Stefan Schmöcker for the contribution of a sample report and the improvements.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@229 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-12-07 23:35:11 +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
1ef3613bf8 Fix issue #121
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@225 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-11-01 09:53:48 +00:00
Ivan Femia
4a2ebc66ab Fix issue #118
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@224 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-09-28 07:09:06 +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
3f39940cb4 Fix issue #113
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@221 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-09-25 10:29:04 +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
8473d4b1f4 Fix issue #118
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@219 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-09-15 19:18:38 +00:00
Ivan Femia
bd614113a7 ZoomScale support demo23 updated - thanks to Alessandro Iannacci for the idea( @Gh14Cc10 )
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@216 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-08-25 19:52:28 +00:00
Gregor Wolf
bce2f80c52 Fixed issue #115 and provided Demo Report ZDEMO_EXCEL30 which is incuded into ZDEMO_EXCEL
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@214 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-08-22 18:49:48 +00:00
Ivan Femia
076c556087 fix issue #111
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@211 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-07-27 21:31:32 +00:00
Tomek Mackowski
7c2b223df8 fix #109 - remove spaces from xml attributes
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@209 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-07-27 19:24:04 +00:00