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 OUString &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::ControllerItem::ItemUpdateReceiverInterface
virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState)=0
 
virtual void GetControlState (const sal_uInt16 nSId, boost::property_tree::ptree &rState)=0
 
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 OUString &, void)
 
 DECL_LINK (TbxCellBorderMenuHdl, const OUString &, void)
 
 DECL_LINK (TbxLineStyleSelectHdl, const OUString &, void)
 
 DECL_LINK (TbxLineStyleMenuHdl, const OUString &, 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

◆ CellAppearancePropertyPanel()

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 Initialize(), and Yes.

◆ ~CellAppearancePropertyPanel()

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

Member Function Documentation

◆ Create()

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

◆ DECL_LINK() [1/4]

sc::sidebar::CellAppearancePropertyPanel::DECL_LINK ( TbxCellBorderMenuHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [2/4]

sc::sidebar::CellAppearancePropertyPanel::DECL_LINK ( TbxCellBorderSelectHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [3/4]

sc::sidebar::CellAppearancePropertyPanel::DECL_LINK ( TbxLineStyleMenuHdl  ,
const OUString &  ,
void   
)
private

◆ DECL_LINK() [4/4]

sc::sidebar::CellAppearancePropertyPanel::DECL_LINK ( TbxLineStyleSelectHdl  ,
const OUString &  ,
void   
)
private

◆ GetBindings()

SfxBindings * sc::sidebar::CellAppearancePropertyPanel::GetBindings ( )
inline

Definition at line 60 of file CellAppearancePropertyPanel.hxx.

References mpBindings.

◆ GetControlState()

virtual void sc::sidebar::CellAppearancePropertyPanel::GetControlState ( const  sal_uInt16,
boost::property_tree::ptree &   
)
inlineoverridevirtual

◆ HandleContextChange()

void sc::sidebar::CellAppearancePropertyPanel::HandleContextChange ( const vcl::EnumContext rContext)
overridevirtual

Definition at line 194 of file CellAppearancePropertyPanel.cxx.

References maContext.

◆ Initialize()

void sc::sidebar::CellAppearancePropertyPanel::Initialize ( )
private

◆ NotifyItemUpdate()

void sc::sidebar::CellAppearancePropertyPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual

◆ SetStyleIcon()

void sc::sidebar::CellAppearancePropertyPanel::SetStyleIcon ( )
private

◆ UpdateCellBorder()

void sc::sidebar::CellAppearancePropertyPanel::UpdateCellBorder ( bool  bTop,
bool  bBot,
bool  bLeft,
bool  bRight,
bool  bVer,
bool  bHor,
bool  bTLBR,
bool  bBLTR 
)
private

◆ UpdateControlState()

void sc::sidebar::CellAppearancePropertyPanel::UpdateControlState ( )
private

Friends And Related Function Documentation

◆ CellBorderStylePopup

friend class CellBorderStylePopup
friend

Definition at line 40 of file CellAppearancePropertyPanel.hxx.

◆ CellLineStylePopup

friend class CellLineStylePopup
friend

Definition at line 39 of file CellAppearancePropertyPanel.hxx.

Member Data Documentation

◆ maBorderBLTRControl

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

Definition at line 89 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ maBorderInnerControl

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

Definition at line 86 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ maBorderOuterControl

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

Definition at line 85 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ maBorderTLBRControl

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

Definition at line 88 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ maContext

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

Definition at line 131 of file CellAppearancePropertyPanel.hxx.

Referenced by HandleContextChange().

◆ maGridShowControl

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

Definition at line 87 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ maIMGCellBorder

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

Definition at line 92 of file CellAppearancePropertyPanel.hxx.

Referenced by UpdateCellBorder().

◆ maLineStyleControl

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

Definition at line 84 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ mbBorderStyleAvailable

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

Definition at line 115 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mbBottom

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

Definition at line 121 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mbCellBorderPopoverCreated

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

Definition at line 81 of file CellAppearancePropertyPanel.hxx.

◆ mbDiagBLTR

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

Definition at line 129 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mbDiagTLBR

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

Definition at line 128 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mbHor

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

Definition at line 123 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mbInnerBorder

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

Definition at line 126 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mbLeft

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

Definition at line 118 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mbLinePopoverCreated

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

Definition at line 82 of file CellAppearancePropertyPanel.hxx.

◆ mbOuterBorder

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

Definition at line 125 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mbRight

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

Definition at line 119 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mbTop

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

Definition at line 120 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mbVer

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

Definition at line 122 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate().

◆ mnDiagBLTRDistance

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

Definition at line 113 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mnDiagBLTRInWidth

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

Definition at line 111 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mnDiagBLTROutWidth

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

Definition at line 112 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mnDiagTLBRDistance

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

Definition at line 110 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mnDiagTLBRInWidth

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

Definition at line 108 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mnDiagTLBROutWidth

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

Definition at line 109 of file CellAppearancePropertyPanel.hxx.

Referenced by NotifyItemUpdate(), and UpdateControlState().

◆ mnDistance

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnDistance
private

◆ mnInWidth

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnInWidth
private

◆ mnOutWidth

sal_uInt16 sc::sidebar::CellAppearancePropertyPanel::mnOutWidth
private

◆ mpBindings

SfxBindings* sc::sidebar::CellAppearancePropertyPanel::mpBindings
private

Definition at line 132 of file CellAppearancePropertyPanel.hxx.

Referenced by GetBindings().

◆ msIMGCellBorder

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

Definition at line 93 of file CellAppearancePropertyPanel.hxx.

Referenced by Initialize(), and UpdateCellBorder().

◆ msIMGLineStyle1

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

Definition at line 94 of file CellAppearancePropertyPanel.hxx.

Referenced by Initialize(), and SetStyleIcon().

◆ msIMGLineStyle2

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

Definition at line 95 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

◆ msIMGLineStyle3

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

Definition at line 96 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

◆ msIMGLineStyle4

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

Definition at line 97 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

◆ msIMGLineStyle5

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

Definition at line 98 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

◆ msIMGLineStyle6

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

Definition at line 99 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

◆ msIMGLineStyle7

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

Definition at line 100 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

◆ msIMGLineStyle8

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

Definition at line 101 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

◆ msIMGLineStyle9

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

Definition at line 102 of file CellAppearancePropertyPanel.hxx.

Referenced by SetStyleIcon().

◆ mxBackColorDispatch

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

Definition at line 75 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ mxCellBorderPopoverContainer

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

Definition at line 72 of file CellAppearancePropertyPanel.hxx.

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

◆ mxLineColorDispatch

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

Definition at line 79 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ mxLinePopoverContainer

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

Definition at line 76 of file CellAppearancePropertyPanel.hxx.

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

◆ mxTBCellBackground

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

Definition at line 74 of file CellAppearancePropertyPanel.hxx.

Referenced by ~CellAppearancePropertyPanel().

◆ mxTBCellBorder

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

◆ mxTBLineColor

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

◆ mxTBLineStyle

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

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