LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SvxTransparenceTabPage Class Reference

#include <cuitabarea.hxx>

Inheritance diagram for SvxTransparenceTabPage:
[legend]
Collaboration diagram for SvxTransparenceTabPage:
[legend]

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 SfxItemSetGetItemSet () 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 SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static WhichRangesContainer GetRanges ()
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (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 ()
 

Private Attributes

const SfxItemSetrOutAttrs
 
PageType nPageType
 
sal_uInt16 nDlgType
 
bool bBitmap
 
XFillAttrSetItem aXFillAttr
 
SfxItemSetrXFSet
 
SvxXRectPreview m_aCtlBitmapPreview
 
SvxXRectPreview m_aCtlXRectPreview
 
std::unique_ptr< weld::RadioButtonm_xRbtTransOff
 
std::unique_ptr< weld::RadioButtonm_xRbtTransLinear
 
std::unique_ptr< weld::RadioButtonm_xRbtTransGradient
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrTransparent
 linear transparency More...
 
std::unique_ptr< weld::Widgetm_xGridGradient
 
std::unique_ptr< weld::ComboBoxm_xLbTrgrGradientType
 
std::unique_ptr< weld::Labelm_xFtTrgrCenterX
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrTrgrCenterX
 
std::unique_ptr< weld::Labelm_xFtTrgrCenterY
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrTrgrCenterY
 
std::unique_ptr< weld::Labelm_xFtTrgrAngle
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrTrgrAngle
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrTrgrBorder
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrTrgrStartValue
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrTrgrEndValue
 
std::unique_ptr< weld::Widgetm_xCtlBitmapBorder
 
std::unique_ptr< weld::Widgetm_xCtlXRectBorder
 
std::unique_ptr< weld::CustomWeldm_xCtlBitmapPreview
 
std::unique_ptr< weld::CustomWeldm_xCtlXRectPreview
 
basegfx::BColorStops maColorStops
 

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 SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Detailed Description

Definition at line 128 of file cuitabarea.hxx.

Constructor & Destructor Documentation

◆ SvxTransparenceTabPage()

SvxTransparenceTabPage::SvxTransparenceTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs 
)

◆ ~SvxTransparenceTabPage()

SvxTransparenceTabPage::~SvxTransparenceTabPage ( )
overridevirtual

Definition at line 85 of file tptrans.cxx.

Member Function Documentation

◆ ActivateGradient()

void SvxTransparenceTabPage::ActivateGradient ( bool  bActivate)
private

Definition at line 137 of file tptrans.cxx.

References m_xGridGradient, m_xLbTrgrGradientType, and SetControlState_Impl().

◆ ActivateLinear()

void SvxTransparenceTabPage::ActivateLinear ( bool  bActivate)
private

Definition at line 89 of file tptrans.cxx.

References m_xMtrTransparent.

◆ ActivatePage()

void SvxTransparenceTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

◆ ChangesApplied()

void SvxTransparenceTabPage::ChangesApplied ( )
overridevirtual

◆ Create()

std::unique_ptr< SfxTabPage > SvxTransparenceTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrs 
)
static

◆ createColorStops()

basegfx::BColorStops SvxTransparenceTabPage::createColorStops ( )
private

◆ DeactivatePage()

DeactivateRC SvxTransparenceTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 433 of file tptrans.cxx.

References FillItemSet().

◆ DECL_LINK() [1/6]

SvxTransparenceTabPage::DECL_LINK ( ClickTransGradientHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/6]

SvxTransparenceTabPage::DECL_LINK ( ClickTransLinearHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/6]

SvxTransparenceTabPage::DECL_LINK ( ClickTransOffHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/6]

