How to insert picture in OpenOffice Calc

Discuss the spreadsheet application

How to insert picture in OpenOffice Calc

Postby sharathkumar11 » Tue Feb 16, 2016 12:36 pm


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 ... 44&t=64249

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

openoffice 4 on windows 7
Posts: 1
Joined: Tue Feb 16, 2016 12:31 pm

Re: How to insert picture in OpenOffice Calc

Postby Zizi64 » Tue Mar 08, 2016 8:25 am

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; LO6.1.6, 6.2.8 /Win7-10 x64Prof.
PortableApps/winPenPack: LO3.3.0-6.4.5;AOO4.1.7
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.
User avatar
Posts: 9725
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Return to Calc

Who is online

Users browsing this forum: Google [Bot], windowshater and 28 guests