astefanutti / decktape

PDF exporter for HTML presentations
MIT License
2.17k stars 175 forks source link

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

Open sdharmarajah opened 2 years ago

sdharmarajah commented 2 years ago

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

nataschake commented 10 months ago

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.

astefanutti commented 8 months ago

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.

astefanutti commented 2 months ago

Would you have an example presentation with increased slide height to share, so I can experiment on it?

nataschake commented 2 months ago

@astefanutti Hi, here it is

astefanutti commented 2 months ago

@nataschake thanks a lot. I'll have a look ASAP.