How to insert picture in OpenOffice Calc

Discuss the spreadsheet application
Post Reply
sharathkumar11
Posts: 1
Joined: Tue Feb 16, 2016 12:31 pm

How to insert picture in OpenOffice Calc

Post 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
openoffice 4 on windows 7
User avatar
Zizi64
Volunteer
Posts: 11352
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: How to insert picture in OpenOffice Calc

Post 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.
Tibor Kovacs, Hungary; LO7.5.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-7.6.2;AOO4.1.14
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
Post Reply