elapouya / python-docx-template

Use a docx as a jinja2 template
GNU Lesser General Public License v2.1
1.91k stars 378 forks source link

Add a table at the end of a page #487

Open juanboterotech opened 1 year ago

juanboterotech commented 1 year ago

Hi.

It is possible to add a table at the end of the last page of the document?, no matters if the last paragraph ends at the beginning of the document and the white lines of the page.

Thanks

Tanishqmalu commented 1 year ago

Set vertical Alignment of the table at last page of your template as bottom. To do So: 1.Open the document. 2.Select the text to move. 3.Click the Layout tab. 4.Click the Page Setup button. 5.Choose the Layout tab. 6.Select the Vertical alignment dropdown and choose Bottom. 7.Click OK.