Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Full option filters like "skipImages" #7

Open
pcdinh opened this issue Mar 20, 2018 · 3 comments
Open

Full option filters like "skipImages" #7

pcdinh opened this issue Mar 20, 2018 · 3 comments

Comments

@pcdinh
Copy link

pcdinh commented Mar 20, 2018

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

@teros0
Copy link

teros0 commented May 8, 2018

You should probably look for save_document function in a reference documentation of LibreOffice API for the C++ source code.

@echarrod
Copy link

Hi @teros0, I'm looking on that link but can't find save_document, is that link still valid?

@ojwb
Copy link

ojwb commented Aug 12, 2022

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants