decktape icon indicating copy to clipboard operation
decktape copied to clipboard

Embed presentation title in PDF

Open abingham opened this issue 9 years ago • 3 comments

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.

abingham avatar Sep 26 '16 16:09 abingham

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.title member in order to write the extracted title into the PDF metadata.

astefanutti avatar Oct 02 '16 09:10 astefanutti

DeckTape 2.x is now responsible for the PDF creation so that should be a lot easier to implement metadata retrieval and writing.

astefanutti avatar Aug 25 '17 15:08 astefanutti