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

Lennart Regebro lregebro at shoobx.com
Mon Feb 21 10:14:56 EST 2022


OK, I solved that problem, indeed, space got incorrectly added after the
split.

I also changed the default to not split in rows, as you preferred.

On Thu, Feb 17, 2022 at 12:55 PM Lennart Regebro <lregebro at shoobx.com>
wrote:

> Yeah, definitely looks like somethings up with the spacing there. I should
> be able to take a look at this this week! Thanks!
>
> On Thu, Feb 17, 2022 at 12:34 PM Robin Becker <robin at reportlab.com> wrote:
>
>> On 01/02/2022 16:34, Lennart Regebro wrote:
>> > OK, I got a small bit wrong in the logic of when to split in each way,
>> > fixed now, new patch attached.
>> >
>> ........
>>
>> Hi Lennart, I finally got around to making a small example that
>> illustrates the splitInrow=0 differences.
>>
>> You can see the patched (with splitInrow=0) and unpatched results here
>>
>> https://www.reportlab.com/ftp/lennart/
>>
>> the generating script is lennart-example.py and the two pdfs illustrate
>> behaviour unpatched and patched with
>> splitInRow=0 as an argument.
>>
>> I changed the your patch so by default it starts with splitInRow = 0. I
>> don't think we should change behaviour at all
>> unless it's done explicitly.
>>
>> To my eye it looks as though the patch has changed the behaviour
>> regarding space around the split table.
>> --
>> Robin Becker
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20220221/be5d1d49/attachment-0001.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: splitInRow-v3.diff
Type: application/x-patch
Size: 27776 bytes
Desc: not available
URL: <https://pairlist2.pair.net/pipermail/reportlab-users/attachments/20220221/be5d1d49/attachment-0001.bin>


More information about the reportlab-users mailing list