LibreOffice Module sw (master) 1
|
#include <WrapPropertyPanel.hxx>
Public Member Functions | |
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 |
virtual | ~WrapPropertyPanel () override |
WrapPropertyPanel (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings) | |
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< PanelLayout > | Create (weld::Widget *pParent, const css::uno::Reference< css::frame::XFrame > &rxFrame, SfxBindings *pBindings) |
Private Member Functions | |
void | Initialize () |
void | UpdateSpacingLB () |
DECL_LINK (SpacingLBHdl, weld::ComboBox &, void) | |
Private Attributes | |
SfxBindings * | mpBindings |
sal_uInt16 | m_nTop |
sal_uInt16 | m_nBottom |
sal_uInt16 | m_nLeft |
sal_uInt16 | m_nRight |
OUString | m_aCustomEntry |
::sfx2::sidebar::ControllerItem | maSwLRSpacingControl |
::sfx2::sidebar::ControllerItem | maSwULSpacingControl |
std::unique_ptr< weld::Toolbar > | mxWrapOptions |
std::unique_ptr< ToolbarUnoDispatcher > | mxWrapOptionsDispatch |
std::unique_ptr< weld::ComboBox > | mxSpacingLB |
Additional Inherited Members | |
Protected Member Functions inherited from PanelLayout | |
virtual void | DataChanged (const DataChangedEvent &rEvent) |
virtual void | DumpAsPropertyTree (tools::JsonWriter &) |
virtual weld::Window * | GetFrameWeld () const |
Protected Attributes inherited from PanelLayout | |
std::unique_ptr< weld::Builder > | m_xBuilder |
std::unique_ptr< weld::Container > | m_xContainer |
sfx2::sidebar::Panel * | m_pPanel |
Definition at line 30 of file WrapPropertyPanel.hxx.
|
overridevirtual |
Definition at line 77 of file WrapPropertyPanel.cxx.
References SfxControllerItem::dispose(), maSwLRSpacingControl, maSwULSpacingControl, mxWrapOptions, and mxWrapOptionsDispatch.
sw::sidebar::WrapPropertyPanel::WrapPropertyPanel | ( | weld::Widget * | pParent, |
const css::uno::Reference< css::frame::XFrame > & | rxFrame, | ||
SfxBindings * | pBindings | ||
) |
Definition at line 51 of file WrapPropertyPanel.cxx.
References SpacingListBox::Fill(), GetDfltMetric(), Initialize(), IsInch(), and mxSpacingLB.
|
static |
Definition at line 36 of file WrapPropertyPanel.cxx.
|
private |
|
inlineoverridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 46 of file WrapPropertyPanel.hxx.
|
private |
Definition at line 87 of file WrapPropertyPanel.cxx.
References LINK, mpBindings, mxSpacingLB, and SfxBindings::Update().
Referenced by WrapPropertyPanel().
|
overridevirtual |
Implements sfx2::sidebar::ControllerItem::ItemUpdateReceiverInterface.
Definition at line 132 of file WrapPropertyPanel.cxx.
References SvxLRSpaceItem::GetLeft(), SvxULSpaceItem::GetLower(), SvxLRSpaceItem::GetRight(), SvxULSpaceItem::GetUpper(), m_nBottom, m_nLeft, m_nRight, m_nTop, and UpdateSpacingLB().
|
private |
Definition at line 95 of file WrapPropertyPanel.cxx.
References i, m_aCustomEntry, m_nBottom, m_nLeft, m_nRight, m_nTop, mxSpacingLB, and nCount.
Referenced by NotifyItemUpdate().
|
private |
Definition at line 66 of file WrapPropertyPanel.hxx.
Referenced by UpdateSpacingLB().
|
private |
Definition at line 61 of file WrapPropertyPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateSpacingLB().
|
private |
Definition at line 62 of file WrapPropertyPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateSpacingLB().
|
private |
Definition at line 63 of file WrapPropertyPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateSpacingLB().
|
private |
Definition at line 60 of file WrapPropertyPanel.hxx.
Referenced by NotifyItemUpdate(), and UpdateSpacingLB().
|
private |
Definition at line 69 of file WrapPropertyPanel.hxx.
Referenced by ~WrapPropertyPanel().
|
private |
Definition at line 70 of file WrapPropertyPanel.hxx.
Referenced by ~WrapPropertyPanel().
|
private |
Definition at line 57 of file WrapPropertyPanel.hxx.
Referenced by Initialize().
|
private |
Definition at line 75 of file WrapPropertyPanel.hxx.
Referenced by Initialize(), UpdateSpacingLB(), and WrapPropertyPanel().
|
private |
Definition at line 72 of file WrapPropertyPanel.hxx.
Referenced by ~WrapPropertyPanel().
|
private |
Definition at line 73 of file WrapPropertyPanel.hxx.
Referenced by ~WrapPropertyPanel().