Subversion Repositories odsPhpGenerator

Rev

Blame | Last modification | View Log | RSS feed

<?php

// Load library
require_once('../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");  

?>