Writing in Rich Text fields with Lotusscript questions

Greetings,

I just started to work with writing in rich text fields and I was surprised with the limitations. Is there any workarounds for these limitations:

  1. I created a tabbed table with AppendTable method, but how can I change the color and font size of the Tab labels?

  2. How can I change the table borders?

  3. I created a NotesRichTextParagraphSytle to indent the text by using Leftmargin property, then I used Navigator to find the first Tabel cell, appended the paragraph style and types some text, the paragraph syle does not affect the text inside the table cell! The run-time error “Method not available” appears.

  4. I created link hotspots by Appendocklink method, how can I remove the annoying border around the hotspot?

Subject: Writing in Rich Text fields with Lotusscript questions

Basir,

Without buying a third party add on like the MidasRichText LSX, you don’t. The NotesRichTextTable object is very limited, and you won’t be able to do what you want.

My suggestion is to look into using the RenderToRTItem method to do what you are trying to do. You can create a tabbed table in a form and then set your doc object to use that form before calling RenderToRTItem in your target RichText field.

hth.

brandt

Subject: Writing in Rich Text fields with Lotusscript questions

For item 4., you can solve this by leaving out the third parameter HotspotText - it is optional, after all.

Subject: Thanks guys for the information