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
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static const sal_uInt16 * 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::ToggleButton &, void)
 
 DECL_LINK (ClickTransLinearHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (ClickTransGradientHdl_Impl, weld::ToggleButton &, 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)
 

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
 

Static Private Attributes

static const sal_uInt16 pTransparenceRanges []
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 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
 
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 129 of file cuitabarea.hxx.

Constructor & Destructor Documentation

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

Definition at line 90 of file tptrans.cxx.

Member Function Documentation

void SvxTransparenceTabPage::ActivateGradient ( bool  bActivate)
private

Definition at line 145 of file tptrans.cxx.

void SvxTransparenceTabPage::ActivateLinear ( bool  bActivate)
private

Definition at line 94 of file tptrans.cxx.

void SvxTransparenceTabPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
void SvxTransparenceTabPage::ChangesApplied ( )
overridevirtual
std::unique_ptr< SfxTabPage > SvxTransparenceTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrs 
)
static
DeactivateRC SvxTransparenceTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 434 of file tptrans.cxx.

References FillItemSet().

SvxTransparenceTabPage::DECL_LINK ( ClickTransOffHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxTransparenceTabPage::DECL_LINK ( ClickTransLinearHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxTransparenceTabPage::DECL_LINK ( ClickTransGradientHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxTransparenceTabPage::DECL_LINK ( ModifyTransparentHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxTransparenceTabPage::DECL_LINK ( ModifiedTrgrEditHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxTransparenceTabPage::DECL_LINK ( ModifiedTrgrListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private
bool SvxTransparenceTabPage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual
static const sal_uInt16* SvxTransparenceTabPage::GetRanges ( )
inlinestatic

Definition at line 193 of file cuitabarea.hxx.

References pTransparenceRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

bool SvxTransparenceTabPage::InitPreview ( const SfxItemSet rSet)
private
void SvxTransparenceTabPage::InvalidatePreview ( bool  bEnable = true)
private
void SvxTransparenceTabPage::ModifiedTrgrHdl_Impl ( const weld::ComboBox pControl)
private

Definition at line 118 of file tptrans.cxx.

Referenced by Reset().

void SvxTransparenceTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 513 of file tptrans.cxx.

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

void SvxTransparenceTabPage::Reset ( const SfxItemSet rAttrs)
overridevirtual
void SvxTransparenceTabPage::SetControlState_Impl ( css::awt::GradientStyle  eXGS)
private

Definition at line 156 of file tptrans.cxx.

void SvxTransparenceTabPage::SetDlgType ( sal_uInt16  nInType)
inline

Definition at line 202 of file cuitabarea.hxx.

Referenced by PageCreated().

void SvxTransparenceTabPage::SetPageType ( PageType  nInType)
inline

Definition at line 201 of file cuitabarea.hxx.

Referenced by ActivatePage(), and PageCreated().

Member Data Documentation

XFillAttrSetItem SvxTransparenceTabPage::aXFillAttr
private

Definition at line 140 of file cuitabarea.hxx.

Referenced by InitPreview(), and InvalidatePreview().

bool SvxTransparenceTabPage::bBitmap
private

Definition at line 138 of file cuitabarea.hxx.

Referenced by InitPreview(), and InvalidatePreview().

SvxXRectPreview SvxTransparenceTabPage::m_aCtlBitmapPreview
private

Definition at line 143 of file cuitabarea.hxx.

Referenced by InitPreview(), and InvalidatePreview().

SvxXRectPreview SvxTransparenceTabPage::m_aCtlXRectPreview
private

Definition at line 144 of file cuitabarea.hxx.

Referenced by InitPreview(), and InvalidatePreview().

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

Definition at line 166 of file cuitabarea.hxx.

Referenced by InitPreview().

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

Definition at line 170 of file cuitabarea.hxx.

Referenced by InvalidatePreview().

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

Definition at line 167 of file cuitabarea.hxx.

Referenced by InitPreview().

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

Definition at line 171 of file cuitabarea.hxx.

Referenced by InvalidatePreview().

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

Definition at line 161 of file cuitabarea.hxx.

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

Definition at line 157 of file cuitabarea.hxx.

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

Definition at line 159 of file cuitabarea.hxx.

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

Definition at line 155 of file cuitabarea.hxx.

Referenced by FillItemSet().

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

Definition at line 156 of file cuitabarea.hxx.

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

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

linear transparency

Definition at line 152 of file cuitabarea.hxx.

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

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

Definition at line 162 of file cuitabarea.hxx.

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

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

Definition at line 163 of file cuitabarea.hxx.

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

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

Definition at line 158 of file cuitabarea.hxx.

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

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

Definition at line 160 of file cuitabarea.hxx.

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

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

Definition at line 165 of file cuitabarea.hxx.

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

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

Definition at line 164 of file cuitabarea.hxx.

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

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

Definition at line 149 of file cuitabarea.hxx.

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

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

Definition at line 148 of file cuitabarea.hxx.

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

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

Definition at line 147 of file cuitabarea.hxx.

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

sal_uInt16 SvxTransparenceTabPage::nDlgType
private

Definition at line 136 of file cuitabarea.hxx.

Referenced by ActivatePage().

PageType SvxTransparenceTabPage::nPageType
private

Definition at line 135 of file cuitabarea.hxx.

Referenced by ActivatePage(), and FillItemSet().

const sal_uInt16 SvxTransparenceTabPage::pTransparenceRanges
staticprivate
Initial value:
=
{
SDRATTR_SHADOWTRANSPARENCE,
XATTR_FILLFLOATTRANSPARENCE,
0
}

Definition at line 131 of file cuitabarea.hxx.

Referenced by GetRanges().

const SfxItemSet& SvxTransparenceTabPage::rOutAttrs
private

Definition at line 133 of file cuitabarea.hxx.

Referenced by FillItemSet().

SfxItemSet& SvxTransparenceTabPage::rXFSet
private

Definition at line 141 of file cuitabarea.hxx.

Referenced by InitPreview().


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