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

#include <align.hxx>

Inheritance diagram for svx::AlignmentTabPage:
[legend]
Collaboration diagram for svx::AlignmentTabPage:
[legend]

Public Member Functions

virtual ~AlignmentTabPage () override
 
virtual void dispose () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
virtual void DataChanged (const DataChangedEvent &rDCEvt) override
 
- 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
 
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
 
OString GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, const SfxItemSet *rAttrSet)
 
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)
 

Private Member Functions

 AlignmentTabPage (TabPageParent pParent, const SfxItemSet &rCoreSet)
 
void InitVsRefEgde ()
 
void UpdateEnableControls ()
 
bool HasAlignmentChanged (const SfxItemSet &rNew, sal_uInt16 nWhich) const
 
 DECL_LINK (UpdateEnableHdl, weld::ComboBox &, void)
 
 DECL_LINK (StackedClickHdl, weld::ToggleButton &, void)
 
 DECL_LINK (AsianModeClickHdl, weld::ToggleButton &, void)
 
 DECL_LINK (WrapClickHdl, weld::ToggleButton &, void)
 
 DECL_LINK (HyphenClickHdl, weld::ToggleButton &, void)
 
 DECL_LINK (ShrinkClickHdl, weld::ToggleButton &, void)
 

Private Attributes

weld::TriStateEnabled m_aStackedState
 
weld::TriStateEnabled m_aAsianModeState
 
weld::TriStateEnabled m_aWrapState
 
weld::TriStateEnabled m_aHyphenState
 
weld::TriStateEnabled m_aShrinkState
 
SvxDialControl m_aCtrlDial
 
SvtValueSet m_aVsRefEdge
 
std::unique_ptr< weld::ComboBoxm_xLbHorAlign
 
std::unique_ptr< weld::Labelm_xFtIndent
 
std::unique_ptr< weld::MetricSpinButtonm_xEdIndent
 
std::unique_ptr< weld::Labelm_xFtVerAlign
 
std::unique_ptr< weld::ComboBoxm_xLbVerAlign
 
std::unique_ptr< weld::Labelm_xFtRotate
 
std::unique_ptr< weld::SpinButtonm_xNfRotate
 
std::unique_ptr< weld::Labelm_xFtRefEdge
 
std::unique_ptr< weld::CheckButtonm_xCbStacked
 
std::unique_ptr< weld::CheckButtonm_xCbAsianMode
 
std::unique_ptr< weld::Widgetm_xBoxDirection
 
std::unique_ptr< weld::CheckButtonm_xBtnWrap
 
std::unique_ptr< weld::CheckButtonm_xBtnHyphen
 
std::unique_ptr< weld::CheckButtonm_xBtnShrink
 
std::unique_ptr< svx::FrameDirectionListBoxm_xLbFrameDir
 
std::unique_ptr< weld::Labelm_xFtBotLock
 
std::unique_ptr< weld::Labelm_xFtTopLock
 
std::unique_ptr< weld::Labelm_xFtCelLock
 
std::unique_ptr< weld::Labelm_xFtABCD
 
std::unique_ptr< weld::Widgetm_xAlignmentFrame
 
std::unique_ptr< weld::Widgetm_xOrientFrame
 
std::unique_ptr< weld::Widgetm_xPropertiesFrame
 
std::unique_ptr< weld::CustomWeldm_xVsRefEdge
 
std::unique_ptr< weld::CustomWeldm_xCtrlDial
 

Static Private Attributes

static const sal_uInt16 s_pRanges []
 

Friends

class VclPtr< AlignmentTabPage >
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 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
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 47 of file align.hxx.

Constructor & Destructor Documentation

svx::AlignmentTabPage::~AlignmentTabPage ( )
overridevirtual

Definition at line 156 of file align.cxx.

svx::AlignmentTabPage::AlignmentTabPage ( TabPageParent  pParent,
const SfxItemSet rCoreSet 
)
explicitprivate

Member Function Documentation

VclPtr< SfxTabPage > svx::AlignmentTabPage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static
void svx::AlignmentTabPage::DataChanged ( const DataChangedEvent rDCEvt)
overridevirtual
DeactivateRC svx::AlignmentTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 580 of file align.cxx.

