Re: ReportLab Table Option

Bryan Arguello <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CA+Xd6WWE+n2qEarU+-yNwZ1OJ+R5i+LYVdnvy6kZ8jn6-DObNA@mail.gmail.com>
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 <[email protected]> wrote:

> On 10 January 2018 at 01:50, Bryan Arguello <[email protected]> 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
> [email protected]
> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
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.