OpenOffice.org Forum at OOoForum.orgThe OpenOffice.org Forum
 
 [Home]   [FAQ]   [Search]   [Memberlist]   [Usergroups]   [Register
 [Profile]   [Log in to check your private messages]   [Log in

Paragraph character in Find and Replace?

 
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer
View previous topic :: View next topic  
Author Message
MSTK
Newbie
Newbie


Joined: 30 Dec 2006
Posts: 2

PostPosted: Sat Dec 30, 2006 9:29 pm    Post subject: Paragraph character in Find and Replace? Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
acknak
Moderator
Moderator


Joined: 13 Aug 2004
Posts: 4295
Location: ~ 40°N,75°W

PostPosted: Sat Dec 30, 2006 9:37 pm    Post subject: Reply with quote

Easy but not obvious. In fact it's so not obvious that it get's asked here at least once a week. Wink
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
View user's profile Send private message
MSTK
Newbie
Newbie


Joined: 30 Dec 2006
Posts: 2

PostPosted: Sat Dec 30, 2006 9:46 pm    Post subject: Reply with quote

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
View user's profile Send private message Send e-mail AIM Address Yahoo Messenger MSN Messenger
bryancole
OOo Advocate
OOo Advocate


Joined: 13 Jun 2003
Posts: 305

PostPosted: Sun Dec 31, 2006 8:47 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OOoForum.org Forum Index -> OpenOffice.org Writer All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
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