LibreOffice Module sc (master) 1
|
#include <tabpages.hxx>
Public Member Functions | |
ScTabPageProtection (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreAttrs) | |
virtual | ~ScTabPageProtection () override |
virtual bool | FillItemSet (SfxItemSet *rCoreAttrs) override |
virtual void | Reset (const SfxItemSet *) 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 WhichRangesContainer | GetRanges () |
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 (ProtectClickHdl, weld::Toggleable &, void) | |
DECL_LINK (HideCellClickHdl, weld::Toggleable &, void) | |
DECL_LINK (HideFormulaClickHdl, weld::Toggleable &, void) | |
DECL_LINK (HidePrintClickHdl, weld::Toggleable &, void) | |
void | ButtonClick (const weld::Toggleable &rBox) |
void | UpdateButtons () |
Private Attributes | |
bool | bTriEnabled |
bool | bDontCare |
bool | bProtect |
bool | bHideForm |
bool | bHideCell |
bool | bHidePrint |
weld::TriStateEnabled | aHideCellState |
weld::TriStateEnabled | aProtectState |
weld::TriStateEnabled | aHideFormulaState |
weld::TriStateEnabled | aHidePrintState |
std::unique_ptr< weld::CheckButton > | m_xBtnHideCell |
std::unique_ptr< weld::CheckButton > | m_xBtnProtect |
std::unique_ptr< weld::CheckButton > | m_xBtnHideFormula |
std::unique_ptr< weld::CheckButton > | m_xBtnHidePrint |
Static Private Attributes | |
static const WhichRangesContainer | pProtectionRanges |
Definition at line 24 of file tabpages.hxx.
ScTabPageProtection::ScTabPageProtection | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rCoreAttrs | ||
) |
Definition at line 33 of file tabpages.cxx.
References bDontCare, bHideCell, bHideForm, bHidePrint, bProtect, bTriEnabled, LINK, m_xBtnHideCell, m_xBtnHideFormula, m_xBtnHidePrint, m_xBtnProtect, and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 52 of file tabpages.cxx.
|
private |
Definition at line 164 of file tabpages.cxx.
References bDontCare, bHideCell, bHideForm, bHidePrint, bProtect, weld::Toggleable::get_state(), m_xBtnHideCell, m_xBtnHideFormula, m_xBtnHidePrint, m_xBtnProtect, TRISTATE_INDET, TRISTATE_TRUE, and UpdateButtons().
|
static |
Definition at line 56 of file tabpages.cxx.
Referenced by ScAttrDlg::ScAttrDlg(), and ScStyleDlg::ScStyleDlg().
|
overrideprotectedvirtual |
Reimplemented from SfxTabPage.
Definition at line 132 of file tabpages.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 102 of file tabpages.cxx.
References bDontCare, bHideCell, bHideForm, bHidePrint, bProtect, bTriEnabled, SfxItemSet::ClearItem(), SfxTabPage::GetItemSet(), SfxItemSet::GetItemState(), SfxTabPage::GetOldItem(), SfxTabPage::GetWhich(), SfxItemSet::Put(), ScProtectionAttr::SetHideCell(), ScProtectionAttr::SetHideFormula(), ScProtectionAttr::SetHidePrint(), and ScProtectionAttr::SetProtection().
Referenced by DeactivatePage().
|
inlinestatic |
Definition at line 33 of file tabpages.hxx.
References pProtectionRanges.
Referenced by ScStyleDlg::ScStyleDlg().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 61 of file tabpages.cxx.
References aHideCellState, aHideFormulaState, aHidePrintState, aProtectState, bDontCare, bHideCell, bHideForm, bHidePrint, bProtect, bTriEnabled, weld::TriStateEnabled::bTriStateEnabled, SfxItemSet::Get(), ScProtectionAttr::GetHideCell(), ScProtectionAttr::GetHideFormula(), ScProtectionAttr::GetHidePrint(), SfxItemSet::GetItemState(), ScProtectionAttr::GetProtection(), SfxTabPage::GetWhich(), and UpdateButtons().
|
private |
Definition at line 191 of file tabpages.cxx.
References aHideCellState, aHideFormulaState, aHidePrintState, aProtectState, bDontCare, bHideCell, bHideForm, bHidePrint, bProtect, weld::TriStateEnabled::eState, m_xBtnHideCell, m_xBtnHideFormula, m_xBtnHidePrint, m_xBtnProtect, TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
Referenced by ButtonClick(), and Reset().
|
private |
Definition at line 49 of file tabpages.hxx.
Referenced by Reset(), and UpdateButtons().
|
private |
Definition at line 51 of file tabpages.hxx.
Referenced by Reset(), and UpdateButtons().
|
private |
Definition at line 52 of file tabpages.hxx.
Referenced by Reset(), and UpdateButtons().
|
private |
Definition at line 50 of file tabpages.hxx.
Referenced by Reset(), and UpdateButtons().
|
private |
Definition at line 43 of file tabpages.hxx.
Referenced by ButtonClick(), FillItemSet(), Reset(), ScTabPageProtection(), and UpdateButtons().
|
private |
Definition at line 46 of file tabpages.hxx.
Referenced by ButtonClick(), FillItemSet(), Reset(), ScTabPageProtection(), and UpdateButtons().
|
private |
Definition at line 45 of file tabpages.hxx.
Referenced by ButtonClick(), FillItemSet(), Reset(), ScTabPageProtection(), and UpdateButtons().
|
private |
Definition at line 47 of file tabpages.hxx.
Referenced by ButtonClick(), FillItemSet(), Reset(), ScTabPageProtection(), and UpdateButtons().
|
private |
Definition at line 44 of file tabpages.hxx.
Referenced by ButtonClick(), FillItemSet(), Reset(), ScTabPageProtection(), and UpdateButtons().
|
private |
Definition at line 42 of file tabpages.hxx.
Referenced by FillItemSet(), Reset(), and ScTabPageProtection().
|
private |
Definition at line 54 of file tabpages.hxx.
Referenced by ButtonClick(), ScTabPageProtection(), and UpdateButtons().
|
private |
Definition at line 56 of file tabpages.hxx.
Referenced by ButtonClick(), ScTabPageProtection(), and UpdateButtons().
|
private |
Definition at line 57 of file tabpages.hxx.
Referenced by ButtonClick(), ScTabPageProtection(), and UpdateButtons().
|
private |
Definition at line 55 of file tabpages.hxx.
Referenced by ButtonClick(), ScTabPageProtection(), and UpdateButtons().
|
staticprivate |
Definition at line 26 of file tabpages.hxx.
Referenced by GetRanges().