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

Stop automatic spellchecking of domain names?

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


Joined: 02 Oct 2003
Posts: 12

PostPosted: Wed Apr 28, 2010 12:51 am    Post subject: Stop automatic spellchecking of domain names? Reply with quote

I have lists of domain names that are made almost illegible by the spellcheck red squiggly underline. I want to keep automatic spellchecking but not if it means I cannot read my domain name lists.

In Microsoft Word's spellcheck options you can choose "Ignore Internet and File addresses" which is very useful. I could not find anything similar in OpenOffice.

Is there a way to stop automatic spellchecking of domain names?
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Wed Apr 28, 2010 5:51 am    Post subject: Reply with quote

You can assign a character style to domain names, like "domain name", and set the language for that style to "none". Interestingly, if I allow OOo to auto-convert typed urls into hyperlinks, it will not spell check it any more.
_________________
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
startling
General User
General User


Joined: 02 Oct 2003
Posts: 12

PostPosted: Thu Apr 29, 2010 5:09 am    Post subject: Reply with quote

Thanks for your reply, floris_v.

Do you mean I'd have to manually apply a style to each of the domain names? That would be too time consuming, I think.

Is it possible to use wildcards in the dictionaries? For example, could you add *.co.uk to the dictionary?

I cannot stand having domain names converted to links in any software - it's just too annoying when you try to select text but sometimes the software loads your browser and the url.
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Thu Apr 29, 2010 5:24 am    Post subject: Reply with quote

Quote:
Do you mean I'd have to manually apply a style to each of the domain names?


I'm afraid so. I'm disappointed that it either isn't possible to let OOo ignore hyperlinks, or that it is possible, but that the developers managed to hide that rather well.

Quote:
For example, could you add *.co.uk to the dictionary?


It would only find the literal *.co in that case, so it wouldn't be much help.

Quote:
I cannot stand having domain names converted to links in any software - it's just too annoying when you try to select text but sometimes the software loads your browser and the url.


Agreed; fortunately, you have to press the Ctrl button now as well to activate the link.
_________________
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
startling
General User
General User


Joined: 02 Oct 2003
Posts: 12

PostPosted: Thu Apr 29, 2010 8:29 am    Post subject: Reply with quote

Thanks for your help floris_v, that's useful information.
I suppose I'll have to turn off spell checking completely, then (or use MS Word - something I do not want to do!).
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Thu Apr 29, 2010 8:46 am    Post subject: Reply with quote

There is a way to select all text that can be recognized as hyperlinks, using regular expressions.

Search for: (((news|http|ftp|https|file):\/\/|www\.)[a-zA-Z0-9_]+((\.[a-zA-Z0-9_]+)+)(([a-zA-Z0-9_\-\.,@?^=%&:/~\+#]*[a-zA-Z0-9_\-\@?^=%&/~\+#])?))

EDIT: Then click Find all; close the Find dialog box, apply the character style for the selected text.
_________________
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
startling
General User
General User


Joined: 02 Oct 2003
Posts: 12

PostPosted: Fri Apr 30, 2010 2:04 am    Post subject: Reply with quote

Thanks! I'll try that
Back to top
View user's profile Send private message
floris_v
Moderator
Moderator


Joined: 12 Jul 2007
Posts: 4791
Location: Netherlands

PostPosted: Fri Apr 30, 2010 5:09 am    Post subject: Reply with quote

Filed an issue about it.
Recognized as a bug. Laughing Please vote.
_________________
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