LibreOffice Module cui (master) 1
|
#include <autocdlg.hxx>
Public Member Functions | |
OfaAutoCorrDlg (weld::Window *pParent, const SfxItemSet *pSet) | |
virtual | ~OfaAutoCorrDlg () override |
void | EnableLanguage (bool bEnable) |
![]() | |
SfxTabDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet *=nullptr, bool bEditFmt=false) | |
virtual | ~SfxTabDialogController () override |
void | AddTabPage (const OUString &rName, CreateTabPage pCreateFunc, GetTabPageRanges pRangesFunc) |
void | AddTabPage (const OUString &rName, sal_uInt16 nPageCreateId) |
void | AddTabPage (const OUString &rName, const OUString &rLabel, CreateTabPage pCreateFunc) |
void | AddTabPage (const OUString &rName, const OUString &rLabel, sal_uInt16 nPageCreateId) |
void | RemoveTabPage (const OUString &rName) |
void | SetCurPageId (const OUString &rName) |
void | ShowPage (const OUString &rName) |
OUString | GetCurPageId () const |
SfxTabPage * | GetCurTabPage () const |
const WhichRangesContainer & | GetInputRanges (const SfxItemPool &) |
void | SetInputSet (const SfxItemSet *pInSet) |
const SfxItemSet * | GetOutputItemSet () const |
virtual weld::Button & | GetOKButton () const override |
weld::Button & | GetCancelButton () const |
weld::Button * | GetUserButton () const |
weld::Button * | GetStandardButton () const |
weld::Button * | GetApplyButton () const |
weld::Button * | GetResetButton () const |
void | RemoveResetButton () |
void | RemoveStandardButton () |
virtual short | run () override |
virtual const SfxItemSet * | GetExampleSet () const override |
void | SetApplyHandler (const Link< weld::Button &, void > &_rHdl) |
bool | Apply () |
void | Applied () |
std::vector< OUString > | getAllPageUIXMLDescriptions () const |
bool | selectPageByUIXMLDescription (const OUString &rUIXMLDescription) |
BitmapEx | createScreenshot () const |
OUString | GetScreenshotId () const |
![]() | |
SfxOkDialogController (weld::Widget *pParent, const OUString &rUIXMLDescription, const OUString &rID) | |
virtual weld::Button & | GetOKButton () const=0 |
virtual const SfxItemSet * | GetExampleSet () const=0 |
![]() | |
SfxDialogController (weld::Widget *pParent, const OUString &rUIFile, const OUString &rDialogId) | |
virtual void | Activate () |
virtual void | Deactivate () |
virtual void | ChildWinDispose () |
virtual void | Close () |
virtual void | EndDialog (int nResponse) |
virtual bool | CloseOnHide () const |
Private Member Functions | |
DECL_LINK (SelectLanguageHdl, weld::ComboBox &, void) | |
Private Attributes | |
std::unique_ptr< weld::Widget > | m_xLanguageBox |
std::unique_ptr< SvxLanguageBox > | m_xLanguageLB |
Additional Inherited Members | |
![]() | |
static bool | runAsync (const std::shared_ptr< SfxTabDialogController > &rController, const std::function< void(sal_Int32)> &) |
![]() | |
DECL_LINK (OkHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (ResetHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (BaseFmtHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (UserHdl, weld::Button &, void) | |
DECL_DLLPRIVATE_LINK (CancelHdl, weld::Button &, void) | |
virtual short | Ok () |
virtual void | RefreshInputSet () |
virtual SfxItemSet * | CreateInputItemSet (const OUString &rName) |
virtual void | PageCreated (const OUString &rName, SfxTabPage &rPage) |
virtual void | ActivatePage (const OUString &rPage) |
bool | DeactivatePage (std::u16string_view aPage) |
SfxItemSet * | GetInputSetImpl () |
SfxTabPage * | GetTabPage (std::u16string_view rPageId) const |
bool | PrepareLeaveCurrentPage () |
void | SavePosAndId () |
![]() | |
std::unique_ptr< weld::Notebook > | m_xTabCtrl |
std::unique_ptr< SfxItemSet > | m_xExampleSet |
Definition at line 36 of file autocdlg.hxx.
OfaAutoCorrDlg::OfaAutoCorrDlg | ( | weld::Window * | pParent, |
const SfxItemSet * | pSet | ||
) |
LANGUAGE_NONE is displayed as '[All]' and the LanguageType will be set to LANGUAGE_UNDETERMINED
Definition at line 60 of file autocdlg.cxx.
References SfxTabDialogController::AddTabPage(), OfaAutocorrOptionsPage::Create(), OfaSwAutoFmtOptionsPage::Create(), OfaAutocorrReplacePage::Create(), OfaAutocorrExceptPage::Create(), OfaQuoteTabPage::Create(), OfaAutoCompleteTabPage::Create(), OfaSmartTagOptionsTabPage::Create(), DBG_ASSERT, eLastDialogLanguage, SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), AllSettings::GetLanguageTag(), LanguageTag::getLanguageType(), Application::GetSettings(), SvxAutoCorrect::GetSwFlags(), SfxBoolItem::GetValue(), SvtCJKOptions::IsCJKFontEnabled(), SvtCTLOptions::IsCTLFontEnabled(), LANGUAGE_NONE, LANGUAGE_SYSTEM, LANGUAGE_UNDETERMINED, LINK, m_xLanguageLB, nPos, SmartTagMgr::NumberOfRecognizers(), SvxSwAutoFormatFlags::pSmartTagMgr, SfxTabDialogController::RemoveTabPage(), and SfxTabDialogController::SetCurPageId().
|
overridevirtual |
Definition at line 136 of file autocdlg.cxx.
|
private |
void OfaAutoCorrDlg::EnableLanguage | ( | bool | bEnable | ) |
Definition at line 140 of file autocdlg.cxx.
References m_xLanguageBox.
|
private |
Definition at line 38 of file autocdlg.hxx.
Referenced by EnableLanguage().
|
private |
Definition at line 39 of file autocdlg.hxx.
Referenced by OfaAutoCorrDlg().