Apache OpenOffice (AOO) Bugzilla – Full Text Issue Listing |
Summary: | Can not turn off some "AutoFormat while typing" | ||
---|---|---|---|
Product: | Writer | Reporter: | lohmaier |
Component: | ui | Assignee: | michael.ruess |
Status: | CLOSED FIXED | QA Contact: | issues@sw <issues> |
Severity: | Trivial | ||
Priority: | P3 | CC: | issues |
Version: | OOo 1.0.2 | Keywords: | oooqa |
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Latest Confirmation in: | --- |
Developer Difficulty: | --- | ||
Issue Depends on: | |||
Issue Blocks: | 13423, 14813 |
Description
lohmaier
2003-02-28 22:25:25 UTC
Confirmed with the Dutch build of 1.0.2 on Windows. Fortunately, it is still possible to disable all autoformat options one by one, through the menu Tools>Autocorrection/Autoformat, Options tab. since all other qa members seem to be on vacation ;-) , I confirm my own issue. This still occurs with 1.0.3.1 Reassigned to SBA works fine in 644m9 closed reopen issue. Still occurs with OOo 1.1rc (english version) -> target milestone now: OOo 1.1 SBA->Christian: Even if YOU found this yourself and see it it as a big annoyance, this is not Prio2. (or did I miss the crash? ;-) Prio changed to P3. Reassigned to Oliver. I took: # Basic functionality is not working correctly as criterion (see original description), but P3 is fine... (Priority gidelines were new at that time...) SBA->OS: It is not broken entirely ;-) These ones don't get switched off after unchecking "Format-Autoformat-While typing": - Use replacement table - Correct Two INitiaI CApitals - Capitalize first letter of every sentence - Automatic *bold* and _underline_ - URL Recognition - Replace 1st... with 1^st... - Replace 1/2 with ½ - Replace dashes - Ignore double spaces These behave like expected (they do get switched off): - Delete spaces and dashes at beginnig and end of paragraph - Delete spaces and dashes at end and start of line - Apply numbering - Apply border - Create table - Apply styles It is not broken at all. The problem is that since AutoFormat and AutoCorrect have been merged into one dialog page they cannot be distinguished anymore. OS->CJ: Any (good) idea? CJ->OS: Yes, switch them off when Autoformat/While Typing has been disabled. :-) Like some kind of manual override. In my opinion we do not need to have some dialog changes Necessary changes: sw/source/ui/docvw/edtwin.cxx: diff -r1.70 edtwin.cxx 1941c1941,1943 < if( !aKeyEvent.GetRepeat() && pACorr && --- > > if( !aKeyEvent.GetRepeat() && pACorr && > pACfg->IsAutoFmtByInput() && 1952c1954,1955 < else if( !aKeyEvent.GetRepeat() && pACorr && --- > else if( !aKeyEvent.GetRepeat() && pACorr && > pACfg->IsAutoFmtByInput() && 1984c1987 < if( pACorr && --- > if( pACorr && pACfg->IsAutoFmtByInput() && 4210c4213 < if(pACorr && --- > if(pACorr && pACfg->IsAutoFmtByInput() && sw/source/ui/shells/textsh.cxx: diff -r1.27 textsh.cxx 364,365c364,367 < SvxAutoCorrect* pACorr = OFF_APP()->GetAutoCorrConfig()->GetAuto Correct(); < if( pACorr && pACorr->IsAutoCorrFlag( CptlSttSntnc | CptlSttWrd | --- > OfaAutoCorrCfg* pACfg = OFF_APP()->GetAutoCorrConfig(); > SvxAutoCorrect* pACorr = pACfg->GetAutoCorrect(); > if( pACorr && pACfg->IsAutoFmtByInput() && > pACorr->IsAutoCorrFlag( CptlSttSntnc | CptlSttWrd | Fixed in cws os16 sw/source/ui/docvw/edtwin.cxx sw/source/ui/shells/textsh.cxx OS->MRU: cws os16 can be found on so-cwsserv02, wntmsci8 and unxsols4.pro Checked fix with internal CWS os16. Verified. Fix will be included in OO 1.1.1. *** Issue 21197 has been marked as a duplicate of this issue. *** SBA: OK in internal build srx645_m27-1_01.8737 (OOo 1.1.1 candidate). Closed. |