OO-Snippets: Embedding image

Commons

Keywordsembed image, GraphicObjectShape
LanguageOOBasic
ApplicationCalc
AuthorsNiklas Nebel (initial)
Tom Schindl
Supported Versions
Supported OS
Question How do I embed an image into StarCalc
Answer

The GraphicObjectShape has a property GraphicObjectFillBitmap. You can't (yet) create the bitmap directly from a file, but you can copy it from a linked to a non-linked graphic object, and then remove the linked one.

Code-Snippet-Listing (snippet-source)

cond.

Changelog

DateUserModification
2004-06-22tomsontomModified to match new snippet-DTD
0000-00-00niinitial release

and