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

#include <PageStylesPanel.hxx>

Inheritance diagram for sw::sidebar::PageStylesPanel:
[legend]
Collaboration diagram for sw::sidebar::PageStylesPanel:
[legend]

Public Member Functions

virtual void NotifyItemUpdate (const sal_uInt16 nSId, const SfxItemState eState, const SfxPoolItem *pState) override
 
SfxBindingsGetBindings () const
 
 PageStylesPanel (vcl::Window *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 
virtual ~PageStylesPanel () override
 
virtual void dispose () override
 
- Public Member Functions inherited from PanelLayout
 PanelLayout (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const css::uno::Reference< css::frame::XFrame > &rFrame, bool bInterimBuilder=false)
 
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 Member Functions

static VclPtr< vcl::WindowCreate (vcl::Window *pParent, const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &rxFrame, SfxBindings *pBindings)
 

Private Member Functions

void Initialize ()
 
void Update ()
 
Color const & GetColorSetOrDefault ()
 
XGradient const & GetGradientSetOrDefault ()
 
OUString const & GetHatchingSetOrDefault ()
 
OUString const & GetBitmapSetOrDefault ()
 
OUString const & GetPatternSetOrDefault ()
 
void ModifyFillColor ()
 
 DECL_LINK (ModifyColumnCountHdl, ListBox &, void)
 
 DECL_LINK (ModifyNumberingHdl, ListBox &, void)
 
 DECL_LINK (ModifyLayoutHdl, ListBox &, void)
 
 DECL_LINK (ModifyFillStyleHdl, ListBox &, void)
 
 DECL_LINK (ModifyFillColorHdl, ListBox &, void)
 
 DECL_LINK (ModifyFillColorListHdl, SvxColorListBox &, void)
 

Private Attributes

SfxBindingsmpBindings
 
::std::unique_ptr< SfxInt16ItemmpPageColumnItem
 
::std::unique_ptr< SvxPageItemmpPageItem
 
::std::unique_ptr< XFillColorItemmpBgColorItem
 
::std::unique_ptr< XFillGradientItemmpBgGradientItem
 
::std::unique_ptr< XFillHatchItemmpBgHatchItem
 
::std::unique_ptr< XFillBitmapItemmpBgBitmapItem
 
::sfx2::sidebar::ControllerItem maPageColumnControl
 
::sfx2::sidebar::ControllerItem maPageNumFormatControl
 
::sfx2::sidebar::ControllerItem maBgColorControl
 
::sfx2::sidebar::ControllerItem maBgHatchingControl
 
::sfx2::sidebar::ControllerItem maBgGradientControl
 
::sfx2::sidebar::ControllerItem maBgBitmapControl
 
::sfx2::sidebar::ControllerItem maBgFillStyleControl
 
VclPtr< SvxColorListBoxmpBgColorLB
 
VclPtr< SvxFillAttrBoxmpBgHatchingLB
 
VclPtr< SvxColorListBoxmpBgGradientLB
 
VclPtr< SvxFillAttrBoxmpBgBitmapLB
 
VclPtr< ListBoxmpLayoutSelectLB
 
VclPtr< ListBoxmpColumnCount
 
VclPtr< PageNumberListBoxmpNumberSelectLB
 
VclPtr< SvxFillTypeBoxmpBgFillType
 
VclPtr< FixedTextmpCustomEntry
 
OUString aCustomEntry
 

Additional Inherited Members

- Protected Attributes inherited from PanelLayout
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 46 of file PageStylesPanel.hxx.

Constructor & Destructor Documentation

sw::sidebar::PageStylesPanel::PageStylesPanel ( vcl::Window pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
sw::sidebar::PageStylesPanel::~PageStylesPanel ( )
overridevirtual

Definition at line 128 of file PageStylesPanel.cxx.

Member Function Documentation

VclPtr< vcl::Window > sw::sidebar::PageStylesPanel::Create ( vcl::Window pParent,
const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XFrame > &  rxFrame,
SfxBindings pBindings 
)
static

Definition at line 82 of file PageStylesPanel.cxx.

References VclPtr< reference_type >::Create().

sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyColumnCountHdl  ,
ListBox ,
void   
)
private
sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyNumberingHdl  ,
ListBox ,
void   
)
private
sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyLayoutHdl  ,
ListBox ,
void   
)
private
sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyFillStyleHdl  ,
ListBox ,
void   
)
private
sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyFillColorHdl  ,
ListBox ,
void   
)
private
sw::sidebar::PageStylesPanel::DECL_LINK ( ModifyFillColorListHdl  ,
SvxColorListBox ,
void   
)
private
void sw::sidebar::PageStylesPanel::dispose ( void  )
overridevirtual
SfxBindings* sw::sidebar::PageStylesPanel::GetBindings ( ) const
inline

Definition at line 61 of file PageStylesPanel.hxx.

References mpBindings.

Referenced by ModifyFillColor().

OUString const & sw::sidebar::PageStylesPanel::GetBitmapSetOrDefault ( )
private
Color const & sw::sidebar::PageStylesPanel::GetColorSetOrDefault ( )
private

