Hyperlink in RichTextItem

Hi,

I want to access a rich text item from a Notes document using java.

You could generate the xml of the document to get the hyperlink, but I want to use the java classes.

The only thing I get is: “link” and not the url eg. “IBM - United States

Any suggestions?

Greetings

Subject: Hyperlink in RichTextItem

Can you post the related Java-code?

Subject: Hyperlink in RichTextItem

Hi,

thank you for your response,

I get the Item from the document and create a Navigator of the RichTextItem

RichTextItem richTextItem = (RichTextItem) item;

RichTextNavigator rtnav = richTextItem.createNavigator();

if (rtnav.findFirstElement(RichTextItem.RTELEM_TYPE_TABLE)){

//do anything

}

You can only find these elements:

RTELEM_TYPE_TABLE

RTELEM_TYPE_TEXTRUN

RTELEM_TYPE_TEXTPARAGRAPH

RTELEM_TYPE_DOCLINK

RTELEM_TYPE_SECTION

RTELEM_TYPE_TABLECELL

RTELEM_TYPE_FILEATTACHMENT

RTELEM_TYPE_OLE

RTELEM_TYPE_TEXTPOSITION

RTELEM_TYPE_TEXTSTRING

Or is there another way to access a RichTextField in a Document without using xml?

Greetings