Commit Graph

74 Commits

Author SHA1 Message Date
Tomek Mackowski
0d952ea2ef re #93 - read cell alignment and diagonal borders
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@180 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-05-13 21:29:25 +00:00
Ivan Femia
ec2f55aa2b Missed class ZCL_EXCEL_STYLE_BORDERS
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@178 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-05-12 22:07:26 +00:00
Ivan Femia
9cd2c62ca5 Enhancement to border style. DEMO2 update
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@177 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-05-12 19:33:25 +00:00
Ivan Femia
f5ef7137ad Fixed issue #85
Demo4 shows the new functionality

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@173 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-05-05 20:00:27 +00:00
Ivan Femia
2e2a04dba5 Fix issue #87
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@172 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-05-05 19:27:37 +00:00
Tomek Mackowski
dfe73c22dd Fix #86 - add support for all Excel coloring options - standard color themes, indexed colors and tint
Both writer and reader updated.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@170 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-05-04 21:52:43 +00:00
Ivan Femia
b7481a4077 Issue #83 and issue #90 fixed
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@169 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-05-04 19:15:49 +00:00
Ivan Femia
9b9915e3e8 Alpha version of CSV Writer by Daniel.St-Jacques
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@168 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-04-28 19:38:23 +00:00
Ivan Femia
b380c8ed4a Fix issue #88
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@167 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-04-27 14:07:55 +00:00
Tomek Mackowski
e8aa4ec888 #25 Adding support for reading styles in the READER
Currently following style options are supported:
-fonts
-borders
-fills
-number formats

DEMO1 and DEMO2 updated 

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@164 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-04-25 21:32:43 +00:00
Ivan Femia
10ed6cf230 Fix issue #84
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@163 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-04-20 20:20:58 +00:00
Ivan Femia
3afebfc0b4 Fix issue #84
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@161 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-04-20 20:02:48 +00:00
Tomek Mackowski
ff8cd877f9 Fix #82 - data types from source sheets are preserver in the reader
Fix #80 - both value and formula are read by the reader