SvxTransparenceTabPage::DECL_LINK ( ModifiedTrgrEditHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [5/6]

SvxTransparenceTabPage::DECL_LINK ( ModifiedTrgrListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [6/6]

SvxTransparenceTabPage::DECL_LINK ( ModifyTransparentHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ FillItemSet()

bool SvxTransparenceTabPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

◆ GetRanges()

static WhichRangesContainer SvxTransparenceTabPage::GetRanges ( )
inlinestatic

Definition at line 198 of file cuitabarea.hxx.

References pTransparenceRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ InitPreview()

bool SvxTransparenceTabPage::InitPreview ( const SfxItemSet rSet)
private

◆ InvalidatePreview()

void SvxTransparenceTabPage::InvalidatePreview ( bool  bEnable = true)
private

◆ ModifiedTrgrHdl_Impl()

void SvxTransparenceTabPage::ModifiedTrgrHdl_Impl ( const weld::ComboBox pControl)
private

◆ PageCreated()

void SvxTransparenceTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 535 of file tptrans.cxx.

References SfxItemSet::GetItem(), CntUInt16Item::GetValue(), SetDlgType(), and SetPageType().

◆ Reset()

void SvxTransparenceTabPage::Reset ( const SfxItemSet rAttrs)
overridevirtual

◆ SetControlState_Impl()

void SvxTransparenceTabPage::SetControlState_Impl ( css::awt::GradientStyle  eXGS)
private

◆ SetDlgType()

void SvxTransparenceTabPage::SetDlgType ( sal_uInt16  nInType)
inline

Definition at line 207 of file cuitabarea.hxx.

References nDlgType.

Referenced by PageCreated().

◆ SetPageType()

void SvxTransparenceTabPage::SetPageType ( PageType  nInType)
inline

Definition at line 206 of file cuitabarea.hxx.

References nPageType.

Referenced by ActivatePage(), and PageCreated().

Member Data Documentation

◆ aXFillAttr

XFillAttrSetItem SvxTransparenceTabPage::aXFillAttr
private

Definition at line 139 of file cuitabarea.hxx.

Referenced by InitPreview(), and InvalidatePreview().

◆ bBitmap

bool SvxTransparenceTabPage::bBitmap
private

Definition at line 137 of file cuitabarea.hxx.

Referenced by InitPreview(), and InvalidatePreview().

◆ m_aCtlBitmapPreview

SvxXRectPreview SvxTransparenceTabPage::m_aCtlBitmapPreview
private

Definition at line 142 of file cuitabarea.hxx.

Referenced by InitPreview(), and InvalidatePreview().

◆ m_aCtlXRectPreview

SvxXRectPreview SvxTransparenceTabPage::m_aCtlXRectPreview
private

Definition at line 143 of file cuitabarea.hxx.

Referenced by InitPreview(), and InvalidatePreview().

◆ m_xCtlBitmapBorder

std::unique_ptr<weld::Widget> SvxTransparenceTabPage::m_xCtlBitmapBorder
private

Definition at line 165 of file cuitabarea.hxx.

Referenced by InitPreview().

◆ m_xCtlBitmapPreview

std::unique_ptr<weld::CustomWeld> SvxTransparenceTabPage::m_xCtlBitmapPreview
private

Definition at line 169 of file cuitabarea.hxx.

Referenced by InvalidatePreview().

◆ m_xCtlXRectBorder

std::unique_ptr<weld::Widget> SvxTransparenceTabPage::m_xCtlXRectBorder
private

Definition at line 166 of file cuitabarea.hxx.

Referenced by InitPreview().

◆ m_xCtlXRectPreview

std::unique_ptr<weld::CustomWeld> SvxTransparenceTabPage::m_xCtlXRectPreview
private

Definition at line 170 of file cuitabarea.hxx.

Referenced by InvalidatePreview().

◆ m_xFtTrgrAngle

std::unique_ptr<weld::Label> SvxTransparenceTabPage::m_xFtTrgrAngle
private

Definition at line 160 of file cuitabarea.hxx.

Referenced by SetControlState_Impl().

◆ m_xFtTrgrCenterX

std::unique_ptr<weld::Label> SvxTransparenceTabPage::m_xFtTrgrCenterX
private

Definition at line 156 of file cuitabarea.hxx.

Referenced by SetControlState_Impl().

◆ m_xFtTrgrCenterY

std::unique_ptr<weld::Label> SvxTransparenceTabPage::m_xFtTrgrCenterY
private

Definition at line 158 of file cuitabarea.hxx.

Referenced by SetControlState_Impl().

◆ m_xGridGradient

std::unique_ptr<weld::Widget> SvxTransparenceTabPage::m_xGridGradient
private

Definition at line 154 of file cuitabarea.hxx.

Referenced by ActivateGradient(), and FillItemSet().

◆ m_xLbTrgrGradientType

std::unique_ptr<weld::ComboBox> SvxTransparenceTabPage::m_xLbTrgrGradientType
private

◆ m_xMtrTransparent

std::unique_ptr<weld::MetricSpinButton> SvxTransparenceTabPage::m_xMtrTransparent
private

linear transparency

Definition at line 151 of file cuitabarea.hxx.

Referenced by ActivateLinear(), ChangesApplied(), FillItemSet(), Reset(), and SvxTransparenceTabPage().

◆ m_xMtrTrgrAngle

std::unique_ptr<weld::MetricSpinButton> SvxTransparenceTabPage::m_xMtrTrgrAngle
private

◆ m_xMtrTrgrBorder

std::unique_ptr<weld::MetricSpinButton> SvxTransparenceTabPage::m_xMtrTrgrBorder
private

◆ m_xMtrTrgrCenterX

std::unique_ptr<weld::MetricSpinButton> SvxTransparenceTabPage::m_xMtrTrgrCenterX
private

◆ m_xMtrTrgrCenterY

std::unique_ptr<weld::MetricSpinButton> SvxTransparenceTabPage::m_xMtrTrgrCenterY
private

◆ m_xMtrTrgrEndValue

std::unique_ptr<weld::MetricSpinButton> SvxTransparenceTabPage::m_xMtrTrgrEndValue
private

◆ m_xMtrTrgrStartValue

std::unique_ptr<weld::MetricSpinButton> SvxTransparenceTabPage::m_xMtrTrgrStartValue
private

◆ m_xRbtTransGradient

std::unique_ptr<weld::RadioButton> SvxTransparenceTabPage::m_xRbtTransGradient
private

Definition at line 148 of file cuitabarea.hxx.

Referenced by InitPreview(), Reset(), and SvxTransparenceTabPage().

◆ m_xRbtTransLinear

std::unique_ptr<weld::RadioButton> SvxTransparenceTabPage::m_xRbtTransLinear
private

Definition at line 147 of file cuitabarea.hxx.

Referenced by InitPreview(), Reset(), and SvxTransparenceTabPage().

◆ m_xRbtTransOff

std::unique_ptr<weld::RadioButton> SvxTransparenceTabPage::m_xRbtTransOff
private

Definition at line 146 of file cuitabarea.hxx.

Referenced by InitPreview(), Reset(), and SvxTransparenceTabPage().

◆ maColorStops

basegfx::BColorStops SvxTransparenceTabPage::maColorStops
private

Definition at line 173 of file cuitabarea.hxx.

Referenced by createColorStops(), and Reset().

◆ nDlgType

sal_uInt16 SvxTransparenceTabPage::nDlgType
private

Definition at line 135 of file cuitabarea.hxx.

Referenced by ActivatePage(), and SetDlgType().

◆ nPageType

PageType SvxTransparenceTabPage::nPageType
private

Definition at line 134 of file cuitabarea.hxx.

Referenced by ActivatePage(), FillItemSet(), and SetPageType().

◆ pTransparenceRanges

const WhichRangesContainer SvxTransparenceTabPage::pTransparenceRanges
staticprivate

Definition at line 130 of file cuitabarea.hxx.

Referenced by GetRanges().

◆ rOutAttrs

const SfxItemSet& SvxTransparenceTabPage::rOutAttrs
private

Definition at line 132 of file cuitabarea.hxx.

Referenced by FillItemSet().

◆ rXFSet

SfxItemSet& SvxTransparenceTabPage::rXFSet
private

Definition at line 140 of file cuitabarea.hxx.

Referenced by InitPreview(), and ModifiedTrgrHdl_Impl().


The documentation for this class was generated from the following files: