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) |
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 *) |
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 (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) |
basegfx::BColorStops | createColorStops () |
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 356 of file cuitabarea.hxx.
SvxGradientTabPage::SvxGradientTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 42 of file tpgradnt.cxx.
References DEGREE, SfxTabPage::GetDialogController(), GetItemSet(), and PERCENT().
|
overridevirtual |
Definition at line 118 of file tpgradnt.cxx.
References m_xCtlPreview, m_xGradientLB, m_xGradientLBWin, m_xLbColorFrom, and m_xLbColorTo.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 132 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 506 of file tpgradnt.cxx.
References XFillGradientItem::GetGradientValue(), SfxItemSet::GetItemIfSet(), SfxTabPage::GetWhich(), m_aColorStops, 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(), XATTR_FILLSTYLE(), and XATTR_GRADIENTSTEPCOUNT().
Referenced by ActivatePage(), and Reset().
void SvxGradientTabPage::Construct | ( | ) |
Definition at line 127 of file tpgradnt.cxx.
References m_pGradientList, and m_xGradientLB.
|
static |
Definition at line 233 of file tpgradnt.cxx.
Referenced by SvxAreaTabPage::SetOptimalSize().
|
private |
Definition at line 653 of file tpgradnt.cxx.
References m_aColorStops, m_xLbColorFrom, and m_xLbColorTo.
Referenced by FillItemSet(), and ModifiedHdl_Impl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 175 of file tpgradnt.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 183 of file tpgradnt.cxx.
References createColorStops(), m_pGradientList, m_xCbIncrement, m_xGradientLB, 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 283 of file tpgradnt.cxx.
References createColorStops(), m_aCtlPreview, m_aXFillAttr, m_rXFSet, m_xCbIncrement, 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 222 of file tpgradnt.cxx.
References ChangeGradientHdl_Impl(), m_pGradientList, and m_xBtnModify.
|
private |
Definition at line 636 of file tpgradnt.cxx.
References i, m_pGradientList, nCount, and nPos.
Referenced by ActivatePage().
|
inline |
Definition at line 432 of file cuitabarea.hxx.
References m_pnColorListState.
|
inline |
Definition at line 428 of file cuitabarea.hxx.
References m_pColorList.
Referenced by SvxAreaTabPage::CreatePage().
|
private |
Definition at line 590 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 429 of file cuitabarea.hxx.
References m_pGradientList.
|
inline |
Definition at line 431 of file cuitabarea.hxx.
References m_pnGradientListState.
|
private |
Definition at line 371 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and createColorStops().
|
private |
Definition at line 373 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().
|
private |
Definition at line 367 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().
|
private |
Definition at line 361 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetColorList().
|
private |
Definition at line 362 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeGradientHdl_Impl(), Construct(), FillItemSet(), Reset(), SearchGradientList(), and SetGradientList().
|
private |
Definition at line 365 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetColorChgd().
|
private |
Definition at line 364 of file cuitabarea.hxx.
Referenced by SetGrdChgd().
|
private |
Definition at line 359 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl().
|
private |
Definition at line 368 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().
|
private |
Definition at line 390 of file cuitabarea.hxx.
|
private |
Definition at line 391 of file cuitabarea.hxx.
Referenced by Reset().
|
private |
Definition at line 389 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 392 of file cuitabarea.hxx.
Referenced by ~SvxGradientTabPage().
|
private |
Definition at line 378 of file cuitabarea.hxx.
Referenced by SetControlState_Impl().
|
private |
Definition at line 375 of file cuitabarea.hxx.
Referenced by SetControlState_Impl().
|
private |
Definition at line 387 of file cuitabarea.hxx.
Referenced by ActivatePage(), ChangeGradientHdl_Impl(), Construct(), FillItemSet(), and ~SvxGradientTabPage().
|
private |
Definition at line 393 of file cuitabarea.hxx.
Referenced by ~SvxGradientTabPage().
|
private |
Definition at line 383 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), createColorStops(), and ~SvxGradientTabPage().
|
private |
Definition at line 385 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), createColorStops(), and ~SvxGradientTabPage().
|
private |
Definition at line 374 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 SetControlState_Impl().
|
private |
Definition at line 381 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 376 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and SetControlState_Impl().
|
private |
Definition at line 377 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), ModifiedHdl_Impl(), and SetControlState_Impl().
|
private |
Definition at line 384 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 386 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 388 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), FillItemSet(), and ModifiedHdl_Impl().
|
private |
Definition at line 380 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), ModifiedHdl_Impl(), and SetControlState_Impl().
|
private |
Definition at line 382 of file cuitabarea.hxx.
Referenced by ChangeGradientHdl_Impl(), and ModifiedHdl_Impl().