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
 
virtual bool FillItemSet (SfxItemSet *)
 
virtual void Reset (const SfxItemSet *)
 
virtual bool DeferResetToFirstActivation ()
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
virtual void ActivatePage (const SfxItemSet &)
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet)
 
void SetUserData (const OUString &rString)
 
const OUString & GetUserData () const
 
virtual void FillUserData ()
 
virtual bool IsReadOnly () const
 
virtual void PageCreated (const SfxAllItemSet &aSet)
 
virtual void ChangesApplied ()
 
void SetFrame (const css::uno::Reference< css::frame::XFrame > &xFrame)
 
css::uno::Reference< css::frame::XFrame > GetFrame () const
 
const SfxItemSetGetDialogExampleSet () const
 
OUString GetHelpId () const
 
OUString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 
std::unordered_map< OUString, css::uno::Any > & getAdditionalProperties ()
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rSet)
 
static WhichRangesContainer 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 OUString &rID, const SfxItemSet *rAttrSet)
 
sal_uInt16 GetWhich (sal_uInt16 nSlot, bool bDeep=true) const
 
TypedWhichId< T > GetWhich (TypedWhichId< T > 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::Toggleable &, void)
 
 DECL_LINK (KeepTogetherHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (WidowHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (OrphanHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (HyphenClickHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (ApplyCollClickHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (PageBreakPosHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (PageBreakTypeHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (PageNumBoxClickHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (KeepParaBoxClickHdl_Impl, weld::Toggleable &, 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::CheckButtonm_xHyphenNoCapsBox
 
std::unique_ptr< weld::CheckButtonm_xHyphenNoLastWordBox
 
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::Labelm_xMinWordLabel
 
std::unique_ptr< weld::SpinButtonm_xMinWordLength
 
std::unique_ptr< weld::Labelm_xHyphenZoneLabel
 
SvxRelativeField m_aHyphenZone
 
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 WhichRangesContainer pExtRanges
 

Detailed Description

Definition at line 196 of file paragrph.hxx.

Constructor & Destructor Documentation

◆ SvxExtParagraphTabPage()

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

◆ ~SvxExtParagraphTabPage()

SvxExtParagraphTabPage::~SvxExtParagraphTabPage ( )
overridevirtual

Definition at line 2271 of file paragrph.cxx.

Member Function Documentation

◆ ApplyCollClickHdl()

void SvxExtParagraphTabPage::ApplyCollClickHdl ( )
private

◆ ChangesApplied()

void SvxExtParagraphTabPage::ChangesApplied ( )
overridevirtual

◆ Create()

std::unique_ptr< SfxTabPage > SvxExtParagraphTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static

◆ DeactivatePage()

DeactivateRC SvxExtParagraphTabPage::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

Reimplemented from SfxTabPage.

Definition at line 2155 of file paragrph.cxx.

References FillItemSet().

◆ DECL_LINK() [1/10]

SvxExtParagraphTabPage::DECL_LINK ( ApplyCollClickHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/10]

SvxExtParagraphTabPage::DECL_LINK ( HyphenClickHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/10]

SvxExtParagraphTabPage::DECL_LINK ( KeepParaBoxClickHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/10]

SvxExtParagraphTabPage::DECL_LINK ( KeepTogetherHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/10]

SvxExtParagraphTabPage::DECL_LINK ( OrphanHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/10]

SvxExtParagraphTabPage::DECL_LINK ( PageBreakHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [7/10]

SvxExtParagraphTabPage::DECL_LINK ( PageBreakPosHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [8/10]

SvxExtParagraphTabPage::DECL_LINK ( PageBreakTypeHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [9/10]

SvxExtParagraphTabPage::DECL_LINK ( PageNumBoxClickHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [10/10]

SvxExtParagraphTabPage::DECL_LINK ( WidowHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DisablePageBreak()

void SvxExtParagraphTabPage::DisablePageBreak ( )

◆ FillItemSet()

bool SvxExtParagraphTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ GetRanges()

static WhichRangesContainer SvxExtParagraphTabPage::GetRanges ( )
inlinestatic

Definition at line 206 of file paragrph.hxx.

References pExtRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ HyphenClickHdl()

void SvxExtParagraphTabPage::HyphenClickHdl ( )
private

◆ KeepTogetherHdl()

void SvxExtParagraphTabPage::KeepTogetherHdl ( )
private

Definition at line 2321 of file paragrph.cxx.

References m_xKeepTogetherBox, m_xOrphanBox, m_xWidowBox, and TRISTATE_FALSE.

Referenced by Reset().

◆ OrphanHdl()

void SvxExtParagraphTabPage::OrphanHdl ( )
private

◆ PageBreakHdl()

void SvxExtParagraphTabPage::PageBreakHdl ( )
private

◆ PageCreated()

void SvxExtParagraphTabPage::PageCreated ( const SfxAllItemSet aSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 2494 of file paragrph.cxx.

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

◆ PageNumBoxClickHdl()

void SvxExtParagraphTabPage::PageNumBoxClickHdl ( )
private

Definition at line 2478 of file paragrph.cxx.

References m_xPageNumBox, m_xPagenumEdit, and TRISTATE_TRUE.

◆ Reset()

void SvxExtParagraphTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 1820 of file paragrph.cxx.

References aApplyCollState, aHyphenState, aKeepParaState, aKeepTogetherState, aOrphanState, aPageBreakState, aPageNumState, aStr, aWidowState, bHtmlMode, bPageBreak, weld::TriStateEnabled::bTriStateEnabled, ChangesApplied(), DBG_ASSERT, weld::TriStateEnabled::eState, SfxItemSet::Get(), GetApplyCharUnit(), SvxFormatBreakItem::GetBreak(), SfxItemSet::GetItem(), SfxItemSet::GetItemState(), SvxHyphenZoneItem::GetMaxHyphens(), SvxHyphenZoneItem::GetMinLead(), SvxHyphenZoneItem::GetMinTrail(), SvxHyphenZoneItem::GetMinWordLength(), GetModuleFieldUnit(), SfxItemSet::GetPool(), SvxHyphenZoneItem::GetTextHyphenZone(), CntUInt16Item::GetValue(), SfxTabPage::GetWhich(), SvtCJKOptions::IsAsianTypographyEnabled(), SvxHyphenZoneItem::IsHyphen(), SvxHyphenZoneItem::IsNoCapsHyphenation(), SvxHyphenZoneItem::IsNoLastWordHyphenation(), KeepTogetherHdl(), m_aHyphenZone, m_xAfterText, m_xApplyCollBox, m_xApplyCollBtn, m_xBeforeText, m_xBreakPositionFT, m_xBreakPositionLB, m_xBreakTypeFT, m_xBreakTypeLB, m_xExtHyphenAfterBox, m_xExtHyphenBeforeBox, m_xHyphenBox, m_xHyphenNoCapsBox, m_xHyphenNoLastWordBox, m_xHyphenZoneLabel, m_xKeepParaBox, m_xKeepTogetherBox, m_xMaxHyphenEdit, m_xMaxHyphenLabel, m_xMinWordLabel, m_xMinWordLength, m_xOrphanBox, m_xOrphanRowLabel, m_xOrphanRowNo, m_xPageBreakBox, m_xPageNumBox, m_xPagenumEdit, m_xWidowBox, m_xWidowRowNo, nType, OrphanHdl(), PageBreakHdl(), rSet, SvxRelativeField::set_sensitive(), SvxRelativeField::SetFieldUnit(), SvxRelativeField::SetMetricValue(), TRISTATE_FALSE, TRISTATE_INDET, TRISTATE_TRUE, and WidowHdl().

◆ WidowHdl()

void SvxExtParagraphTabPage::WidowHdl ( )
private

Member Data Documentation

◆ aApplyCollState

weld::TriStateEnabled SvxExtParagraphTabPage::aApplyCollState
private

Definition at line 220 of file paragrph.hxx.

Referenced by Reset().

◆ aHyphenState

weld::TriStateEnabled SvxExtParagraphTabPage::aHyphenState
private

Definition at line 218 of file paragrph.hxx.

Referenced by Reset().

◆ aKeepParaState

weld::TriStateEnabled SvxExtParagraphTabPage::aKeepParaState
private

Definition at line 223 of file paragrph.hxx.

Referenced by Reset().

◆ aKeepTogetherState

weld::TriStateEnabled SvxExtParagraphTabPage::aKeepTogetherState
private

Definition at line 222 of file paragrph.hxx.

Referenced by Reset().

◆ aOrphanState

weld::TriStateEnabled SvxExtParagraphTabPage::aOrphanState
private

Definition at line 224 of file paragrph.hxx.

Referenced by Reset().

◆ aPageBreakState

weld::TriStateEnabled SvxExtParagraphTabPage::aPageBreakState
private

Definition at line 219 of file paragrph.hxx.

Referenced by Reset().

◆ aPageNumState

weld::TriStateEnabled SvxExtParagraphTabPage::aPageNumState
private

Definition at line 221 of file paragrph.hxx.

Referenced by Reset().

◆ aWidowState

weld::TriStateEnabled SvxExtParagraphTabPage::aWidowState
private

Definition at line 225 of file paragrph.hxx.

Referenced by Reset().

◆ bHtmlMode

bool SvxExtParagraphTabPage::bHtmlMode
private

Definition at line 228 of file paragrph.hxx.

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

◆ bPageBreak

bool SvxExtParagraphTabPage::bPageBreak
private

Definition at line 227 of file paragrph.hxx.

Referenced by DisablePageBreak(), and Reset().

◆ m_aHyphenZone

SvxRelativeField SvxExtParagraphTabPage::m_aHyphenZone
private

◆ m_xAfterText

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

Definition at line 237 of file paragrph.hxx.

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

◆ m_xApplyCollBox

std::unique_ptr<weld::ComboBox> SvxExtParagraphTabPage::m_xApplyCollBox
private

◆ m_xApplyCollBtn

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xApplyCollBtn
private

◆ m_xBeforeText

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

Definition at line 235 of file paragrph.hxx.

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

◆ m_xBreakPositionFT

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

Definition at line 250 of file paragrph.hxx.

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

◆ m_xBreakPositionLB

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

◆ m_xBreakTypeFT

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

Definition at line 248 of file paragrph.hxx.

Referenced by PageBreakHdl(), and Reset().

◆ m_xBreakTypeLB

std::unique_ptr<weld::ComboBox> SvxExtParagraphTabPage::m_xBreakTypeLB
private

◆ m_xExtHyphenAfterBox

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

◆ m_xExtHyphenBeforeBox

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

◆ m_xHyphenBox

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xHyphenBox
private

◆ m_xHyphenNoCapsBox

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xHyphenNoCapsBox
private

◆ m_xHyphenNoLastWordBox

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xHyphenNoLastWordBox
private

◆ m_xHyphenZoneLabel

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

Definition at line 243 of file paragrph.hxx.

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

◆ m_xKeepParaBox

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xKeepParaBox
private

Definition at line 259 of file paragrph.hxx.

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

◆ m_xKeepTogetherBox

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xKeepTogetherBox
private

◆ m_xMaxHyphenEdit

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

◆ m_xMaxHyphenLabel

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

Definition at line 239 of file paragrph.hxx.

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

◆ m_xMinWordLabel

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

Definition at line 241 of file paragrph.hxx.

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

◆ m_xMinWordLength

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

◆ m_xOrphanBox

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

◆ m_xOrphanRowLabel

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

Definition at line 264 of file paragrph.hxx.

Referenced by OrphanHdl(), and Reset().

◆ m_xOrphanRowNo

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

Definition at line 263 of file paragrph.hxx.

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

◆ m_xPageBreakBox

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xPageBreakBox
private

◆ m_xPageNumBox

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xPageNumBox
private

◆ m_xPagenumEdit

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

◆ m_xWidowBox

std::unique_ptr<weld::CheckButton> SvxExtParagraphTabPage::m_xWidowBox
private

◆ m_xWidowRowLabel

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

Definition at line 268 of file paragrph.hxx.

Referenced by WidowHdl().

◆ m_xWidowRowNo

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

Definition at line 267 of file paragrph.hxx.

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

◆ nStdPos

sal_uInt16 SvxExtParagraphTabPage::nStdPos
private

Definition at line 229 of file paragrph.hxx.

Referenced by ApplyCollClickHdl(), and SvxExtParagraphTabPage().

◆ pExtRanges

const WhichRangesContainer SvxExtParagraphTabPage::pExtRanges
staticprivate

Definition at line 198 of file paragrph.hxx.

Referenced by GetRanges().


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