This clearly shows you have a bad mix of list numbering with heading styling.
You are probably following rules for your previous application without questioning their validity against Writer which is based on different principles.
Though they will not show exactly the same, settings in menu View
will already display a lot of useful information. The “codes” are hinted by the Style Inspector in the sidepane. But this is complex because Writer controls many many attributes. This is why it is easier to use styles (a single name for a large set of attributes) instead of direct formatting.
I recommend you read the Writer Guide for an introduction on Writer usage.