LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
SvxLinguTabPage Class Reference

#include <optlingu.hxx>

Inheritance diagram for SvxLinguTabPage:
[legend]
Collaboration diagram for SvxLinguTabPage:
[legend]

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 SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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)
 

Private Attributes

OUString sCapitalWords
 
OUString sWordsWithDigits
 
OUString sSpellSpecial
 
OUString sSpellAuto
 
OUString sSpellClosedCompound
 
OUString sSpellHyphenatedCompound
 
OUString sGrammarAuto
 
OUString sNumMinWordlen
 
OUString sNumPreBreak
 
OUString sNumPostBreak
 
OUString sHyphAuto
 
OUString sHyphSpecial
 
int nUPN_HYPH_MIN_WORD_LENGTH
 
int nUPN_HYPH_MIN_LEADING
 
int nUPN_HYPH_MIN_TRAILING
 
ImplSVEventm_nDlbClickEventId
 
css::uno::Reference< css::linguistic2::XLinguProperties > xProp
 
css::uno::Reference< css::linguistic2::XDictionaryList > xDicList
 
css::uno::Sequence< css::uno::Reference< css::linguistic2::XDictionary > > aDics
 
std::unique_ptr< SvxLinguData_ImplpLinguData
 
std::unique_ptr< weld::Labelm_xLinguModulesFT
 
std::unique_ptr< weld::TreeViewm_xLinguModulesCLB
 
std::unique_ptr< weld::Buttonm_xLinguModulesEditPB
 
std::unique_ptr< weld::Labelm_xLinguDicsFT
 
std::unique_ptr< weld::TreeViewm_xLinguDicsCLB
 
std::unique_ptr< weld::Buttonm_xLinguDicsNewPB
 
std::unique_ptr< weld::Buttonm_xLinguDicsEditPB
 
std::unique_ptr< weld::Buttonm_xLinguDicsDelPB
 
std::unique_ptr< weld::TreeViewm_xLinguOptionsCLB
 
std::unique_ptr< weld::Buttonm_xLinguOptionsEditPB
 
std::unique_ptr< weld::Boxm_xMoreDictsBox
 
std::unique_ptr< weld::LinkButtonm_xMoreDictsLink
 

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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 80 of file optlingu.hxx.

Constructor & Destructor Documentation

◆ SvxLinguTabPage()

SvxLinguTabPage::SvxLinguTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rCoreSet 
)

◆ ~SvxLinguTabPage()

SvxLinguTabPage::~SvxLinguTabPage ( )
overridevirtual

Definition at line 908 of file optlingu.cxx.

References m_nDlbClickEventId, pLinguData, and Application::RemoveUserEvent().

Member Function Documentation

◆ AddDicBoxEntry()

void SvxLinguTabPage::AddDicBoxEntry ( const css::uno::Reference< css::linguistic2::XDictionary > &  rxDic,
sal_uInt16  nIdx 
)
private

◆ Create()

std::unique_ptr< SfxTabPage > SvxLinguTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

Definition at line 918 of file optlingu.cxx.

Referenced by CreateGeneralTabPage(), and svx::SpellDialog::StartSpellOptDlg_Impl().

◆ DECL_LINK() [1/6]

