--convert-to generating pdf which does not honor pagebreaks (running libreOffice in headless mode)

–convert-to is generating pdf which do not honor pagebreaks (running libreOffice in headless mode)
Am i missing any command ?

I am not able to add attachment. However i see that the pdf which is getting generated is not honoring page breaks, I see the content from one page flowing onto other page also sometimes its getting overlapped. Can someone please let know, what parameter im missing for now, i just using
soffice --convert-to pdf .docx

You can use external services to share a source file. Also: does the file open normally in UI mode? I.e., is it an export problem, or import one?