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/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 | |
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::Button &, 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 OString &, rIdent, void) | |
IMPL_LINK_NOARG (SpellDialog, ModifyHdl, LinkParamNone *, void) | |
IMPL_LINK_NOARG (SpellDialog, CancelHdl, weld::Button &, void) | |
IMPL_LINK (SentenceEditWindow_Impl, ToolbarHdl, const OString &, rCurItemId, void) | |
static void | lcl_InsertBreakPosition_Impl (LanguagePositions_Impl &rBreakPositions, sal_Int32 nInsert, LanguageType eLanguage) |
#define ACTION_CONTINUE 1 |
Definition at line 1235 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define ACTION_EXPAND 3 |
Definition at line 1237 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define ACTION_SELECTFIELD 2 |
Definition at line 1236 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define ACTION_UNDOEDIT 0 |
Definition at line 1234 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define BRACE 6 |
Definition at line 1230 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define FULL 4 |
Definition at line 1228 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define INSIDE_NO 2 |
Definition at line 1226 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define INSIDE_YES 5 |
Definition at line 1229 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define INVALID 0 |
Definition at line 1224 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define LEFT_NO 1 |
Definition at line 1225 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define OUTSIDE_NO 7 |
Definition at line 1231 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define OUTSIDE_YES 8 |
Definition at line 1232 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define RIGHT_NO 3 |
Definition at line 1227 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::KeyInput().
#define SPELLUNDO_ADD_IGNORE_RULE (SPELLUNDO_START + 8) |
Definition at line 82 of file SpellDialog.cxx.
Referenced by IMPL_LINK().
#define SPELLUNDO_CHANGE_ADD_TO_DICTIONARY (SPELLUNDO_START + 4) |
Definition at line 78 of file SpellDialog.cxx.
Referenced by svx::SpellDialog::AddToDictionaryExecute(), IMPL_LINK(), and IMPL_LINK_NOARG().
#define SPELLUNDO_CHANGE_GROUP (SPELLUNDO_START + 5) |
Definition at line 79 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::Undo(), and UndoChangeGroupGuard::UndoChangeGroupGuard().
#define SPELLUNDO_CHANGE_LANGUAGE (SPELLUNDO_START + 1) |
Definition at line 75 of file SpellDialog.cxx.
Referenced by IMPL_LINK_NOARG().
#define SPELLUNDO_CHANGE_NEXTERROR (SPELLUNDO_START + 3) |
Definition at line 77 of file SpellDialog.cxx.
Referenced by IMPL_LINK(), and svx::SentenceEditWindow_Impl::MarkNextError().
#define SPELLUNDO_CHANGE_TEXTENGINE (SPELLUNDO_START + 2) |
Definition at line 76 of file SpellDialog.cxx.
Referenced by IMPL_LINK(), and IMPL_LINK_NOARG().
#define SPELLUNDO_MOVE_ERROREND (SPELLUNDO_START + 6) |
Definition at line 80 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::ChangeMarkedWord(), and IMPL_LINK().
#define SPELLUNDO_START 200 |
Definition at line 73 of file SpellDialog.cxx.
#define SPELLUNDO_UNDO_EDIT_MODE (SPELLUNDO_START + 7) |
Definition at line 81 of file SpellDialog.cxx.
Referenced by IMPL_LINK(), svx::SentenceEditWindow_Impl::SetUndoEditMode(), and svx::SentenceEditWindow_Impl::Undo().
typedef std::vector<LanguagePosition_Impl> LanguagePositions_Impl |
Definition at line 1849 of file SpellDialog.cxx.
IMPL_LINK | ( | SpellDialog | , |
ExtClickHdl | , | ||
weld::Button & | , | ||
rBtn | , | ||
void | |||
) |
Definition at line 416 of file SpellDialog.cxx.
References SvxPrepareAutoCorrect().
IMPL_LINK | ( | SpellDialog | , |
IgnoreAllHdl | , | ||
weld::Button & | , | ||
rButton | , | ||
void | |||
) |
Definition at line 575 of file SpellDialog.cxx.
References AddEntryToDic(), LinguMgr::GetIgnoreAllList(), and SPELLUNDO_CHANGE_ADD_TO_DICTIONARY.
IMPL_LINK | ( | SpellDialog | , |
DialogUndoHdl | , | ||
SpellUndoAction_Impl & | , | ||
rAction | , | ||
void | |||
) |
Definition at line 628 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 | , |
AddToDictSelectHdl | , | ||
const OString & | , | ||
rIdent | , | ||
void | |||
) |
Definition at line 832 of file SpellDialog.cxx.
IMPL_LINK | ( | SentenceEditWindow_Impl | , |
ToolbarHdl | , | ||
const OString & | , | ||
rCurItemId | , | ||
void | |||
) |
Definition at line 1516 of file SpellDialog.cxx.
References vcl::GetGetSpecialCharsFunction().
Definition at line 388 of file SpellDialog.cxx.
References m_xDialog.
IMPL_LINK_NOARG | ( | SpellDialog | , |
CheckGrammarHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 449 of file SpellDialog.cxx.
IMPL_LINK_NOARG | ( | SpellDialog | , |
DoubleClickChangeHdl | , | ||
weld::TreeView & | , | ||
bool | |||
) |
Definition at line 504 of file SpellDialog.cxx.
IMPL_LINK_NOARG | ( | SpellDialog | , |
ChangeHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 531 of file SpellDialog.cxx.
IMPL_LINK_NOARG | ( | SpellDialog | , |
ChangeAllHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 548 of file SpellDialog.cxx.
References AddEntryToDic(), LinguMgr::GetChangeAllList(), SPELLUNDO_CHANGE_ADD_TO_DICTIONARY, and SvxPrepareAutoCorrect().
IMPL_LINK_NOARG | ( | SpellDialog | , |
UndoHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 620 of file SpellDialog.cxx.
IMPL_LINK_NOARG | ( | SpellDialog | , |
IgnoreHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 687 of file SpellDialog.cxx.
IMPL_LINK_NOARG | ( | SpellDialog | , |
LanguageSelectHdl | , | ||
weld::ComboBox & | , | ||
void | |||
) |
Definition at line 725 of file SpellDialog.cxx.
References SPELLUNDO_CHANGE_LANGUAGE, and svx::SpellDialog::UpdateBoxes_Impl().
IMPL_LINK_NOARG | ( | SpellDialog | , |
AddToDictClickHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 827 of file SpellDialog.cxx.
IMPL_LINK_NOARG | ( | SpellDialog | , |
ModifyHdl | , | ||
LinkParamNone * | , | ||
void | |||
) |
Definition at line 883 of file SpellDialog.cxx.
References SPELLUNDO_CHANGE_TEXTENGINE.
IMPL_LINK_NOARG | ( | SpellDialog | , |
CancelHdl | , | ||
weld::Button & | , | ||
void | |||
) |
Definition at line 902 of file SpellDialog.cxx.
References Close.
|
static |
Definition at line 1851 of file SpellDialog.cxx.
Referenced by svx::SentenceEditWindow_Impl::CreateSpellPortions().