Formatting document

LIbreOffice Writer: I have existing document (.docx or .odt) which has numbering, like
3.
3.1.
3.1.1
I want to add or remove some numbered paragraphs, reformat and apply style to the entire document. How do I format the document while keeping the existing numbering style?

Please reopen the question (to group everything at the same location) to better explain your case. What are the “numbered paragraphs”? Are they headings, part of the outline? Are they members of a multi-level numbered list?

What do you mean by “reformat and apply style”? Do you want to remove all direct formatting and follow a strict styling method?

Be aware that such an overhaul is possible only on .odt documents. Due to shortcomings in DOCX format, your edits will revert to direct formatting on save. .docx documents progressively degrade due to cumulative effects of conversion back and to alien format.

Mention OS name, exact LO version. Give us an idea of your skill with styles. Do you know of all categories (paragraph, style, page, list and frame)?