Domino 9 und frühere Versionen > Entwicklung

Display richtext content with java

(1/1)

Mircea Serban:
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

Navigation

[0] Themen-Index

Zur normalen Ansicht wechseln