Printing separate PDFs from a single writter file, which is separated by page breaks

I have a libreoffice writer file with page breaks inside, each page break separates a new document that must be saved to PDF individually.
This writer file extracts information from the base libreoffice, while filling the multiple separate documents with page breaks with data from a single client.

It turns out that currently, to save the PDF files individually, I go to the print option and separate them by page ranges, some of the documents have just one page, others, like the contract, have more than ten pages. I do this manually for each individual file I want to save, it takes time. I click on the print option, I print to PDF, choose the page range, save the document, and everything repeats for each document I need to save from the same writer file, do you understand how bad this is?

Is there any way to automatically print to PDF by separating page breaks in different PDF files from this single libreoffice writer text file?
I mean, is there any way for the writer to identify that there is a page break and separate one document from another, and then save each PDF document individually based on the separation of the page breaks?

I love libreoffice and have been using it since high school, and currently use it in my solo law firm. Knowing the program, there must be some simple solution produced by the community for my problem that doesn’t involve anything that I imagine is necessary, simplifying everything, but I don’t know, just like direct mail and libreoffice base, which after knowing them I started to save money working hours every week.

I respectfully come to ask for help from this amazing community, this is my first post. I thank you for your attention.
From Belém do Pará, Amazon, Brazil.

How was the “synthetic” document built? Is it a master referencing sub-documents? Are all sub-documents saved in a specific directory?
If all your “raw material” is the synthetic document, there is no automatic solution. The job must be done manually.

If I understand your situation correctly, you might want to first export your whole document as a single PDF document. Then, open the PDF document you have saved in LibreOffice Draw. Open the Navigator. Each page will include numerous shapes. Collapse these so only the page numbers appear in the Navigator.

Determine which pages you want to print or export as a separate PDF. Open the appropriate dialog and select the pages you want. Then, either print or save these pages as a separate PDF document.