lately I ve been into combining multiple OpenXML speadsheets via PHPExcel which showed me that this framework has certain issues which makes it pretty much unusable for what I want to do (my related SO question).
To make it short: it s hard to guarantee that all formatting features of Excel 2007 will persist a file merge performed with that particular framework.
Anways, now I m thinking of a more general approach. I want to open a template XLSX which contains various formatting and add some plain alphanumeric data worksheets at the end of the workbook.
Is sensefully possible to do the following:
- unzip template XLSX
- parse XML files
- add worksheets
- save xml files
- rezip files to get valuid XLSX
Any hints or experiences would be highly appreciated.
thanks in advance
K