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

#include <optlingu.hxx>

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

Public Member Functions

virtual ~SvxLinguTabPage () override
 
virtual void dispose () 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
 
const SfxItemSetGetItemSet () const
 
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
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, 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 Types

typedef std::pair< int, introw_col
 

Private Member Functions

 SvxLinguTabPage (TabPageParent pParent, const SfxItemSet &rCoreSet)
 
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 &, void)
 
 DECL_LINK (ModulesBoxCheckButtonHdl_Impl, const row_col &, void)
 
 DECL_LINK (DicsBoxCheckButtonHdl_Impl, const row_col &, void)
 
 DECL_LINK (PostDblClickHdl_Impl, void *, void)
 
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 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
 
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::LinkButtonm_xMoreDictsLink
 

Friends

class VclPtr< SvxLinguTabPage >
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 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
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 80 of file optlingu.hxx.

Member Typedef Documentation

typedef std::pair<int, int> SvxLinguTabPage::row_col
private

Definition at line 130 of file optlingu.hxx.

Constructor & Destructor Documentation

SvxLinguTabPage::SvxLinguTabPage ( TabPageParent  pParent,
const SfxItemSet rCoreSet 
)
private
SvxLinguTabPage::~SvxLinguTabPage ( )
overridevirtual

Definition at line 894 of file optlingu.cxx.

Member Function Documentation

void SvxLinguTabPage::AddDicBoxEntry ( const css::uno::Reference< css::linguistic2::XDictionary > &  rxDic,
sal_uInt16  nIdx 
)
private
VclPtr< SfxTabPage > SvxLinguTabPage::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static
SvxLinguTabPage::DECL_LINK ( SelectHdl_Impl  ,
weld::TreeView ,
void   
)
private
SvxLinguTabPage::DECL_LINK ( ClickHdl_Impl  ,
weld::Button ,
void   
)
private
SvxLinguTabPage::DECL_LINK ( BoxDoubleClickHdl_Impl  ,
weld::TreeView ,
void   
)
private
SvxLinguTabPage::DECL_LINK ( ModulesBoxCheckButtonHdl_Impl  ,
const row_col ,
void   
)
private
SvxLinguTabPage::DECL_LINK ( DicsBoxCheckButtonHdl_Impl  ,
const row_col ,
void   
)
private
SvxLinguTabPage::DECL_LINK ( PostDblClickHdl_Impl  ,
void ,
void   
)
private
void SvxLinguTabPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 899 of file optlingu.cxx.

References SfxTabPage::dispose(), and pLinguData.

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

Definition at line 1057 of file optlingu.cxx.

References DBG_ASSERT, and DicUserData::GetUserData().

Referenced by AddDicBoxEntry().

void SvxLinguTabPage::HideGroups ( sal_uInt16  nGrp)
void SvxLinguTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxLinguTabPage::UpdateDicBox_Impl ( )
private

Definition at line 1095 of file optlingu.cxx.

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

Referenced by SvxLinguTabPage().

void SvxLinguTabPage::UpdateModulesBox_Impl ( )
private

Friends And Related Function Documentation

friend class VclPtr< SvxLinguTabPage >
friend

Definition at line 82 of file optlingu.hxx.

Member Data Documentation

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

Definition at line 106 of file optlingu.hxx.

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

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

Definition at line 114 of file optlingu.hxx.

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

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

Definition at line 117 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

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

Definition at line 116 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

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

Definition at line 113 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

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

Definition at line 115 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

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

Definition at line 111 of file optlingu.hxx.

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

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

Definition at line 112 of file optlingu.hxx.

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

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

Definition at line 110 of file optlingu.hxx.

Referenced by HideGroups().

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

Definition at line 118 of file optlingu.hxx.

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

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

Definition at line 119 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

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

Definition at line 120 of file optlingu.hxx.

Referenced by HideGroups(), and SvxLinguTabPage().

int SvxLinguTabPage::nUPN_HYPH_MIN_LEADING
private

Definition at line 96 of file optlingu.hxx.

Referenced by Reset().

int SvxLinguTabPage::nUPN_HYPH_MIN_TRAILING
private

Definition at line 97 of file optlingu.hxx.

Referenced by Reset().

int SvxLinguTabPage::nUPN_HYPH_MIN_WORD_LENGTH
private

Definition at line 95 of file optlingu.hxx.

Referenced by Reset().

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

Definition at line 108 of file optlingu.hxx.

Referenced by dispose(), FillItemSet(), Reset(), and UpdateModulesBox_Impl().

OUString SvxLinguTabPage::sCapitalWords
private

Definition at line 84 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sGrammarAuto
private

Definition at line 88 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sHyphAuto
private

Definition at line 92 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sHyphSpecial
private

Definition at line 93 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sNumMinWordlen
private

Definition at line 89 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sNumPostBreak
private

Definition at line 91 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sNumPreBreak
private

Definition at line 90 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sSpellAuto
private

Definition at line 87 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sSpellSpecial
private

Definition at line 86 of file optlingu.hxx.

Referenced by Reset().

OUString SvxLinguTabPage::sWordsWithDigits
private

Definition at line 85 of file optlingu.hxx.

Referenced by Reset().

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

Definition at line 103 of file optlingu.hxx.

Referenced by SvxLinguTabPage().

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

Definition at line 100 of file optlingu.hxx.

Referenced by FillItemSet(), and SvxLinguTabPage().


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