[reportlab-users] Finding if a flowable is at the top of a page.
Roberto Alsina
ralsina at netmanagers.com.ar
Tue May 4 12:21:39 EDT 2010
On Tuesday 04 May 2010 09:31:02 Roberto Alsina wrote:
> On Tuesday 04 May 2010 08:09:24 Andy Robinson wrote:
> > On 4 May 2010 12:01, Roberto Alsina <ralsina at netmanagers.com.ar> wrote:
> > > Really, I am very close to something that works for at least some
> > > cases, if only I could tell what flowable starts a page :-)
> >
> > I clearly misunderstood how far you had got.
> >
> > Do you have or could you pull out any code to play with, preferably
> > without us having to learn our way round all of rst2pdf? If we can
> > express it as a little test script (e.g. test_platypus_footnotes.py)
> > with any extra classes in it, I don't mind making my eyeballs bleed a
> > bit too...
>
> I'll try to hack it today.
Here is a version that works, so you can see how this is supposed to work.
http://pastebin.com/fE0kKHhL
later (I just ran out of time :-) I will try to upload a failing one, where
a splitting flowable doesn't get marked as _atTop.
Best regards,
More information about the reportlab-users
mailing list