[FLOW3-general] Direct output of an MS-Excel file to the browser
Regine Rosewich
regine.rosewich at hoellenberg.biz
Thu Jul 26 18:56:09 CEST 2012
Hi Bastian,
sorry for the late answer, but my apple mail-client marked your E-mail as unwanted advertising so I found your answer not before I wanted to delete the spam folder today.
The integration of PHPExcel in to the FLOW3 namespacing meant first defining a vendor namespace (\Com\Codeplex\PHPExcel in this case) and then changing all the classes and objects, annotations, function-calls etc. accordingly. It works quite fine now except the ability to directly send an excel-file created with PHPExcel to the output but I have to admit that I'm an absolute newbie concerning such things. Up to now only tried to do it as shown in a PHPExcel example (1. create the ExcelObject, 2. transfer it to the appropriate ExcelWriter of PHPExcel (Excel2007Writer in my case) and then sending it to the output with: $objWriter->save('php://output');
As far as I can see now I need to redirect the output, but I do not know yet how.
Regine
Am 24.07.2012 um 09:46 schrieb Bastian Waidelich:
> Regine Rosewich wrote:
>
> Hi Regine,
>
>> I've adapted the PHPExcel-Project to the FLOW3-Framework (vendor-namespacing etc.) [...]
>> want to output Excel-Spreadsheets generated via FLOW3/PHPExcel directly to the browser [...]
>
> How did you do that?
>
>> but are only getting header-errors
>
> What errors do you get?
>
> Best,
>
> --
> Bastian Waidelich
> TYPO3 Core Team Member
>
> TYPO3 .... inspiring people to share!
> Get involved: typo3.org
> _______________________________________________
> FLOW3-general mailing list
> FLOW3-general at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow3-general
More information about the FLOW3-general
mailing list