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
SvxStdParagraphTabPage Class Reference

#include <paragrph.hxx>

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

Public Member Functions

virtual ~SvxStdParagraphTabPage () override
 
 DECL_LINK (ELRLoseFocusHdl, weld::MetricSpinButton &, void)
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void ChangesApplied () override
 
void EnableRelativeMode ()
 
void EnableRegisterMode ()
 
void EnableContextualMode ()
 
void EnableAutoFirstLine ()
 
void EnableAbsLineDist (long nMinTwip)
 
void EnableNegativeMode ()
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
- 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 ()
 
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 void ActivatePage (const SfxItemSet &rSet) override
 
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

 SvxStdParagraphTabPage (TabPageParent pParent, const SfxItemSet &rSet)
 
void SetLineSpacing_Impl (const SvxLineSpacingItem &rAttr)
 
void Init_Impl ()
 
void UpdateExample_Impl ()
 
void ELRLoseFocus ()
 
 DECL_LINK (LineDistHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ModifyHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (AutoHdl_Impl, weld::ToggleButton &, void)
 

Private Attributes

long nWidth
 
long nMinFixDist
 
bool bRelativeMode
 
OUString sAbsDist
 
SvxParaPrevWindow m_aExampleWin
 
std::unique_ptr< RelativeFieldm_xLeftIndent
 
std::unique_ptr< weld::Labelm_xRightLabel
 
std::unique_ptr< RelativeFieldm_xRightIndent
 
std::unique_ptr< weld::Labelm_xFLineLabel
 
std::unique_ptr< RelativeFieldm_xFLineIndent
 
std::unique_ptr< weld::CheckButtonm_xAutoCB
 
std::unique_ptr< RelativeFieldm_xTopDist
 
std::unique_ptr< RelativeFieldm_xBottomDist
 
std::unique_ptr< weld::CheckButtonm_xContextualCB
 
std::unique_ptr< weld::ComboBoxm_xLineDist
 
std::unique_ptr< weld::MetricSpinButtonm_xLineDistAtPercentBox
 
std::unique_ptr< weld::MetricSpinButtonm_xLineDistAtMetricBox
 
std::unique_ptr< weld::Labelm_xLineDistAtLabel
 
std::unique_ptr< weld::Labelm_xAbsDist
 
std::unique_ptr< weld::Widgetm_xRegisterFL
 
std::unique_ptr< weld::CheckButtonm_xRegisterCB
 
std::unique_ptr< weld::CustomWeldm_xExampleWin
 

Static Private Attributes

static const sal_uInt16 pStdRanges []
 

Friends

class VclPtr< SvxStdParagraphTabPage >
 

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 44 of file paragrph.hxx.

Constructor & Destructor Documentation

SvxStdParagraphTabPage::SvxStdParagraphTabPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)
private
SvxStdParagraphTabPage::~SvxStdParagraphTabPage ( )
overridevirtual

Definition at line 707 of file paragrph.cxx.

Member Function Documentation

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

Reimplemented from SfxTabPage.

Definition at line 664 of file paragrph.cxx.

References ELRLoseFocus(), and FillItemSet().

