Issue 81849 - Spellcheck works on new doc text, but not after pasting text from another doc
Summary: Spellcheck works on new doc text, but not after pasting text from another doc
Status: CLOSED NOT_AN_OOO_ISSUE
Alias: None
Product: Writer
Classification: Application
Component: editing (show other issues)
Version: OOo 2.3
Hardware: HP (PA-RISC) Windows XP
: P3 Trivial (vote)
Target Milestone: ---
Assignee: stefan.baltzer
QA Contact: issues@sw
URL:
Keywords: needmoreinfo, oooqa
Depends on:
Blocks:
 
Reported: 2007-09-22 17:10 UTC by djk_2007
Modified: 2008-04-09 17:16 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
Illustrates spellcheck issue (67.50 KB, application/vnd.sun.xml.writer)
2007-09-22 17:13 UTC, djk_2007
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description djk_2007 2007-09-22 17:10:55 UTC
I have a resume document, which I needed to update. Spellcheck does not find 
any spelling errors when I intentionally insert some misspellings. I checked 
Tools->Options - Language Settings Languages and Writing Aids are setup.
  If I open a new writer document and enter misspellings, they are flagged. If 
I paste some text into the new document from my resume and then intentionally 
enter misspellings, they are NOT flagged.
  I can send a small sample document.
Comment 1 djk_2007 2007-09-22 17:13:20 UTC
Created attachment 48420 [details]
Illustrates spellcheck issue
Comment 2 Regina Henschel 2007-09-22 17:30:11 UTC
The copied text hasn't got a language. But this setting is a direct setting of
the inserted characters. You must set the language directly or remove the direct
formatting entirely and set the language in the paragraph style.

You can avoid this, if you insert such text as "Unformatted text".

What is the source of the inserted text?
Comment 3 eric.savary 2007-09-25 11:43:43 UTC
Reassigned to SBA
Comment 4 stefan.baltzer 2008-04-09 17:13:56 UTC
SBA:Text with no language set shall not be spell-checked. This works as designed. 

The problem to get "No Language" or "Unknown Language" strings in via clipboard
is indeed a trap. The user sinply must understand that the language is a
character attribute and can easily be set accordingly:
Select all, Format-Character, Tab Font -> Set correct language (here: En_US), OK.

However, for OOo 2.4 we introduced a feature to ease the setting of the language.
The language at the cursor position is always shown in the status bar. And it
can be easily set (for selection, paragraph, entire doc) by clicking there, via
context on a misspelled word and via menu.
Link to specification:
http://specs.openoffice.org/appwide/linguistic/Set_Language_Attribute_for_Text.odt

To see this working, please have a look at OOo 2.4 or younger.
Link to download OOo:
http://download.openoffice.org/index.html

Set issue to "invalid".
Comment 5 stefan.baltzer 2008-04-09 17:16:29 UTC
Closing this issue.