LibreOffice Module cui (master) 1
|
#include <cuitabarea.hxx>
Public Member Functions | |
SvxTransparenceTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs) | |
virtual | ~SvxTransparenceTabPage () override |
virtual bool | FillItemSet (SfxItemSet *) override |
virtual void | Reset (const SfxItemSet *) override |
virtual void | ChangesApplied () override |
virtual void | ActivatePage (const SfxItemSet &rSet) override |
virtual DeactivateRC | DeactivatePage (SfxItemSet *pSet) override |
void | SetPageType (PageType nInType) |
void | SetDlgType (sal_uInt16 nInType) |
virtual void | PageCreated (const SfxAllItemSet &aSet) 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 *) |
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) |
Private Member Functions | |
DECL_LINK (ClickTransOffHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ClickTransLinearHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ClickTransGradientHdl_Impl, weld::Toggleable &, void) | |
DECL_LINK (ModifyTransparentHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ModifiedTrgrEditHdl_Impl, weld::MetricSpinButton &, void) | |
DECL_LINK (ModifiedTrgrListBoxHdl_Impl, weld::ComboBox &, void) | |
void | ModifiedTrgrHdl_Impl (const weld::ComboBox *) |
void | ActivateLinear (bool bActivate) |
void | ActivateGradient (bool bActivate) |
void | SetControlState_Impl (css::awt::GradientStyle eXGS) |
bool | InitPreview (const SfxItemSet &rSet) |
void | InvalidatePreview (bool bEnable=true) |
basegfx::BColorStops | createColorStops () |
Static Private Attributes | |
static const WhichRangesContainer | pTransparenceRanges |
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 128 of file cuitabarea.hxx.
SvxTransparenceTabPage::SvxTransparenceTabPage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 186 of file tptrans.cxx.
References Area, DEGREE, GetItemSet(), LINK, m_xLbTrgrGradientType, m_xMtrTransparent, m_xMtrTrgrAngle, m_xMtrTrgrBorder, m_xMtrTrgrCenterX, m_xMtrTrgrCenterY, m_xMtrTrgrEndValue, m_xMtrTrgrStartValue, m_xRbtTransGradient, m_xRbtTransLinear, m_xRbtTransOff, PERCENT(), and SfxTabPage::SetExchangeSupport().
|
overridevirtual |
Definition at line 85 of file tptrans.cxx.
|
private |
Definition at line 137 of file tptrans.cxx.
References m_xGridGradient, m_xLbTrgrGradientType, and SetControlState_Impl().
|
private |
Definition at line 89 of file tptrans.cxx.
References m_xMtrTransparent.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 421 of file tptrans.cxx.
References SfxItemSet::GetItem(), CntUInt16Item::GetValue(), InitPreview(), nDlgType, nPageType, rSet, SetPageType(), and Transparence.
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 409 of file tptrans.cxx.
References m_xLbTrgrGradientType, m_xMtrTransparent, m_xMtrTrgrAngle, m_xMtrTrgrBorder, m_xMtrTrgrCenterX, m_xMtrTrgrCenterY, m_xMtrTrgrEndValue, and m_xMtrTrgrStartValue.
Referenced by Reset().
|
static |
Definition at line 239 of file tptrans.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc(), SvxAreaTabDialog::SvxAreaTabDialog(), and SvxBorderBackgroundDlg::SvxBorderBackgroundDlg().
|
private |
Definition at line 512 of file tptrans.cxx.
References basegfx::BColor::clamp(), m_xMtrTrgrEndValue, m_xMtrTrgrStartValue, and maColorStops.
Referenced by FillItemSet(), and ModifiedTrgrHdl_Impl().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 433 of file tptrans.cxx.
References FillItemSet().
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 244 of file tptrans.cxx.
References createColorStops(), SfxItemSet::GetItemState(), SfxTabPage::GetOldItem(), GetValue(), m_xGridGradient, m_xLbTrgrGradientType, m_xMtrTransparent, m_xMtrTrgrAngle, m_xMtrTrgrBorder, m_xMtrTrgrCenterX, m_xMtrTrgrCenterY, m_xMtrTrgrEndValue, m_xMtrTrgrStartValue, makeSdrShadowTransparenceItem(), nPageType, nPos, SfxItemSet::Put(), rOutAttrs, XFillFloatTransparenceItem::SetEnabled(), XATTR_FILLFLOATTRANSPARENCE(), and XATTR_FILLTRANSPARENCE().
Referenced by DeactivatePage().
|
inlinestatic |
Definition at line 198 of file cuitabarea.hxx.
References pTransparenceRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
private |
Definition at line 442 of file tptrans.cxx.
References aXFillAttr, bBitmap, SfxItemSet::Get(), m_aCtlBitmapPreview, m_aCtlXRectPreview, m_xCtlBitmapBorder, m_xCtlXRectBorder, m_xRbtTransGradient, m_xRbtTransLinear, m_xRbtTransOff, SfxItemSet::Put(), rSet, rXFSet, SvxXRectPreview::SetAttributes(), XATTR_FILLBACKGROUND(), XATTR_FILLBITMAP(), XATTR_FILLCOLOR(), XATTR_FILLGRADIENT(), XATTR_FILLHATCH(), and XATTR_FILLSTYLE().
Referenced by ActivatePage(), and Reset().
|
private |
Definition at line 486 of file tptrans.cxx.
References aXFillAttr, bBitmap, m_aCtlBitmapPreview, m_aCtlXRectPreview, m_xCtlBitmapPreview, m_xCtlXRectPreview, and SvxXRectPreview::SetAttributes().
Referenced by ModifiedTrgrHdl_Impl(), and Reset().
|
private |
Definition at line 113 of file tptrans.cxx.
References createColorStops(), InvalidatePreview(), m_xLbTrgrGradientType, m_xMtrTrgrAngle, m_xMtrTrgrBorder, m_xMtrTrgrCenterX, m_xMtrTrgrCenterY, SfxItemSet::Put(), rXFSet, and SetControlState_Impl().
Referenced by Reset().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 535 of file tptrans.cxx.
References SfxItemSet::GetItem(), CntUInt16Item::GetValue(), SetDlgType(), and SetPageType().
|
overridevirtual |
Reimplemented from SfxTabPage.
Definition at line 343 of file tptrans.cxx.
References ChangesApplied(), o3tl::strong_int< typename UNDERLYING_TYPE, typename PHANTOM_TYPE >::get(), SfxItemSet::Get(), basegfx::BGradient::GetAngle(), basegfx::BGradient::GetBorder(), basegfx::BGradient::GetColorStops(), basegfx::BGradient::GetGradientStyle(), XFillGradientItem::GetGradientValue(), SfxItemSet::GetItemIfSet(), Color::GetRed(), basegfx::BGradient::GetXOffset(), basegfx::BGradient::GetYOffset(), InitPreview(), InvalidatePreview(), XFillFloatTransparenceItem::IsEnabled(), m_xLbTrgrGradientType, m_xMtrTransparent, m_xMtrTrgrAngle, m_xMtrTrgrBorder, m_xMtrTrgrCenterX, m_xMtrTrgrCenterY, m_xMtrTrgrEndValue, m_xMtrTrgrStartValue, m_xRbtTransGradient, m_xRbtTransLinear, m_xRbtTransOff, maColorStops, ModifiedTrgrHdl_Impl(), XATTR_FILLFLOATTRANSPARENCE(), and XATTR_FILLTRANSPARENCE().
|
private |
Definition at line 148 of file tptrans.cxx.
References m_xFtTrgrAngle, m_xFtTrgrCenterX, m_xFtTrgrCenterY, m_xMtrTrgrAngle, m_xMtrTrgrCenterX, and m_xMtrTrgrCenterY.
Referenced by ActivateGradient(), and ModifiedTrgrHdl_Impl().
|
inline |
|
inline |
Definition at line 206 of file cuitabarea.hxx.
References nPageType.
Referenced by ActivatePage(), and PageCreated().
|
private |
Definition at line 139 of file cuitabarea.hxx.
Referenced by InitPreview(), and InvalidatePreview().
|
private |
Definition at line 137 of file cuitabarea.hxx.
Referenced by InitPreview(), and InvalidatePreview().
|
private |
Definition at line 142 of file cuitabarea.hxx.
Referenced by InitPreview(), and InvalidatePreview().
|
private |
Definition at line 143 of file cuitabarea.hxx.
Referenced by InitPreview(), and InvalidatePreview().
|
private |
Definition at line 165 of file cuitabarea.hxx.
Referenced by InitPreview().
|
private |
Definition at line 169 of file cuitabarea.hxx.
Referenced by InvalidatePreview().
|
private |
Definition at line 166 of file cuitabarea.hxx.
Referenced by InitPreview().
|
private |
Definition at line 170 of file cuitabarea.hxx.
Referenced by InvalidatePreview().
|
private |
Definition at line 160 of file cuitabarea.hxx.
Referenced by SetControlState_Impl().
|
private |
Definition at line 156 of file cuitabarea.hxx.
Referenced by SetControlState_Impl().
|
private |
Definition at line 158 of file cuitabarea.hxx.
Referenced by SetControlState_Impl().
|
private |
Definition at line 154 of file cuitabarea.hxx.
Referenced by ActivateGradient(), and FillItemSet().
|
private |
Definition at line 155 of file cuitabarea.hxx.
Referenced by ActivateGradient(), ChangesApplied(), FillItemSet(), ModifiedTrgrHdl_Impl(), Reset(), and SvxTransparenceTabPage().
|
private |
linear transparency
Definition at line 151 of file cuitabarea.hxx.
Referenced by ActivateLinear(), ChangesApplied(), FillItemSet(), Reset(), and SvxTransparenceTabPage().
|
private |
Definition at line 161 of file cuitabarea.hxx.
Referenced by ChangesApplied(), FillItemSet(), ModifiedTrgrHdl_Impl(), Reset(), SetControlState_Impl(), and SvxTransparenceTabPage().
|
private |
Definition at line 162 of file cuitabarea.hxx.
Referenced by ChangesApplied(), FillItemSet(), ModifiedTrgrHdl_Impl(), Reset(), and SvxTransparenceTabPage().
|
private |
Definition at line 157 of file cuitabarea.hxx.
Referenced by ChangesApplied(), FillItemSet(), ModifiedTrgrHdl_Impl(), Reset(), SetControlState_Impl(), and SvxTransparenceTabPage().
|
private |
Definition at line 159 of file cuitabarea.hxx.
Referenced by ChangesApplied(), FillItemSet(), ModifiedTrgrHdl_Impl(), Reset(), SetControlState_Impl(), and SvxTransparenceTabPage().
|
private |
Definition at line 164 of file cuitabarea.hxx.
Referenced by ChangesApplied(), createColorStops(), FillItemSet(), Reset(), and SvxTransparenceTabPage().
|
private |
Definition at line 163 of file cuitabarea.hxx.
Referenced by ChangesApplied(), createColorStops(), FillItemSet(), Reset(), and SvxTransparenceTabPage().
|
private |
Definition at line 148 of file cuitabarea.hxx.
Referenced by InitPreview(), Reset(), and SvxTransparenceTabPage().
|
private |
Definition at line 147 of file cuitabarea.hxx.
Referenced by InitPreview(), Reset(), and SvxTransparenceTabPage().
|
private |
Definition at line 146 of file cuitabarea.hxx.
Referenced by InitPreview(), Reset(), and SvxTransparenceTabPage().
|
private |
Definition at line 173 of file cuitabarea.hxx.
Referenced by createColorStops(), and Reset().
|
private |
Definition at line 135 of file cuitabarea.hxx.
Referenced by ActivatePage(), and SetDlgType().
|
private |
Definition at line 134 of file cuitabarea.hxx.
Referenced by ActivatePage(), FillItemSet(), and SetPageType().
|
staticprivate |
Definition at line 130 of file cuitabarea.hxx.
Referenced by GetRanges().
|
private |
Definition at line 132 of file cuitabarea.hxx.
Referenced by FillItemSet().
|
private |
Definition at line 140 of file cuitabarea.hxx.
Referenced by InitPreview(), and ModifiedTrgrHdl_Impl().