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

#include <tabstpge.hxx>

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

Public Member Functions

virtual ~SvxTabulatorTabPage () override
 
virtual void dispose () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
void DisableControls (const TabulatorDisableFlags nFlag)
 
- 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 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 *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 (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

 SvxTabulatorTabPage (TabPageParent pParent, const SfxItemSet &rSet)
 
void InitTabPos_Impl (sal_uInt16 nPos=0)
 
void SetFillAndTabType_Impl ()
 
void NewHdl_Impl (const weld::Button *)
 
OUString FormatTab ()
 
 DECL_LINK (NewHdl_Impl, weld::Button &, void)
 
 DECL_LINK (DelHdl_Impl, weld::Button &, void)
 
 DECL_LINK (DelAllHdl_Impl, weld::Button &, void)
 
 DECL_LINK (FillTypeCheckHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (TabTypeCheckHdl_Impl, weld::ToggleButton &, void)
 
 DECL_LINK (SelectHdl_Impl, weld::TreeView &, void)
 
 DECL_LINK (ModifyHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ReformatHdl_Impl, weld::Widget &, void)
 
 DECL_LINK (GetFillCharHdl_Impl, weld::Widget &, void)
 
 DECL_LINK (GetDezCharHdl_Impl, weld::Widget &, void)
 
int FindCurrentTab ()
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 

Private Attributes

SvxTabStop aCurrentTab
 
std::unique_ptr< SvxTabStopItemaNewTabs
 
long nDefDist
 
TabWin_Impl m_aLeftWin
 
TabWin_Impl m_aRightWin
 
TabWin_Impl m_aCenterWin
 
TabWin_Impl m_aDezWin
 
std::unique_ptr< weld::MetricSpinButtonm_xTabSpin
 
std::unique_ptr< weld::EntryTreeViewm_xTabBox
 
std::unique_ptr< weld::RadioButtonm_xLeftTab
 
std::unique_ptr< weld::RadioButtonm_xRightTab
 
std::unique_ptr< weld::RadioButtonm_xCenterTab
 
std::unique_ptr< weld::RadioButtonm_xDezTab
 
std::unique_ptr< weld::Entrym_xDezChar
 
std::unique_ptr< weld::Labelm_xDezCharLabel
 
std::unique_ptr< weld::RadioButtonm_xNoFillChar
 
std::unique_ptr< weld::RadioButtonm_xFillPoints
 
std::unique_ptr< weld::RadioButtonm_xFillDashLine
 
std::unique_ptr< weld::RadioButtonm_xFillSolidLine
 
std::unique_ptr< weld::RadioButtonm_xFillSpecial
 
std::unique_ptr< weld::Entrym_xFillChar
 
std::unique_ptr< weld::Buttonm_xNewBtn
 
std::unique_ptr< weld::Buttonm_xDelAllBtn
 
std::unique_ptr< weld::Buttonm_xDelBtn
 
std::unique_ptr< weld::Containerm_xTypeFrame
 
std::unique_ptr< weld::Containerm_xFillFrame
 
std::unique_ptr< weld::CustomWeldm_xLeftWin
 
std::unique_ptr< weld::CustomWeldm_xRightWin
 
std::unique_ptr< weld::CustomWeldm_xCenterWin
 
std::unique_ptr< weld::CustomWeldm_xDezWin
 

Static Private Attributes

static const sal_uInt16 pRanges []
 

Friends

class VclPtr< SvxTabulatorTabPage >
 

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 60 of file tabstpge.hxx.

Constructor & Destructor Documentation

SvxTabulatorTabPage::~SvxTabulatorTabPage ( )
overridevirtual

Definition at line 143 of file tabstpge.cxx.

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

Member Function Documentation

VclPtr< SfxTabPage > SvxTabulatorTabPage::Create ( TabPageParent  pParent,
const SfxItemSet rSet 
)
static
DeactivateRC SvxTabulatorTabPage::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

Reimplemented from SfxTabPage.

Definition at line 314 of file tabstpge.cxx.

References FillItemSet().

SvxTabulatorTabPage::DECL_LINK ( NewHdl_Impl  ,
weld::Button ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( DelHdl_Impl  ,
weld::Button ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( DelAllHdl_Impl  ,
weld::Button ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( FillTypeCheckHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( TabTypeCheckHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( SelectHdl_Impl  ,
weld::TreeView ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( ModifyHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( ReformatHdl_Impl  ,
weld::Widget ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( GetFillCharHdl_Impl  ,
weld::Widget ,
void   
)
private
SvxTabulatorTabPage::DECL_LINK ( GetDezCharHdl_Impl  ,
weld::Widget ,
void   
)
private
void SvxTabulatorTabPage::DisableControls ( const TabulatorDisableFlags  nFlag)
void SvxTabulatorTabPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 148 of file tabstpge.cxx.

References SfxTabPage::dispose(), m_xCenterWin, m_xDezChar, m_xDezWin, m_xFillChar, m_xLeftWin, m_xRightWin, and m_xTabBox.

bool SvxTabulatorTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
int SvxTabulatorTabPage::FindCurrentTab ( )
private

Definition at line 484 of file tabstpge.cxx.

References FormatTab(), and m_xTabBox.

OUString SvxTabulatorTabPage::FormatTab ( )
private

Definition at line 635 of file tabstpge.cxx.

References m_xTabBox, and m_xTabSpin.

Referenced by FindCurrentTab().

static const sal_uInt16* SvxTabulatorTabPage::GetRanges ( )
inlinestatic

Definition at line 70 of file tabstpge.hxx.

References pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

void SvxTabulatorTabPage::InitTabPos_Impl ( sal_uInt16  nPos = 0)
private
void SvxTabulatorTabPage::NewHdl_Impl ( const weld::Button pBtn)
private
void SvxTabulatorTabPage::PageCreated ( const SfxAllItemSet aSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 665 of file tabstpge.cxx.

References DisableControls(), SfxItemSet::GetItem(), and CntUInt16Item::GetValue().

void SvxTabulatorTabPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SvxTabulatorTabPage::SetFillAndTabType_Impl ( )
private

Friends And Related Function Documentation

friend class VclPtr< SvxTabulatorTabPage >
friend

Definition at line 62 of file tabstpge.hxx.

Member Data Documentation

SvxTabStop SvxTabulatorTabPage::aCurrentTab
private
std::unique_ptr<SvxTabStopItem> SvxTabulatorTabPage::aNewTabs
private

Definition at line 85 of file tabstpge.hxx.

Referenced by FillItemSet(), InitTabPos_Impl(), NewHdl_Impl(), and Reset().

TabWin_Impl SvxTabulatorTabPage::m_aCenterWin
private

Definition at line 90 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

TabWin_Impl SvxTabulatorTabPage::m_aDezWin
private

Definition at line 91 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

TabWin_Impl SvxTabulatorTabPage::m_aLeftWin
private

Definition at line 88 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

TabWin_Impl SvxTabulatorTabPage::m_aRightWin
private

Definition at line 89 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xCenterTab
private
std::unique_ptr<weld::CustomWeld> SvxTabulatorTabPage::m_xCenterWin
private

Definition at line 122 of file tabstpge.hxx.

Referenced by DisableControls(), and dispose().

std::unique_ptr<weld::Button> SvxTabulatorTabPage::m_xDelAllBtn
private

Definition at line 114 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

std::unique_ptr<weld::Button> SvxTabulatorTabPage::m_xDelBtn
private

Definition at line 115 of file tabstpge.hxx.

Referenced by InitTabPos_Impl(), NewHdl_Impl(), and SvxTabulatorTabPage().

std::unique_ptr<weld::Entry> SvxTabulatorTabPage::m_xDezChar
private
std::unique_ptr<weld::Label> SvxTabulatorTabPage::m_xDezCharLabel
private

Definition at line 104 of file tabstpge.hxx.

Referenced by DisableControls(), SetFillAndTabType_Impl(), and SvxTabulatorTabPage().

std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xDezTab
private
std::unique_ptr<weld::CustomWeld> SvxTabulatorTabPage::m_xDezWin
private

Definition at line 123 of file tabstpge.hxx.

Referenced by DisableControls(), and dispose().

std::unique_ptr<weld::Entry> SvxTabulatorTabPage::m_xFillChar
private
std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xFillDashLine
private

Definition at line 108 of file tabstpge.hxx.

Referenced by DisableControls(), SetFillAndTabType_Impl(), and SvxTabulatorTabPage().

std::unique_ptr<weld::Container> SvxTabulatorTabPage::m_xFillFrame
private

Definition at line 118 of file tabstpge.hxx.

Referenced by DisableControls().

std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xFillPoints
private

Definition at line 107 of file tabstpge.hxx.

Referenced by DisableControls(), SetFillAndTabType_Impl(), and SvxTabulatorTabPage().

std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xFillSolidLine
private

Definition at line 109 of file tabstpge.hxx.

Referenced by DisableControls(), SetFillAndTabType_Impl(), and SvxTabulatorTabPage().

std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xFillSpecial
private

Definition at line 110 of file tabstpge.hxx.

Referenced by DisableControls(), SetFillAndTabType_Impl(), and SvxTabulatorTabPage().

std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xLeftTab
private
std::unique_ptr<weld::CustomWeld> SvxTabulatorTabPage::m_xLeftWin
private

Definition at line 120 of file tabstpge.hxx.

Referenced by DisableControls(), and dispose().

std::unique_ptr<weld::Button> SvxTabulatorTabPage::m_xNewBtn
private

Definition at line 113 of file tabstpge.hxx.

Referenced by FillItemSet(), InitTabPos_Impl(), NewHdl_Impl(), and SvxTabulatorTabPage().

std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xNoFillChar
private
std::unique_ptr<weld::RadioButton> SvxTabulatorTabPage::m_xRightTab
private
std::unique_ptr<weld::CustomWeld> SvxTabulatorTabPage::m_xRightWin
private

Definition at line 121 of file tabstpge.hxx.

Referenced by DisableControls(), and dispose().

std::unique_ptr<weld::EntryTreeView> SvxTabulatorTabPage::m_xTabBox
private
std::unique_ptr<weld::MetricSpinButton> SvxTabulatorTabPage::m_xTabSpin
private

Definition at line 94 of file tabstpge.hxx.

Referenced by FormatTab(), InitTabPos_Impl(), NewHdl_Impl(), and SvxTabulatorTabPage().

std::unique_ptr<weld::Container> SvxTabulatorTabPage::m_xTypeFrame
private

Definition at line 117 of file tabstpge.hxx.

Referenced by DisableControls().

long SvxTabulatorTabPage::nDefDist
private

Definition at line 86 of file tabstpge.hxx.

Referenced by FillItemSet(), and Reset().

const sal_uInt16 SvxTabulatorTabPage::pRanges
staticprivate
Initial value:
=
{
SID_ATTR_TABSTOP,
SID_ATTR_TABSTOP_OFFSET,
0
}

Definition at line 64 of file tabstpge.hxx.

Referenced by GetRanges().


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