Another option is to use a line and text box grouped together. This will give you the solid line you want and enable you to set it centrally to the height of your text. As you can set the grouped shape to be inline with text your headings will move as you add text above.
|