LibreOffice Module cui (master) 1
|
#include <cuitabarea.hxx>
Public Member Functions | |
SvxGradientTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxGradientTabPage () override |
void | Construct () |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | SetColorList (XColorListRef const &pColorList) |
void | SetGradientList (XGradientListRef const &pGrdLst) |
void | SetGrdChgd (ChangeType *pIn) |
void | SetColorChgd (ChangeType *pIn) |
![]() | |
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 *) |
![]() | |
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 (ClickAddHdl_Impl, weld::Button &, void) | |
DECL_LINK (ClickModifyHdl_Impl, weld::Button &, void) | |
DECL_LINK (ChangeGradientHdl, ValueSet *, void) | |
void | ChangeGradientHdl_Impl () |
DECL_LINK (ClickRenameHdl_Impl, SvxPresetListBox *, void) | |
DECL_LINK (ClickDeleteHdl_Impl, SvxPresetListBox *, void) | |
DECL_LINK (ModifiedEditHdl_Impl, weld::SpinButton &, void) | |
DECL_LINK (ModifiedMetricHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ModifiedColorListBoxHdl_Impl, ColorListBox &, void) | |
DECL_LINK (ModifiedListBoxHdl_Impl, weld::ComboBox &, void) | |
DECL_LINK (ChangeAutoStepHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ModifiedSliderHdl_Impl, weld::Scale &, void) | |
void | ModifiedHdl_Impl (void const *) |
void | SetControlState_Impl (css::awt::GradientStyle eXGS) |
sal_Int32 | SearchGradientList (std::u16string_view rGradientName) |
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 350 of file cuitabarea.hxx.
SvxGradientTabPage::SvxGradientTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 43 of file tpgradnt.cxx.
References DEGREE, SfxTabPage::GetDialogController(), GetItemSet(), and PERCENT().
|
overridevirtual |
Definition at line 119 of file tpgradnt.cxx.
References m_xCtlPreview, m_xGradientLB, m_xGradientLBWin, m_xLbColorFrom, and m_xLbColorTo.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 133 of file tpgradnt.cxx.
References aURL, ChangeGradientHdl_Impl(), CuiResId(), SfxItemSet::Get(), SfxTabPage::GetDialogController(), SvxAreaTabDialog::GetNewColorList(), m_pColorList, m_pGradientList, m_pnColorListState, m_xGradientLB, ModifiedHdl_Impl(), nId, nPos, rSet, SAL_WARN_IF, SearchGradientList(), and XATTR_FILLGRADIENT().
|
private |
Definition at line 497 of file tpgradnt.cxx.
References XFillGradientItem::GetGradientValue(), SfxItemSet::GetItemIfSet(), SfxTabPage::GetWhich(), m_aCtlPreview, m_aXFillAttr, m_pGradientList, m_rOutAttrs, m_rXFSet, m_xCbIncrement, m_xGradientLB, m_xLbColorFrom, m_xLbColorTo, m_xLbGradientType, m_xMtrAngle, m_xMtrBorder, m_xMtrCenterX, m_xMtrCenterY, m_xMtrColorFrom, m_xMtrColorTo, m_xMtrIncrement, m_xSliderAngle, m_xSliderBorder, nPos, nValue, SfxItemSet::Put(), SvxXRectPreview::SetAttributes(), SetControlState_Impl(), TRISTATE_FALSE, TRISTATE_TRUE, VALUESET_ITEM_NOTFOUND, XATTR_FILLGRADIENT(), and XATTR_FILLSTYLE().
Referenced by ActivatePage(), and Reset().
void SvxGradientTabPage::Construct | ( | ) |
Definition at line 128 of file tpgradnt.cxx.
References m_pGradientList, and m_xGradientLB.
|
static |
Definition at line 232 of file tpgradnt.cxx.
Referenced by SvxAreaTabPage::SetOptimalSize().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 176 of file tpgradnt.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 184 of file tpgradnt.cxx.
References m_pGradientList, m_xCbIncrement, m_xGradientLB, m_xLbColorFrom, m_xLbColorTo, m_xLbGradientType, m_xMtrAngle, m_xMtrBorder, m_xMtrCenterX, m_xMtrCenterY, m_xMtrColorFrom, m_xMtrColorTo, m_xMtrIncrement, nPos, nValue, SfxItemSet::Put(), rSet, and VALUESET_ITEM_NOTFOUND.
Referenced by DeactivatePage().
|
private |
Definition at line 282 of file tpgradnt.cxx.
References m_aCtlPreview, m_aXFillAttr, m_rXFSet, m_xCbIncrement, m_xLbColorFrom, m_xLbColorTo, m_xLbGradientType, m_xMtrAngle, m_xMtrBorder, m_xMtrCenterX, m_xMtrCenterY, m_xMtrColorFrom, m_xMtrColorTo, m_xMtrIncrement, m_xSliderAngle, m_xSliderBorder, nValue, SfxItemSet::Put(), SvxXRectPreview::SetAttributes(), and SetControlState_Impl().
Referenced by ActivatePage().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 220 of file tpgradnt.cxx.
References ChangeGradientHdl_Impl(), DEFAULT_GRADIENTSTEP, m_pGradientList, m_xBtnModify, and m_xMtrIncrement.
|
private |
Definition at line 616 of file tpgradnt.cxx.
References i, m_pGradientList, nCount, and nPos.
Referenced by ActivatePage().
|
inline |
Definition at line 420 of file cuitabarea.hxx.
References m_pnColorListState.
|
inline |
Definition at line 416 of file cuitabarea.hxx.
References m_pColorList.
Referenced by SvxAreaTabPage::CreatePage().
|
private |
Definition at line 570 of file tpgradnt.cxx.
References m_xFtAngle, m_xFtCenter, m_xMtrAngle, m_xMtrCenterX, m_xMtrCenterY, and m_xSliderAngle.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().
|
inline |
Definition at line 417 of file cuitabarea.hxx.
References m_pGradientList.
|
inline |
Definition at line 419 of file cuitabarea.hxx.
References m_pnGradientListState.
|
private |
Definition at line 364 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().
|
private |
Definition at line 361 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().
|
private |
Definition at line 355 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetColorList().
|
private |
Definition at line 356 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeGradientHdl_Impl(), Construct(), FillItemSet(), Reset(), SearchGradientList(), and SetGradientList().
|
private |
Definition at line 359 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetColorChgd().
|
private |
Definition at line 358 of file cuitabarea.hxx.
Referenced by SetGrdChgd().
|
private |
Definition at line 353 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl().
|
private |
Definition at line 362 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().
|
private |
Definition at line 381 of file cuitabarea.hxx.
|
private |
Definition at line 382 of file cuitabarea.hxx.
Referenced by Reset().
|
private |
Definition at line 380 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 383 of file cuitabarea.hxx.
Referenced by ~SvxGradientTabPage().
|
private |
Definition at line 369 of file cuitabarea.hxx.
Referenced by SetControlState_Impl().
|
private |
Definition at line 366 of file cuitabarea.hxx.
Referenced by SetControlState_Impl().
|
private |
Definition at line 378 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeGradientHdl_Impl(), Construct(), FillItemSet(), and ~SvxGradientTabPage().
|
private |
Definition at line 384 of file cuitabarea.hxx.
Referenced by ~SvxGradientTabPage().
|
private |
Definition at line 374 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and ~SvxGradientTabPage().
|
private |
Definition at line 376 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and ~SvxGradientTabPage().
|
private |
Definition at line 365 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 370 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and SetControlState_Impl().
|
private |
Definition at line 372 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 367 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and SetControlState_Impl().
|
private |
Definition at line 368 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and SetControlState_Impl().
|
private |
Definition at line 375 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 377 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 379 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and Reset().
|
private |
Definition at line 371 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), ModifiedHdl_Impl(), and SetControlState_Impl().
|
private |
Definition at line 373 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().