Page 1 of 1

How to insert picture in OpenOffice Calc

Posted: Tue Feb 16, 2016 12:36 pm
by sharathkumar11
Hi

can any one help me how can i insert an picture into open office calc through c# code

i searched in this form but i could not able to get the information

i got one link but could not able to follow those steps

viewtopic.php?f=44&t=64249

please help me how to insert an picture through c# code

Sharathkumar11

Re: How to insert picture in OpenOffice Calc

Posted: Tue Mar 08, 2016 8:25 am
by Zizi64
You need study and apply the API functions. (The API functions avaliable outside the AOO/LO too)

Then you will able create a new Calc file, or you will able open an existing Calc file by your c# code.

You can not insert a picture into a cell. But you can insert a picture onto the graphic layer, and you can align the pictures to the position and size on a specific cell. You must refresh the size and the position of the picture again and again when you modify the size of the cells.

The linked exaples under your attached link above shows you the steps (with other programming languages) how you can solve this task.