Currently I've set the contents of the cell using this
Code: Select all
oTable.getCellByPosition( iDayOfWeek, sNum ).setString(sDayOfMonth & CHR$(10) & sEvent)
I've managed to do this successfully outside the table with this
Code: Select all
oDoc = ThisComponent
Cursor = oDoc.currentcontroller.getViewCursor()
mySelection = oText.createTextCursorByRange(Cursor.getStart())
mySelection.gotoStartOfParagraph(false)
mySelection.gotoEndOfParagraph(true)
mySelection.CharFontName="Arial"
mySelection.CharHeight="30"
mySelection.CharWeight = com.sun.star.awt.FontWeight.BOLD
Alex