Issue 85924

Summary: Spellchecking: Option "check special regions" does not have an effect
Product: Writer Reporter: christoph
Component: codeAssignee: AOO issues mailing list <issues>
Status: CONFIRMED --- QA Contact:
Severity: Trivial    
Priority: P3 CC: issues, max.odendahl, uwefis
Version: 680m243   
Target Milestone: ---   
Hardware: All   
OS: All   
Issue Type: DEFECT Latest Confirmation in: ---
Developer Difficulty: ---

Description christoph 2008-02-06 22:52:43 UTC
In Writer, the user can chose where he wants to check the spelling. Besides the
normal text, it is possible to extend the spellchecking to "special regions"
(special regions: refer to additional information below). It seems, that
changing that option does not have any effect.

Steps to reproduce:
1. Create a new document and enter some text including some words with spelling
mistakes.
2. Insert a header and add some (wrong) text here, too.
3. Activate "check spelling as you type". The words with spelling mistakes
should be underlined in red.
4. Activate "check special regions" in "Tools - Options - Language Settings -
Writing Settings: Options".
5. Run a normal spellcheck with "Tools - Spellcheck...". Writer will check the
content of the whole document, even the text in the header.
6. Deactivate "check special regions" in "Tools - Options - Language Settings -
Writing Settings: Options".
7. Run a normal spellcheck with "Tools - Spellcheck...".

Expected result: Writer will check the words in the main text area, the header
(the special region) will not be considered.

Current result: Writer behaves like in step 5 and checks the content of the
whole document.


ADDITIONAL INFORMATION
If the option "check special regions" belongs to "check spelling as you type"
too, then the red markups should disappear in Step 6. But even in this case
nothing changes.

OOo help on "check special regions": Specifies that special regions, such as
text in headers and footers, document tables, and text frames, are checked
during spellcheck.

User mod briefly looked at the code and told me that the algorithm has only
influence on the "check spelling as you type" in draw objects (are draw objects
related to tables and headers?). Additionally, the result inside the code is
always "false" independent from the checkbox state. So there is no effect at all.

I did not check the behavior in other components but Writer.
Comment 1 Mathias_Bauer 2008-03-06 11:08:51 UTC
Frank, this looks like something for you
Comment 2 frank.meies 2008-03-06 11:19:00 UTC
Did this ever work correctly?
Comment 3 Uwe Fischer 2008-03-06 11:49:09 UTC
No. And do not rely on the Help text ;-)
Comment 4 max.odendahl 2008-07-15 14:38:27 UTC
confirming, would be nice if this works for 3.1 to improve usability of spell
checking for notes