SvxLinguTabPage::DECL_LINK ( BoxDoubleClickHdl_Impl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [2/6]

SvxLinguTabPage::DECL_LINK ( ClickHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/6]

SvxLinguTabPage::DECL_LINK ( DicsBoxCheckButtonHdl_Impl  ,
const weld::TreeView::iter_col ,
void   
)
private

◆ DECL_LINK() [4/6]

SvxLinguTabPage::DECL_LINK ( ModulesBoxCheckButtonHdl_Impl  ,
const weld::TreeView::iter_col ,
void   
)
private

◆ DECL_LINK() [5/6]

SvxLinguTabPage::DECL_LINK ( PostDblClickHdl_Impl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [6/6]

SvxLinguTabPage::DECL_LINK ( SelectHdl_Impl  ,
weld::TreeView ,
void   
)
private

◆ DECL_STATIC_LINK()

SvxLinguTabPage::DECL_STATIC_LINK ( SvxLinguTabPage  ,
OnLinkClick  ,
weld::LinkButton ,
bool   
)
private

◆ FillItemSet()

bool SvxLinguTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ GetDicUserData()

sal_uInt32 SvxLinguTabPage::GetDicUserData ( const css::uno::Reference< css::linguistic2::XDictionary > &  rxDic,
sal_uInt16  nIdx 
)
staticprivate

Definition at line 1069 of file optlingu.cxx.

References DBG_ASSERT.

Referenced by AddDicBoxEntry().

◆ HideGroups()

void SvxLinguTabPage::HideGroups ( sal_uInt16  nGrp)

◆ Reset()

void SvxLinguTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ UpdateDicBox_Impl()

void SvxLinguTabPage::UpdateDicBox_Impl ( )
private

Definition at line 1107 of file optlingu.cxx.

References AddDicBoxEntry(), aDics, i, and m_xLinguDicsCLB.

Referenced by SvxLinguTabPage().

◆ UpdateModulesBox_Impl()

void SvxLinguTabPage::UpdateModulesBox_Impl ( )
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().

Member Data Documentation

◆ aDics

css::uno::Sequence< css::uno::Reference< css::linguistic2::XDictionary > > SvxLinguTabPage::aDics
private

Definition at line 109 of file optlingu.hxx.

Referenced by FillItemSet(), SvxLinguTabPage(), and UpdateDicBox_Impl().

◆ m_nDlbClickEventId

ImplSVEvent* SvxLinguTabPage::m_nDlbClickEventId
private

Definition at line 100 of file optlingu.hxx.

Referenced by ~SvxLinguTabPage().

◆ m_xLinguDicsCLB

std::unique_ptr<weld::TreeView> SvxLinguTabPage::m_xLinguDicsCLB
private

Definition at line 117 of file optlingu.hxx.

Referenced by AddDicBoxEntry(), FillItemSet(), Reset(), SvxLinguTabPage(), and UpdateDicBox_Impl().

◆ m_xLinguDicsDelPB

std::unique_ptr<weld::Button> SvxLinguTabPage::m_xLinguDicsDelPB
private

Definition at line 120 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

◆ m_xLinguDicsEditPB

std::unique_ptr<weld::Button> SvxLinguTabPage::m_xLinguDicsEditPB
private

Definition at line 119 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

◆ m_xLinguDicsFT

std::unique_ptr<weld::Label> SvxLinguTabPage::m_xLinguDicsFT
private

Definition at line 116 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

◆ m_xLinguDicsNewPB

std::unique_ptr<weld::Button> SvxLinguTabPage::m_xLinguDicsNewPB
private

Definition at line 118 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

◆ m_xLinguModulesCLB

std::unique_ptr<weld::TreeView> SvxLinguTabPage::m_xLinguModulesCLB
private

Definition at line 114 of file optlingu.hxx.

Referenced by FillItemSet(), HideGroups(), Reset(), SvxLinguTabPage(), and UpdateModulesBox_Impl().

◆ m_xLinguModulesEditPB

std::unique_ptr<weld::Button> SvxLinguTabPage::m_xLinguModulesEditPB
private

Definition at line 115 of file optlingu.hxx.

Referenced by HideGroups(), SvxLinguTabPage(), and UpdateModulesBox_Impl().

◆ m_xLinguModulesFT

std::unique_ptr<weld::Label> SvxLinguTabPage::m_xLinguModulesFT
private

Definition at line 113 of file optlingu.hxx.

Referenced by HideGroups().

◆ m_xLinguOptionsCLB

std::unique_ptr<weld::TreeView> SvxLinguTabPage::m_xLinguOptionsCLB
private

Definition at line 121 of file optlingu.hxx.

Referenced by FillItemSet(), Reset(), and SvxLinguTabPage().

◆ m_xLinguOptionsEditPB

std::unique_ptr<weld::Button> SvxLinguTabPage::m_xLinguOptionsEditPB
private

Definition at line 122 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

◆ m_xMoreDictsBox

std::unique_ptr<weld::Box> SvxLinguTabPage::m_xMoreDictsBox
private

Definition at line 123 of file optlingu.hxx.

Referenced by HideGroups(), and SvxLinguTabPage().

◆ m_xMoreDictsLink

std::unique_ptr<weld::LinkButton> SvxLinguTabPage::m_xMoreDictsLink
private

Definition at line 124 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

◆ nUPN_HYPH_MIN_LEADING

int SvxLinguTabPage::nUPN_HYPH_MIN_LEADING
private

Definition at line 97 of file optlingu.hxx.

Referenced by Reset().

◆ nUPN_HYPH_MIN_TRAILING

int SvxLinguTabPage::nUPN_HYPH_MIN_TRAILING
private

Definition at line 98 of file optlingu.hxx.

Referenced by Reset().

◆ nUPN_HYPH_MIN_WORD_LENGTH

int SvxLinguTabPage::nUPN_HYPH_MIN_WORD_LENGTH
private

Definition at line 96 of file optlingu.hxx.

Referenced by Reset().

◆ pLinguData

std::unique_ptr<SvxLinguData_Impl> SvxLinguTabPage::pLinguData
private

Definition at line 111 of file optlingu.hxx.

Referenced by FillItemSet(), Reset(), UpdateModulesBox_Impl(), and ~SvxLinguTabPage().

◆ sCapitalWords

OUString SvxLinguTabPage::sCapitalWords
private

Definition at line 83 of file optlingu.hxx.

Referenced by Reset().

◆ sGrammarAuto

OUString SvxLinguTabPage::sGrammarAuto
private

Definition at line 89 of file optlingu.hxx.

Referenced by Reset().

◆ sHyphAuto

OUString SvxLinguTabPage::sHyphAuto
private

Definition at line 93 of file optlingu.hxx.

Referenced by Reset().

◆ sHyphSpecial

OUString SvxLinguTabPage::sHyphSpecial
private

Definition at line 94 of file optlingu.hxx.

Referenced by Reset().

◆ sNumMinWordlen

OUString SvxLinguTabPage::sNumMinWordlen
private

Definition at line 90 of file optlingu.hxx.

Referenced by Reset().

◆ sNumPostBreak

OUString SvxLinguTabPage::sNumPostBreak
private

Definition at line 92 of file optlingu.hxx.

Referenced by Reset().

◆ sNumPreBreak

OUString SvxLinguTabPage::sNumPreBreak
private

Definition at line 91 of file optlingu.hxx.

Referenced by Reset().

◆ sSpellAuto

OUString SvxLinguTabPage::sSpellAuto
private

Definition at line 86 of file optlingu.hxx.

Referenced by Reset().

◆ sSpellClosedCompound

OUString SvxLinguTabPage::sSpellClosedCompound
private

Definition at line 87 of file optlingu.hxx.

Referenced by Reset().

◆ sSpellHyphenatedCompound

OUString SvxLinguTabPage::sSpellHyphenatedCompound
private

Definition at line 88 of file optlingu.hxx.

Referenced by Reset().

◆ sSpellSpecial

OUString SvxLinguTabPage::sSpellSpecial
private

Definition at line 85 of file optlingu.hxx.

Referenced by Reset().

◆ sWordsWithDigits

OUString SvxLinguTabPage::sWordsWithDigits
private

Definition at line 84 of file optlingu.hxx.

Referenced by Reset().

◆ xDicList

css::uno::Reference< css::linguistic2::XDictionaryList > SvxLinguTabPage::xDicList
private

Definition at line 106 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

◆ xProp

css::uno::Reference< css::linguistic2::XLinguProperties > SvxLinguTabPage::xProp
private

Definition at line 103 of file optlingu.hxx.

Referenced by FillItemSet(), and SvxLinguTabPage().


The documentation for this class was generated from the following files: