LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
sc::sidebar::CellAppearancePropertyPanel Class Reference

#include <CellAppearancePropertyPanel.hxx>

Inheritance diagram for sc::sidebar::CellAppearancePropertyPanel:
[legend]
Collaboration diagram for sc::sidebar::CellAppearancePropertyPanel:
[legend]

Public Member Functions

virtual void HandleContextChange (const vcl::EnumContext &rContext) 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
 
SfxBindingsGetBindings ()
 
 CellAppearancePropertyPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~CellAppearancePropertyPanel () override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (weld::Widget *pParent, const OString &rID, const OUString &rUIXMLDescription)
 
void SetPanel (sfx2::sidebar::Panel *pPanel)
 
virtual ~PanelLayout ()
 
Size get_preferred_size () const
 
void queue_resize ()
 
- Public Member Functions inherited from sfx2::sidebar::IContextChangeReceiver
virtual ~IContextChangeReceiver ()
 
- Public Member Functions inherited from sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface
virtual ~ItemUpdateReceiverInterface ()
 

Static Public Member Functions

static std::unique_ptr< PanelLayoutCreate (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 

Private Member Functions

 DECL_LINK (TbxCellBorderSelectHdl, const OString &, void)
 
 DECL_LINK (TbxCellBorderMenuHdl, const OString &, void)
 
 DECL_LINK (TbxLineStyleSelectHdl, const OString &, void)
 
 DECL_LINK (TbxLineStyleMenuHdl, const OString &, void)
 
void Initialize ()
 
void SetStyleIcon ()
 
void UpdateControlState ()
 
void UpdateCellBorder (bool bTop, bool bBot, bool bLeft, bool bRight, bool bVer, bool bHor, bool bTLBR, bool bBLTR)
 

Private Attributes

std::unique_ptr< ToolbarPopupContainermxCellBorderPopoverContainer
 
std::unique_ptr< weld::ToolbarmxTBCellBorder
 
std::unique_ptr< weld::ToolbarmxTBCellBackground
 
std::unique_ptr< ToolbarUnoDispatchermxBackColorDispatch
 
std::unique_ptr< ToolbarPopupContainermxLinePopoverContainer
 
std::unique_ptr< weld::ToolbarmxTBLineStyle
 
std::unique_ptr< weld::ToolbarmxTBLineColor
 
std::unique_ptr< ToolbarUnoDispatchermxLineColorDispatch
 
bool mbCellBorderPopoverCreated
 
bool mbLinePopoverCreated
 
::sfx2::sidebar::ControllerItem maLineStyleControl
 
::sfx2::sidebar::ControllerItem maBorderOuterControl
 
::sfx2::sidebar::ControllerItem maBorderInnerControl
 
::sfx2::sidebar::ControllerItem maGridShowControl
 
::sfx2::sidebar::ControllerItem maBorderTLBRControl
 
::sfx2::sidebar::ControllerItem maBorderBLTRControl
 
Image maIMGCellBorder
 
OUString msIMGCellBorder
 
OUString msIMGLineStyle1
 
OUString msIMGLineStyle2
 
OUString msIMGLineStyle3
 
OUString msIMGLineStyle4
 
OUString msIMGLineStyle5
 
OUString msIMGLineStyle6
 
OUString msIMGLineStyle7
 
OUString msIMGLineStyle8
 
OUString msIMGLineStyle9
 
sal_uInt16 mnInWidth
 
sal_uInt16 mnOutWidth
 
sal_uInt16 mnDistance
 
sal_uInt16 mnDiagTLBRInWidth
 
sal_uInt16 mnDiagTLBROutWidth
 
sal_uInt16 mnDiagTLBRDistance
 
sal_uInt16 mnDiagBLTRInWidth
 
sal_uInt16 mnDiagBLTROutWidth
 
sal_uInt16 mnDiagBLTRDistance
 
bool mbBorderStyleAvailable: 1
 
bool mbLeft: 1
 
bool mbRight: 1
 
bool mbTop: 1
 
bool mbBottom: 1
 
bool mbVer: 1
 
bool mbHor: 1
 
bool mbOuterBorder: 1
 
bool mbInnerBorder: 1
 
bool mbDiagTLBR: 1
 
bool mbDiagBLTR: 1
 
vcl::EnumContext maContext
 
SfxBindingsmpBindings
 

Friends

class CellLineStylePopup
 
class CellBorderStylePopup
 

Additional Inherited Members

- Protected Member Functions inherited from PanelLayout
virtual void DataChanged (const DataChangedEvent &rEvent)
 
virtual void DumpAsPropertyTree (tools::JsonWriter &)
 
virtual weld::WindowGetFrameWeld () const
 
- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 
sfx2::sidebar::Panelm_pPanel
 

Detailed Description

Definition at line 33 of file CellAppearancePropertyPanel.hxx.

Constructor & Destructor Documentation

sc::sidebar::CellAppearancePropertyPanel::CellAppearancePropertyPanel ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)

