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

How to remove line feeds?

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


Joined: 30 Nov 2006
Posts: 3

PostPosted: Thu Nov 30, 2006 10:13 am    Post subject: How to remove line feeds? Reply with quote

Hi everyone!

Heads up, I'm new to Writer. Is there a way in Writer to remove all line feeds in a document?

Thanks!
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Thu Nov 30, 2006 10:34 am    Post subject: Reply with quote

Find & Replace - search for \n and replace with space. To replace with paragraph breaks also use \n in the Replace box. Both require that you check the Regular Expressions box.

While in Find & Replace click Help then find and follow the link to List of Regular Expressions to learn more.
Back to top
View user's profile Send private message
Fatbob
Newbie
Newbie


Joined: 30 Nov 2006
Posts: 3

PostPosted: Thu Nov 30, 2006 10:49 am    Post subject: Reply with quote

Thanks for the reply.

I tried what you suggested, but it did not work for me. I entered "\n" (without the quotes) in the Search for field, and " " (again without the quotes), in the Replace with field. In then check the Regular expressions check box, and I get a message saying "Search key not found".

Any other suggestions?

Here is a sample of my document...
Code:

The Guard Armor is comprised of several parts: Legs, Arms, Torso,
and Head.  Start by attacking the Legs and the Arms.  After you have
done a certain amount of damage, the parts will scatter and attack
individually.  They will reform after several minutes.  The Arms and
Legs yield HP orbs when defeated.  Use these to stay healthy.  Of
the orbs don't restore an adequate amount of energy, then use
POTIONS, but you should try to keep them for later.  Once the Arms
and Legs are out of the way, focus on the Torso.  Watch out for the
Boss's spin attack.  Don't worry about Donald and Goofy.  They will
heal themselves automatically.
Back to top
View user's profile Send private message
JohnV
Administrator
Administrator


Joined: 07 Mar 2003
Posts: 9183
Location: Lexinton, Kentucky, USA

PostPosted: Thu Nov 30, 2006 11:39 am    Post subject: Reply with quote

Perhaps you have paragraph breaks (check with View > Nonprinting Characters or Ctrl+F10 to toggle) which are found with $ as your regular expression.
Back to top
View user's profile Send private message
Fatbob
Newbie
Newbie


Joined: 30 Nov 2006
Posts: 3

PostPosted: Thu Nov 30, 2006 12:25 pm    Post subject: Reply with quote

Thanks a lot John! Very Happy

The $ did the trick.
Back to top
View user's profile Send private message
AlanDavidson
OOo Advocate
OOo Advocate


Joined: 09 Mar 2006
Posts: 252

PostPosted: Thu Nov 30, 2006 12:36 pm    Post subject: Reply with quote

1) What version of OOo are you using?

2) What happens if the Torso and Head are attacked first, using an earlier version of OOo?

3) What operating system do you use? Does the OS affect the number of HP orbs that are yielded when defeated?

4) Have you tried IBM orbs rather than HP?

[Edited]

It looks as if the random, scatter-gun approach has already succeeded, rather than the reasoned, analytical approach.

Can't win them all. Very Happy
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