Re: Custom page lengths

Glenn Linderman <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <[email protected]>
On 4/12/2016 9:55 AM, Peter Cock via reportlab-users wrote:
> Essentially I just set the page size based on the data - knowing how the
> graph would be constructed and therefore how much space I needed.
> However, I was using drawing primitives etc so this may not make sense
> in your context Glenn?

I'm (presently) using flowables... and don't know the overall length of 
the page before I start, it partly depends on the actual textual content.

One thought I had was to generate the document once, "somehow" gather 
statistics from the Page Breaks about the length of the page content, 
and then generate it again, knowing the needed page sizes.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.