[reportlab-users] ReportLab Table Option
Bryan Arguello
bromero314 at gmail.com
Thu Jan 11 22:42:20 EST 2018
Hi Andy,
Thanks for the reply!
I understand. What I am trying to do is create a pdf that splits a wide
table by columns rather than rows. The height of the table easily fits onto
a sheet of paper, but it is a wide table. So if 11 columns fit on a page
and there are 33 columns in the table, then we want to print three pages
each with 11 columns.
Since your email, I went ahead and generalized our code so that it creates
separate platypus Tables for each table I want to appear on a new page. The
only difficulty I am no having is figuring out how to give them to my
SimpleDocTemplate so that each Table is printed on its own page. Is that
simple enough to do?
Thanks,
-Bryan
On Wed, Jan 10, 2018 at 12:45 AM, Andy Robinson <andy at reportlab.com> wrote:
> On 10 January 2018 at 01:50, Bryan Arguello <bromero314 at gmail.com> wrote:
> > Hello,
> >
> > The ReportLab users manual states that the Table method currently does
> not
> > have a splitByColumn option. Are there any plans to have this option
> > implemented anytime soon?
>
> Regrettably not. It would have to work alongside row and column
> spanning (thus, cutting spanned cells in two horizontally) and many
> other features we have already, and the sheer complexity of trying to
> handle every possible layout case without breaking anything is
> daunting - many man-months of work.
>
> If you can describe what you want to do, there are many ways to
> arrange things in your own Python code and produce a specific
> solution, but the general case is vey difficult.
>
> Best Regards,
>
> --
> Andy Robinson
> _______________________________________________
> reportlab-users mailing list
> reportlab-users at lists2.reportlab.com
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20180111/f2960308/attachment.html>
More information about the reportlab-users
mailing list