LibreOffice Module cui (master) 1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | Static Private Attributes | 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
 
 AlignmentTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rCoreSet)
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
- 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 *rAttrSet)
 
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)
 

Private Member Functions

void InitVsRefEgde ()
 
void UpdateEnableControls ()
 
bool HasAlignmentChanged (const SfxItemSet &rNew, TypedWhichId< SfxEnumItemInterface > nWhich) const
 
 DECL_LINK (UpdateEnableHdl, weld::ComboBox &, void)
 
 DECL_LINK (StackedClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (AsianModeClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (WrapClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (HyphenClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (ShrinkClickHdl, weld::Toggleable &, void)
 

Private Attributes

weld::TriStateEnabled m_aStackedState
 
weld::TriStateEnabled m_aAsianModeState
 
weld::TriStateEnabled m_aWrapState
 
weld::TriStateEnabled m_aHyphenState
 
weld::TriStateEnabled m_aShrinkState
 
ValueSet 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::MetricSpinButtonm_xNfRotate
 
std::unique_ptr< weld::Labelm_xFtRefEdge
 
std::unique_ptr< weld::CheckButtonm_xCbStacked
 
std::unique_ptr< weld::CheckButtonm_xCbAsianMode
 
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< DialControlm_xCtrlDial
 
std::unique_ptr< weld::CustomWeldm_xCtrlDialWin
 

Static Private Attributes

static const WhichRangesContainer s_pRanges
 

Additional Inherited Members

- 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
 

Detailed Description

Definition at line 48 of file align.hxx.

Constructor & Destructor Documentation

◆ ~AlignmentTabPage()

svx::AlignmentTabPage::~AlignmentTabPage ( )
overridevirtual

Definition at line 166 of file align.cxx.

References m_xCtrlDial, m_xCtrlDialWin, m_xLbFrameDir, and m_xVsRefEdge.

◆ AlignmentTabPage()

svx::AlignmentTabPage::AlignmentTabPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rCoreSet 
)
explicit

Member Function Documentation

◆ Create()

std::unique_ptr< SfxTabPage > svx::AlignmentTabPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 174 of file align.cxx.

Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DeactivatePage()

DeactivateRC svx::AlignmentTabPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 668 of file align.cxx.

References FillItemSet().

◆ DECL_LINK() [1/6]

svx::AlignmentTabPage::DECL_LINK ( AsianModeClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/6]

svx::AlignmentTabPage::DECL_LINK ( HyphenClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/6]

svx::AlignmentTabPage::DECL_LINK ( ShrinkClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/6]

svx::AlignmentTabPage::DECL_LINK ( StackedClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/6]

svx::AlignmentTabPage::DECL_LINK ( UpdateEnableHdl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [6/6]

svx::AlignmentTabPage::DECL_LINK ( WrapClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool svx::AlignmentTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ GetRanges()

static WhichRangesContainer svx::AlignmentTabPage::GetRanges ( )
inlinestatic

Definition at line 57 of file align.hxx.

References s_pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ HasAlignmentChanged()

bool svx::AlignmentTabPage::HasAlignmentChanged ( const SfxItemSet rNew,
TypedWhichId< SfxEnumItemInterface nWhich 
) const
private

Definition at line 737 of file align.cxx.

References SfxItemSet::GetItemIfSet(), SfxTabPage::GetItemSet(), and p.

Referenced by FillItemSet().

◆ InitVsRefEgde()

void svx::AlignmentTabPage::InitVsRefEgde ( )
private

◆ Reset()

void svx::AlignmentTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ UpdateEnableControls()

void svx::AlignmentTabPage::UpdateEnableControls ( )
private

Member Data Documentation

◆ m_aAsianModeState

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

Definition at line 78 of file align.hxx.

Referenced by Reset().

◆ m_aHyphenState

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

Definition at line 80 of file align.hxx.

Referenced by Reset().

◆ m_aShrinkState

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

Definition at line 81 of file align.hxx.

Referenced by Reset().

◆ m_aStackedState

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

Definition at line 77 of file align.hxx.

Referenced by Reset().

◆ m_aVsRefEdge

ValueSet svx::AlignmentTabPage::m_aVsRefEdge
private

Definition at line 83 of file align.hxx.

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

◆ m_aWrapState

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

Definition at line 79 of file align.hxx.

Referenced by Reset().

◆ m_xAlignmentFrame

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

Definition at line 108 of file align.hxx.

Referenced by UpdateEnableControls().

◆ m_xBtnHyphen

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

Definition at line 98 of file align.hxx.

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

◆ m_xBtnShrink

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

Definition at line 99 of file align.hxx.

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

◆ m_xBtnWrap

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

Definition at line 97 of file align.hxx.

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

◆ m_xCbAsianMode

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

Definition at line 95 of file align.hxx.

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

◆ m_xCbStacked

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

Definition at line 94 of file align.hxx.

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

◆ m_xCtrlDial

std::unique_ptr<DialControl> svx::AlignmentTabPage::m_xCtrlDial
private

Definition at line 113 of file align.hxx.

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

◆ m_xCtrlDialWin

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

Definition at line 114 of file align.hxx.

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

◆ m_xEdIndent

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

Definition at line 87 of file align.hxx.

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

◆ m_xFtABCD

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

Definition at line 106 of file align.hxx.

Referenced by AlignmentTabPage().

◆ m_xFtBotLock

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

Definition at line 103 of file align.hxx.

Referenced by InitVsRefEgde().

◆ m_xFtCelLock

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

Definition at line 105 of file align.hxx.

Referenced by InitVsRefEgde().

◆ m_xFtIndent

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

Definition at line 86 of file align.hxx.

Referenced by Reset(), and UpdateEnableControls().

◆ m_xFtRefEdge

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

Definition at line 93 of file align.hxx.

Referenced by UpdateEnableControls().

◆ m_xFtRotate

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

Definition at line 91 of file align.hxx.

Referenced by UpdateEnableControls().

◆ m_xFtTopLock

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

Definition at line 104 of file align.hxx.

Referenced by InitVsRefEgde().

◆ m_xFtVerAlign

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

Definition at line 88 of file align.hxx.

Referenced by Reset().

◆ m_xLbFrameDir

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

◆ m_xLbHorAlign

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

Definition at line 85 of file align.hxx.

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

◆ m_xLbVerAlign

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

Definition at line 89 of file align.hxx.

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

◆ m_xNfRotate

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

Definition at line 92 of file align.hxx.

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

◆ m_xOrientFrame

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

Definition at line 109 of file align.hxx.

Referenced by UpdateEnableControls().

◆ m_xPropertiesFrame

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

Definition at line 110 of file align.hxx.

Referenced by UpdateEnableControls().

◆ m_xVsRefEdge

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

Definition at line 112 of file align.hxx.

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

◆ s_pRanges

const WhichRangesContainer svx::AlignmentTabPage::s_pRanges
staticprivate

Definition at line 50 of file align.hxx.

Referenced by GetRanges().


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