• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Manipulate LibreOffice Calc files

 
Greenhorn
Posts: 6
Netbeans IDE Postgres Database Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi all,
this is my first post, so I need to apologise if I will do some mistake and because of my poor English.
I need to know if someone has experience in LibreOffice Calc files manipulation through some Java API.
I know there is Jopendocument which can do a great job for quite every task required, but my need is to "embed" a picture, or more (jpg, png etc.) in a LibreOffice spreadsheet at a specific location.
I have no code to post because I simply didn't find any resource in internet yet.
Thanks and compliments for the great community here.
 
Moreno Cavallaro
Greenhorn
Posts: 6
Netbeans IDE Postgres Database Java
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ok, I found the way to solve my problem.
Just placing a dummy image as placeholder and replace with the ones I need with the class MutableCell, through the method setImage (of course from the Jopendocument library).
The only adjustment I had to do was to anchor the dummy image to the cell and not to the page.
Cheers.
 
Marshal
Posts: 28226
95
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Welcome to the Ranch, Moreno, and... um... thanks for answering your own question! The answer might just be useful in the future to somebody else with the same question.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic