Hi there,
I need to assign a url to a string and then the string should be
shown in
the text document......for example if i set a string in the way
given below
String test
xTextRanget.setString(test);
the String test should be linked to url say www.gmail.com...this is
what i
need can any one help me...
the following macro should do what you want
xText = ThisComponent.getText()
xTextCursor = xText.createTextCursor()
xTextCursor.setString("www.openoffice.org")
xTextCursor.HyperLinkTarget = "http://www.openoffice.org"
xTextCursor.HyperLinkURL = "http://www.openoffice.org"
Hope that helps
Regards
Stephan
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]