|
LibreOffice Module cui (master) 1
|
#include <memory>#include "SpellAttrib.hxx"#include <sfx2/bindings.hxx>#include <sfx2/sfxsids.hrc>#include <sfx2/viewfrm.hxx>#include <svl/grabbagitem.hxx>#include <svl/undo.hxx>#include <tools/debug.hxx>#include <unotools/lingucfg.hxx>#include <editeng/colritem.hxx>#include <editeng/eeitem.hxx>#include <editeng/langitem.hxx>#include <editeng/splwrap.hxx>#include <editeng/unolingu.hxx>#include <editeng/wghtitem.hxx>#include <linguistic/misc.hxx>#include <com/sun/star/lang/XServiceInfo.hpp>#include <com/sun/star/frame/XStorable.hpp>#include <com/sun/star/linguistic2/XDictionary.hpp>#include <com/sun/star/linguistic2/XSpellAlternatives.hpp>#include <com/sun/star/linguistic2/XSearchableDictionaryList.hpp>#include <com/sun/star/linguistic2/XSpellChecker1.hpp>#include <sfx2/app.hxx>#include <rtl/ustrbuf.hxx>#include <vcl/specialchars.hxx>#include <vcl/event.hxx>#include <vcl/svapp.hxx>#include <vcl/texteng.hxx>#include <vcl/weld.hxx>#include <svx/SpellDialogChildWindow.hxx>#include <SpellDialog.hxx>#include <optlingu.hxx>#include <treeopt.hxx>#include <svtools/colorcfg.hxx>#include <svtools/langtab.hxx>#include <sal/log.hxx>#include <i18nlangtag/languagetag.hxx>#include <comphelper/lok.hxx>Go to the source code of this file.
Classes | |
| struct | SpellDialog_Impl |
| class | svx::SpellUndoAction_Impl |
| class | UndoChangeGroupGuard |
Namespaces | |
| namespace | svx |
Macros | |
| #define | SPELLUNDO_START 200 |
| #define | SPELLUNDO_CHANGE_LANGUAGE (SPELLUNDO_START + 1) |
| #define | SPELLUNDO_CHANGE_TEXTENGINE (SPELLUNDO_START + 2) |
| #define | SPELLUNDO_CHANGE_NEXTERROR (SPELLUNDO_START + 3) |
| #define | SPELLUNDO_CHANGE_ADD_TO_DICTIONARY (SPELLUNDO_START + 4) |
| #define | SPELLUNDO_CHANGE_GROUP (SPELLUNDO_START + 5) |
| #define | SPELLUNDO_MOVE_ERROREND (SPELLUNDO_START + 6) |
| #define | SPELLUNDO_UNDO_EDIT_MODE (SPELLUNDO_START + 7) |
| #define | SPELLUNDO_ADD_IGNORE_RULE (SPELLUNDO_START + 8) |
| #define | INVALID 0 |
| #define | LEFT_NO 1 |
| #define | INSIDE_NO 2 |
| #define | RIGHT_NO 3 |
| #define | FULL 4 |
| #define | INSIDE_YES 5 |
| #define | BRACE 6 |
| #define | OUTSIDE_NO 7 |
| #define | OUTSIDE_YES 8 |
| #define | ACTION_UNDOEDIT 0 |
| #define | ACTION_CONTINUE 1 |
| #define | ACTION_SELECTFIELD 2 |
| #define | ACTION_EXPAND 3 |
Typedefs | |
| typedef std::vector< LanguagePosition_Impl > | LanguagePositions_Impl |
Functions | |
| IMPL_LINK_NOARG (SpellDialog, InitHdl, void *, void) | |
| IMPL_LINK (SpellDialog, ExtClickHdl, weld::Button &, rBtn, void) | |
| IMPL_LINK_NOARG (SpellDialog, CheckGrammarHdl, weld::Toggleable &, void) | |
| IMPL_LINK_NOARG (SpellDialog, DoubleClickChangeHdl, weld::TreeView &, bool) | |
| IMPL_LINK_NOARG (SpellDialog, ChangeHdl, weld::Button &, void) | |
| IMPL_LINK_NOARG (SpellDialog, ChangeAllHdl, weld::Button &, void) | |
| IMPL_LINK (SpellDialog, IgnoreAllHdl, weld::Button &, rButton, void) | |
| IMPL_LINK_NOARG (SpellDialog, UndoHdl, weld::Button &, void) | |
| IMPL_LINK (SpellDialog, DialogUndoHdl, SpellUndoAction_Impl &, rAction, void) | |
| IMPL_LINK_NOARG (SpellDialog, IgnoreHdl, weld::Button &, void) | |
| IMPL_LINK_NOARG (SpellDialog, LanguageSelectHdl, weld::ComboBox &, void) | |
| IMPL_LINK_NOARG (SpellDialog, AddToDictClickHdl, weld::Button &, void) | |
| IMPL_LINK (SpellDialog, AddToDictSelectHdl, const OUString &, rIdent, void) | |
| IMPL_LINK_NOARG (SpellDialog, ModifyHdl, LinkParamNone *, void) | |
| IMPL_LINK_NOARG (SpellDialog, CancelHdl, weld::Button &, void) | |
| IMPL_LINK (SentenceEditWindow_Impl, ToolbarHdl, const OUString &, rCurItemId, void) | |
| static void | lcl_InsertBreakPosition_Impl (LanguagePositions_Impl &rBreakPositions, sal_Int32 nInsert, LanguageType eLanguage) |
| #define ACTION_CONTINUE 1 |
Definition at line 1257 of file SpellDialog.cxx.
| #define ACTION_EXPAND 3 |
Definition at line 1259 of file SpellDialog.cxx.
| #define ACTION_SELECTFIELD 2 |
Definition at line 1258 of file SpellDialog.cxx.
| #define ACTION_UNDOEDIT 0 |
Definition at line 1256 of file SpellDialog.cxx.
| #define BRACE 6 |
Definition at line 1252 of file SpellDialog.cxx.
| #define FULL 4 |
Definition at line 1250 of file SpellDialog.cxx.
| #define INSIDE_NO 2 |
Definition at line 1248 of file SpellDialog.cxx.
| #define INSIDE_YES 5 |
Definition at line 1251 of file SpellDialog.cxx.
| #define INVALID 0 |
Definition at line 1246 of file SpellDialog.cxx.
| #define LEFT_NO 1 |
Definition at line 1247 of file SpellDialog.cxx.
| #define OUTSIDE_NO 7 |
Definition at line 1253 of file SpellDialog.cxx.
| #define OUTSIDE_YES 8 |
Definition at line 1254 of file SpellDialog.cxx.
| #define RIGHT_NO 3 |
Definition at line 1249 of file SpellDialog.cxx.
| #define SPELLUNDO_ADD_IGNORE_RULE (SPELLUNDO_START + 8) |
Definition at line 83 of file SpellDialog.cxx.
| #define SPELLUNDO_CHANGE_ADD_TO_DICTIONARY (SPELLUNDO_START + 4) |
Definition at line 79 of file SpellDialog.cxx.
| #define SPELLUNDO_CHANGE_GROUP (SPELLUNDO_START + 5) |
Definition at line 80 of file SpellDialog.cxx.
| #define SPELLUNDO_CHANGE_LANGUAGE (SPELLUNDO_START + 1) |
Definition at line 76 of file SpellDialog.cxx.
| #define SPELLUNDO_CHANGE_NEXTERROR (SPELLUNDO_START + 3) |
Definition at line 78 of file SpellDialog.cxx.
| #define SPELLUNDO_CHANGE_TEXTENGINE (SPELLUNDO_START + 2) |
Definition at line 77 of file SpellDialog.cxx.
| #define SPELLUNDO_MOVE_ERROREND (SPELLUNDO_START + 6) |
Definition at line 81 of file SpellDialog.cxx.
| #define SPELLUNDO_START 200 |
Definition at line 74 of file SpellDialog.cxx.
| #define SPELLUNDO_UNDO_EDIT_MODE (SPELLUNDO_START + 7) |
Definition at line 82 of file SpellDialog.cxx.
| typedef std::vector<LanguagePosition_Impl> LanguagePositions_Impl |
Definition at line 1875 of file SpellDialog.cxx.
| IMPL_LINK | ( | SentenceEditWindow_Impl | , |
| ToolbarHdl | , | ||
| const OUString & | , | ||
| rCurItemId | , | ||
| void | |||
| ) |
Definition at line 1538 of file SpellDialog.cxx.
References vcl::GetGetSpecialCharsFunction().
| IMPL_LINK | ( | SpellDialog | , |
| AddToDictSelectHdl | , | ||
| const OUString & | , | ||
| rIdent | , | ||
| void | |||
| ) |
Definition at line 848 of file SpellDialog.cxx.
| IMPL_LINK | ( | SpellDialog | , |
| DialogUndoHdl | , | ||
| SpellUndoAction_Impl & | , | ||
| rAction | , | ||
| void | |||
| ) |
Definition at line 645 of file SpellDialog.cxx.
References SPELLUNDO_ADD_IGNORE_RULE, SPELLUNDO_CHANGE_ADD_TO_DICTIONARY, SPELLUNDO_CHANGE_NEXTERROR, SPELLUNDO_CHANGE_TEXTENGINE, SPELLUNDO_MOVE_ERROREND, and SPELLUNDO_UNDO_EDIT_MODE.
| IMPL_LINK | ( | SpellDialog | , |
| ExtClickHdl | , | ||
| weld::Button & | , | ||
| rBtn | , | ||
| void | |||
| ) |
Definition at line 428 of file SpellDialog.cxx.
References SvxPrepareAutoCorrect().
| IMPL_LINK | ( | SpellDialog | , |
| IgnoreAllHdl | , | ||
| weld::Button & | , | ||
| rButton | , | ||
| void | |||
| ) |
Definition at line 592 of file SpellDialog.cxx.
References AddEntryToDic(), LinguMgr::GetIgnoreAllList(), and SPELLUNDO_CHANGE_ADD_TO_DICTIONARY.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| AddToDictClickHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 843 of file SpellDialog.cxx.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| CancelHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 918 of file SpellDialog.cxx.
References Close.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| ChangeAllHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 565 of file SpellDialog.cxx.
References AddEntryToDic(), LinguMgr::GetChangeAllList(), SPELLUNDO_CHANGE_ADD_TO_DICTIONARY, and SvxPrepareAutoCorrect().
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| ChangeHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 548 of file SpellDialog.cxx.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| CheckGrammarHdl | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Definition at line 463 of file SpellDialog.cxx.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| DoubleClickChangeHdl | , | ||
| weld::TreeView & | , | ||
| bool | |||
| ) |
Definition at line 521 of file SpellDialog.cxx.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| IgnoreHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 704 of file SpellDialog.cxx.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| InitHdl | , | ||
| void * | , | ||
| void | |||
| ) |
Definition at line 397 of file SpellDialog.cxx.
References m_xDialog.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| LanguageSelectHdl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 741 of file SpellDialog.cxx.
References SPELLUNDO_CHANGE_LANGUAGE, and svx::SpellDialog::UpdateBoxes_Impl().
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| ModifyHdl | , | ||
| LinkParamNone * | , | ||
| void | |||
| ) |
Definition at line 899 of file SpellDialog.cxx.
References SPELLUNDO_CHANGE_TEXTENGINE.
| IMPL_LINK_NOARG | ( | SpellDialog | , |
| UndoHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 637 of file SpellDialog.cxx.
|
static |
Definition at line 1877 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::CreateSpellPortions().