summaryrefslogtreecommitdiff
path: root/sw/source/uibase/table
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2018-06-08 10:15:45 +0100
committerCaolán McNamara <caolanm@redhat.com>2018-06-10 22:10:18 +0200
commitf3226c4c2e6d7a7750bcd92a7cdf04f70ef97627 (patch)
tree67b692a96426f6cbf505917fab3f04381fbf9d6b /sw/source/uibase/table
parent9ac659ec61a88252344d08f0a79d2ac699da264d (diff)
weld SwTextFlowPage
Change-Id: I9f182874551e7c1e32b2a00e72f7c3a8f1356fc3 Reviewed-on: https://gerrit.libreoffice.org/55461 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Caolán McNamara <caolanm@redhat.com> Tested-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'sw/source/uibase/table')
-rw-r--r--sw/source/uibase/table/tablepg.hxx59
1 files changed, 26 insertions, 33 deletions
diff --git a/sw/source/uibase/table/tablepg.hxx b/sw/source/uibase/table/tablepg.hxx
index 975684ce572a..3883de6cd2b6 100644
--- a/sw/source/uibase/table/tablepg.hxx
+++ b/sw/source/uibase/table/tablepg.hxx
@@ -145,46 +145,39 @@ public:
class SwTextFlowPage : public SfxTabPage
{
- VclPtr<CheckBox> m_pPgBrkCB;
-
- VclPtr<RadioButton> m_pPgBrkRB;
- VclPtr<RadioButton> m_pColBrkRB;
-
- VclPtr<RadioButton> m_pPgBrkBeforeRB;
- VclPtr<RadioButton> m_pPgBrkAfterRB;
-
- VclPtr<CheckBox> m_pPageCollCB;
- VclPtr<ListBox> m_pPageCollLB;
- VclPtr<CheckBox> m_pPageNoCB;
- VclPtr<NumericField> m_pPageNoNF;
- VclPtr<CheckBox> m_pSplitCB;
- VclPtr<TriStateBox> m_pSplitRowCB;
- VclPtr<CheckBox> m_pKeepCB;
- VclPtr<CheckBox> m_pHeadLineCB;
- VclPtr<NumericField> m_pRepeatHeaderNF;
- VclPtr<VclContainer> m_pRepeatHeaderCombo;
- VclPtr<ListBox> m_pTextDirectionLB;
-
- VclPtr<ListBox> m_pVertOrientLB;
-
SwWrtShell* pShell;
-
bool bPageBreak;
bool bHtmlMode;
- DECL_LINK(PageBreakHdl_Impl, Button*, void);
- DECL_LINK(ApplyCollClickHdl_Impl, Button*, void);
- DECL_LINK( PageBreakPosHdl_Impl, Button*, void );
- DECL_LINK( PageBreakTypeHdl_Impl, Button*, void );
- DECL_LINK(PageNoClickHdl_Impl, Button*, void);
- DECL_LINK( SplitHdl_Impl, Button*, void );
- DECL_STATIC_LINK( SwTextFlowPage, SplitRowHdl_Impl, Button*, void );
- DECL_LINK( HeadLineCBClickHdl, Button*, void );
+ std::unique_ptr<weld::CheckButton> m_xPgBrkCB;
+ std::unique_ptr<weld::RadioButton> m_xPgBrkRB;
+ std::unique_ptr<weld::RadioButton> m_xColBrkRB;
+ std::unique_ptr<weld::RadioButton> m_xPgBrkBeforeRB;
+ std::unique_ptr<weld::RadioButton> m_xPgBrkAfterRB;
+ std::unique_ptr<weld::CheckButton> m_xPageCollCB;
+ std::unique_ptr<weld::ComboBoxText> m_xPageCollLB;
+ std::unique_ptr<weld::CheckButton> m_xPageNoCB;
+ std::unique_ptr<weld::SpinButton> m_xPageNoNF;
+ std::unique_ptr<weld::CheckButton> m_xSplitCB;
+ std::unique_ptr<weld::CheckButton> m_xSplitRowCB;
+ std::unique_ptr<weld::CheckButton> m_xKeepCB;
+ std::unique_ptr<weld::CheckButton> m_xHeadLineCB;
+ std::unique_ptr<weld::Widget> m_xRepeatHeaderCombo;
+ std::unique_ptr<weld::SpinButton> m_xRepeatHeaderNF;
+ std::unique_ptr<weld::ComboBoxText> m_xTextDirectionLB;
+ std::unique_ptr<weld::ComboBoxText> m_xVertOrientLB;
+
+ DECL_LINK(PageBreakHdl_Impl, weld::ToggleButton&, void);
+ DECL_LINK(ApplyCollClickHdl_Impl, weld::ToggleButton&, void);
+ DECL_LINK(PageBreakPosHdl_Impl, weld::ToggleButton&, void);
+ DECL_LINK(PageBreakTypeHdl_Impl, weld::ToggleButton&, void);
+ DECL_LINK(PageNoClickHdl_Impl, weld::ToggleButton&, void);
+ DECL_LINK(SplitHdl_Impl, weld::ToggleButton&, void);
+ DECL_LINK(HeadLineCBClickHdl, weld::ToggleButton&, void);
public:
- SwTextFlowPage( vcl::Window* pParent, const SfxItemSet& rSet );
+ SwTextFlowPage(TabPageParent pParent, const SfxItemSet& rSet);
virtual ~SwTextFlowPage() override;
- virtual void dispose() override;
static VclPtr<SfxTabPage> Create( TabPageParent pParent, const SfxItemSet* rAttrSet);
virtual bool FillItemSet( SfxItemSet* rSet ) override;
virtual void Reset( const SfxItemSet* rSet ) override;