I am trying to create an OpenXml word document that looks as follows:
2.1.1 This is a paragraph
2.1.2 This is also a paragraph
2.1.2.1 This paragraph relates to 2.1.2
The initial plan is to have the number in its own paragraph, and have the text in its own paragraph as well but the problem is that there a line breaks the interfere with the structure of the list items.
I have tried using OpenXml numbering part but the problem there is that I couldn't figure out how to write custom numbers for the numbering.
I have tried to use Justification and Indentation classes but I can't seem to get the desired result, due to the line breaks that come with each paragraph causing the paragraphs to print one below the other.
Is there an alternative way to achieve this result or a way to remove the line breaks for a paragraph?