LibreOffice Module svx (master)  1
Public Member Functions | Static Public Attributes | Protected Member Functions | Protected Attributes | Private Member Functions | List of all members
svx::sidebar::AreaPropertyPanelBase Class Referenceabstract

#include <AreaPropertyPanelBase.hxx>

Inheritance diagram for svx::sidebar::AreaPropertyPanelBase:
[legend]
Collaboration diagram for svx::sidebar::AreaPropertyPanelBase:
[legend]

Public Member Functions

virtual void dispose () override
 
virtual void DataChanged (const DataChangedEvent &rEvent) override
 
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
virtual void GetControlState (const sal_uInt16, boost::property_tree::ptree &) override
 
const XGradientGetGradient (const css::awt::GradientStyle eStyle) const
 
void SetGradient (const XGradient &rGradient)
 
sal_Int32 GetSelectedTransparencyTypeIndex () const
 
 AreaPropertyPanelBase (vcl::Window *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame)
 
virtual ~AreaPropertyPanelBase () override
 
virtual void setFillTransparence (const XFillTransparenceItem &rItem)=0
 
virtual void setFillFloatTransparence (const XFillFloatTransparenceItem &rItem)=0
 
virtual void setFillStyle (const XFillStyleItem &rItem)=0
 
virtual void setFillStyleAndColor (const XFillStyleItem *pStyleItem, const XFillColorItem &aColorItem)=0
 
virtual void setFillStyleAndGradient (const XFillStyleItem *pStyleItem, const XFillGradientItem &aGradientItem)=0
 
virtual void setFillStyleAndHatch (const XFillStyleItem *pStyleItem, const XFillHatchItem &aHatchItem)=0
 
virtual void setFillStyleAndBitmap (const XFillStyleItem *pStyleItem, const XFillBitmapItem &aHatchItem)=0
 
