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

#include <paragrph.hxx>

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

Public Member Functions

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
 
virtual void dispose () override
 
const SfxItemSetGetItemSet () const
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData ()
 
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 SfxItemSetGetDialogExampleSet () const
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, 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 (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 SfxTabPage (TabPageParent pParent, 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

 SvxExtParagraphTabPage (TabPageParent pParent, const SfxItemSet &rSet)
 
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 []
 

Friends

class VclPtr< SvxExtParagraphTabPage >
 

Additional Inherited Members

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

Detailed Description

Definition at line 199 of file paragrph.hxx.

Constructor & Destructor Documentation

SvxExtParagraphTabPage::~SvxExtParagraphTabPage ( )
overridevirtual

Definition at line 1981 of file paragrph.cxx.

SvxExtParagraphTabPage::SvxExtParagraphTabPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
private

Member Function Documentation

void SvxExtParagraphTabPage::ApplyCollClickHdl ( )
private
void SvxExtParagraphTabPage::ChangesApplied ( )
overridevirtual
VclPtr< SfxTabPage > SvxExtParagraphTabPage::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static
DeactivateRC SvxExtParagraphTabPage::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

Reimplemented from SfxTabPage.

Definition at line 1877 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 210 of file paragrph.hxx.

References pExtRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

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

Definition at line 2031 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 2198 of file paragrph.cxx.

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

void SvxExtParagraphTabPage::PageNumBoxClickHdl ( )
private

Definition at line 2182 of file paragrph.cxx.

References m_xPageNumBox, m_xPagenumEdit, and TRISTATE_TRUE.

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

Friends And Related Function Documentation

friend class VclPtr< SvxExtParagraphTabPage >
friend

Definition at line 201 of file paragrph.hxx.

Member Data Documentation

weld::TriStateEnabled SvxExtParagraphTabPage::aApplyCollState
private

Definition at line 226 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aHyphenState
private

Definition at line 224 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aKeepParaState
private

Definition at line 229 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aKeepTogetherState
private

Definition at line 228 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aOrphanState
private

Definition at line 230 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aPageBreakState
private

Definition at line 225 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aPageNumState
private

Definition at line 227 of file paragrph.hxx.

Referenced by Reset().

weld::TriStateEnabled SvxExtParagraphTabPage::aWidowState
private

Definition at line 231 of file paragrph.hxx.

Referenced by Reset().

bool SvxExtParagraphTabPage::bHtmlMode
private

Definition at line 234 of file paragrph.hxx.

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

bool SvxExtParagraphTabPage::bPageBreak
private

Definition at line 233 of file paragrph.hxx.

Referenced by DisablePageBreak(), and Reset().

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

Definition at line 241 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 239 of file paragrph.hxx.

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

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

Definition at line 250 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 248 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 259 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 243 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 264 of file paragrph.hxx.

Referenced by OrphanHdl(), and Reset().

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

Definition at line 263 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 268 of file paragrph.hxx.

Referenced by WidowHdl().

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

Definition at line 267 of file paragrph.hxx.

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

sal_uInt16 SvxExtParagraphTabPage::nStdPos
private

Definition at line 235 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 203 of file paragrph.hxx.

Referenced by GetRanges().


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