Find and Replace the Little "o"s

Discuss the word processor

Find and Replace the Little "o"s

Postby emeth » Thu Dec 13, 2018 2:51 am

Microsoft Word 2010 has a neat fix for the little "o"s that are in a downloaded HTML page, (like Wikipedia).

The fix is <Home> <Replace> Dialog Box <Find What> "^s" <Replace With> "^p", (without the ")

This eliminates all of those "o"s

Does OO have this capability?

It would sure help greatly.
Last edited by robleyd on Thu Dec 13, 2018 4:51 am, edited 1 time in total.
Reason: Remove Known Issues icon [robleyd, Moderator]
OpenOffice 4.1.6 on Windows 10
emeth
 
Posts: 4
Joined: Thu Dec 13, 2018 2:39 am

Re: Find and Replace the Little "o"s

Postby robleyd » Thu Dec 13, 2018 4:55 am

I'm not sure what the 'little o' you refer to is, but - have you tried copying it into the F+R dialogue?

Note that OpenOffice does support regular expressions in the F+R - open the dialogue, click on More Options and select Regular expressions.
Cheers
David
Apache OpenOffice 4.1.6 - Slackware 14.2 - 64 bit
LibreOffice 6.0.7.3 - Slackware 14.2 - 64 bit
Apache OpenOffice 4.1.4 - Windows 7 Virtual machine
User avatar
robleyd
Moderator
 
Posts: 2373
Joined: Mon Aug 19, 2013 3:47 am
Location: Murbko, Australia

Re: Find and Replace the Little "o"s

Postby Zizi64 » Thu Dec 13, 2018 7:44 am

Microsoft Word 2010 has a neat fix for the little "o"s that are in a downloaded HTML page, (like Wikipedia).

Please upload an ODF type sample file here containing that "little o" thing. ( Is that a character, or a picture? )
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.4 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.1.4 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7606
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Find and Replace the Little "o"s

Postby emeth » Thu Dec 13, 2018 5:33 pm

A .docx file is attached but may need to be looked at in MS Word.
Attachments
Time.docx
(25.5 KiB) Downloaded 12 times
OpenOffice 4.1.6 on Windows 10
emeth
 
Posts: 4
Joined: Thu Dec 13, 2018 2:39 am

Re: Find and Replace the Little "o"s

Postby Zizi64 » Thu Dec 13, 2018 6:09 pm

Never use the foreign, non-standardized or half-standardized fileformats.

You can open it with AOO; but you can not save the changes into .doxc format.

Or you can try the LibreOffice. It has a littlebit higher compatibility with the foreign file formats.
Always store your important documents into the International Standard ODF file formats. You can export a copy into various file formats after you finished the editing.
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.4 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.1.4 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7606
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Find and Replace the Little "o"s

Postby Zizi64 » Thu Dec 13, 2018 6:17 pm

I can see little "o" characters in the text body only.

Little_o.png


Yes, there are non braking spaces, with a little dot middle of the gray "character". The dot will be appeared when you switch on the visibility of the nonprinting characters.

Do you want to replace those space characters, or the real "o" characters from the text??
Tibor Kovacs, Hungary; LO4.4.7, LO6.1.4 on Win7-10 x64Prof.
PortableApps, winPenPack: LO3.3.0-6.1.4 and AOO4.1.5
Please, edit the initial post in the topic: add the word [Solved] at the beginning of the subject line - if your problem has been solved.
User avatar
Zizi64
Volunteer
 
Posts: 7606
Joined: Wed May 26, 2010 7:55 am
Location: Budapest, Hungary

Re: Find and Replace the Little "o"s

Postby emeth » Thu Dec 13, 2018 6:49 pm

Attached is a .jpg that shows grey bars in OO which is the equivalent of the "o"s in MS Word.
Attachments
Time OO.JPG
OpenOffice 4.1.6 on Windows 10
emeth
 
Posts: 4
Joined: Thu Dec 13, 2018 2:39 am

Re: Find and Replace the Little "o"s

Postby RoryOF » Thu Dec 13, 2018 7:16 pm

Paste using /Edit /Paste Special and select "unformatted text" from the popup, but you will lose formatting. Otherwise, take your existing file, select one gray box, Copy, Paste into Find box of /Edit /Find and Replace. In Replace box enter a single space, then press Replace All button. If that doesn't work you may need to drop More Options on the F&R window and deselect "Regular expressions" and try again.
Apache OpenOffice 4.1.6 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 27970
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Find and Replace the Little "o"s

Postby Lupp » Thu Dec 13, 2018 7:18 pm

If you want to get rid of non-breaking spaces and to replace them with ordinary spaces use Find & Replace. To get a non-breaking space into the 'Search for:' copy/paste one from the text. Enter an ordinary space into 'Replace with:' and click 'Replace All'. Then save as odt file.

This works in AOO and in LibO as well. With recent LibO you can also save to docx. NOT RECOMMENDED!

I cannot upload the result in docx LibO generated from the sample file because it got the ridiculous size of nearly 6 MiB though looking fine.
On Windows 10: LibreOffice 6.1 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Let's create a powerful UFO: United Free Office!
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2273
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany

Re: Find and Replace the Little "o"s

Postby RoryOF » Thu Dec 13, 2018 7:29 pm

Incidentally, these gray spaces do not print. If you find them obtrusive onscreen, toggle /View /File shadings (and possibly also /View /Non printing characters).
Apache OpenOffice 4.1.6 on Xubuntu 18.04 (mostly 64 bit version) and infrequently on Win2K/XP
User avatar
RoryOF
Moderator
 
Posts: 27970
Joined: Sat Jan 31, 2009 9:30 pm
Location: Ireland

Re: Find and Replace the Little "o"s

Postby emeth » Thu Dec 13, 2018 7:47 pm

Lupp wrote:If you want to get rid of non-breaking spaces and to replace them with ordinary spaces use Find & Replace. To get a non-breaking space into the 'Search for:' copy/paste one from the text. Enter an ordinary space into 'Replace with:' and click 'Replace All'. Then save as odt file.


Yes, I see that this will work.

Thank you
OpenOffice 4.1.6 on Windows 10
emeth
 
Posts: 4
Joined: Thu Dec 13, 2018 2:39 am

Re: Find and Replace the Little "o"s

Postby Lupp » Thu Dec 13, 2018 8:06 pm

A little amount of simplfication (for the user, not for the program) is to enter \s into the 'Search for:' and to enable RegEx. It will find any "whitespace" character whether breaking or not, whether wide or normal or small, and also tabulator steps an hard linebreaks. This may be similar to the way to do it in MS Word that originally was described in the question where the caret probably signals a control character as it was in DOS times. NOT RECOMMENDED!
On Windows 10: LibreOffice 6.1 and older versions, PortableOpenOffice 4.1.5 and older, StarOffice 5.2
---
Let's create a powerful UFO: United Free Office!
Lupp from München
User avatar
Lupp
Volunteer
 
Posts: 2273
Joined: Sat May 31, 2014 7:05 pm
Location: München, Germany


Return to Writer

Who is online

Users browsing this forum: No registered users and 12 guests