Full option filters like "skipImages"
Opened this issue · 3 comments
Hi,
Where can I find the full list of options like "skipImages" as seen in the following code?
document.SaveAs("kittens.pdf", "pdf", "skipImages")
E.x: If I want to embed images into the exported PDF file, which option do I should use?
Thanks
You should probably look for save_document function in a reference documentation of LibreOffice API for the C++ source code.
Hi @teros0, I'm looking on that link but can't find save_document
, is that link still valid?
When I looked I didn't find any centralised documentation of these, but by poking around the LO source code (the options are handled in different places) I put together a list for lloconv, which is likely similarly relevant here:
https://gitlab.com/ojwb/lloconv/-/blob/master/lloconv.cc#L39-43
Those were all the ones I found in September 2020, but it's quite possible I missed some and more may have been added since.
If you find additional useful options, I'd love to hear.
You can embed images in HTML (as <img src="data:...">
) with EmbedImages
but that seems to have no effect on PDF output.