[reportlab-users] Patch to support tables with oversize cells

Lennart Regebro lregebro at shoobx.com
Tue Apr 12 06:12:59 EDT 2022


Hi! Have you been able to look more at this?

I'm feeling pretty good about the patch now, with added tests and better
command handling.


On Fri, Mar 11, 2022 at 1:33 PM Robin Becker <robin at reportlab.com> wrote:

> Hi Lennart,
>
> tried the latest patch and it seems better for backgrounds etc etc. See
> the attached test script which I used to see
> what was happening visually some examples are seen with
>
> python lennart-example.py --split=36 --splitByRow=1 --splitInRow=1
> --pdfn=sss.pdf
> python lennart-example.py --split=58 --splitByRow=1 --splitInRow=1
> --pdfn=sss.pdf
> python lennart-example.py --split=58 --splitByRow=0 --splitInRow=1
> --pdfn=sss.pdf
>
> I haven't run this version entirely though the tests yet, but I will try
> over the weekend.
>
> As for small tables:
>    widow is end of something alone at the start of a page. A widow has a
> past, but no future.
>    orphan is start of something alone at the end of a page. An orphan has
> no past, but has a future.
> ....
> thanks again for the effort
> --
> Robin Becker
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20220412/7a83734f/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: splitInRow-v5.diff
Type: text/x-patch
Size: 38697 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20220412/7a83734f/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_table_inrowsplit.pdf
Type: application/pdf
Size: 7597 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20220412/7a83734f/attachment-0001.pdf>


More information about the reportlab-users mailing list