kurk Newbie

Joined: 16 Dec 2008 Posts: 1
|
Posted: Tue Dec 16, 2008 12:30 pm Post subject: setPropertyValue on cells problem |
|
|
Dear friends,
I'm using PUNO (UNO for PHP). I have some trouble setting the properties of a cell in a spreadsheet.
First, I get a cell:
| Code: | | $cell = $this->getSheet($sheetnumber)->getCellByPosition(0,0); |
The $cell var is allright, I can use $cell->setString($foo) and stuff. I can also set the following property:
| Code: | | $cell->setPropertyValue("IsTextWrapped",true); |
Everything fine, until I tried to set some other properties:
| Code: |
$cell->setPropertyValue("VertJustify",CellVertJustify_CENTER);
$cell->setPropertyValue("HoriJustify",CellHoriJustify_CENTER);
$cell->setPropertyValue("RotateAngle",90);
|
Each of these three operations crash the PUNO connection..
The value of the constants:
CellVertJustify_CENTER: 2
CellHoriJustify_CENTER: 2
I also tried the operations on a CellRange instead of a Cell; same results.
Do you think this is a PUNO problem, or am I making a mistake?[/code] |
|