Liao Yu wrote:
Thanks, Stephan.
So the package com.sun.star.text.textfield is not available
in Java. Then do we have the chance to insert an annotation
or other textfield via Java? If we do, how? Thank you in
advance.
That there is no Java package com.sun.star.text.textfield does not mean
that the (old-style) UNO services from the UNO module
com.sun.star.text.textfield are not available in Java. They can be used
just the same way as any other (old-style) UNO services---no
corresponding Java classes are either available or necessary.
Sorry, I have no idea how code would look like that inserts an
annotation into a document. Hopefully, someone who knows more about the
OOo writer API can help you.
-Stephan
Regards,
Yu
----------------------原邮件-------------------
Liao Yu wrote:
Thanks, Andrew.
There's one thing strange that I couldn't find the
package
textfield in module com.sun.star.text of unoil.jar.
Anyone
has any idea?
It appears that the UNOIDL module
com.sun.star.text.textfield (CVS
module offapi) only contains old-style services (and
another module,
com.sun.star.text.textfield.docinfo, which in turn also
only contains
old-style services). There is no representation of old-
style UNOIDL
services and of UNOIDL modules in the Java UNO langugage
binding, and
hence there is no Java package com.sun.star.text.textfield
in unoil.jar.
-Stephan
Regards,
Yu
[...]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]