These 2 fixes allow reading xlsx templates with values of different types and formulas and saving them back

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@159 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-04-13 22:18:10 +00:00
Ivan Femia
d43997b929 Changed Attribute visibility in class ZCL_EXCEL_STYLE_CONDITIONAL, added a new demo report
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@154 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-04-01 13:52:57 +00:00
Gregor Wolf
3061e0a039 Included the patch for the SET_MERGE and GET_MERGE methods of ZCL_EXCEL_WORKSHEET by Victor Alekhin to solve issue #79. Extended demo report ZDEMO_EXCEL13 to test the new functionality.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@151 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-03-25 18:46:24 +00:00
Ivan Femia
ed90f7ce79 Old LGPL references into code removed
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@149 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-23 21:55:48 +00:00
Gregor Wolf
835829a00d Fix output of attribute 'operator' for data validation (Issue #54).
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@146 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-18 00:43:13 +00:00
Gregor Wolf
aa2e71340b Enhanced ZCL_EXCEL_DATA_VALIDATION and ZCL_EXCEL_WRITER_2007 to fix issue #54. Adjusted demo report ZDEMO_EXCEL9 to show the new features. New data elements for validation error style and validation operator. Incompatible change of the attribute value attribute of class ZCL_EXCEL_DATA_VALIDATION to formula1.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@143 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-17 23:47:45 +00:00
Ivan Femia
469a34486e Fix issue #75
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@140 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-17 20:55:44 +00:00
Ivan Femia
58b31cfed3 Performance improvement issue #74
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@136 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-14 17:37:07 +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
Ivan Femia
d7af53cd94 Fixed issue #72
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@132 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-12 15:13:02 +00:00
Ivan Femia
35889a58aa Solve issue #62 with German layout
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@129 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-06 09:04:33 +00:00
Gregor Wolf
5193f47fff Added cell merge to demo report ZDEMO_EXCEL9 as there was a problem reported in issue #64 that data validations could not be combined with cell merges.
Little correction to revidion 125 of method get_dimension_range in class ZCL_EXCEL_WORKSHEET.

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@127 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-05 17:35:14 +00:00
Gregor Wolf
7f94e7c77a Correct the ZCL_EXCEL_READER_2007 to fix issue #45. The multi table testfile raised another error that was fixed by adjusting the method get_dimension_range in class ZCL_EXCEL_WORKSHEET. Now this method returns A1 when the sheet is empty.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@125 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-05 17:23:06 +00:00
Ivan Femia
5d62c0c31a Fix issues: #66 #67 #68
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@123 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-03 22:30:13 +00:00
Ivan Femia
858c9a0b14 Fixed issue #65
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@121 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-02 18:16:39 +00:00
Ivan Femia
aacd0a08a3 Fixed issue #63
Added demo23 and demo24 to demo collection report

git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@119 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-02-01 22:12:05 +00:00
Gregor Wolf
aca4d24164 mergeCells node must be before dataValidations. Additional fix for issue #64.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@117 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-01-29 21:59:27 +00:00
Gregor Wolf
56cfd1dd54 Fill count attribute of mergeCells dynamically to fix issue #64. The demo report ZDEMO_EXCEL13 was adjusted to test also if merge works when oher merged chells are empty.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@115 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-01-29 21:14:42 +00:00
Gregor Wolf
f050d256d0 Made constant zcl_excel_style_number_format=>c_format_text public to fix issue #61. Demo report ZDEMO_EXCEL22 adjusted to test it.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@111 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-01-29 16:10:03 +00:00
Tomek Mackowski
be4d8fe6e7 re #44 improve previous fix for #44 and solve issue from https://cw.sdn.sap.com/cw/thread/15813?tstart=0. Cell value node should be created only in case there is non-zero length value string. This mimics Excel behavior which also omits this node for cells which have just style or formula.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@108 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-01-24 21:59:31 +00:00
Ivan Femia
8fe72c7ad2 Fix attributes in xml XL_SHEET
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@106 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-01-22 15:45:40 +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
Gregor Wolf
57285cd8b8 Additions to ZCL_EXCEL_WORKSHEET, ZCL_EXCEL_SHEET_SETUP and ZCL_EXCEL_WRITER_2007 to solve Issue #57 Worksheet Gridlines on/off option. In addition to this now print output can be centered horizontal & vertical. Added demo report ZDEMO_EXCEL23.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@100 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-01-16 17:08:27 +00:00
Tomek Mackowski
4a358d2405 re #30 <drawing> should go before <tableParts> in the sheet.xml
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@98 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2011-01-12 21:57:47 +00:00
Tomek Mackowski
9573bcea90 re #51 Modify table binding to avoid errors and create valid oXml in case empty table is passed
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@87 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-22 19:42:35 +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
Ivan Femia
37a0a5582a Style management for table fieldcatalog, DEMO22 Commit
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@83 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-20 19:59:53 +00:00
Ivan Femia
dd17f42c65 Method GET_TITLE has not the encoding parameter
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@81 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-17 22:30:09 +00:00
Ivan Femia
92573fea3c Implementation of worksheet set_title / get_title.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@80 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-17 21:21:36 +00:00
Ivan Femia
f4c2bad749 Fix issue #50
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@79 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-17 20:37:38 +00:00
Tomek Mackowski
63bbec1d08 re #47 providing methods for dealing with default date format
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@78 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-16 20:30:34 +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
Tomek Mackowski
6965310001 re #44 Creating empty cell when style is set on non existing one.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@75 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-11 21:16:41 +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
Gregor Wolf
17158fc642 Fix Issue #43 by adding ' before and after the name when it contains a space. Demo report ZDEMO_EXCEL9 is adjusted to test this functionality.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@72 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-06 22:16:09 +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
Tomek Mackowski
d4937423d0 test #38 . Removing unnecessary color nodes which are not valid OXML elements. This fix makes output of DEMO21 valid.
git-svn-id: https://subversion.assembla.com/svn/abap2xlsx/trunk@65 b7d68dce-7c3c-4a99-8ce0-9ea847f5d049
2010-12-01 20:44:58 +00:00