java - How can I get a preview image of an excel document? -


i've got excel document , need take image of first sheet , use put in icon of jlabel. how can it?

i don't think apache poi provides here not concerned displaying data, retrieving , updating data in excel workbook.

so excel , other office applications libreoffice know how display data.

a few alternative options come mind:

  • use other software display contents web-page , use selenium take screenshot, see e.g. take screenshot selenium webdriver
  • programmatically open file in excel on windows box, use screenshot utility automation support

Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -