I'm writing an Input Field like this:

...
XTextViewCursor xViewCursor = xViewCursorSupplier.getViewCursor();
...
XTextField xInputUser = (XTextField) UnoRuntime.queryInterface
(XTextField.class, mxDocFactory.createInstance
("com.sun.star.text.TextField.InputUser" ) );
...
xText.insertTextContent ( xViewCursor, xInputUser, false );

I'd like to change the values in the Input Field before writing it. I've
tried with the XPropertySet:
XPropertySet xCursorPropertySet =
(XPropertySet)UnoRuntime.queryInterface(XPropertySet.class,
xViewCursor);
xCursorPropertySet.setPropertyValue(...

But I didn't find the way... Is it the right way to do it? By the way,
where can I find all the properties that can be set to the XPropertySet?

Thx in advance,
Joan

This e-mail may contain confidential or privileged information. Any unauthorised
copying, use or distribution of this information is strictly prohibited.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to