LibreOffice Module cui (master)  1
Macros | Enumerations | Functions | Variables
autocdlg.cxx File Reference
#include <i18nutil/unicode.hxx>
#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 <comphelper/string.hxx>
#include <vcl/svapp.hxx>
#include <sfx2/module.hxx>
#include <svl/eitem.hxx>
#include <svl/languageoptions.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>
Include dependency graph for autocdlg.cxx:

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
 

Enumerations

enum  OfaAutoFmtOptions
 
enum  OfaQuoteOptions
 

Functions

static bool lcl_FindEntry (weld::TreeView &rLB, const OUString &rEntry, CollatorWrapper const &rCmpClass)
 
 IMPL_LINK_NOARG (OfaAutoCorrDlg, SelectLanguageHdl, weld::ComboBox &, void)
 
 IMPL_LINK (OfaSwAutoFmtOptionsPage, SelectHdl, weld::TreeView &, rBox, void)
 
 IMPL_LINK_NOARG (OfaSwAutoFmtOptionsPage, DoubleClickEditHdl, weld::TreeView &, bool)
 
 IMPL_LINK_NOARG (OfaSwAutoFmtOptionsPage, EditHdl, weld::Button &, void)
 
 IMPL_LINK (OfaAutocorrReplacePage, SelectHdl, weld::TreeView &, rBox, void)
 
 IMPL_LINK (OfaAutocorrReplacePage, NewDelButtonHdl, weld::Button &, rBtn, void)
 
 IMPL_LINK (OfaAutocorrReplacePage, NewDelActionHdl, weld::Entry &, rEdit, bool)
 
 IMPL_LINK_NOARG (OfaAutocorrReplacePage, EntrySizeAllocHdl, const Size &, void)
 
 IMPL_LINK (OfaAutocorrReplacePage, ModifyHdl, weld::Entry &, rEdt, void)
 
static bool lcl_FindInArray (std::vector< OUString > &rStrings, std::u16string_view rString)
 
 IMPL_LINK (OfaAutocorrExceptPage, NewDelButtonHdl, weld::Button &, rBtn, void)
 
 IMPL_LINK (OfaAutocorrExceptPage, NewDelActionHdl, weld::Entry &, rEdit, bool)
 
 IMPL_LINK (OfaAutocorrExceptPage, SelectHdl, weld::TreeView &, rBox, void)
 
 IMPL_LINK (OfaAutocorrExceptPage, ModifyHdl, weld::Entry &, rEdt, void)
 
 IMPL_LINK (OfaQuoteTabPage, QuoteHdl, weld::Button &, rBtn, void)
 
 IMPL_LINK (OfaQuoteTabPage, StdQuoteHdl, weld::Button &, rBtn, void)
 
 IMPL_LINK_NOARG (OfaAutoCompleteTabPage, DeleteHdl, weld::Button &, void)
 
 IMPL_LINK (OfaAutoCompleteTabPage, CheckHdl, weld::ToggleButton &, rBox, void)
 
 IMPL_LINK (OfaAutoCompleteTabPage, KeyReleaseHdl, const KeyEvent &, rEvent, bool)
 
 IMPL_LINK_NOARG (OfaSmartTagOptionsTabPage, ClickHdl, weld::Button &, void)
 Handler for the push button. More...
 
 IMPL_LINK_NOARG (OfaSmartTagOptionsTabPage, CheckHdl, weld::ToggleButton &, void)
 Handler for the check box. More...
 
 IMPL_LINK_NOARG (OfaSmartTagOptionsTabPage, SelectHdl, weld::TreeView &, void)
 Handler for the list box. More...
 

Variables

static LanguageType eLastDialogLanguage = LANGUAGE_SYSTEM
 

Macro Definition Documentation

#define CBCOL_BOTH   2
#define CBCOL_FIRST   0
#define CBCOL_SECOND   1
#define DBL_END   3

Definition at line 1780 of file autocdlg.cxx.

Referenced by IMPL_LINK().

#define DBL_START   1

Definition at line 1778 of file autocdlg.cxx.

Referenced by IMPL_LINK().

#define SGL_END   2

Definition at line 1779 of file autocdlg.cxx.

Referenced by IMPL_LINK().

#define SGL_START   0

Definition at line 1777 of file autocdlg.cxx.

Referenced by IMPL_LINK().

Enumeration Type Documentation

Definition at line 325 of file autocdlg.cxx.

Definition at line 1531 of file autocdlg.cxx.

Function Documentation

IMPL_LINK ( OfaSwAutoFmtOptionsPage  ,
SelectHdl  ,
weld::TreeView ,
rBox  ,
void   
)

Definition at line 613 of file autocdlg.cxx.

IMPL_LINK ( OfaAutocorrReplacePage  ,
SelectHdl  ,
weld::TreeView ,
rBox  ,
void   
)

