LibreOffice Module cui (master) 1
|
#include <optlingu.hxx>
Public Member Functions | |
SvxLinguTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreSet) | |
virtual | ~SvxLinguTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
void | HideGroups (sal_uInt16 nGrp) |
Public Member Functions inherited from SfxTabPage | |
void | SetDialogController (SfxOkDialogController *pDialog) |
virtual | ~SfxTabPage () override |
void | set_visible (bool bVisible) |
const SfxItemSet & | GetItemSet () const |
virtual bool | FillItemSet (SfxItemSet *) |
virtual void | Reset (const SfxItemSet *) |
virtual bool | DeferResetToFirstActivation () |
bool | HasExchangeSupport () const |
void | SetExchangeSupport () |
virtual void | ActivatePage (const SfxItemSet &) |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) |
void | SetUserData (const OUString &rString) |
const OUString & | GetUserData () const |
virtual void | FillUserData () |
virtual bool | IsReadOnly () const |
virtual void | PageCreated (const SfxAllItemSet &aSet) |
virtual void | ChangesApplied () |
void | SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame) |
css::uno::Reference< css::frame::XFrame > | GetFrame () const |
const SfxItemSet * | GetDialogExampleSet () const |
OUString | GetHelpId () const |
OUString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OUString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet) |
Static Public Member Functions inherited from SfxTabPage | |
static const SfxPoolItem * | GetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
static const T * | GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
Private Member Functions | |
void | AddDicBoxEntry (const css::uno::Reference< css::linguistic2::XDictionary > &rxDic, sal_uInt16 nIdx) |
DECL_LINK (SelectHdl_Impl, weld::TreeView &, void) | |
DECL_LINK (ClickHdl_Impl, weld::Button &, void) | |
DECL_LINK (BoxDoubleClickHdl_Impl, weld::TreeView &, bool) | |
DECL_LINK (ModulesBoxCheckButtonHdl_Impl, const weld::TreeView::iter_col &, void) | |
DECL_LINK (DicsBoxCheckButtonHdl_Impl, const weld::TreeView::iter_col &, void) | |
DECL_LINK (PostDblClickHdl_Impl, void *, void) | |
DECL_STATIC_LINK (SvxLinguTabPage, OnLinkClick, weld::LinkButton &, bool) | |
void | UpdateModulesBox_Impl () |
void | UpdateDicBox_Impl () |
Static Private Member Functions | |
static sal_uInt32 | GetDicUserData (const css::uno::Reference< css::linguistic2::XDictionary > &rxDic, sal_uInt16 nIdx) |
Additional Inherited Members | |
Protected Member Functions inherited from SfxTabPage | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *rAttrSet) | |
sal_uInt16 | GetWhich (sal_uInt16 nSlot, bool bDeep=true) const |
TypedWhichId< T > | GetWhich (TypedWhichId< T > nSlot, bool bDeep=true) const |
const SfxPoolItem * | GetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true) |
const T * | GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true) |
SfxOkDialogController * | GetDialogController () const |
Definition at line 80 of file optlingu.hxx.
SvxLinguTabPage::SvxLinguTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rCoreSet | ||
) |
Definition at line 818 of file optlingu.cxx.
References aDics, weld::Check, LinguMgr::GetDictionaryList(), LinguMgr::GetLinguPropertySet(), comphelper::LibreOfficeKit::isActive(), LINK, m_xLinguDicsCLB, m_xLinguDicsDelPB, m_xLinguDicsEditPB, m_xLinguDicsFT, m_xLinguDicsNewPB, m_xLinguModulesCLB, m_xLinguModulesEditPB, m_xLinguOptionsCLB, m_xLinguOptionsEditPB, m_xMoreDictsBox, m_xMoreDictsLink, SvtExtendedSecurityOptions::OPEN_NEVER, rSet, UpdateDicBox_Impl(), xDicList, and xProp.
|
overridevirtual |
Definition at line 908 of file optlingu.cxx.
References m_nDlbClickEventId, pLinguData, and Application::RemoveUserEvent().
|
private |
Definition at line 1088 of file optlingu.cxx.
References aData, GetDicUserData(), LanguageTag::getLanguageType(), m_xLinguDicsCLB, TRISTATE_FALSE, and TRISTATE_TRUE.
Referenced by UpdateDicBox_Impl().
|
static |
Definition at line 918 of file optlingu.cxx.
Referenced by CreateGeneralTabPage(), and svx::SpellDialog::StartSpellOptDlg_Impl().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 924 of file optlingu.cxx.
References aData, aDics, Any, aPropName, cGrammar(), cHyph(), LanguageTag::convertToLocale(), cSpell(), cThes(), DBG_ASSERT, LinguMgr::GetIgnoreAllList(), SfxHyphenRegionItem::GetMinLead(), SfxHyphenRegionItem::GetMinTrail(), SfxTabPage::GetOldItem(), GetValue(), i, lcl_GetPropertyName(), Locale, m_xLinguDicsCLB, m_xLinguModulesCLB, m_xLinguOptionsCLB, pLinguData, SfxItemSet::Put(), SvtLinguConfig::SetProperty(), TRISTATE_TRUE, UPH_ACTIVE_DICTIONARIES, and xProp.
|
staticprivate |
Definition at line 1069 of file optlingu.cxx.
References DBG_ASSERT.
Referenced by AddDicBoxEntry().
void SvxLinguTabPage::HideGroups | ( | sal_uInt16 | nGrp | ) |
Definition at line 1542 of file optlingu.cxx.
References GROUP_MODULES, comphelper::LibreOfficeKit::isActive(), m_xLinguModulesCLB, m_xLinguModulesEditPB, m_xLinguModulesFT, m_xMoreDictsBox, and SvtExtendedSecurityOptions::OPEN_NEVER.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1155 of file optlingu.cxx.
References SfxItemSet::Get(), SfxTabPage::GetItem(), SfxItemSet::GetItemState(), SfxHyphenRegionItem::GetMinLead(), SfxHyphenRegionItem::GetMinTrail(), SvtLinguConfig::GetProperty(), GetValue(), m_xLinguDicsCLB, m_xLinguModulesCLB, m_xLinguOptionsCLB, nUPN_HYPH_MIN_LEADING, nUPN_HYPH_MIN_TRAILING, nUPN_HYPH_MIN_WORD_LENGTH, pLinguData, rSet, sCapitalWords, sGrammarAuto, sHyphAuto, sHyphSpecial, sNumMinWordlen, sNumPostBreak, sNumPreBreak, sSpellAuto, sSpellClosedCompound, sSpellHyphenatedCompound, sSpellSpecial, sWordsWithDigits, TRISTATE_FALSE, TRISTATE_TRUE, UpdateModulesBox_Impl(), UPN_HYPH_MIN_LEADING, UPN_HYPH_MIN_TRAILING, UPN_HYPH_MIN_WORD_LENGTH, UPN_IS_GRAMMAR_AUTO, UPN_IS_HYPH_AUTO, UPN_IS_HYPH_SPECIAL, UPN_IS_SPELL_AUTO, UPN_IS_SPELL_CLOSED_COMPOUND, UPN_IS_SPELL_HYPHENATED_COMPOUND, UPN_IS_SPELL_SPECIAL, UPN_IS_SPELL_UPPER_CASE, and UPN_IS_SPELL_WITH_DIGITS.
|
private |
Definition at line 1107 of file optlingu.cxx.
References AddDicBoxEntry(), aDics, i, and m_xLinguDicsCLB.
Referenced by SvxLinguTabPage().
|
private |
Definition at line 1129 of file optlingu.cxx.
References i, m_xLinguModulesCLB, m_xLinguModulesEditPB, pLinguData, weld::toId(), TRISTATE_FALSE, and TRISTATE_TRUE.
Referenced by Reset().
|
private |
Definition at line 109 of file optlingu.hxx.
Referenced by FillItemSet(), SvxLinguTabPage(), and UpdateDicBox_Impl().
|
private |
Definition at line 100 of file optlingu.hxx.
Referenced by ~SvxLinguTabPage().
|
private |
Definition at line 117 of file optlingu.hxx.
Referenced by AddDicBoxEntry(), FillItemSet(), Reset(), SvxLinguTabPage(), and UpdateDicBox_Impl().
|
private |
Definition at line 120 of file optlingu.hxx.
Referenced by SvxLinguTabPage().
|
private |
Definition at line 119 of file optlingu.hxx.
Referenced by SvxLinguTabPage().
|
private |
Definition at line 116 of file optlingu.hxx.
Referenced by SvxLinguTabPage().
|
private |
Definition at line 118 of file optlingu.hxx.
Referenced by SvxLinguTabPage().
|
private |
Definition at line 114 of file optlingu.hxx.
Referenced by FillItemSet(), HideGroups(), Reset(), SvxLinguTabPage(), and UpdateModulesBox_Impl().
|
private |
Definition at line 115 of file optlingu.hxx.
Referenced by HideGroups(), SvxLinguTabPage(), and UpdateModulesBox_Impl().
|
private |
Definition at line 113 of file optlingu.hxx.
Referenced by HideGroups().
|
private |
Definition at line 121 of file optlingu.hxx.
Referenced by FillItemSet(), Reset(), and SvxLinguTabPage().
|
private |
Definition at line 122 of file optlingu.hxx.
Referenced by SvxLinguTabPage().
|
private |
Definition at line 123 of file optlingu.hxx.
Referenced by HideGroups(), and SvxLinguTabPage().
|
private |
Definition at line 124 of file optlingu.hxx.
Referenced by SvxLinguTabPage().
|
private |
Definition at line 97 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 98 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 96 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 111 of file optlingu.hxx.
Referenced by FillItemSet(), Reset(), UpdateModulesBox_Impl(), and ~SvxLinguTabPage().
|
private |
Definition at line 83 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 89 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 93 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 94 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 90 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 92 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 91 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 86 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 87 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 88 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 85 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 84 of file optlingu.hxx.
Referenced by Reset().
|
private |
Definition at line 106 of file optlingu.hxx.
Referenced by SvxLinguTabPage().
|
private |
Definition at line 103 of file optlingu.hxx.
Referenced by FillItemSet(), and SvxLinguTabPage().