Hi Peter,
in a former StarOffice version the following worked properly:
oTableCursor = oTable.createCursorByCellName(oTable.CellNames(0))
oTableCursor.ParaStyleName = "MyStyle"
Contrary to a "normal" XTextCursor this does not work in 2.0 anymore.
According to the api the service css.text.TextTableCursor includes the
service css.style.ParagraphProperties with the missing property
"ParaStyleName".
I wonder that this worked ... the property ParaStyleName is optional and
only makes sense for the text inside a cell, not for the cursor that
enables you to move through the table ... but well ... changing your
macro by
oTableCursor = oTable.getCellbyName(oTable.CellNames(0)).createTextCursor
should ensure that the paragraph style of the first cell is changed.
Hope that helps
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]