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) |
![]() | |
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 |
OString | GetHelpId () const |
OString | GetConfigId () const |
bool | IsVisible () const |
weld::Window * | GetFrameWeld () const |
std::unordered_map< OString, css::uno::Any > & | getAdditionalProperties () |
Static Public Member Functions | |
static std::unique_ptr< SfxTabPage > | Create (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet) |
![]() | |
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 |
std::unique_ptr< CollatorWrapper > | pCompareClass |
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 | |
![]() | |
SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &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 226 of file autocdlg.hxx.
OfaAutocorrExceptPage::OfaAutocorrExceptPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 1191 of file autocdlg.cxx.
References LanguageTag::convertToLocale(), eLastDialogLanguage, comphelper::getProcessComponentContext(), LINK, m_xAbbrevED, m_xAbbrevLB, m_xDelAbbrevPB, m_xDelDoublePB, m_xDoubleCapsED, m_xDoubleCapsLB, m_xNewAbbrevPB, m_xNewDoublePB, pCompareClass, and rSet.
|
overridevirtual |
Definition at line 1229 of file autocdlg.cxx.
References aStringsTable, and pCompareClass.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1241 of file autocdlg.cxx.
References eLang, eLastDialogLanguage, SfxTabPage::GetDialogController(), and SetLanguage().
|
static |
Definition at line 1235 of file autocdlg.cxx.
References rSet.
Referenced by OfaAutoCorrDlg::OfaAutoCorrDlg().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1248 of file autocdlg.cxx.
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1253 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 1457 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 1374 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 1437 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 1360 of file autocdlg.cxx.
References LanguageTag::convertToLocale(), eLang, eLastDialogLanguage, comphelper::getProcessComponentContext(), m_xAbbrevED, m_xDoubleCapsED, pCompareClass, and RefillReplaceBoxes().
Referenced by ActivatePage(), and IMPL_LINK_NOARG().
|
private |
Definition at line 229 of file autocdlg.hxx.
Referenced by FillItemSet(), RefillReplaceBoxes(), and ~OfaAutocorrExceptPage().
|
private |
Definition at line 231 of file autocdlg.hxx.
Referenced by ActivatePage(), FillItemSet(), RefillReplaceBoxes(), Reset(), and SetLanguage().
|
private |
Definition at line 233 of file autocdlg.hxx.
Referenced by NewDelHdl(), OfaAutocorrExceptPage(), RefillReplaceBoxes(), and SetLanguage().
|
private |
Definition at line 234 of file autocdlg.hxx.
Referenced by FillItemSet(), NewDelHdl(), OfaAutocorrExceptPage(), and RefillReplaceBoxes().
|
private |
Definition at line 237 of file autocdlg.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 243 of file autocdlg.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 236 of file autocdlg.hxx.
Referenced by NewDelHdl(), and OfaAutocorrExceptPage().
|
private |
Definition at line 242 of file autocdlg.hxx.
Referenced by NewDelHdl(), and OfaAutocorrExceptPage().
|
private |
Definition at line 239 of file autocdlg.hxx.
Referenced by NewDelHdl(), OfaAutocorrExceptPage(), RefillReplaceBoxes(), and SetLanguage().
|
private |
Definition at line 240 of file autocdlg.hxx.
Referenced by FillItemSet(), NewDelHdl(), OfaAutocorrExceptPage(), and RefillReplaceBoxes().
|
private |
Definition at line 235 of file autocdlg.hxx.
Referenced by NewDelHdl(), and OfaAutocorrExceptPage().
|
private |
Definition at line 241 of file autocdlg.hxx.
Referenced by NewDelHdl(), and OfaAutocorrExceptPage().
|
private |
Definition at line 230 of file autocdlg.hxx.
Referenced by OfaAutocorrExceptPage(), SetLanguage(), and ~OfaAutocorrExceptPage().