| View previous topic :: View next topic |
| Author |
Message |
ornitorrinco123
Joined: 29 May 2008 Posts: 2
|
Posted: Thu May 29, 2008 5:44 pm Post subject: setSelection - Spreadsheet_Excel_Writer |
|
|
Hi. I am using Spreadsheet_Excel_Writer 0.9.1.
And the function setSelection :
void setSelection( integer $first_row, integer $first_column, integer $last_row, integer $last_column)
don't select multicell, only one cell. Wath a doing wrong?
I want multicell select and manipulate the selection.
$libro =& new Spreadsheet_Excel_Writer();
$hoja =& $libro->addWorksheet("Lista Alumnos");
if (PEAR::isError($hoja)) {die($hoja->getMessage());}
.....
$hoja->write(2,2, "-- bla, bla --");
.....
$hoja->hideGridlines();
$hoja->setMarginRight(0.4);
$hoja->setMarginLeft(0.5);
$hoja->setMarginTop(0.4);
$hoja->setMarginBottom(0.4);
$hoja->select();
$hoja->setFirstSheet();
$hoja->setSelection(0,2,9,2);
$file = "lista.xls";
$libro->send($file);
$libro->close();
thanks |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|