How to determine on what page(need a page number) will be each flowable after rendering to pdf. I was thinking to add a custom id attribute to flowable, so i will know what flowable is it. But how can i determine on what page it will be placed?
What is the best way to achieve this?
How to determine on what page(need a page number) will be each flowable after
Share
I ended with following solution. Addeda an custom id flo_id to every flowable. And override method handle_flowable in BaseDocTemplate, where was checking and saving id,
And after building a doc it will be available at document instance in blocks_to_pages variable.