EXAMPLES : Table split
Table split
2010-01-22 : Laurent VUIBERT
You can split table
// Load library
require_once('ods/ods.php');
// Create Ods object
$ods = new ods();
//Set vertical split
$table = new odsTable('V Split');
$table->setVerticalSplit(1);
$ods->addTable($table);
//Set Horizontal split
$table = new odsTable('H Split');
$table->setHorizontalSplit(1);
$ods->addTable($table);
// Both split
$table = new odsTable('B Split');
$table->setVerticalSplit(1);
$table->setHorizontalSplit(1);
$ods->addTable($table);
// Download the file
$ods->downloadOdsFile("TableSplit.ods");