SvxStdParagraphTabPage::DECL_LINK ( LineDistHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxStdParagraphTabPage::DECL_LINK ( ModifyHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxStdParagraphTabPage::DECL_LINK ( AutoHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxStdParagraphTabPage::DECL_LINK ( ELRLoseFocusHdl  ,
weld::MetricSpinButton ,
void   
)
void SvxStdParagraphTabPage::ELRLoseFocus ( )
private
void SvxStdParagraphTabPage::EnableAbsLineDist ( long  nMinTwip)

Definition at line 935 of file paragrph.cxx.

References m_xLineDist, nMinFixDist, and sAbsDist.

Referenced by PageCreated().

void SvxStdParagraphTabPage::EnableAutoFirstLine ( )

Definition at line 930 of file paragrph.cxx.

References m_xAutoCB.

Referenced by PageCreated().

void SvxStdParagraphTabPage::EnableContextualMode ( )

Definition at line 918 of file paragrph.cxx.

References m_xContextualCB.

Referenced by PageCreated().

void SvxStdParagraphTabPage::EnableNegativeMode ( )

Definition at line 711 of file paragrph.cxx.

References m_xLeftIndent, and m_xRightIndent.

Referenced by PageCreated().

void SvxStdParagraphTabPage::EnableRegisterMode ( )

Definition at line 912 of file paragrph.cxx.

References m_xRegisterCB, and m_xRegisterFL.

Referenced by PageCreated().

void SvxStdParagraphTabPage::EnableRelativeMode ( )
bool SvxStdParagraphTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
static const sal_uInt16* SvxStdParagraphTabPage::GetRanges ( )
inlinestatic

Definition at line 110 of file paragrph.hxx.

References pStdRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

void SvxStdParagraphTabPage::Init_Impl ( )
private
void SvxStdParagraphTabPage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual
void SvxStdParagraphTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxStdParagraphTabPage::SetLineSpacing_Impl ( const SvxLineSpacingItem rAttr)
private
void SvxStdParagraphTabPage::UpdateExample_Impl ( )
private

Friends And Related Function Documentation

friend class VclPtr< SvxStdParagraphTabPage >
friend

Definition at line 46 of file paragrph.hxx.

Member Data Documentation

bool SvxStdParagraphTabPage::bRelativeMode
private

Definition at line 56 of file paragrph.hxx.

Referenced by EnableRelativeMode(), FillItemSet(), and Reset().

SvxParaPrevWindow SvxStdParagraphTabPage::m_aExampleWin
private

Definition at line 59 of file paragrph.hxx.

Referenced by ActivatePage(), and UpdateExample_Impl().

std::unique_ptr<weld::Label> SvxStdParagraphTabPage::m_xAbsDist
private

Definition at line 81 of file paragrph.hxx.

Referenced by SvxStdParagraphTabPage().

std::unique_ptr<weld::CheckButton> SvxStdParagraphTabPage::m_xAutoCB
private

Definition at line 69 of file paragrph.hxx.

Referenced by ChangesApplied(), EnableAutoFirstLine(), FillItemSet(), Init_Impl(), and Reset().

std::unique_ptr<RelativeField> SvxStdParagraphTabPage::m_xBottomDist
private
std::unique_ptr<weld::CheckButton> SvxStdParagraphTabPage::m_xContextualCB
private

Definition at line 74 of file paragrph.hxx.

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

std::unique_ptr<weld::CustomWeld> SvxStdParagraphTabPage::m_xExampleWin
private

Definition at line 88 of file paragrph.hxx.

std::unique_ptr<RelativeField> SvxStdParagraphTabPage::m_xFLineIndent
private
std::unique_ptr<weld::Label> SvxStdParagraphTabPage::m_xFLineLabel
private

Definition at line 67 of file paragrph.hxx.

std::unique_ptr<RelativeField> SvxStdParagraphTabPage::m_xLeftIndent
private
std::unique_ptr<weld::ComboBox> SvxStdParagraphTabPage::m_xLineDist
private
std::unique_ptr<weld::Label> SvxStdParagraphTabPage::m_xLineDistAtLabel
private

Definition at line 80 of file paragrph.hxx.

std::unique_ptr<weld::MetricSpinButton> SvxStdParagraphTabPage::m_xLineDistAtMetricBox
private

Definition at line 79 of file paragrph.hxx.

Referenced by ChangesApplied(), FillItemSet(), Init_Impl(), Reset(), and SvxStdParagraphTabPage().

std::unique_ptr<weld::MetricSpinButton> SvxStdParagraphTabPage::m_xLineDistAtPercentBox
private

Definition at line 78 of file paragrph.hxx.

Referenced by ChangesApplied(), and FillItemSet().

std::unique_ptr<weld::CheckButton> SvxStdParagraphTabPage::m_xRegisterCB
private

Definition at line 85 of file paragrph.hxx.

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

std::unique_ptr<weld::Widget> SvxStdParagraphTabPage::m_xRegisterFL
private

Definition at line 84 of file paragrph.hxx.

Referenced by EnableRegisterMode(), and Reset().

std::unique_ptr<RelativeField> SvxStdParagraphTabPage::m_xRightIndent
private
std::unique_ptr<weld::Label> SvxStdParagraphTabPage::m_xRightLabel
private

Definition at line 64 of file paragrph.hxx.

std::unique_ptr<RelativeField> SvxStdParagraphTabPage::m_xTopDist
private
long SvxStdParagraphTabPage::nMinFixDist
private

Definition at line 55 of file paragrph.hxx.

Referenced by EnableAbsLineDist().

long SvxStdParagraphTabPage::nWidth
private

Definition at line 54 of file paragrph.hxx.

Referenced by ELRLoseFocus(), and PageCreated().

const sal_uInt16 SvxStdParagraphTabPage::pStdRanges
staticprivate
Initial value:
=
{
SID_ATTR_PARA_LINESPACE,
SID_ATTR_PARA_LINESPACE,
SID_ATTR_LRSPACE,
SID_ATTR_ULSPACE,
SID_ATTR_PARA_REGISTER,
SID_ATTR_PARA_REGISTER,
0
}

Definition at line 49 of file paragrph.hxx.

Referenced by GetRanges().

OUString SvxStdParagraphTabPage::sAbsDist
private

Definition at line 57 of file paragrph.hxx.

Referenced by EnableAbsLineDist(), and SvxStdParagraphTabPage().


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