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

#include <autocdlg.hxx>

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

Public Member Functions

 OfaAutocorrReplacePage (TabPageParent pParent, const SfxItemSet &rSet)
 
virtual ~OfaAutocorrReplacePage () override
 
virtual void dispose () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void ActivatePage (const SfxItemSet &) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
void SetLanguage (LanguageType eSet)
 
void DeleteEntry (const OUString &sShort, const OUString &sLong)
 
void NewEntry (const OUString &sShort, const OUString &sLong, bool bKeepSourceFormatting)
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
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 SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, const SfxItemSet *rAttrSet)
 
- 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

 DECL_LINK (SelectHdl, weld::TreeView &, void)
 
 DECL_LINK (NewDelButtonHdl, weld::Button &, void)
 
 DECL_LINK (NewDelActionHdl, weld::Entry &, bool)
 
 DECL_LINK (EntrySizeAllocHdl, const Size &, void)
 
 DECL_LINK (ModifyHdl, weld::Entry &, void)
 
bool NewDelHdl (const weld::Widget *)
 
void RefillReplaceBox (bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage)
 

Private Attributes

StringChangeTable aChangesTable
 
OUString sModify
 
OUString sNew
 
std::set< OUString > aFormatText
 
std::map< LanguageType, DoubleStringArrayaDoubleStringTable
 
std::unique_ptr< CollatorWrapperpCompareClass
 
std::unique_ptr< CharClasspCharClass
 
LanguageType eLang
 
bool bHasSelectionText
 
bool bFirstSelect:1
 
bool bReplaceEditChanged:1
 
bool bSWriter:1
 
std::vector< intm_aReplaceFixedWidths
 
std::unique_ptr< weld::CheckButtonm_xTextOnlyCB
 
std::unique_ptr< weld::Entrym_xShortED
 
std::unique_ptr< weld::Entrym_xReplaceED
 
std::unique_ptr< weld::TreeViewm_xReplaceTLB
 
std::unique_ptr< weld::Buttonm_xNewReplacePB
 
std::unique_ptr< weld::Buttonm_xReplacePB
 
std::unique_ptr< weld::Buttonm_xDeleteReplacePB
 

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 159 of file autocdlg.hxx.

Constructor & Destructor Documentation

OfaAutocorrReplacePage::OfaAutocorrReplacePage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
OfaAutocorrReplacePage::~OfaAutocorrReplacePage ( )
overridevirtual

Definition at line 701 of file autocdlg.cxx.

Member Function Documentation

void OfaAutocorrReplacePage::ActivatePage ( const SfxItemSet )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 722 of file autocdlg.cxx.

References eLang, SfxTabPage::GetDialogController(), and SetLanguage().

VclPtr< SfxTabPage > OfaAutocorrReplacePage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static

Definition at line 717 of file autocdlg.cxx.

References VclPtr< reference_type >::Create().

Referenced by OfaAutoCorrDlg::OfaAutoCorrDlg().

DeactivateRC OfaAutocorrReplacePage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 729 of file autocdlg.cxx.

OfaAutocorrReplacePage::DECL_LINK ( SelectHdl  ,
weld::TreeView ,
void   
)
private
OfaAutocorrReplacePage::DECL_LINK ( NewDelButtonHdl  ,
weld::Button ,
void   
)
private
OfaAutocorrReplacePage::DECL_LINK ( NewDelActionHdl  ,
weld::Entry ,
bool   
)
private
OfaAutocorrReplacePage::DECL_LINK ( EntrySizeAllocHdl  ,
const Size ,
void   
)
private
OfaAutocorrReplacePage::DECL_LINK ( ModifyHdl  ,
weld::Entry ,
void   
)
private
void OfaAutocorrReplacePage::DeleteEntry ( const OUString &  sShort,
const OUString &  sLong 
)

Definition at line 963 of file autocdlg.cxx.

References aChangesTable, eLang, i, DoubleString::sLong, and DoubleString::sShort.

Referenced by NewDelHdl().

void OfaAutocorrReplacePage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 706 of file autocdlg.cxx.

References aChangesTable, aDoubleStringTable, SfxTabPage::dispose(), pCharClass, and pCompareClass.

bool OfaAutocorrReplacePage::FillItemSet ( SfxItemSet rSet)
overridevirtual
bool OfaAutocorrReplacePage::NewDelHdl ( const weld::Widget pBtn)
private
void OfaAutocorrReplacePage::NewEntry ( const OUString &  sShort,
const OUString &  sLong,
bool  bKeepSourceFormatting 
)

Definition at line 933 of file autocdlg.cxx.

References aChangesTable, bHasSelectionText, eLang, i, DoubleString::sLong, and DoubleString::sShort.

Referenced by NewDelHdl().

