[reportlab-users] ReportLab Table Option

Bryan Arguello bromero314 at gmail.com
Fri Jan 12 08:35:55 EST 2018


Thanks, Andy

Now, the only issue I have is with formatting.

1. If I let the rows choose their own size based on the largest column
height, then other pages do not have knowledge of that height. Therefore I
get different row heights for columns on different pages. That is probably
confusing; I attached the pdf for clarity. If I fix the row heights and the
fonts, then oftentimes the paragraphs do not fit since, due to word
wrapping, a row label may take several lines or it may take a single line.
So I am not sure what the best formatting solution

2. I want to print the the table on 11 x 17 ledger paper. I specify those
dimensions through SimpleDocTemplate. However, the pdf I get first the
whole table onto 8.5 x 11 (I can print the whole table on an 8.5 x 11 sheet
without it being cut off). Also, the table has padding around it. I would
like to get rid of this padding.

Any advice you can offer would be greatly appreciated!

Thanks,

-Bryan

On Thu, Jan 11, 2018 at 11:45 PM, Andy Robinson <andy at reportlab.com> wrote:

> On 12 January 2018 at 03:42, Bryan Arguello <bromero314 at gmail.com> wrote:
> > Hi Andy,
> >
>
> > 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?
>
> Hopefully simple!
>
> story.append(tbl1)
> story.append(PageBreak())
> story.append(tbl2)
> story.append(PageBreak())
> story.append(tbl3)
>
>
> - Andy
> _______________________________________________
> 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/20180112/f47734aa/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: packagingsheet.pdf
Type: application/pdf
Size: 42836 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20180112/f47734aa/attachment-0001.pdf>


More information about the reportlab-users mailing list