Definition at line 257 of file PageStylesPanel.cxx.

References mpBgColorItem.

Referenced by Update().

XGradient const & sw::sidebar::PageStylesPanel::GetGradientSetOrDefault ( )
private
OUString const & sw::sidebar::PageStylesPanel::GetHatchingSetOrDefault ( )
private
OUString const & sw::sidebar::PageStylesPanel::GetPatternSetOrDefault ( )
private
void sw::sidebar::PageStylesPanel::Initialize ( )
private
void sw::sidebar::PageStylesPanel::ModifyFillColor ( )
private
void sw::sidebar::PageStylesPanel::NotifyItemUpdate ( const sal_uInt16  nSId,
const SfxItemState  eState,
const SfxPoolItem pState 
)
overridevirtual
void sw::sidebar::PageStylesPanel::Update ( )
private

Member Data Documentation

OUString sw::sidebar::PageStylesPanel::aCustomEntry
private

Definition at line 97 of file PageStylesPanel.hxx.

Referenced by Initialize(), and NotifyItemUpdate().

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgBitmapControl
private

Definition at line 85 of file PageStylesPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgColorControl
private

Definition at line 82 of file PageStylesPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgFillStyleControl
private

Definition at line 86 of file PageStylesPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgGradientControl
private

Definition at line 84 of file PageStylesPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maBgHatchingControl
private

Definition at line 83 of file PageStylesPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maPageColumnControl
private

Definition at line 80 of file PageStylesPanel.hxx.

Referenced by dispose().

::sfx2::sidebar::ControllerItem sw::sidebar::PageStylesPanel::maPageNumFormatControl
private

Definition at line 81 of file PageStylesPanel.hxx.

Referenced by dispose().

::std::unique_ptr<XFillBitmapItem> sw::sidebar::PageStylesPanel::mpBgBitmapItem
private
VclPtr<SvxFillAttrBox> sw::sidebar::PageStylesPanel::mpBgBitmapLB
private

Definition at line 91 of file PageStylesPanel.hxx.

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

::std::unique_ptr<XFillColorItem> sw::sidebar::PageStylesPanel::mpBgColorItem
private

Definition at line 75 of file PageStylesPanel.hxx.

Referenced by GetColorSetOrDefault(), and NotifyItemUpdate().

VclPtr<SvxColorListBox> sw::sidebar::PageStylesPanel::mpBgColorLB
private

Definition at line 88 of file PageStylesPanel.hxx.

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

VclPtr<SvxFillTypeBox> sw::sidebar::PageStylesPanel::mpBgFillType
private
::std::unique_ptr<XFillGradientItem> sw::sidebar::PageStylesPanel::mpBgGradientItem
private

Definition at line 76 of file PageStylesPanel.hxx.

Referenced by GetGradientSetOrDefault(), and NotifyItemUpdate().

VclPtr<SvxColorListBox> sw::sidebar::PageStylesPanel::mpBgGradientLB
private

Definition at line 90 of file PageStylesPanel.hxx.

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

VclPtr<SvxFillAttrBox> sw::sidebar::PageStylesPanel::mpBgHatchingLB
private

Definition at line 89 of file PageStylesPanel.hxx.

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

::std::unique_ptr<XFillHatchItem> sw::sidebar::PageStylesPanel::mpBgHatchItem
private

Definition at line 77 of file PageStylesPanel.hxx.

Referenced by GetHatchingSetOrDefault(), and NotifyItemUpdate().

SfxBindings* sw::sidebar::PageStylesPanel::mpBindings
private

Definition at line 71 of file PageStylesPanel.hxx.

Referenced by GetBindings(), and Initialize().

VclPtr<ListBox> sw::sidebar::PageStylesPanel::mpColumnCount
private

Definition at line 93 of file PageStylesPanel.hxx.

Referenced by dispose(), Initialize(), NotifyItemUpdate(), and PageStylesPanel().

VclPtr<FixedText> sw::sidebar::PageStylesPanel::mpCustomEntry
private

Definition at line 96 of file PageStylesPanel.hxx.

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

VclPtr<ListBox> sw::sidebar::PageStylesPanel::mpLayoutSelectLB
private

Definition at line 92 of file PageStylesPanel.hxx.

Referenced by dispose(), Initialize(), NotifyItemUpdate(), and PageStylesPanel().

VclPtr<PageNumberListBox> sw::sidebar::PageStylesPanel::mpNumberSelectLB
private

Definition at line 94 of file PageStylesPanel.hxx.

Referenced by dispose(), Initialize(), NotifyItemUpdate(), and PageStylesPanel().

::std::unique_ptr<SfxInt16Item> sw::sidebar::PageStylesPanel::mpPageColumnItem
private

Definition at line 73 of file PageStylesPanel.hxx.

Referenced by NotifyItemUpdate().

::std::unique_ptr<SvxPageItem> sw::sidebar::PageStylesPanel::mpPageItem
private

Definition at line 74 of file PageStylesPanel.hxx.

Referenced by NotifyItemUpdate().


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