decktape
decktape copied to clipboard
Embed presentation title in PDF
Is it possible to extract the title of a presentation and embed it in the exported PDF? I've tested a few of the generated PDFS using PyPDF2, and none of them have title metadata. I guess this may be hard or impossible for some or all of the plugins.
The main driver for this is that I'd like to be able to extract the title in decktape.io to generate better filenames.
Sounds like a great idea!
It should be possible to:
- Add a new method to the DeckTape plugin API that would return the presentation title. Depending on the presentation framework, that should be possible to extract, one way or another, the presentation title.
- Give DeckTape access to
QPdfEnginePrivate.titlemember in order to write the extracted title into the PDF metadata.
DeckTape 2.x is now responsible for the PDF creation so that should be a lot easier to implement metadata retrieval and writing.