LibreOffice Module cui (master) 1
|
#include <cuioptgenrl.hxx>
Classes | |
struct | Field |
struct | Row |
Public Member Functions | |
SvxGeneralTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet) | |
virtual | ~SvxGeneralTabPage () override |
virtual bool | FillItemSet (SfxItemSet *rSet) override |
virtual void | Reset (const SfxItemSet *rSet) override |
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) |
Protected Member Functions | |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
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 |
Private Member Functions | |
DECL_LINK (ModifyHdl_Impl, weld::Entry &, void) | |
bool | GetData_Impl () |
void | SetData_Impl () |
void | InitControls () |
void | InitCryptography () |
void | SetLinks () |
Private Attributes | |
std::unique_ptr< weld::CheckButton > | m_xUseDataCB |
std::unique_ptr< weld::Widget > | m_xCryptoFrame |
std::unique_ptr< weld::ComboBox > | m_xSigningKeyLB |
std::unique_ptr< weld::ComboBox > | m_xEncryptionKeyLB |
std::unique_ptr< weld::CheckButton > | m_xEncryptToSelfCB |
std::vector< std::shared_ptr< Row > > | vRows |
std::vector< std::shared_ptr< Field > > | vFields |
unsigned | nNameRow |
unsigned | nShortNameField |
Definition at line 30 of file cuioptgenrl.hxx.
SvxGeneralTabPage::SvxGeneralTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rSet | ||
) |
Definition at line 210 of file optgenrl.cxx.
References InitControls(), InitCryptography(), m_xCryptoFrame, SfxTabPage::SetExchangeSupport(), and SetLinks().
|
overridevirtual |
Definition at line 229 of file optgenrl.cxx.
|
static |
Definition at line 339 of file optgenrl.cxx.
Referenced by CreateGeneralTabPage(), and AbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
overrideprotectedvirtual |
Reimplemented from SfxTabPage.
Definition at line 500 of file optgenrl.cxx.
References FillItemSet().
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 344 of file optgenrl.cxx.
References comphelper::ConfigurationChanges::create(), GetData_Impl(), i, m_xUseDataCB, comphelper::string::strip(), and vFields.
Referenced by DeactivatePage().
|
private |
Definition at line 419 of file optgenrl.cxx.
References i, m_xEncryptionKeyLB, m_xEncryptToSelfCB, m_xSigningKeyLB, SvtUserOptions::SetBoolValue(), SvtUserOptions::SetToken(), and vFields.
Referenced by FillItemSet().
|
private |
Definition at line 235 of file optgenrl.cxx.
References LanguageTag::getLanguageType(), Application::GetSettings(), AllSettings::GetUILanguageTag(), MsLangId::isFamilyNameFirst(), LANGUAGE_ENGLISH_US, LANGUAGE_RUSSIAN, SvxGeneralTabPage::Row::nFirstField, SvxGeneralTabPage::Row::nLastField, nNameRow, nShortNameField, vFields, and vRows.
Referenced by SvxGeneralTabPage().
|
private |
Definition at line 287 of file optgenrl.cxx.
References comphelper::getProcessComponentContext(), m_xCryptoFrame, m_xEncryptionKeyLB, m_xEncryptToSelfCB, and m_xSigningKeyLB.
Referenced by SvxGeneralTabPage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 362 of file optgenrl.cxx.
References SfxItemSet::Get(), SfxItemSet::GetItemState(), i, m_xUseDataCB, rSet, SetData_Impl(), and vFields.
|
private |
Definition at line 459 of file optgenrl.cxx.
References SvtUserOptions::GetEncryptToSelf(), SvtUserOptions::GetToken(), i, SvxGeneralTabPage::Field::iField, SvtUserOptions::IsTokenReadonly(), m_xEncryptionKeyLB, m_xEncryptToSelfCB, m_xSigningKeyLB, SvxGeneralTabPage::Row::nFirstField, SvxGeneralTabPage::Row::nLastField, nToken, vFields, vRows, SvxGeneralTabPage::Field::xEdit, and SvxGeneralTabPage::Row::xLabel.
Referenced by Reset().
|
private |
Definition at line 329 of file optgenrl.cxx.
References i, LINK, SvxGeneralTabPage::Row::nFirstField, SvxGeneralTabPage::Row::nLastField, nNameRow, vFields, and vRows.
Referenced by SvxGeneralTabPage().
|
private |
Definition at line 35 of file cuioptgenrl.hxx.
Referenced by InitCryptography(), and SvxGeneralTabPage().
|
private |
Definition at line 37 of file cuioptgenrl.hxx.
Referenced by GetData_Impl(), InitCryptography(), and SetData_Impl().
|
private |
Definition at line 38 of file cuioptgenrl.hxx.
Referenced by GetData_Impl(), InitCryptography(), and SetData_Impl().
|
private |
Definition at line 36 of file cuioptgenrl.hxx.
Referenced by GetData_Impl(), InitCryptography(), and SetData_Impl().
|
private |
Definition at line 34 of file cuioptgenrl.hxx.
Referenced by FillItemSet(), and Reset().
|
private |
Definition at line 46 of file cuioptgenrl.hxx.
Referenced by InitControls(), and SetLinks().
|
private |
Definition at line 47 of file cuioptgenrl.hxx.
Referenced by InitControls().
|
private |
Definition at line 44 of file cuioptgenrl.hxx.
Referenced by FillItemSet(), GetData_Impl(), InitControls(), Reset(), SetData_Impl(), and SetLinks().
|
private |
Definition at line 41 of file cuioptgenrl.hxx.
Referenced by InitControls(), SetData_Impl(), and SetLinks().