Make the table of contents fill the whole page

I basically want to adjust the line spacing within a table of contents to make it fill the whole page.
Is there any way to do this automatically?

TOC paragraphs are controlled by Contents x (x = 1 to 10) paragraph styles. Play with Indent & Spacing in those styles.

But if the game is to automatically justify vertically the TOC whatever its contents (or length, number of entries), this will be tedious because you’ll have to adjust spacing when you add/remove an entry. Moreover, the end result will be ugly, but YMMV.

If this answer helped you, please accept it by clicking the check mark :heavy_check_mark: to the left and, karma permitting, upvote it. If this resolves your problem, close the question, that will help other people with the same question.