LibreOffice Module cui (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | List of all members
SvxExtParagraphTabPage Class Reference

#include <paragrph.hxx>

Inheritance diagram for SvxExtParagraphTabPage:
[legend]
Collaboration diagram for SvxExtParagraphTabPage:
[legend]

Public Member Functions

 SvxExtParagraphTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxExtParagraphTabPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void ChangesApplied () override
 
void DisablePageBreak ()
 
- Public Member Functions inherited from SfxTabPage
void SetDialogController (SfxOkDialogController *pDialog)
 
virtual ~SfxTabPage () override
 
void set_visible (bool bVisible)
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OString GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static const sal_uInt16 * GetRanges ()
 
- Static Public Member Functions inherited from SfxTabPage
static const SfxPoolItemGetItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
static const T * GetItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 

Protected Member Functions

virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
const SfxPoolItemGetOldItem (const SfxItemSet &rSet, sal_uInt16 nSlot, bool bDeep=true)
 
const T * GetOldItem (const SfxItemSet &rSet, TypedWhichId< T > nSlot, bool bDeep=true)
 
SfxOkDialogControllerGetDialogController () const
 

Private Member Functions

void HyphenClickHdl ()
 
void PageNumBoxClickHdl ()
 
void ApplyCollClickHdl ()
 
void PageBreakHdl ()
 
void KeepTogetherHdl ()
 
void OrphanHdl ()
 
void WidowHdl ()
 
 DECL_LINK (PageBreakHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (KeepTogetherHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (WidowHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (OrphanHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (HyphenClickHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (ApplyCollClickHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (PageBreakPosHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (PageBreakTypeHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (PageNumBoxClickHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (KeepParaBoxClickHdl_Impl, weld::ToggleButton &, void)
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 

Private Attributes

weld::TriStateEnabled aHyphenState
 
weld::TriStateEnabled aPageBreakState
 
weld::TriStateEnabled aApplyCollState
 
weld::TriStateEnabled aPageNumState
 
weld::TriStateEnabled aKeepTogetherState
 
weld::TriStateEnabled aKeepParaState
 
weld::TriStateEnabled aOrphanState
 
weld::TriStateEnabled aWidowState
 
bool bPageBreak
 
bool bHtmlMode
 
sal_uInt16 nStdPos
 
std::unique_ptr< weld::CheckButtonm_xHyphenBox
 
std::unique_ptr< weld::Labelm_xBeforeText
 
std::unique_ptr< weld::SpinButtonm_xExtHyphenBeforeBox
 
std::unique_ptr< weld::Labelm_xAfterText
 
std::unique_ptr< weld::SpinButtonm_xExtHyphenAfterBox
 
std::unique_ptr< weld::Labelm_xMaxHyphenLabel
 
std::unique_ptr< weld::SpinButtonm_xMaxHyphenEdit
 
std::unique_ptr< weld::CheckButtonm_xPageBreakBox
 
std::unique_ptr< weld::Labelm_xBreakTypeFT
 
std::unique_ptr< weld::ComboBoxm_xBreakTypeLB
 
std::unique_ptr< weld::Labelm_xBreakPositionFT
 
std::unique_ptr< weld::ComboBoxm_xBreakPositionLB
 
std::unique_ptr< weld::CheckButtonm_xApplyCollBtn
 
std::unique_ptr< weld::ComboBoxm_xApplyCollBox
 
std::unique_ptr< weld::CheckButtonm_xPageNumBox
 
std::unique_ptr< weld::SpinButtonm_xPagenumEdit
 
std::unique_ptr< weld::CheckButtonm_xKeepTogetherBox
 
std::unique_ptr< weld::CheckButtonm_xKeepParaBox
 
std::unique_ptr< weld::CheckButtonm_xOrphanBox
 
std::unique_ptr< weld::SpinButtonm_xOrphanRowNo
 
std::unique_ptr< weld::Labelm_xOrphanRowLabel
 
std::unique_ptr< weld::CheckButtonm_xWidowBox
 
std::unique_ptr< weld::SpinButtonm_xWidowRowNo
 
std::unique_ptr< weld::Labelm_xWidowRowLabel
 

Static Private Attributes

static const sal_uInt16 pExtRanges []
 

Detailed Description

Definition at line 192 of file paragrph.hxx.

Constructor & Destructor Documentation

SvxExtParagraphTabPage::SvxExtParagraphTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
SvxExtParagraphTabPage::~SvxExtParagraphTabPage ( )
overridevirtual

Definition at line 1986 of file paragrph.cxx.

Member Function Documentation

void SvxExtParagraphTabPage::ApplyCollClickHdl ( )
private
void SvxExtParagraphTabPage::ChangesApplied ( )
overridevirtual
std::unique_ptr< SfxTabPage > SvxExtParagraphTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static
DeactivateRC SvxExtParagraphTabPage::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

Reimplemented from SfxTabPage.

Definition at line 1882 of file paragrph.cxx.

References FillItemSet().

SvxExtParagraphTabPage::DECL_LINK ( PageBreakHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( KeepTogetherHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( WidowHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( OrphanHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( HyphenClickHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( ApplyCollClickHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( PageBreakPosHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( PageBreakTypeHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( PageNumBoxClickHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxExtParagraphTabPage::DECL_LINK ( KeepParaBoxClickHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
void SvxExtParagraphTabPage::DisablePageBreak ( )
bool SvxExtParagraphTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
static const sal_uInt16* SvxExtParagraphTabPage::GetRanges ( )
inlinestatic

Definition at line 202 of file paragrph.hxx.

References pExtRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

void SvxExtParagraphTabPage::HyphenClickHdl ( )
private
void SvxExtParagraphTabPage::KeepTogetherHdl ( )
private

Definition at line 2036 of file paragrph.cxx.

References m_xKeepTogetherBox, m_xOrphanBox, m_xWidowBox, and TRISTATE_FALSE.

Referenced by Reset().

void SvxExtParagraphTabPage::OrphanHdl ( )
private
void SvxExtParagraphTabPage::PageBreakHdl ( )
private
void SvxExtParagraphTabPage::PageCreated ( const SfxAllItemSet aSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 2203 of file paragrph.cxx.

References DisablePageBreak(), SfxItemSet::GetItem(), and SfxBoolItem::GetValue().

void SvxExtParagraphTabPage::PageNumBoxClickHdl ( )
private

Definition at line 2187 of file paragrph.cxx.

References m_xPageNumBox, m_xPagenumEdit, and TRISTATE_TRUE.

void SvxExtParagraphTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxExtParagraphTabPage::WidowHdl ( )
private

Member Data Documentation

weld::TriStateEnabled SvxExtParagraphTabPage::aApplyCollState
private

Definition at line 216 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aHyphenState
private

Definition at line 214 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aKeepParaState
private

Definition at line 219 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aKeepTogetherState
private

Definition at line 218 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aOrphanState
private

Definition at line 220 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aPageBreakState
private

Definition at line 215 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aPageNumState
private

Definition at line 217 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aWidowState
private

Definition at line 221 of file paragrph.hxx.

Referenced by Reset().

bool SvxExtParagraphTabPage::bHtmlMode
private

Definition at line 224 of file paragrph.hxx.

Referenced by ApplyCollClickHdl(), PageBreakHdl(), Reset(), and SvxExtParagraphTabPage().

bool SvxExtParagraphTabPage::bPageBreak
private

Definition at line 223 of file paragrph.hxx.

Referenced by DisablePageBreak(), and Reset().

std::unique_ptr<weld::Label> SvxExtParagraphTabPage::m_xAfterText
private

Definition at line 231 of file paragrph.hxx.

Referenced by HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().

std::unique_ptr<weld::ComboBox> SvxExtParagraphTabPage::m_xApplyCollBox
private
std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xApplyCollBtn
private
std::unique_ptr<weld::Label> SvxExtParagraphTabPage::m_xBeforeText
private

Definition at line 229 of file paragrph.hxx.

Referenced by HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().

std::unique_ptr<weld::Label> SvxExtParagraphTabPage::m_xBreakPositionFT
private

Definition at line 240 of file paragrph.hxx.

Referenced by DisablePageBreak(), PageBreakHdl(), and Reset().

std::unique_ptr<weld::ComboBox> SvxExtParagraphTabPage::m_xBreakPositionLB
private
std::unique_ptr<weld::Label> SvxExtParagraphTabPage::m_xBreakTypeFT
private

Definition at line 238 of file paragrph.hxx.

Referenced by PageBreakHdl(), and Reset().

std::unique_ptr<weld::ComboBox> SvxExtParagraphTabPage::m_xBreakTypeLB
private
std::unique_ptr<weld::SpinButton> SvxExtParagraphTabPage::m_xExtHyphenAfterBox
private
std::unique_ptr<weld::SpinButton> SvxExtParagraphTabPage::m_xExtHyphenBeforeBox
private
std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xHyphenBox
private
std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xKeepParaBox
private

Definition at line 249 of file paragrph.hxx.

Referenced by ChangesApplied(), FillItemSet(), Reset(), and SvxExtParagraphTabPage().

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xKeepTogetherBox
private
std::unique_ptr<weld::SpinButton> SvxExtParagraphTabPage::m_xMaxHyphenEdit
private
std::unique_ptr<weld::Label> SvxExtParagraphTabPage::m_xMaxHyphenLabel
private

Definition at line 233 of file paragrph.hxx.

Referenced by HyphenClickHdl(), Reset(), and SvxExtParagraphTabPage().

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xOrphanBox
private
std::unique_ptr<weld::Label> SvxExtParagraphTabPage::m_xOrphanRowLabel
private

Definition at line 254 of file paragrph.hxx.

Referenced by OrphanHdl(), and Reset().

std::unique_ptr<weld::SpinButton> SvxExtParagraphTabPage::m_xOrphanRowNo
private

Definition at line 253 of file paragrph.hxx.

Referenced by ChangesApplied(), FillItemSet(), OrphanHdl(), and Reset().

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xPageBreakBox
private
std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xPageNumBox
private
std::unique_ptr<weld::SpinButton> SvxExtParagraphTabPage::m_xPagenumEdit
private
std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xWidowBox
private
std::unique_ptr<weld::Label> SvxExtParagraphTabPage::m_xWidowRowLabel
private

Definition at line 258 of file paragrph.hxx.

Referenced by WidowHdl().

std::unique_ptr<weld::SpinButton> SvxExtParagraphTabPage::m_xWidowRowNo
private

Definition at line 257 of file paragrph.hxx.

Referenced by ChangesApplied(), FillItemSet(), Reset(), and WidowHdl().

sal_uInt16 SvxExtParagraphTabPage::nStdPos
private

Definition at line 225 of file paragrph.hxx.

Referenced by ApplyCollClickHdl(), and SvxExtParagraphTabPage().

const sal_uInt16 SvxExtParagraphTabPage::pExtRanges
staticprivate
Initial value:
=
{
SID_ATTR_PARA_PAGEBREAK,
SID_ATTR_PARA_WIDOWS,
SID_ATTR_PARA_MODEL,
SID_ATTR_PARA_KEEP,
0
}

Definition at line 194 of file paragrph.hxx.

Referenced by GetRanges().


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