OSX Mojave 10.14, Writer 6.2.5.2.

Hi everyone, I have a table in writer containing numerous rows and I want to fill each row consecutively with numbers i.e. let’s say the table contains 100 rows, I want the numbers 1-100 listed consecutively, 1 per row, from top to bottom for the entire table.

How do I get Libreoffice to generate these numbers for me?

Thanks.