how to design tabluar template which shows little lines per page?
For example, I have a table data which has 97 rows. Then the data should be filled to 4 pages with 30 rows per page; and no, 30 rows do not take all page space so please do not let WORD auto-seperate the table into different pages.
how can we design DOCX template for this case?
To be frankly, the data should be inserted into a EXCEL file, but I did not find any template that acts like python-docx-template. So my current thought is to make the table in WORD, then copy the table to EXCEL by hand.
Thanks
+----------------------------+
| +-----------------+ |
| | a 30-row table | |
| +-----------------+ |
| |
| some text |
| |
| |
| footnote page 1 |
+----------------------------+
...
+----------------------------+
| +-----------------+ |
| | a 7-row table | |
| +-----------------+ |
| |
| some text |
| |
| |
| footnote page 4 |
+----------------------------+
In python code, you could pre-cut your table into pages of 30 rows each. Then in the docx template, you could do 2 loops : on e loop for pages and inside one loop for the 30 rows or remaining ones. For the page loop, the 'for' tag is on one page, and the 'endfor' tag in on next page to be sure to have a page break every 30 rows