LibreOffice Module cui (master) 1
|
#include <autocdlg.hxx>
Public Member Functions | |
OfaAutoCompleteTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~OfaAutoCompleteTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
virtual void | ActivatePage (const SfxItemSet &) override |
void | CopyToClipboard () const |
DECL_LINK (DeleteHdl, weld::Button &, void) | |
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 (CheckHdl, weld::Toggleable &, void) | |
DECL_LINK (KeyReleaseHdl, const KeyEvent &, bool) | |
Private Attributes | |
editeng::SortedAutoCompleteStrings * | m_pAutoCompleteList |
sal_uInt16 | m_nAutoCmpltListCnt |
std::unique_ptr< weld::CheckButton > | m_xCBActiv |
Enable word completion. More... | |
std::unique_ptr< weld::CheckButton > | m_xCBAppendSpace |
Append space. More... | |
std::unique_ptr< weld::CheckButton > | m_xCBAsTip |
Show as tip. More... | |
std::unique_ptr< weld::CheckButton > | m_xCBCollect |
Collect words. More... | |
std::unique_ptr< weld::CheckButton > | m_xCBRemoveList |
...save the list for later use... More... | |
std::unique_ptr< weld::ComboBox > | m_xDCBExpandKey |
std::unique_ptr< weld::SpinButton > | m_xNFMinWordlen |
std::unique_ptr< weld::SpinButton > | m_xNFMaxEntries |
std::unique_ptr< weld::TreeView > | m_xLBEntries |
std::unique_ptr< weld::Button > | m_xPBEntries |
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 327 of file autocdlg.hxx.
OfaAutoCompleteTabPage::OfaAutoCompleteTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 1914 of file autocdlg.cxx.
References vcl::KeyCode::GetName(), KEY_END, KEY_RETURN, KEY_RIGHT, KEY_SPACE, KEY_TAB, LINK, m_xCBActiv, m_xCBCollect, m_xCBRemoveList, m_xDCBExpandKey, m_xLBEntries, m_xPBEntries, rSet, and Size::Width().
|
overridevirtual |
Definition at line 1969 of file autocdlg.cxx.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2082 of file autocdlg.cxx.
References SfxTabPage::GetDialogController().
void OfaAutoCompleteTabPage::CopyToClipboard | ( | ) | const |
Definition at line 2116 of file autocdlg.cxx.
References a, m_pAutoCompleteList, m_xLBEntries, OUStringToOString(), and SAL_NEWLINE_STRING.
|
static |
Definition at line 1973 of file autocdlg.cxx.
References rSet.
Referenced by OfaAutoCorrDlg::OfaAutoCorrDlg().
|
private |
OfaAutoCompleteTabPage::DECL_LINK | ( | DeleteHdl | , |
weld::Button & | , | ||
void | |||
) |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 1979 of file autocdlg.cxx.
References SvxSwAutoFormatFlags::bAutoCmpltAppendBlank, SvxSwAutoFormatFlags::bAutoCmpltCollectWords, SvxSwAutoFormatFlags::bAutoCmpltKeepList, SvxSwAutoFormatFlags::bAutoCmpltShowAsTip, SvxSwAutoFormatFlags::bAutoCompleteWords, SvxAutoCorrCfg::Commit(), SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SvxAutoCorrect::GetSwFlags(), m_nAutoCmpltListCnt, m_pAutoCompleteList, SvxSwAutoFormatFlags::m_pAutoCompleteList, m_xCBActiv, m_xCBAppendSpace, m_xCBAsTip, m_xCBCollect, m_xCBRemoveList, m_xDCBExpandKey, m_xLBEntries, m_xNFMaxEntries, m_xNFMinWordlen, SvxSwAutoFormatFlags::nAutoCmpltExpandKey, SvxSwAutoFormatFlags::nAutoCmpltListLen, SvxSwAutoFormatFlags::nAutoCmpltWordLen, nPos, and SvxAutoCorrCfg::SetModified().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 2031 of file autocdlg.cxx.
References SvxSwAutoFormatFlags::bAutoCmpltAppendBlank, SvxSwAutoFormatFlags::bAutoCmpltCollectWords, SvxSwAutoFormatFlags::bAutoCmpltKeepList, SvxSwAutoFormatFlags::bAutoCmpltShowAsTip, SvxSwAutoFormatFlags::bAutoCompleteWords, SvxAutoCorrCfg::Get(), SvxAutoCorrCfg::GetAutoCorrect(), SvxAutoCorrect::GetSwFlags(), m_nAutoCmpltListCnt, m_pAutoCompleteList, SvxSwAutoFormatFlags::m_pAutoCompleteList, m_xCBActiv, m_xCBAppendSpace, m_xCBAsTip, m_xCBCollect, m_xCBRemoveList, m_xDCBExpandKey, m_xLBEntries, m_xNFMaxEntries, m_xNFMinWordlen, m_xPBEntries, n, SvxSwAutoFormatFlags::nAutoCmpltExpandKey, SvxSwAutoFormatFlags::nAutoCmpltListLen, SvxSwAutoFormatFlags::nAutoCmpltWordLen, sId, and weld::toId().
|
private |
Definition at line 331 of file autocdlg.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 330 of file autocdlg.hxx.
Referenced by CopyToClipboard(), FillItemSet(), and Reset().
|
private |
Enable word completion.
Definition at line 333 of file autocdlg.hxx.
Referenced by FillItemSet(), OfaAutoCompleteTabPage(), and Reset().
|
private |
Append space.
Definition at line 334 of file autocdlg.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
|
private |
Collect words.
Definition at line 337 of file autocdlg.hxx.
Referenced by FillItemSet(), OfaAutoCompleteTabPage(), and Reset().
|
private |
...save the list for later use...
Definition at line 338 of file autocdlg.hxx.
Referenced by FillItemSet(), OfaAutoCompleteTabPage(), and Reset().
|
private |
Definition at line 340 of file autocdlg.hxx.
Referenced by FillItemSet(), OfaAutoCompleteTabPage(), and Reset().
|
private |
Definition at line 343 of file autocdlg.hxx.
Referenced by CopyToClipboard(), FillItemSet(), OfaAutoCompleteTabPage(), and Reset().
|
private |
Definition at line 342 of file autocdlg.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 341 of file autocdlg.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 344 of file autocdlg.hxx.
Referenced by OfaAutoCompleteTabPage(), and Reset().