https://bugs.documentfoundation.org/show_bug.cgi?id=150695

Julien Nabet <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
     Ever confirmed|0                           |1
             Status|UNCONFIRMED                 |ASSIGNED
                 CC|                            |[email protected],
                   |                            |[email protected]
           Assignee|[email protected] |[email protected]
                   |desktop.org                 |

--- Comment #2 from Julien Nabet <[email protected]> ---
(In reply to Rafael Lima from comment #1)
> Code pointer is:
> https://opengrok.libreoffice.org/xref/core/officecfg/registry/data/org/
> openoffice/Office/UI/GenericCommands.xcu?r=64b5eb22#2708
> 
> Indeed I think it should be "Ignore All", since it is a label value.
> However, I could not find where it appears in the UI.

Taking a look, I see:
2742       <node oor:name=".uno:SpellCheckIgnoreAll" oor:op="replace">
2743         <prop oor:name="Label" oor:type="xs:string">
2744           <value xml:lang="en-US">IgnoreAll</value>

git grep -n SpellCheckIgnoreAll gives:
officecfg/registry/data/org/openoffice/Office/UI/GenericCommands.xcu:2742:     
<node oor:name=".uno:SpellCheckIgnoreAll" oor:op="replace">
svx/sdi/svx.sdi:12494:SfxVoidItem SpellCheckIgnoreAll SID_SPELLCHECK_IGNORE_ALL
sw/source/uibase/lingu/olmenu.cxx:578:       
m_xPopupMenu->SetItemCommand(m_nIgnoreWordId,
".uno:SpellCheckIgnoreAll?Type:string=Grammar");
sw/source/uibase/lingu/olmenu.cxx:580:       
m_xPopupMenu->SetItemCommand(m_nIgnoreWordId,
".uno:SpellCheckIgnoreAll?Type:string=Spelling");

For editeng/source/editeng/editview.cxx
   920 static void LOKSendSpellPopupMenu(const weld::Menu& rMenu, LanguageType
nGuessLangWord,
    921                                   LanguageType nGuessLangPara,
sal_uInt16 nSuggestions)
    922 {   
    923     if (!comphelper::LibreOfficeKit::isActive())
    924         return;

for those in sw/source/uibase/lingu/olmenu.cxx:
    569 void SwSpellPopup::InitItemCommands(const css::uno::Sequence< OUString
>& aSuggestions)
    570 {
    571     if (!comphelper::LibreOfficeKit::isActive())
    572         return;
    573 
    574     // None is added only for LOK, it means there is no need to execute
anything
    575     m_xPopupMenu->SetItemCommand(MN_SHORT_COMMENT, ".uno:None");
    576     m_xPopupMenu->SetItemCommand(m_nSpellDialogId,
".uno:SpellingAndGrammarDialog");
    577     if(m_bGrammarResults)
    578         m_xPopupMenu->SetItemCommand(m_nIgnoreWordId,
".uno:SpellCheckIgnoreAll?Type:string=Grammar");
    579     else
    580         m_xPopupMenu->SetItemCommand(m_nIgnoreWordId,
".uno:SpellCheckIgnoreAll?Type:string=Spelling");

so it seems it only appears with LOKit

Anyway, I've submitted a patch here:
https://gerrit.libreoffice.org/c/core/+/160877

Tamás: put you in cc since I noticed 6564a1ab1e873cbc9e36f7f301d4a3c14d86861e
SpellingPopup: Create separate SID for Ignore / IgnoreAll / suggestion.

-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to