Das Notes Forum

Domino 9 und frühere Versionen => Entwicklung => Thema gestartet von: Mircea Serban am 24.03.03 - 13:36:05

Titel: Display richtext content with java
Beitrag von: Mircea Serban am 24.03.03 - 13:36:05
Hi

I have a document which contains a richtext field.

I wrote a servlet which read the document and display it.

String bodyText=((RichTextItem)doc.getFirstItem("body")).getFormattedText(false,0,0);

but with this method I lose the style of the richtext (bold, colors even new line)

How can I obtain this information with java backend classes?

Thanks
Mircea Serban