References FillItemSet().

svx::AlignmentTabPage::DECL_LINK ( UpdateEnableHdl  ,
weld::ComboBox ,
void   
)
private
svx::AlignmentTabPage::DECL_LINK ( StackedClickHdl  ,
weld::ToggleButton ,
void   
)
private
svx::AlignmentTabPage::DECL_LINK ( AsianModeClickHdl  ,
weld::ToggleButton ,
void   
)
private
svx::AlignmentTabPage::DECL_LINK ( WrapClickHdl  ,
weld::ToggleButton ,
void   
)
private
svx::AlignmentTabPage::DECL_LINK ( HyphenClickHdl  ,
weld::ToggleButton ,
void   
)
private
svx::AlignmentTabPage::DECL_LINK ( ShrinkClickHdl  ,
weld::ToggleButton ,
void   
)
private
void svx::AlignmentTabPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 161 of file align.cxx.

References SfxTabPage::dispose(), m_xCtrlDial, m_xLbFrameDir, and m_xVsRefEdge.

bool svx::AlignmentTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
static const sal_uInt16* svx::AlignmentTabPage::GetRanges ( )
inlinestatic

Definition at line 58 of file align.hxx.

References s_pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

bool svx::AlignmentTabPage::HasAlignmentChanged ( const SfxItemSet rNew,
sal_uInt16  nWhich 
) const
private
void svx::AlignmentTabPage::InitVsRefEgde ( )
private
void svx::AlignmentTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void svx::AlignmentTabPage::UpdateEnableControls ( )
private

Friends And Related Function Documentation

friend class VclPtr< AlignmentTabPage >
friend

Definition at line 50 of file align.hxx.

Member Data Documentation

weld::TriStateEnabled svx::AlignmentTabPage::m_aAsianModeState
private

Definition at line 82 of file align.hxx.

Referenced by Reset().

SvxDialControl svx::AlignmentTabPage::m_aCtrlDial
private

Definition at line 87 of file align.hxx.

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

weld::TriStateEnabled svx::AlignmentTabPage::m_aHyphenState
private

Definition at line 84 of file align.hxx.

Referenced by Reset().

weld::TriStateEnabled svx::AlignmentTabPage::m_aShrinkState
private

Definition at line 85 of file align.hxx.

Referenced by Reset().

weld::TriStateEnabled svx::AlignmentTabPage::m_aStackedState
private

Definition at line 81 of file align.hxx.

Referenced by Reset().

SvtValueSet svx::AlignmentTabPage::m_aVsRefEdge
private

Definition at line 88 of file align.hxx.

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

weld::TriStateEnabled svx::AlignmentTabPage::m_aWrapState
private

Definition at line 83 of file align.hxx.

Referenced by Reset().

std::unique_ptr<weld::Widget> svx::AlignmentTabPage::m_xAlignmentFrame
private

Definition at line 114 of file align.hxx.

Referenced by UpdateEnableControls().

std::unique_ptr<weld::Widget> svx::AlignmentTabPage::m_xBoxDirection
private

Definition at line 102 of file align.hxx.

std::unique_ptr<weld::CheckButton> svx::AlignmentTabPage::m_xBtnHyphen
private

Definition at line 104 of file align.hxx.