Definition at line 909 of file autocdlg.cxx.

IMPL_LINK ( OfaAutocorrReplacePage  ,
NewDelButtonHdl  ,
weld::Button ,
rBtn  ,
void   
)

Definition at line 1000 of file autocdlg.cxx.

IMPL_LINK ( OfaAutocorrReplacePage  ,
NewDelActionHdl  ,
weld::Entry ,
rEdit  ,
bool   
)

Definition at line 1005 of file autocdlg.cxx.

References rEdit.

IMPL_LINK ( OfaAutocorrReplacePage  ,
ModifyHdl  ,
weld::Entry ,
rEdt  ,
void   
)

Definition at line 1092 of file autocdlg.cxx.

IMPL_LINK ( OfaAutocorrExceptPage  ,
NewDelButtonHdl  ,
weld::Button ,
rBtn  ,
void   
)

Definition at line 1447 of file autocdlg.cxx.

IMPL_LINK ( OfaAutocorrExceptPage  ,
NewDelActionHdl  ,
weld::Entry ,
rEdit  ,
bool   
)

Definition at line 1452 of file autocdlg.cxx.

References rEdit.

IMPL_LINK ( OfaAutocorrExceptPage  ,
SelectHdl  ,
weld::TreeView ,
rBox  ,
void   
)

Definition at line 1491 of file autocdlg.cxx.

IMPL_LINK ( OfaAutocorrExceptPage  ,
ModifyHdl  ,
weld::Entry ,
rEdt  ,
void   
)

Definition at line 1507 of file autocdlg.cxx.

References lcl_FindEntry().

IMPL_LINK ( OfaQuoteTabPage  ,
QuoteHdl  ,
weld::Button ,
rBtn  ,
void   
)
IMPL_LINK ( OfaQuoteTabPage  ,
StdQuoteHdl  ,
weld::Button ,
rBtn  ,
void   
)

Definition at line 1855 of file autocdlg.cxx.

IMPL_LINK ( OfaAutoCompleteTabPage  ,
CheckHdl  ,
weld::ToggleButton ,
rBox  ,
void   
)

Definition at line 2087 of file autocdlg.cxx.

IMPL_LINK ( OfaAutoCompleteTabPage  ,
KeyReleaseHdl  ,
const KeyEvent ,
rEvent  ,
bool   
)
IMPL_LINK_NOARG ( OfaAutoCorrDlg  ,
SelectLanguageHdl  ,
weld::ComboBox ,
void   
)
IMPL_LINK_NOARG ( OfaSwAutoFmtOptionsPage  ,
DoubleClickEditHdl  ,
weld::TreeView ,
bool   
)

Definition at line 618 of file autocdlg.cxx.

IMPL_LINK_NOARG ( OfaSwAutoFmtOptionsPage  ,
EditHdl  ,
weld::Button ,
void   
)
IMPL_LINK_NOARG ( OfaAutocorrReplacePage  ,
EntrySizeAllocHdl  ,
const Size ,
void   
)

Definition at line 1010 of file autocdlg.cxx.

References x, and y.

IMPL_LINK_NOARG ( OfaAutoCompleteTabPage  ,
DeleteHdl  ,
weld::Button ,
void   
)

Definition at line 2072 of file autocdlg.cxx.

References nPos.

IMPL_LINK_NOARG ( OfaSmartTagOptionsTabPage  ,
ClickHdl  ,
weld::Button ,
void   
)

Handler for the push button.

Definition at line 2250 of file autocdlg.cxx.

References LanguageTag::convertToLocale(), and nPos.

IMPL_LINK_NOARG ( OfaSmartTagOptionsTabPage  ,
CheckHdl  ,
weld::ToggleButton ,
void   
)

Handler for the check box.

Definition at line 2264 of file autocdlg.cxx.

IMPL_LINK_NOARG ( OfaSmartTagOptionsTabPage  ,
SelectHdl  ,
weld::TreeView ,
void   
)

Handler for the list box.

Definition at line 2280 of file autocdlg.cxx.

References LanguageTag::convertToLocale(), and nPos.

static bool lcl_FindEntry ( weld::TreeView rLB,
const OUString &  rEntry,
CollatorWrapper const &  rCmpClass 
)
static
static bool lcl_FindInArray ( std::vector< OUString > &  rStrings,
std::u16string_view  rString 
)
static

Definition at line 1179 of file autocdlg.cxx.

Referenced by OfaAutocorrExceptPage::FillItemSet().

Variable Documentation

LanguageType eLastDialogLanguage = LANGUAGE_SYSTEM
static

Definition at line 51 of file autocdlg.cxx.

Referenced by OfaAutoCorrDlg::OfaAutoCorrDlg().