Commit Graph

236 Commits

Author SHA1 Message Date
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