void OfaAutocorrReplacePage::RefillReplaceBox ( bool  bFromReset,
LanguageType  eOldLanguage,
LanguageType  eNewLanguage 
)
private
void OfaAutocorrReplacePage::Reset ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 878 of file autocdlg.cxx.

References eLang, m_xShortED, and RefillReplaceBox().

void OfaAutocorrReplacePage::SetLanguage ( LanguageType  eSet)

Member Data Documentation

StringChangeTable OfaAutocorrReplacePage::aChangesTable
private

Definition at line 166 of file autocdlg.hxx.

Referenced by DeleteEntry(), dispose(), FillItemSet(), NewEntry(), and RefillReplaceBox().

std::map<LanguageType, DoubleStringArray> OfaAutocorrReplacePage::aDoubleStringTable
private

Definition at line 173 of file autocdlg.hxx.

Referenced by dispose(), and RefillReplaceBox().

std::set<OUString> OfaAutocorrReplacePage::aFormatText
private

Definition at line 171 of file autocdlg.hxx.

Referenced by RefillReplaceBox().

bool OfaAutocorrReplacePage::bFirstSelect
private

Definition at line 179 of file autocdlg.hxx.

bool OfaAutocorrReplacePage::bHasSelectionText
private

Definition at line 178 of file autocdlg.hxx.

Referenced by FillItemSet(), NewDelHdl(), NewEntry(), and RefillReplaceBox().

bool OfaAutocorrReplacePage::bReplaceEditChanged
private

Definition at line 180 of file autocdlg.hxx.

Referenced by NewDelHdl().

bool OfaAutocorrReplacePage::bSWriter
private

Definition at line 181 of file autocdlg.hxx.

Referenced by NewDelHdl(), OfaAutocorrReplacePage(), and RefillReplaceBox().

LanguageType OfaAutocorrReplacePage::eLang
private

Definition at line 176 of file autocdlg.hxx.

Referenced by ActivatePage(), DeleteEntry(), NewEntry(), RefillReplaceBox(), Reset(), and SetLanguage().

std::vector<int> OfaAutocorrReplacePage::m_aReplaceFixedWidths
private

Definition at line 183 of file autocdlg.hxx.

Referenced by OfaAutocorrReplacePage(), and RefillReplaceBox().

std::unique_ptr<weld::Button> OfaAutocorrReplacePage::m_xDeleteReplacePB
private

Definition at line 190 of file autocdlg.hxx.

Referenced by NewDelHdl(), OfaAutocorrReplacePage(), and RefillReplaceBox().

std::unique_ptr<weld::Button> OfaAutocorrReplacePage::m_xNewReplacePB
private

Definition at line 188 of file autocdlg.hxx.

Referenced by NewDelHdl(), OfaAutocorrReplacePage(), and RefillReplaceBox().

std::unique_ptr<weld::Entry> OfaAutocorrReplacePage::m_xReplaceED
private

Definition at line 186 of file autocdlg.hxx.

Referenced by NewDelHdl(), OfaAutocorrReplacePage(), and RefillReplaceBox().

std::unique_ptr<weld::Button> OfaAutocorrReplacePage::m_xReplacePB
private

Definition at line 189 of file autocdlg.hxx.

Referenced by OfaAutocorrReplacePage().

std::unique_ptr<weld::TreeView> OfaAutocorrReplacePage::m_xReplaceTLB
private

Definition at line 187 of file autocdlg.hxx.

Referenced by NewDelHdl(), OfaAutocorrReplacePage(), and RefillReplaceBox().

std::unique_ptr<weld::Entry> OfaAutocorrReplacePage::m_xShortED
private

Definition at line 185 of file autocdlg.hxx.

Referenced by NewDelHdl(), OfaAutocorrReplacePage(), Reset(), and SetLanguage().

std::unique_ptr<weld::CheckButton> OfaAutocorrReplacePage::m_xTextOnlyCB
private

Definition at line 184 of file autocdlg.hxx.

Referenced by NewDelHdl(), and RefillReplaceBox().

std::unique_ptr<CharClass> OfaAutocorrReplacePage::pCharClass
private

Definition at line 175 of file autocdlg.hxx.

Referenced by dispose(), OfaAutocorrReplacePage(), and SetLanguage().

std::unique_ptr<CollatorWrapper> OfaAutocorrReplacePage::pCompareClass
private

Definition at line 174 of file autocdlg.hxx.

Referenced by dispose(), NewDelHdl(), OfaAutocorrReplacePage(), and SetLanguage().

OUString OfaAutocorrReplacePage::sModify
private

Definition at line 168 of file autocdlg.hxx.

Referenced by OfaAutocorrReplacePage().

OUString OfaAutocorrReplacePage::sNew
private

Definition at line 169 of file autocdlg.hxx.

Referenced by OfaAutocorrReplacePage().


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