Definition at line 46 of file CellAppearancePropertyPanel.cxx.

References false, Initialize(), and Yes.

sc::sidebar::CellAppearancePropertyPanel::~CellAppearancePropertyPanel ( )
overridevirtual

Member Function Documentation

std::unique_ptr< PanelLayout > sc::sidebar::CellAppearancePropertyPanel::Create ( weld::Widget pParent,
const css::uno::Reference< css::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 179 of file CellAppearancePropertyPanel.cxx.

sc::sidebar::CellAppearancePropertyPanel::DECL_LINK ( TbxCellBorderSelectHdl  ,
const OString &  ,
void   
)
private
sc::sidebar::CellAppearancePropertyPanel::DECL_LINK ( TbxCellBorderMenuHdl  ,
const OString &  ,
void   
)
private
sc::sidebar::CellAppearancePropertyPanel::DECL_LINK ( TbxLineStyleSelectHdl  ,
const OString &  ,
void   
)
private
sc::sidebar::CellAppearancePropertyPanel::DECL_LINK ( TbxLineStyleMenuHdl  ,
const OString &  ,
void   
)
private
SfxBindings* sc::sidebar::CellAppearancePropertyPanel::GetBindings ( )
inline

Definition at line 60 of file CellAppearancePropertyPanel.hxx.

References mpBindings.

virtual void sc::sidebar::CellAppearancePropertyPanel::GetControlState ( const sal_uInt16  ,
boost::property_tree::ptree &   
)
inlineoverridevirtual
void sc::sidebar::CellAppearancePropertyPanel::HandleContextChange ( const vcl::EnumContext rContext)
overridevirtual

Implements sfx2::sidebar::IContextChangeReceiver.

Definition at line 194 of file CellAppearancePropertyPanel.cxx.

References maContext.

void sc::sidebar::CellAppearancePropertyPanel::Initialize ( )
private
void sc::sidebar::CellAppearancePropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void sc::sidebar::CellAppearancePropertyPanel::SetStyleIcon ( )
private
void sc::sidebar::CellAppearancePropertyPanel::UpdateCellBorder ( bool  bTop,
bool  bBot,
bool  bLeft,
bool  bRight,
bool  bVer,
bool  bHor,
bool  bTLBR,
bool  bBLTR 
)
private
void sc::sidebar::CellAppearancePropertyPanel::UpdateControlState ( )
private

Friends And Related Function Documentation

friend class CellBorderStylePopup
friend

Definition at line 40 of file CellAppearancePropertyPanel.hxx.

friend class CellLineStylePopup
friend

Definition at line 39 of file CellAppearancePropertyPanel.hxx.

Member Data Documentation

::sfx2::sidebar::ControllerItem sc::sidebar::CellAppearancePropertyPanel::maBorderBLTRControl
private

Definition at line 89 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

::sfx2::sidebar::ControllerItem sc::sidebar::CellAppearancePropertyPanel::maBorderInnerControl
private

Definition at line 86 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

::sfx2::sidebar::ControllerItem sc::sidebar::CellAppearancePropertyPanel::maBorderOuterControl
private

Definition at line 85 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

::sfx2::sidebar::ControllerItem sc::sidebar::CellAppearancePropertyPanel::maBorderTLBRControl
private

Definition at line 88 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

vcl::EnumContext sc::sidebar::CellAppearancePropertyPanel::maContext
private

Definition at line 131 of file CellAppearancePropertyPanel.hxx.

Referenced by HandleContextChange().

::sfx2::sidebar::ControllerItem sc::sidebar::CellAppearancePropertyPanel::maGridShowControl
private

Definition at line 87 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

Image sc::sidebar::CellAppearancePropertyPanel::maIMGCellBorder
private

Definition at line 92 of file CellAppearancePropertyPanel.hxx.

Referenced by UpdateCellBorder().

::sfx2::sidebar::ControllerItem sc::sidebar::CellAppearancePropertyPanel::maLineStyleControl
private

Definition at line 84 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

bool sc::sidebar::CellAppearancePropertyPanel::mbBorderStyleAvailable
private

Definition at line 115 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

bool sc::sidebar::CellAppearancePropertyPanel::mbBottom
private

Definition at line 121 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

bool sc::sidebar::CellAppearancePropertyPanel::mbCellBorderPopoverCreated
private

Definition at line 81 of file CellAppearancePropertyPanel.hxx.

bool sc::sidebar::CellAppearancePropertyPanel::mbDiagBLTR
private

Definition at line 129 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

bool sc::sidebar::CellAppearancePropertyPanel::mbDiagTLBR
private

Definition at line 128 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

bool sc::sidebar::CellAppearancePropertyPanel::mbHor
private

Definition at line 123 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

bool sc::sidebar::CellAppearancePropertyPanel::mbInnerBorder
private

Definition at line 126 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

bool sc::sidebar::CellAppearancePropertyPanel::mbLeft
private

Definition at line 118 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

bool sc::sidebar::CellAppearancePropertyPanel::mbLinePopoverCreated
private

Definition at line 82 of file CellAppearancePropertyPanel.hxx.

bool sc::sidebar::CellAppearancePropertyPanel::mbOuterBorder
private

Definition at line 125 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

bool sc::sidebar::CellAppearancePropertyPanel::mbRight
private

Definition at line 119 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

bool sc::sidebar::CellAppearancePropertyPanel::mbTop
private

Definition at line 120 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

bool sc::sidebar::CellAppearancePropertyPanel::mbVer
private

Definition at line 122 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnDiagBLTRDistance
private

Definition at line 113 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnDiagBLTRInWidth
private

Definition at line 111 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnDiagBLTROutWidth
private

Definition at line 112 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnDiagTLBRDistance
private

Definition at line 110 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnDiagTLBRInWidth
private

Definition at line 108 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnDiagTLBROutWidth
private

Definition at line 109 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnDistance
private
sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnInWidth
private
sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnOutWidth
private
SfxBindings* sc::sidebar::CellAppearancePropertyPanel::mpBindings
private

Definition at line 132 of file CellAppearancePropertyPanel.hxx.

Referenced by GetBindings().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGCellBorder
private

Definition at line 93 of file CellAppearancePropertyPanel.hxx.

Referenced by Initialize(), and UpdateCellBorder().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle1
private

Definition at line 94 of file CellAppearancePropertyPanel.hxx.

Referenced by Initialize(), and SetStyleIcon().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle2
private

Definition at line 95 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle3
private

Definition at line 96 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle4
private

Definition at line 97 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle5
private

Definition at line 98 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle6
private

Definition at line 99 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle7
private

Definition at line 100 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle8
private

Definition at line 101 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

OUString sc::sidebar::CellAppearancePropertyPanel::msIMGLineStyle9
private

Definition at line 102 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

std::unique_ptr<ToolbarUnoDispatcher> sc::sidebar::CellAppearancePropertyPanel::mxBackColorDispatch
private

Definition at line 75 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

std::unique_ptr<ToolbarPopupContainer> sc::sidebar::CellAppearancePropertyPanel::mxCellBorderPopoverContainer
private

Definition at line 72 of file CellAppearancePropertyPanel.hxx.

Referenced by Initialize(), and ~CellAppearancePropertyPanel().

std::unique_ptr<ToolbarUnoDispatcher> sc::sidebar::CellAppearancePropertyPanel::mxLineColorDispatch
private

Definition at line 79 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

std::unique_ptr<ToolbarPopupContainer> sc::sidebar::CellAppearancePropertyPanel::mxLinePopoverContainer
private

Definition at line 76 of file CellAppearancePropertyPanel.hxx.

Referenced by Initialize(), and ~CellAppearancePropertyPanel().

std::unique_ptr<weld::Toolbar> sc::sidebar::CellAppearancePropertyPanel::mxTBCellBackground
private

Definition at line 74 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

std::unique_ptr<weld::Toolbar> sc::sidebar::CellAppearancePropertyPanel::mxTBCellBorder
private
std::unique_ptr<weld::Toolbar> sc::sidebar::CellAppearancePropertyPanel::mxTBLineColor
private
std::unique_ptr<weld::Toolbar> sc::sidebar::CellAppearancePropertyPanel::mxTBLineStyle
private

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