Line breaks in OpenOffice.org

A really frustrating issue I had when writing my project report, was that of dealing with source code formatting.

I had created a new style for source code similar to that I use on my blog; a box with a border and coloured background. The problem I was having was when pasting source code into the document. Each line had a paragraph break between itself and the next, which meant that there was a spacing between each. To fix this, I had to insert a manual line break between each line. Luckily I found a shortcut to pull this off, which was Shift + Enter.

Does anyone know of an easier way of pasting in text and using line breaks rather than paragraph breaks?

2007-05-21 [, ]
  • Marco

    I’m having the same problem. Text I paste into Writer has paragraph breaks where it should have line breaks. If anyone knows how to change this, please tell.

  • Joder

    Check this one out. I think it could help you with your problem.

    http://www.oooforum.org/forum/viewtopic.phtml?t=7741

  • Rudy Vissers

    test

blog comments powered by Disqus