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.
I used “Record Macro”, and found that saving Bitmap object corresponds to “.uno:SaveGraphic”; however, whatever kind of args did I passed to uno:SaveGraphic, a save dialogue window appears.
Are there any way to dispatch “.uno:SaveGraphic” without creating save dialogue? Or, are there any other simple way to get single PNG image?
Thank you