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

In Writer, how do I search and replace "

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


Joined: 17 Mar 2012
Posts: 1

PostPosted: Tue Mar 20, 2012 10:02 pm    Post subject: In Writer, how do I search and replace " Reply with quote

In MS Word, you can search for and replace special non-printing characters that represent a format cue rather than text. There's a list of these, most of which start with a "^". For example, to search for all your paragraph marks at the end of each paragraph in your document, you search for ^P.

I had a nice little macro set up to go thru docs that had been imported from, e.g. email, where each line ending was a hard paragraph, and many of them were in the wrong place. The macro searched and replaced ^P with a space, unless it was a double ^P (the real intentional end of a paragraph) in which case it reduced it to a single one.

I need to be able to do this in OpenOffice.org writer, so I don't go mad from having to manually remove the hard return from the end of each line in badly formatted text.

Help, please?
Deleted image link - floris v, moderator


Moderation probe1: moved to WRITER; corrected typo in subject
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Tue Mar 20, 2012 11:00 pm    Post subject: Reply with quote

Use the AltSearch extension. First replace two paragraph ends with one followed by a special character, then replace single paragraph end not followed by that character with a space.

And please quit adding those image links, I consider them as spam and will remove them anyway. I would have deleted this entire post but it's a serious question.
_________________
LibreOffice 3.6.3; OOo 3.4.1 on Windows Vista
Join the Official community forum - in several languages, including Nederlandstalig forum
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