I am trying to set the hyperlink for a particular part of
text using the
following code and OpenOffice 1.1:
XText xText = (XText)UnoRuntime.queryInterface(XText.class,
xShape);
XTextCursor xTextCursor = xText.createTextCursor();
XPropertySet propCursor = (XPropertySet)
UnoRuntime.queryInterface(XPropertySet.class, xTextCursor);
propCursor.setPropertyValue("HyperLinkURL",
"http://www.openoffice.org
a>");
When I try to run it, I get an
"UnknownPropertyException". Does anyone
know what I am doing wrong, or alternately, have a code
example that will
do the right thing?
Thanks,
Ann
------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribe api.openoffice.org
For additional commands, e-mail: dev-help api.openoffice.org
|