Large table creation - how to detect page break within tables ?
See original GitHub issueHello!
I’m currently creating a huge table (up to 100,000 rows) in a Word document. Therefore, the performance is actually terrible. I used the caching method in issue #174 . However, it is still slow - it is pretty fast at first, however when the table gets bigger and bigger, it is still really slow in time (I have merged cells in the table too).
So I wanted to try the plan B mentioned in that issue. Bad news is, I cannot find out a way to detect page breaks within a single table.
My goal is that once I could detect the page breaks, I will split the table into small pieces - one table per page. And I’m hoping that will solve the performance problem.
The reason I can’t just split the tables in to random sized tables is that I need to add table headers for each table. Most importantly, I need to insert some certain values in the tables.
Can anyone can tell me how to detect page breaks within tables? Thanks in advance!
PS: If there is another method that is better than splitting tables, PLEASE tell me! Many thanks!!
Issue Analytics
- State:
- Created 2 years ago
- Comments:6

Top Related StackOverflow Question
Do you have solutions? I also need detect page break of table
I would be interested too, but assume that it’s not possible (yet). Is there a way to access the rendered file?