0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 3.15.218.44


Current Path : /proc/thread-self/root/var/www/html/gcm/ExcelWriterXML/
Upload File :
Current File : //proc/thread-self/root/var/www/html/gcm/ExcelWriterXML/example.php

<?php
/**
 * Example page for how to use the Excel Writer XML
 * @package ExcelWriterXML
 * @subpackage examples
 * @filesource
 */

/**
 * Include the required Class file
 */
include('ExcelWriterXML.php');

/**
 * @source
 */
$xml = new ExcelWriterXML;
$xml->docAuthor('Robert F Greer');

$format = $xml->addStyle('StyleHeader');
$format->fontBold();
$format->alignRotate(45);
$sheet = $xml->addSheet('My Sheet');

$sheet->writeString(1,1,'Header','StyleHeader');
$sheet->writeString(2,1,'Test String','StyleHeader');

$xml->sendHeaders();
$xml->writeData();
?>