in reply to Horizontal Line By OODoc

The \n------\n is what I manually to do create a horizontal line within OpenOffice Writer.

This auto-formatting is GUI enhancement. Try, instead, adding "fo:border-bottom" to paragraph style. I don't have this module installed, can only guess.

Replies are listed 'Best First'.
Re^2: Horizontal Line By OODoc
by sachss (Sexton) on Mar 02, 2017 at 01:23 UTC

    I tried "fo:border-bottom", and it's not the same.

    The horizontal line was between the lines. This is under a paragraph. Not sure how to apply something to a single line.

    Any other ideas?

      My bad, paragraph border is what the "\n______\n" gets replaced with, while they are hyphens, not underscores, in your question. The "\n------\n" is not auto-replaced in my (too old?) OO.

      So another guess: try style:text-underline-style or similar in linked documentation (probably it's "Underlining" in Character Style in GUI, you are looking for).