Hi Peter,

the BitmapTable is used for bitmap fillings, which are always
embedded. Using the BitmapTable to insert embedded bitmaps for
graphic shapes was a workaround because this feature was missing
at the API.

This is now possible directly. The graphic shape supports the Property
"Graphic" which accepts an XGraphic.

To get an XGraphic from an image file use the service

com.sun.star.graphic.GraphicProvider with the method

XGraphic XGraphicProvider::queryGraphic

Regards,
Christian


Am 08.02.2011 10:30, schrieb Peter Eberlein:
Hi,

I want to insert a (non-linked) graphic into a drawpage via API.
This can be done by creating a shape and setting the property
FillBitmapURL to an internal URL.

This internal URL is stored in a BitmapTable, if it was inserted by name
before.

Now I saw, that this BitmapTable is empty, if a graphic is inserted by GUI.

So is there another way to insert pictures by API beside the BitmapTable
service?

Regards

Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to