Re: SpreadsheetML

From: Date: Tue, 30 May 2006 16:08:46 +0000
Subject: Re: SpreadsheetML
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-42701@lists.php.net to get a copy of this message
Jesus, > That is an interesting approach, could be something like: > > Spreadsheet_Writer (as general/factory class) > - Spreadsheet_Writer_Excel > - Spreadsheet_Writer_SpreadsheetML > - Spreadsheet_Writer_OpenDocument That's exactly what I had in mind. You have to be careful not to break BC, but if you make a /new/ package Spreadsheet_Writer, it shouldn't collide with Spreadsheet_Writer_Excel. You need to rename the drivers to > - Spreadsheet_Writer_Driver_Excel > - Spreadsheet_Writer_Driver_SpreadsheetML > - Spreadsheet_Writer_Driver_OpenDocument then, as the classname would collide with the old package then. If you don't want to make a new package it's ok I think, you just need to make sure that the interface and constructor of Spreadsheet_Writer_Excel stays the same. -- Regards/MfG, Christian Weiske

Attachment: [application/pgp-signature] OpenPGP digital signature signature.asc
« previous php.pear.dev (#42701) next »