LibreOffice Module cui (master) 1
|
#include <autocdlg.hxx>
Public Member Functions | |
OfaAutocorrExceptPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~OfaAutocorrExceptPage () 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) |
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 *rAttrSet) |
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 | |
DECL_LINK (NewDelButtonHdl, weld::Button &, void) | |
DECL_LINK (NewDelActionHdl, weld::Entry &, bool) | |
DECL_LINK (SelectHdl, weld::TreeView &, void) | |
DECL_LINK (ModifyHdl, weld::Entry &, void) | |
bool | NewDelHdl (const weld::Widget *) |
void | RefillReplaceBoxes (bool bFromReset, LanguageType eOldLanguage, LanguageType eNewLanguage) |
Box filled with new language. More... | |
Private Attributes | |
StringsTable | aStringsTable |
CollatorWrapper | maCompareClass |
LanguageType | eLang |
std::unique_ptr< weld::Entry > | m_xAbbrevED |
std::unique_ptr< weld::TreeView > | m_xAbbrevLB |
std::unique_ptr< weld::Button > | m_xNewAbbrevPB |
std::unique_ptr< weld::Button > | m_xDelAbbrevPB |
std::unique_ptr< weld::CheckButton > | m_xAutoAbbrevCB |
std::unique_ptr< weld::Entry > | m_xDoubleCapsED |
std::unique_ptr< weld::TreeView > | m_xDoubleCapsLB |
std::unique_ptr< weld::Button > | m_xNewDoublePB |
std::unique_ptr< weld::Button > | m_xDelDoublePB |
std::unique_ptr< weld::CheckButton > | m_xAutoCapsCB |
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 228 of file autocdlg.hxx.
OfaAutocorrExceptPage::OfaAutocorrExceptPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 1206 of file autocdlg.cxx.
References LanguageTag::convertToLocale(), eLastDialogLanguage, getProcessComponentContext(), LINK, CollatorWrapper::loadDefaultCollator(), m_xAbbrevED, m_xAbbrevLB, m_xDelAbbrevPB, m_xDelDoublePB, m_xDoubleCapsED, m_xDoubleCapsLB, m_xNewAbbrevPB, m_xNewDoublePB, maCompareClass, and rSet.
|
overridevirtual |
Definition at line 1244 of file autocdlg.cxx.
References aStringsTable.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1255 of file autocdlg.cxx.
References eLang, eLastDialogLanguage, SfxTabPage::GetDialogController(), and SetLanguage().
|
static |
Definition at line 1249 of file autocdlg.cxx.
References rSet.
Referenced by OfaAutoCorrDlg::OfaAutoCorrDlg().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1262 of file autocdlg.cxx.
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1267 of file autocdlg.cxx.
References StringsArrays::aAbbrevStrings, StringsArrays::aDoubleCapsStrings, aStringsTable, eLang, SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), i, lcl_FindInArray(), SvxAutoCorrect::LoadCplSttExceptList(), SvxAutoCorrect::LoadWordStartExceptList(), m_xAbbrevLB, m_xAutoAbbrevCB, m_xAutoCapsCB, m_xDoubleCapsLB, nCount, SvxAutoCorrect::SaveCplSttExceptList(), SvxAutoCorrect::SaveWordStartExceptList(), and SvxAutoCorrect::SetAutoCorrFlag().
|
private |
Definition at line 1471 of file autocdlg.cxx.
References m_xAbbrevED, m_xAbbrevLB, m_xDelAbbrevPB, m_xDelDoublePB, m_xDoubleCapsED, m_xDoubleCapsLB, m_xNewAbbrevPB, and m_xNewDoublePB.
|
private |
Box filled with new language.
Definition at line 1388 of file autocdlg.cxx.
References StringsArrays::aAbbrevStrings, StringsArrays::aDoubleCapsStrings, aStringsTable, eLang, SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SvxAutoCorrect::GetCplSttExceptList(), SvxAutoCorrect::GetWordStartExceptList(), i, m_xAbbrevED, m_xAbbrevLB, m_xDoubleCapsED, m_xDoubleCapsLB, and nCount.
Referenced by Reset(), and SetLanguage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1451 of file autocdlg.cxx.
References eLang, SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SvxAutoCorrect::IsAutoCorrFlag(), m_xAutoAbbrevCB, m_xAutoCapsCB, and RefillReplaceBoxes().
void OfaAutocorrExceptPage::SetLanguage | ( | LanguageType | eSet | ) |
Definition at line 1374 of file autocdlg.cxx.
References LanguageTag::convertToLocale(), eLang, eLastDialogLanguage, comphelper::getProcessComponentContext(), CollatorWrapper::loadDefaultCollator(), m_xAbbrevED, m_xDoubleCapsED, maCompareClass, and RefillReplaceBoxes().
Referenced by ActivatePage(), and IMPL_LINK_NOARG().
|
private |
Definition at line 231 of file autocdlg.hxx.
Referenced by FillItemSet(), RefillReplaceBoxes(), and ~OfaAutocorrExceptPage().
|
private |
Definition at line 233 of file autocdlg.hxx.
Referenced by ActivatePage(), FillItemSet(), RefillReplaceBoxes(), Reset(), and SetLanguage().
|
private |
Definition at line 235 of file autocdlg.hxx.
Referenced by NewDelHdl(), OfaAutocorrExceptPage(), RefillReplaceBoxes(), and SetLanguage().
|
private |
Definition at line 236 of file autocdlg.hxx.
Referenced by FillItemSet(), NewDelHdl(), OfaAutocorrExceptPage(), and RefillReplaceBoxes().
|
private |
Definition at line 239 of file autocdlg.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 245 of file autocdlg.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 238 of file autocdlg.hxx.
Referenced by NewDelHdl(), and OfaAutocorrExceptPage().
|
private |
Definition at line 244 of file autocdlg.hxx.
Referenced by NewDelHdl(), and OfaAutocorrExceptPage().
|
private |
Definition at line 241 of file autocdlg.hxx.
Referenced by NewDelHdl(), OfaAutocorrExceptPage(), RefillReplaceBoxes(), and SetLanguage().
|
private |
Definition at line 242 of file autocdlg.hxx.
Referenced by FillItemSet(), NewDelHdl(), OfaAutocorrExceptPage(), and RefillReplaceBoxes().
|
private |
Definition at line 237 of file autocdlg.hxx.
Referenced by NewDelHdl(), and OfaAutocorrExceptPage().
|
private |
Definition at line 243 of file autocdlg.hxx.
Referenced by NewDelHdl(), and OfaAutocorrExceptPage().
|
private |
Definition at line 232 of file autocdlg.hxx.
Referenced by OfaAutocorrExceptPage(), and SetLanguage().