I've browsed all entries of this forum but haven't found any hint to save my problem:
My OO-Writer document has a two-column table, which creates of log,
the first column is a date and the second column consists of entries made by users
in native OO.
I use the following code to insert an new table row at the top of the table:
# Insert a new table Row
$doc->insertRow($Tablename, 0) ;
# the new row is inserted, but it isn't blank, it is a copy of the next row,
# so update the first cell with actual date:
$doc->cellValue($Tablename, 0, 0, $DateTimeString) ;
# and blank the second cell:
$doc->cellValue($Tablename,0,1,"") ;
Here is my problem:
If the second column of the old first Row, which is Cell (0,1) consists of a multiline entry,
for example:
Line1
Line2
Line3
this entry is duplicated by insertRow, but when I try to blank the new Cell with
$doc->cellValue($Tablename,0,1,"") ;
only the first line of the Cell is blanked, so I get as new entry:
(blank line)
Line2
Line3
How can I blank the whole new cell?
Have I missed something?
Siegfried