Source for file example.php
Documentation is available at example.php
* Example page for how to use the Excel Writer XML
* @package ExcelWriterXML
* Include the required Class file
include('ExcelWriterXML.php');
$xml->docAuthor('Robert F Greer');
$format = $xml->addStyle('StyleHeader');
$format->alignRotate(45);
$sheet = $xml->addSheet('My Sheet');
$sheet->writeString(1,1,'Header','StyleHeader');
$sheet->writeString(2,1,'Test String','StyleHeader');
|