Writer: how to get target numbering style?

LibreOffice writer: I’m editing .docx document, which have chapters numbering style, like this:

Document has paragraphs already numbered, default paragraphs style.
I want get chapters numbering formatted like this:

1. Text text

1.1. text text text text 
text text text text text text text
text text text text text
1.2. text text text text text text
1.2.1. text text text text;
1.2.2. text text text text
1.2.3. text text text text
text text text text
1.3. text text text text
text text text text

How to get this?

LibreOffice uses a workaround to get inline headings so best not use Heading Numbering, especially as your text looks the same style throughout.

Use a paragraph style with a defined List style.
In the sample below, I have set the text to paragraph style List 1.

  • In Outline & List
    • I applied list style Numbering 123
    • I set the indent to 0
  • In Numbering 123 in the Customise tab I set it to show appropriate sub levels
    ListStyleSubLevels

NumberingStyle121082.odt (29.8 KB)

Use Tab or Shift+Tab to change levels

Your request is not very clear. What you show is the usual chapter numbering. @EarnestAl hints at inline headings but your sample does not suggests such a layout. So, please provide more details.

More over, you’re editing a DOCX document. List and chapter numbering is an area where Word and Writer differ much. Be prepared then for discrepancies and instability.

After rereading the thread, I should mention that LibreOffice 25.2 adds support for inline headings in docx, see tdf#131728 for the full details. It is a workaround but should work for round trip.