Referenced by AlignmentTabPage(), FillItemSet(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::CheckButton> svx::AlignmentTabPage::m_xBtnShrink
private

Definition at line 105 of file align.hxx.

Referenced by AlignmentTabPage(), FillItemSet(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::CheckButton> svx::AlignmentTabPage::m_xBtnWrap
private

Definition at line 103 of file align.hxx.

Referenced by AlignmentTabPage(), FillItemSet(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::CheckButton> svx::AlignmentTabPage::m_xCbAsianMode
private

Definition at line 100 of file align.hxx.

Referenced by AlignmentTabPage(), FillItemSet(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::CheckButton> svx::AlignmentTabPage::m_xCbStacked
private

Definition at line 99 of file align.hxx.

Referenced by AlignmentTabPage(), FillItemSet(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::CustomWeld> svx::AlignmentTabPage::m_xCtrlDial
private

Definition at line 119 of file align.hxx.

Referenced by dispose(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::MetricSpinButton> svx::AlignmentTabPage::m_xEdIndent
private

Definition at line 92 of file align.hxx.

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

std::unique_ptr<weld::Label> svx::AlignmentTabPage::m_xFtABCD
private

Definition at line 112 of file align.hxx.

Referenced by AlignmentTabPage().

std::unique_ptr<weld::Label> svx::AlignmentTabPage::m_xFtBotLock
private

Definition at line 109 of file align.hxx.

Referenced by InitVsRefEgde().

std::unique_ptr<weld::Label> svx::AlignmentTabPage::m_xFtCelLock
private

Definition at line 111 of file align.hxx.

Referenced by InitVsRefEgde().

std::unique_ptr<weld::Label> svx::AlignmentTabPage::m_xFtIndent
private

Definition at line 91 of file align.hxx.

Referenced by Reset(), and UpdateEnableControls().

std::unique_ptr<weld::Label> svx::AlignmentTabPage::m_xFtRefEdge
private

Definition at line 98 of file align.hxx.

Referenced by UpdateEnableControls().

std::unique_ptr<weld::Label> svx::AlignmentTabPage::m_xFtRotate
private

Definition at line 96 of file align.hxx.

Referenced by UpdateEnableControls().

std::unique_ptr<weld::Label> svx::AlignmentTabPage::m_xFtTopLock
private

Definition at line 110 of file align.hxx.

Referenced by InitVsRefEgde().

std::unique_ptr<weld::Label> svx::AlignmentTabPage::m_xFtVerAlign
private

Definition at line 93 of file align.hxx.

Referenced by Reset().

std::unique_ptr<svx::FrameDirectionListBox> svx::AlignmentTabPage::m_xLbFrameDir
private

Definition at line 106 of file align.hxx.

Referenced by AlignmentTabPage(), dispose(), FillItemSet(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::ComboBox> svx::AlignmentTabPage::m_xLbHorAlign
private

Definition at line 90 of file align.hxx.

Referenced by AlignmentTabPage(), FillItemSet(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::ComboBox> svx::AlignmentTabPage::m_xLbVerAlign
private

Definition at line 94 of file align.hxx.

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

std::unique_ptr<weld::SpinButton> svx::AlignmentTabPage::m_xNfRotate
private

Definition at line 97 of file align.hxx.

Referenced by AlignmentTabPage(), FillItemSet(), Reset(), and UpdateEnableControls().

std::unique_ptr<weld::Widget> svx::AlignmentTabPage::m_xOrientFrame
private

Definition at line 115 of file align.hxx.

Referenced by UpdateEnableControls().

std::unique_ptr<weld::Widget> svx::AlignmentTabPage::m_xPropertiesFrame
private

Definition at line 116 of file align.hxx.

Referenced by UpdateEnableControls().

std::unique_ptr<weld::CustomWeld> svx::AlignmentTabPage::m_xVsRefEdge
private

Definition at line 118 of file align.hxx.

Referenced by dispose(), Reset(), and UpdateEnableControls().

const sal_uInt16 svx::AlignmentTabPage::s_pRanges
staticprivate
Initial value:
=
{
SID_ATTR_ALIGN_HOR_JUSTIFY,SID_ATTR_ALIGN_VER_JUSTIFY,
SID_ATTR_ALIGN_STACKED,SID_ATTR_ALIGN_LINEBREAK,
SID_ATTR_ALIGN_INDENT,SID_ATTR_ALIGN_INDENT,
SID_ATTR_ALIGN_DEGREES,SID_ATTR_ALIGN_DEGREES,
SID_ATTR_ALIGN_LOCKPOS,SID_ATTR_ALIGN_LOCKPOS,
SID_ATTR_ALIGN_HYPHENATION,SID_ATTR_ALIGN_HYPHENATION,
SID_ATTR_ALIGN_ASIANVERTICAL,SID_ATTR_ALIGN_ASIANVERTICAL,
SID_ATTR_FRAMEDIRECTION,SID_ATTR_FRAMEDIRECTION,
SID_ATTR_ALIGN_SHRINKTOFIT,SID_ATTR_ALIGN_SHRINKTOFIT,
0
}

Definition at line 51 of file align.hxx.

Referenced by GetRanges().


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