Add border to header?

I want to add a border just below my page header, to help achieve a tidy, clearly-defined separation between the header and page contents, however there doesn’t seem to be an option to do this; I can find options to add border to the page margins, but not below the header.
Seems like a fairly simple function; I often see a broken border below the header in many of the books I read. Any idea how to do it?

Follow the pictures … ( Win10 + LibO 6.2.5.2 )

Choose the edge position.


ATTENTION: If you would like to give more details to your question, use edit in question or add a comment below. Thank you.

If the answer met your need, please click on the ball Descrição da imagem to the left of the answer, to finish the question.