void updateFillTransparence (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillFloatTransparence (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillStyle (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillGradient (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillHatch (bool bDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillColor (bool bDefaultOrSet, const SfxPoolItem *pState)
 
void updateFillBitmap (bool BDisabled, bool bDefaultOrSet, const SfxPoolItem *pState)
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame)
 
virtual ~PanelLayout () override
 
virtual Size GetOptimalSize () const override
 
virtual void setPosSizePixel (long nX, long nY, long nWidth, long nHeight, PosSizeFlags nFlags=PosSizeFlags::All) override
 
virtual void queue_resize (StateChangedType eReason=StateChangedType::Layout) override
 
virtual bool EventNotify (NotifyEvent &rNEvt) override
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Attributes

static const sal_Int32 DEFAULT_CENTERX = 50
 
static const sal_Int32 DEFAULT_CENTERY = 50
 
static const sal_Int32 DEFAULT_ANGLE = 0
 
static const sal_Int32 DEFAULT_STARTVALUE = 0
 
static const sal_Int32 DEFAULT_ENDVALUE = 16777215
 
static const sal_Int32 DEFAULT_BORDER = 0
 

Protected Member Functions

 DECL_LINK (SelectFillTypeHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelectFillAttrHdl, weld::ComboBox &, void)
 
 DECL_LINK (SelectFillColorHdl, ColorListBox &, void)
 
 DECL_LINK (ChangeGradientAngle, weld::MetricSpinButton &, void)
 
 DECL_LINK (ChangeTrgrTypeHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyTransparentHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ModifyTransSliderHdl, weld::Scale &, void)
 
 DECL_LINK (ClickImportBitmapHdl, weld::Button &, void)
 
 DECL_LINK (ToolbarHdl_Impl, const OString &, void)
 
void Update ()
 
void ImpUpdateTransparencies ()
 
void SetTransparency (sal_uInt16 nVal)
 
void SelectFillAttrHdl_Impl ()
 

Protected Attributes

sal_uInt16 meLastXFS
 
sal_Int32 mnLastPosHatch
 
sal_Int32 mnLastPosBitmap
 
sal_Int32 mnLastPosPattern
 
sal_uInt16 mnLastTransSolid
 
XGradient maGradientLinear
 
XGradient maGradientAxial
 
XGradient maGradientRadial
 
XGradient maGradientElliptical
 
XGradient maGradientSquare
 
XGradient maGradientRect
 
std::unique_ptr< weld::LabelmxColorTextFT
 
std::unique_ptr< weld::ComboBoxmxLbFillType
 
std::unique_ptr< weld::ComboBoxmxLbFillAttr
 
std::unique_ptr< ColorListBoxmxLbFillGradFrom
 
std::unique_ptr< ColorListBoxmxLbFillGradTo
 
std::unique_ptr< weld::ToolbarmxToolBoxColor
 
std::unique_ptr< ToolbarUnoDispatchermxColorDispatch
 
std::unique_ptr< weld::LabelmxTrspTextFT
 
std::unique_ptr< weld::ComboBoxmxLBTransType
 
std::unique_ptr< weld::MetricSpinButtonmxMTRTransparent
 
std::unique_ptr< weld::ScalemxSldTransparent
 
std::unique_ptr< weld::ToolbarmxBTNGradient
 
std::unique_ptr< weld::MetricSpinButtonmxMTRAngle
 
std::unique_ptr< weld::ComboBoxmxGradientStyle
 
std::unique_ptr< weld::ButtonmxBmpImport
 
std::unique_ptr< AreaTransparencyGradientPopupmxTrGrPopup
 
std::unique_ptr< XFillStyleItemmpStyleItem
 
std::unique_ptr< XFillColorItemmpColorItem
 
std::unique_ptr< XFillGradientItemmpFillGradientItem
 
std::unique_ptr< XFillHatchItemmpHatchItem
 
std::unique_ptr< XFillBitmapItemmpBitmapItem
 
OUString maImgAxial
 
OUString maImgElli
 
OUString maImgQuad
 
OUString maImgRadial
 
OUString maImgSquare
 
OUString maImgLinear
 
VclPtr< sfx2::sidebar::PanelmpPanel
 
std::unique_ptr< XFillFloatTransparenceItemmpFloatTransparenceItem
 
std::unique_ptr< SfxUInt16ItemmpTransparanceItem
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
VclPtr< vcl::Windowm_xVclContentArea
 
std::unique_ptr< weld::Containerm_xContainer
 

Private Member Functions

void Initialize ()
 

Detailed Description

Definition at line 48 of file AreaPropertyPanelBase.hxx.

Constructor & Destructor Documentation

svx::sidebar::AreaPropertyPanelBase::AreaPropertyPanelBase ( vcl::Window pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame 
)

Definition at line 63 of file AreaPropertyPanelBase.cxx.

References DEGREE, GetFrameWeld(), Initialize(), mpPanel, and PERCENT().

svx::sidebar::AreaPropertyPanelBase::~AreaPropertyPanelBase ( )
overridevirtual

Definition at line 112 of file AreaPropertyPanelBase.cxx.

Member Function Documentation

void svx::sidebar::AreaPropertyPanelBase::DataChanged ( const DataChangedEvent rEvent)
overridevirtual

Definition at line 469 of file AreaPropertyPanelBase.cxx.

svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( SelectFillTypeHdl  ,
weld::ComboBox ,
void   
)
protected
svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( SelectFillAttrHdl  ,
weld::ComboBox ,
void   
)
protected
svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( SelectFillColorHdl  ,
ColorListBox ,
void   
)
protected
svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( ChangeGradientAngle  ,
weld::MetricSpinButton ,
void   
)
protected
svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( ChangeTrgrTypeHdl_Impl  ,
weld::ComboBox ,
void   
)
protected
svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( ModifyTransparentHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
protected
svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( ModifyTransSliderHdl  ,
weld::Scale ,
void   
)
protected
svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( ClickImportBitmapHdl  ,
weld::Button ,
void   
)
protected
svx::sidebar::AreaPropertyPanelBase::DECL_LINK ( ToolbarHdl_Impl  ,
const OString &  ,
void   
)
protected
void svx::sidebar::AreaPropertyPanelBase::dispose ( void  )
overridevirtual
virtual void svx::sidebar::AreaPropertyPanelBase::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverridevirtual
const XGradient & svx::sidebar::AreaPropertyPanelBase::GetGradient ( const css::awt::GradientStyle  eStyle) const
sal_Int32 svx::sidebar::AreaPropertyPanelBase::GetSelectedTransparencyTypeIndex ( ) const
void svx::sidebar::AreaPropertyPanelBase::ImpUpdateTransparencies ( )
protected
void svx::sidebar::AreaPropertyPanelBase::Initialize ( )
private
void svx::sidebar::AreaPropertyPanelBase::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void svx::sidebar::AreaPropertyPanelBase::SelectFillAttrHdl_Impl ( )
protected
virtual void svx::sidebar::AreaPropertyPanelBase::setFillFloatTransparence ( const XFillFloatTransparenceItem rItem)
pure virtual
virtual void svx::sidebar::AreaPropertyPanelBase::setFillStyle ( const XFillStyleItem rItem)
pure virtual
virtual void svx::sidebar::AreaPropertyPanelBase::setFillStyleAndBitmap ( const XFillStyleItem pStyleItem,
const XFillBitmapItem aHatchItem 
)
pure virtual
virtual void svx::sidebar::AreaPropertyPanelBase::setFillStyleAndColor ( const XFillStyleItem pStyleItem,
const XFillColorItem aColorItem 
)
pure virtual
virtual void svx::sidebar::AreaPropertyPanelBase::setFillStyleAndGradient ( const XFillStyleItem pStyleItem,
const XFillGradientItem aGradientItem 
)
pure virtual
virtual void svx::sidebar::AreaPropertyPanelBase::setFillStyleAndHatch ( const XFillStyleItem pStyleItem,
const XFillHatchItem aHatchItem 
)
pure virtual
virtual void svx::sidebar::AreaPropertyPanelBase::setFillTransparence ( const XFillTransparenceItem rItem)
pure virtual
void svx::sidebar::AreaPropertyPanelBase::SetGradient ( const XGradient rGradient)
void svx::sidebar::AreaPropertyPanelBase::SetTransparency ( sal_uInt16  nVal)
protected

Definition at line 206 of file AreaPropertyPanelBase.cxx.

References mxMTRTransparent, and mxSldTransparent.

Referenced by ImpUpdateTransparencies(), and Initialize().

void svx::sidebar::AreaPropertyPanelBase::Update ( )
protected
void svx::sidebar::AreaPropertyPanelBase::updateFillBitmap ( bool  BDisabled,
bool  bDefaultOrSet,
const SfxPoolItem pState 
)
void svx::sidebar::AreaPropertyPanelBase::updateFillColor ( bool  bDefaultOrSet,
const SfxPoolItem pState 
)
void svx::sidebar::AreaPropertyPanelBase::updateFillFloatTransparence ( bool  bDisabled,
bool  bDefaultOrSet,
const SfxPoolItem pState 
)
void svx::sidebar::AreaPropertyPanelBase::updateFillGradient ( bool  bDisabled,
bool  bDefaultOrSet,
const SfxPoolItem pState 
)
void svx::sidebar::AreaPropertyPanelBase::updateFillHatch ( bool  bDisabled,
bool  bDefaultOrSet,
const SfxPoolItem pState 
)
void svx::sidebar::AreaPropertyPanelBase::updateFillStyle ( bool  bDisabled,
bool  bDefaultOrSet,
const SfxPoolItem pState 
)
void svx::sidebar::AreaPropertyPanelBase::updateFillTransparence ( bool  bDisabled,
bool  bDefaultOrSet,
const SfxPoolItem pState 
)

Member Data Documentation

const sal_Int32 svx::sidebar::AreaPropertyPanelBase::DEFAULT_ANGLE = 0
static
const sal_Int32 svx::sidebar::AreaPropertyPanelBase::DEFAULT_BORDER = 0
static
const sal_Int32 svx::sidebar::AreaPropertyPanelBase::DEFAULT_CENTERX = 50
static
const sal_Int32 svx::sidebar::AreaPropertyPanelBase::DEFAULT_CENTERY = 50
static
const sal_Int32 svx::sidebar::AreaPropertyPanelBase::DEFAULT_ENDVALUE = 16777215
static
const sal_Int32 svx::sidebar::AreaPropertyPanelBase::DEFAULT_STARTVALUE = 0
static
XGradient svx::sidebar::AreaPropertyPanelBase::maGradientAxial
protected

Definition at line 114 of file AreaPropertyPanelBase.hxx.

Referenced by GetGradient(), Initialize(), and SetGradient().

XGradient svx::sidebar::AreaPropertyPanelBase::maGradientElliptical
protected

Definition at line 116 of file AreaPropertyPanelBase.hxx.

Referenced by GetGradient(), Initialize(), and SetGradient().

XGradient svx::sidebar::AreaPropertyPanelBase::maGradientLinear
protected

Definition at line 113 of file AreaPropertyPanelBase.hxx.

Referenced by GetGradient(), Initialize(), and SetGradient().

XGradient svx::sidebar::AreaPropertyPanelBase::maGradientRadial
protected

Definition at line 115 of file AreaPropertyPanelBase.hxx.

Referenced by GetGradient(), Initialize(), and SetGradient().

XGradient svx::sidebar::AreaPropertyPanelBase::maGradientRect
protected

Definition at line 118 of file AreaPropertyPanelBase.hxx.

Referenced by GetGradient(), Initialize(), and SetGradient().

XGradient svx::sidebar::AreaPropertyPanelBase::maGradientSquare
protected

Definition at line 117 of file AreaPropertyPanelBase.hxx.

Referenced by GetGradient(), Initialize(), and SetGradient().

OUString svx::sidebar::AreaPropertyPanelBase::maImgAxial
protected

Definition at line 144 of file AreaPropertyPanelBase.hxx.

Referenced by ImpUpdateTransparencies().

OUString svx::sidebar::AreaPropertyPanelBase::maImgElli
protected

Definition at line 145 of file AreaPropertyPanelBase.hxx.

Referenced by ImpUpdateTransparencies().

OUString svx::sidebar::AreaPropertyPanelBase::maImgLinear
protected

Definition at line 149 of file AreaPropertyPanelBase.hxx.

Referenced by ImpUpdateTransparencies(), and Initialize().

OUString svx::sidebar::AreaPropertyPanelBase::maImgQuad
protected

Definition at line 146 of file AreaPropertyPanelBase.hxx.

Referenced by ImpUpdateTransparencies().

OUString svx::sidebar::AreaPropertyPanelBase::maImgRadial
protected

Definition at line 147 of file AreaPropertyPanelBase.hxx.

Referenced by ImpUpdateTransparencies().

OUString svx::sidebar::AreaPropertyPanelBase::maImgSquare
protected

Definition at line 148 of file AreaPropertyPanelBase.hxx.

Referenced by ImpUpdateTransparencies().

sal_uInt16 svx::sidebar::AreaPropertyPanelBase::meLastXFS
protected

Definition at line 106 of file AreaPropertyPanelBase.hxx.

Referenced by SelectFillAttrHdl_Impl(), and updateFillStyle().

sal_Int32 svx::sidebar::AreaPropertyPanelBase::mnLastPosBitmap
protected

Definition at line 109 of file AreaPropertyPanelBase.hxx.

Referenced by SelectFillAttrHdl_Impl().

sal_Int32 svx::sidebar::AreaPropertyPanelBase::mnLastPosHatch
protected

Definition at line 108 of file AreaPropertyPanelBase.hxx.

Referenced by SelectFillAttrHdl_Impl().

sal_Int32 svx::sidebar::AreaPropertyPanelBase::mnLastPosPattern
protected

Definition at line 110 of file AreaPropertyPanelBase.hxx.

Referenced by SelectFillAttrHdl_Impl().

sal_uInt16 svx::sidebar::AreaPropertyPanelBase::mnLastTransSolid
protected

Definition at line 111 of file AreaPropertyPanelBase.hxx.

std::unique_ptr< XFillBitmapItem > svx::sidebar::AreaPropertyPanelBase::mpBitmapItem
protected
std::unique_ptr< XFillColorItem > svx::sidebar::AreaPropertyPanelBase::mpColorItem
protected

Definition at line 139 of file AreaPropertyPanelBase.hxx.

Referenced by Update(), and updateFillColor().

std::unique_ptr< XFillGradientItem > svx::sidebar::AreaPropertyPanelBase::mpFillGradientItem
protected

Definition at line 140 of file AreaPropertyPanelBase.hxx.

Referenced by NotifyItemUpdate(), Update(), and updateFillGradient().

std::unique_ptr< XFillFloatTransparenceItem > svx::sidebar::AreaPropertyPanelBase::mpFloatTransparenceItem
protected
std::unique_ptr< XFillHatchItem > svx::sidebar::AreaPropertyPanelBase::mpHatchItem
protected

Definition at line 141 of file AreaPropertyPanelBase.hxx.

Referenced by NotifyItemUpdate(), Update(), and updateFillHatch().

VclPtr<sfx2::sidebar::Panel> svx::sidebar::AreaPropertyPanelBase::mpPanel
protected
std::unique_ptr< XFillStyleItem > svx::sidebar::AreaPropertyPanelBase::mpStyleItem
protected
std::unique_ptr< SfxUInt16Item > svx::sidebar::AreaPropertyPanelBase::mpTransparanceItem
protected

Definition at line 154 of file AreaPropertyPanelBase.hxx.

Referenced by ImpUpdateTransparencies(), and updateFillTransparence().

std::unique_ptr<weld::Button> svx::sidebar::AreaPropertyPanelBase::mxBmpImport
protected

Definition at line 135 of file AreaPropertyPanelBase.hxx.

Referenced by dispose(), Initialize(), and Update().

std::unique_ptr<weld::Toolbar> svx::sidebar::AreaPropertyPanelBase::mxBTNGradient
protected

Definition at line 132 of file AreaPropertyPanelBase.hxx.

Referenced by dispose(), ImpUpdateTransparencies(), and Initialize().

std::unique_ptr<ToolbarUnoDispatcher> svx::sidebar::AreaPropertyPanelBase::mxColorDispatch
protected

Definition at line 127 of file AreaPropertyPanelBase.hxx.

Referenced by dispose().

std::unique_ptr<weld::Label> svx::sidebar::AreaPropertyPanelBase::mxColorTextFT
protected

Definition at line 121 of file AreaPropertyPanelBase.hxx.

Referenced by dispose(), and updateFillStyle().

std::unique_ptr<weld::ComboBox> svx::sidebar::AreaPropertyPanelBase::mxGradientStyle
protected
std::unique_ptr<weld::ComboBox> svx::sidebar::AreaPropertyPanelBase::mxLbFillAttr
protected
std::unique_ptr<ColorListBox> svx::sidebar::AreaPropertyPanelBase::mxLbFillGradFrom
protected
std::unique_ptr<ColorListBox> svx::sidebar::AreaPropertyPanelBase::mxLbFillGradTo
protected
std::unique_ptr<weld::ComboBox> svx::sidebar::AreaPropertyPanelBase::mxLbFillType
protected
std::unique_ptr<weld::ComboBox> svx::sidebar::AreaPropertyPanelBase::mxLBTransType
protected
std::unique_ptr<weld::MetricSpinButton> svx::sidebar::AreaPropertyPanelBase::mxMTRAngle
protected
std::unique_ptr<weld::MetricSpinButton> svx::sidebar::AreaPropertyPanelBase::mxMTRTransparent
protected
std::unique_ptr<weld::Scale> svx::sidebar::AreaPropertyPanelBase::mxSldTransparent
protected
std::unique_ptr<weld::Toolbar> svx::sidebar::AreaPropertyPanelBase::mxToolBoxColor
protected
std::unique_ptr<AreaTransparencyGradientPopup> svx::sidebar::AreaPropertyPanelBase::mxTrGrPopup
protected

Definition at line 136 of file AreaPropertyPanelBase.hxx.

Referenced by dispose(), ImpUpdateTransparencies(), and Initialize().

std::unique_ptr<weld::Label> svx::sidebar::AreaPropertyPanelBase::mxTrspTextFT
protected

Definition at line 128 of file AreaPropertyPanelBase.hxx.

Referenced by dispose(), and ImpUpdateTransparencies().


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