|
LibreOffice Module cui (master) 1
|
#include <sal/config.h>#include <i18nutil/unicode.hxx>#include <o3tl/safeint.hxx>#include <utility>#include <vcl/event.hxx>#include <vcl/keycodes.hxx>#include <vcl/settings.hxx>#include <vcl/transfer.hxx>#include <sfx2/app.hxx>#include <sfx2/objsh.hxx>#include <sfx2/viewsh.hxx>#include <unotools/charclass.hxx>#include <unotools/collatorwrapper.hxx>#include <comphelper/processfactory.hxx>#include <vcl/svapp.hxx>#include <sfx2/module.hxx>#include <svl/eitem.hxx>#include <svl/cjkoptions.hxx>#include <svl/ctloptions.hxx>#include <svx/SmartTagMgr.hxx>#include <com/sun/star/smarttags/XSmartTagRecognizer.hpp>#include <rtl/strbuf.hxx>#include <o3tl/temporary.hxx>#include <osl/diagnose.h>#include <tools/debug.hxx>#include <autocdlg.hxx>#include <editeng/acorrcfg.hxx>#include <editeng/svxacorr.hxx>#include <cui/cuicharmap.hxx>#include <strings.hrc>#include <dialmgr.hxx>#include <svx/svxids.hrc>Go to the source code of this file.
Macros | |
| #define | CBCOL_FIRST 0 |
| #define | CBCOL_SECOND 1 |
| #define | CBCOL_BOTH 2 |
| #define | SGL_START 0 |
| #define | DBL_START 1 |
| #define | SGL_END 2 |
| #define | DBL_END 3 |
Variables | |
| static LanguageType | eLastDialogLanguage = LANGUAGE_SYSTEM |
| #define CBCOL_BOTH 2 |
Definition at line 214 of file autocdlg.cxx.
| #define CBCOL_FIRST 0 |
Definition at line 212 of file autocdlg.cxx.
| #define CBCOL_SECOND 1 |
Definition at line 213 of file autocdlg.cxx.
| #define DBL_END 3 |
Definition at line 1795 of file autocdlg.cxx.
| #define DBL_START 1 |
Definition at line 1793 of file autocdlg.cxx.
| #define SGL_END 2 |
Definition at line 1794 of file autocdlg.cxx.
| #define SGL_START 0 |
Definition at line 1792 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaAutoCompleteTabPage | , |
| CheckHdl | , | ||
| weld::Toggleable & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 2102 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaAutoCompleteTabPage | , |
| KeyReleaseHdl | , | ||
| const KeyEvent & | , | ||
| rEvent | , | ||
| bool | |||
| ) |
Definition at line 2136 of file autocdlg.cxx.
References vcl::KeyCode::GetCode(), vcl::KeyCode::GetFunction(), vcl::KeyCode::GetModifier(), and KEY_DELETE.
| IMPL_LINK | ( | OfaAutocorrExceptPage | , |
| ModifyHdl | , | ||
| weld::Entry & | , | ||
| rEdt | , | ||
| void | |||
| ) |
Definition at line 1521 of file autocdlg.cxx.
References lcl_FindEntry().
| IMPL_LINK | ( | OfaAutocorrExceptPage | , |
| NewDelActionHdl | , | ||
| weld::Entry & | , | ||
| rEdit | , | ||
| bool | |||
| ) |
Definition at line 1466 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaAutocorrExceptPage | , |
| NewDelButtonHdl | , | ||
| weld::Button & | , | ||
| rBtn | , | ||
| void | |||
| ) |
Definition at line 1461 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaAutocorrExceptPage | , |
| SelectHdl | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 1505 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaAutocorrReplacePage | , |
| ModifyHdl | , | ||
| weld::Entry & | , | ||
| rEdt | , | ||
| void | |||
| ) |
Definition at line 1107 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaAutocorrReplacePage | , |
| NewDelActionHdl | , | ||
| weld::Entry & | , | ||
| rEdit | , | ||
| bool | |||
| ) |
Definition at line 1020 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaAutocorrReplacePage | , |
| NewDelButtonHdl | , | ||
| weld::Button & | , | ||
| rBtn | , | ||
| void | |||
| ) |
Definition at line 1015 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaAutocorrReplacePage | , |
| SelectHdl | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 928 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaQuoteTabPage | , |
| QuoteHdl | , | ||
| weld::Button & | , | ||
| rBtn | , | ||
| void | |||
| ) |
Definition at line 1798 of file autocdlg.cxx.
References aMap, CuiResId(), DBL_END, DBL_START, SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), OutputDevice::GetDefaultFont(), GetFrameWeld(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), SvxAutoCorrect::GetQuote(), Application::GetSettings(), LANGUAGE_ENGLISH_US, RET_OK, SGL_END, and SGL_START.
| IMPL_LINK | ( | OfaQuoteTabPage | , |
| StdQuoteHdl | , | ||
| weld::Button & | , | ||
| rBtn | , | ||
| void | |||
| ) |
Definition at line 1870 of file autocdlg.cxx.
| IMPL_LINK | ( | OfaSwAutoFmtOptionsPage | , |
| SelectHdl | , | ||
| weld::TreeView & | , | ||
| rBox | , | ||
| void | |||
| ) |
Definition at line 633 of file autocdlg.cxx.
| IMPL_LINK_NOARG | ( | OfaAutoCompleteTabPage | , |
| DeleteHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 2087 of file autocdlg.cxx.
References nPos.
| IMPL_LINK_NOARG | ( | OfaAutoCorrDlg | , |
| SelectLanguageHdl | , | ||
| weld::ComboBox & | , | ||
| void | |||
| ) |
Definition at line 163 of file autocdlg.cxx.
References eLastDialogLanguage, OfaAutocorrReplacePage::SetLanguage(), and OfaAutocorrExceptPage::SetLanguage().
| IMPL_LINK_NOARG | ( | OfaAutocorrReplacePage | , |
| EntrySizeAllocHdl | , | ||
| const Size & | , | ||
| void | |||
| ) |
Definition at line 1025 of file autocdlg.cxx.
| IMPL_LINK_NOARG | ( | OfaSmartTagOptionsTabPage | , |
| CheckHdl | , | ||
| weld::Toggleable & | , | ||
| void | |||
| ) |
Handler for the check box.
Definition at line 2274 of file autocdlg.cxx.
| IMPL_LINK_NOARG | ( | OfaSmartTagOptionsTabPage | , |
| ClickHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Handler for the push button.
Definition at line 2260 of file autocdlg.cxx.
References LanguageTag::convertToLocale(), eLastDialogLanguage, and nPos.
| IMPL_LINK_NOARG | ( | OfaSmartTagOptionsTabPage | , |
| SelectHdl | , | ||
| weld::TreeView & | , | ||
| void | |||
| ) |
Handler for the list box.
Definition at line 2290 of file autocdlg.cxx.
References LanguageTag::convertToLocale(), eLastDialogLanguage, and nPos.
| IMPL_LINK_NOARG | ( | OfaSwAutoFmtOptionsPage | , |
| DoubleClickEditHdl | , | ||
| weld::TreeView & | , | ||
| bool | |||
| ) |
Definition at line 638 of file autocdlg.cxx.
| IMPL_LINK_NOARG | ( | OfaSwAutoFmtOptionsPage | , |
| EditHdl | , | ||
| weld::Button & | , | ||
| void | |||
| ) |
Definition at line 644 of file autocdlg.cxx.
References unicode::formatPercent(), SvxCharacterMap::GetChar(), SvxCharacterMap::GetCharFont(), GetFrameWeld(), Application::GetSettings(), RET_OK, SvxCharacterMap::run(), SvxCharacterMap::SetChar(), and SvxCharacterMap::SetCharFont().
|
static |
Definition at line 145 of file autocdlg.cxx.
References CollatorWrapper::compareString(), weld::TreeView::get_selected_index(), weld::TreeView::get_text(), i, weld::TreeView::n_children(), nCount, weld::TreeView::select(), and weld::TreeView::unselect().
Referenced by IMPL_LINK().
|
static |
Definition at line 1194 of file autocdlg.cxx.
Referenced by OfaAutocorrExceptPage::FillItemSet().
|
static |
Definition at line 55 of file autocdlg.cxx.
Referenced by OfaAutocorrReplacePage::ActivatePage(), OfaAutocorrExceptPage::ActivatePage(), OfaSmartTagOptionsTabPage::FillListBox(), IMPL_LINK_NOARG(), OfaAutoCorrDlg::OfaAutoCorrDlg(), OfaAutocorrExceptPage::OfaAutocorrExceptPage(), OfaAutocorrReplacePage::OfaAutocorrReplacePage(), OfaAutocorrReplacePage::SetLanguage(), and OfaAutocorrExceptPage::SetLanguage().