hi, Matthias Benkmann wrote:
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?
This is a known documentation issue i47503, you can use the old name GraphicObject but i would suggest to use a newer build where this issue is fixed to avoid further misunderstandings.
Juergen
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
