Hi,
I have an ods file, which has only one sheet. I’d like to generate PNG file of the sheet. However, if I use “File → Export…”, I got PNG files which is splitted into page. What I need is a PNG file as single image, not the splitted one.
Then I came up with an idea. First, I select the necessary area, copy, and paste it to Writer, like “(Right click on page) → Paste spetial → More options → Bitmap”. Then I right-clicked the pasted bitmap object and did “Save” in the context menu. With this method I was succeeded in generating the single PNG image manually, so I tried to automate this procedure, using Macro. Finally I like to do this on server side.
To ask opinion, I made this question yesterday, and received awesome macro (Thanks Mr. Jim K!). However, this macro does not run in headless mode. I want to do this on server side. Specifically, I want to run the macro from shell, like “soffice --headless --norestore --nofirststartwizard --invisible “macro:///Standard.Module1.SaveSheetAsBitmap()” test.ods”
What kind of method is available to achieve this?