Martin Klar wrote:
Hi there,

How can I use 2 different fonts in a TextTable?
Using paragraphs can help to simplyfy the task

But remember that your cursor is a textrange and in ypur code below you do not move your cursor, so you simply defines a other font to the same textrange

Hope it helps

Fernand

I tried:

table = doc.createInstance( "com.sun.star.text.TextTable" )
tableText = table.getCellByName( cellName )
cursor.setPropertyValue( "CharFontName", "Webdings" )
tableText.setString(" r ")
cursor.setPropertyValue( "CharFontName", "Thorndale AMT" )
tableText.setString(" some text ")

Every setString resets the settings of the cell. Is there some kind of appendString()? I found nothing similar.

TIA
Martin

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to