astefanutti / decktape

PDF exporter for HTML presentations

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Is it possible to generate multiple screenshots for a slide, if the slide can scroll?

sdharmarajah opened this issue Β· comments

We just started using Decktape and we love it πŸ˜„

Our use case is slightly different - our slides have expanding/collapsing widgets, which when expanded increase the slide height beyond the screen's visible area

We can programatically expand all widgets - but Is it possible for Decktape to

  • programmatically scroll down the required amount (in a loop), and
  • generate multiple screenshots for these slides?

I vote for this question, although work on a simpler case, namely: if the slide is scrollable (e.g. there is a list with 30 rows), I would sacrifice the formatting but have all rows shown in pdf, let it be 2 slides or more.

It should be possible for each slide to detect whether there is a scroll down, if yes programmatically scroll the page, generate the screenshot, and iterate until the end of the page has been reached.