ListFlowable's split function doesn't do anything?

6 views
Skip to first unread message

Manoj Patwardhan

unread,
Aug 26, 2025, 11:43:55 AMAug 26
to reportlab-users
It just returns self._content. However, the LIIndenter class seems to be splitting well in its split function.

Can the ListFlowable's split function be modified to call its first LIIndenter child to split? In the naive example change below:

        if isinstance(self._content, list) and len(self._content) > 0:
            first = self._content[0]
            split = first.split(aW, aH)
            return split

I tried this and it seemed to do the splitting fine. I am sure there are other caveats but just trying to figure out how to enable splitting in ListFlowable so that cells can split.

Any thoughts?

Thank you!
Reply all
Reply to author
Forward
0 new messages