| View previous topic :: View next topic |
| Author |
Message |
MSTK Newbie

Joined: 30 Dec 2006 Posts: 2
|
Posted: Sat Dec 30, 2006 9:29 pm Post subject: Paragraph character in Find and Replace? |
|
|
Excuse me for being ignorant if the solution is easy.
I want to turn a large file full of this --
| Quote: | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent mauris massa, pretium vel, suscipit sed, sodales non, lacus. Duis mi velit, ultrices ornare, porta in, condimentum in, sapien.
Morbi iaculis. Sed ultricies augue ac lectus. Cras mattis sagittis pede. Fusce sit amet tortor. Aenean nec libero. Sed feugiat faucibus urna. Nunc pede augue, ultricies et, mattis nec, vulputate congue, sem.
Quisque nulla. |
Into this --
| Quote: | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Praesent mauris massa, pretium vel, suscipit sed, sodales non, lacus. Duis mi velit, ultrices ornare, porta in, condimentum in, sapien.
Morbi iaculis. Sed ultricies augue ac lectus. Cras mattis sagittis pede. Fusce sit amet tortor. Aenean nec libero. Sed feugiat faucibus urna. Nunc pede augue, ultricies et, mattis nec, vulputate congue, sem.
Quisque nulla. |
By adding a literal double-space between the paragraphs. In Microsoft Word it was a Find-and-Replace: Find "^p" and Replace w/ "^p^p".
However since switching, I can't seem to find the equivalent wild card in OOo. I'm using Linux, so simply opening Word to do it and closing out is not a viable option.
If there is no equivalent wild card, then is there another way to achieve the desired affect?
Thanks in advance for the help. _________________ --- |
|
| Back to top |
|
 |
acknak Moderator


Joined: 13 Aug 2004 Posts: 4295 Location: ~ 40°N,75°W
|
Posted: Sat Dec 30, 2006 9:37 pm Post subject: |
|
|
Easy but not obvious. In fact it's so not obvious that it get's asked here at least once a week.
Here's the last time it was answered: inserting extra paragraph etc with find/replace.
If that isn't clear or you have further questions, please ask--no problem! |
|
| Back to top |
|
 |
MSTK Newbie

Joined: 30 Dec 2006 Posts: 2
|
Posted: Sat Dec 30, 2006 9:46 pm Post subject: |
|
|
Heh, I feel a bit dumb now. I looked over the documentation and over the list of wild cards and couldn't find something that might work. I guess I overlooked the $ in conjunction with \n\n.
I was surprised how easy this was to do when I tried copying & pasting it over to a basic plaintext editor...but then I lost all of my formatting. _________________ --- |
|
| Back to top |
|
 |
bryancole OOo Advocate

Joined: 13 Jun 2003 Posts: 305
|
Posted: Sun Dec 31, 2006 8:47 am Post subject: |
|
|
Or, try applying the "Text body" style to your text. This style has the paragraph spacing pre-set to a sensible value. This way, there's no need to insert "empty" paragraphs between all your existings ones.
Formtting your paragraphs with Styles allows much finer control over things. There is no reason to restrict the spacing between paragraphs to be single lines. Paragraph spacing is a property of the paragraph style. |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|