Sr. No. In the Calc Spreadsheet should automatically come in the margin of writer document

I am using Ubuntu 22.04 and LibreOfficer 7.5.5.2. I have one Writer Document and one Calc Spreadsheet. In writer document there are certain texts, same texts are in the calc spreadsheet. I want the Sr. No. In the Calc Spreadsheet should automatically come in the margin of writer document in the same line where the text is present.
Thanking you in anticipation.

Please edit your question (=modify it, don’t add a comment) to explain what the “Sr. No.” is. Also give an example of the desired result. If you can’t describe exactly what you mean, draw it on a sheet of paper and take a photo. Attach it to the question.