
Auparavant on créait des fichier csv afin de remplacer le format xls qui est propriétaire de Microsoft .
Cette fois ci vous pourrez creer de vrai fichier xls avec graphique , formule grâce au framework PHP excel disponible sur codeplex .
Voici la liste des fonctions (en anglais) :
Create an in-memory spreadsheet representation
Set spreadsheet meta data (author, title, description, …)
Add worksheets to spreadsheet
Add data and formulas to individual cells
Merge cells
Protect ranges of cells with a password
Supports setting cell width and height
Supports different fonts and font styles
Supports formatting, styles, cell borders, fills, gradients, …
Supports different data types for individual cells
Supports cell text wrapping
Supports conditional formatting
Supports column auto-sizing
Supports rich-text strings
Supports autofilter
Supports “freezing” cell panes
Supports workbook-level security
Supports worksheet-level protection
Cell data validation
Insert/remove rows/columns
Calculate formula values
Add images to your spreadsheet
Set image styles
- Positioning
- Rotation
- Shadow
Set printing options
- Header
- Footer
- Page margins
- Paper size
- Orientation
- Row and column breaks
Output your spreadsheet object to different file formats
- Excel 2007 (spreadsheetML)
- BIFF5 (Excel 97 and higher)
- PHPExcel Serialized Spreadsheet
- CSV (Comma Separated Values)
- HTML
Read different file formats into your spreadsheet object
- Excel 2007 (spreadsheetML)
- PHPExcel Serialized Spreadsheet
- CSV (Comma Separated Values)
Il ne vous reste plus qu’a le tester !
Framework disponible pour PHP version 5.2 et il faut avoir l’extensionphp_zip d’activer .
Update : Vous avez la possibilite d’enregistrer en xls , xlsx , csv .
Pour creer vos propre fichier xls via votre application web suivez ce lien …
Mots clés Technorati : excel, php, framework