Re: Is there a way to prevent table split between particular rows?

Robin Becker <[email protected]>
Newsgroups gmane.comp.python.reportlab.user
Message-ID <CAOBYczovUTHfy5-16TbcoGLWSU9fnMD5M2oSyx+0QkUByv7e8Q@mail.gmail.com>
PS cupla should be culpa :)

On 19 February 2016 at 22:40, Robin Becker <[email protected]> wrote:
> Hi Lele,
>
>
> The docs need to be extended mea cupla :(
>
> The rowSplitRange is intended to prevent splitting near the top of the
> table or to near to the end. There is only one allowed range = lo,hi
> and splitting is only allowed if the lo<=splitpoint <=hi. I suppose
> this could be extended to a more general list of allowed split ranges,
> but that's not available right now.
>
> If that's required I would have to do some extra thinking.
>
> On 19 February 2016 at 21:08, Lele Gaifax <[email protected]> wrote:
>> Hi,
>>
>> I tried to find a way to prevent a split between particular rows in a Table:
>> the table in question is "grouped" and at the end of each group there is a
>> summary row, that I would like to avoid being orphaned on the next page on its
>> own.
>>
>> I found a "rowSplitRange" argument on the Table ctor, that seems able to
>> influence the algorithm, but I failed to understand its logic, and it is not
>> even mentioned in the docs.
>>
>> Thank you in advance for any hint!
>>
>> ciao, lele.
>> --
>> nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri
>> real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia.
>> [email protected]  |                 -- Fortunato Depero, 1929.
>>
>> _______________________________________________
>> reportlab-users mailing list
>> [email protected]
>> https://pairlist2.pair.net/mailman/listinfo/reportlab-users
>
>
>
> --
> Robin Becker



-- 
Robin Becker
_______________________________________________
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.