According to the IDL (from version 1.9.113), the service for an image
in a text document is:

com.sun.star.text.TextGraphicObject

However, I can't instantiate this object from StarBasic.

doc.createInstance("com.sun.star.text.TextGraphicObject")

throws a ServiceNotRegisteredException in version 1.9.104. The service
that does work is

com.sun.star.text.GraphicObject

(I got this from the example GraphicsInserter, which is part of the
SDK). This service does not seem to exist in the IDL, though.

Can someone explain this to me? Will GraphicObject go away? If it
will, what service should I use in a StarBasic script that will work
in current and future versions?

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

Reply via email to