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

#include <tabstpge.hxx>

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

Public Member Functions

 SvxTabulatorTabPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SvxTabulatorTabPage () 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
 
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 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::Toggleable &, void)
 
 DECL_LINK (TabTypeCheckHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (SelectHdl_Impl, weld::TreeView &, bool)
 
 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
 
tools::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 WhichRangesContainer pRanges
 

Detailed Description

Definition at line 59 of file tabstpge.hxx.

Constructor & Destructor Documentation

◆ SvxTabulatorTabPage()

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

◆ ~SvxTabulatorTabPage()

SvxTabulatorTabPage::~SvxTabulatorTabPage ( )
overridevirtual

Definition at line 142 of file tabstpge.cxx.

References m_xCenterWin, m_xDezChar, m_xDezWin, m_xFillChar, m_xLeftWin, m_xRightWin, and m_xTabBox.

Member Function Documentation

◆ Create()

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

Definition at line 210 of file tabstpge.cxx.

References rSet.

Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DeactivatePage()

DeactivateRC SvxTabulatorTabPage::DeactivatePage ( SfxItemSet pSet)
overrideprotectedvirtual

Reimplemented from SfxTabPage.

Definition at line 307 of file tabstpge.cxx.

References FillItemSet().

◆ DECL_LINK() [1/10]

SvxTabulatorTabPage::DECL_LINK ( DelAllHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/10]

SvxTabulatorTabPage::DECL_LINK ( DelHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [3/10]

SvxTabulatorTabPage::DECL_LINK ( FillTypeCheckHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/10]

SvxTabulatorTabPage::DECL_LINK ( GetDezCharHdl_Impl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [5/10]

SvxTabulatorTabPage::DECL_LINK ( GetFillCharHdl_Impl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [6/10]

SvxTabulatorTabPage::DECL_LINK ( ModifyHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [7/10]

SvxTabulatorTabPage::DECL_LINK ( NewHdl_Impl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/10]

SvxTabulatorTabPage::DECL_LINK ( ReformatHdl_Impl  ,
weld::Widget ,
void   
)
private

◆ DECL_LINK() [9/10]

SvxTabulatorTabPage::DECL_LINK ( SelectHdl_Impl  ,
weld::TreeView ,
bool   
)
private

◆ DECL_LINK() [10/10]

SvxTabulatorTabPage::DECL_LINK ( TabTypeCheckHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DisableControls()

void SvxTabulatorTabPage::DisableControls ( const TabulatorDisableFlags  nFlag)

◆ FillItemSet()

bool SvxTabulatorTabPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ FindCurrentTab()

int SvxTabulatorTabPage::FindCurrentTab ( )
private

Definition at line 474 of file tabstpge.cxx.

References FormatTab(), and m_xTabBox.

◆ FormatTab()

OUString SvxTabulatorTabPage::FormatTab ( )
private

Definition at line 626 of file tabstpge.cxx.

References m_xTabBox, and m_xTabSpin.

Referenced by FindCurrentTab().

◆ GetRanges()

static WhichRangesContainer SvxTabulatorTabPage::GetRanges ( )
inlinestatic

Definition at line 68 of file tabstpge.hxx.

References pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ InitTabPos_Impl()

void SvxTabulatorTabPage::InitTabPos_Impl ( sal_uInt16  nPos = 0)
private

◆ NewHdl_Impl()

void SvxTabulatorTabPage::NewHdl_Impl ( const weld::Button pBtn)
private

◆ PageCreated()

void SvxTabulatorTabPage::PageCreated ( const SfxAllItemSet aSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 656 of file tabstpge.cxx.

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

◆ Reset()

void SvxTabulatorTabPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetFillAndTabType_Impl()

void SvxTabulatorTabPage::SetFillAndTabType_Impl ( )
private

Member Data Documentation

◆ aCurrentTab

SvxTabStop SvxTabulatorTabPage::aCurrentTab
private

◆ aNewTabs

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

Definition at line 81 of file tabstpge.hxx.

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

◆ m_aCenterWin

TabWin_Impl SvxTabulatorTabPage::m_aCenterWin
private

Definition at line 86 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

◆ m_aDezWin

TabWin_Impl SvxTabulatorTabPage::m_aDezWin
private

Definition at line 87 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

◆ m_aLeftWin

TabWin_Impl SvxTabulatorTabPage::m_aLeftWin
private

Definition at line 84 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

◆ m_aRightWin

TabWin_Impl SvxTabulatorTabPage::m_aRightWin
private

Definition at line 85 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

◆ m_xCenterTab

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

◆ m_xCenterWin

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

Definition at line 118 of file tabstpge.hxx.

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

◆ m_xDelAllBtn

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

Definition at line 110 of file tabstpge.hxx.

Referenced by SvxTabulatorTabPage().

◆ m_xDelBtn

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

Definition at line 111 of file tabstpge.hxx.

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

◆ m_xDezChar

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

◆ m_xDezCharLabel

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

Definition at line 100 of file tabstpge.hxx.

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

◆ m_xDezTab

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

◆ m_xDezWin

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

Definition at line 119 of file tabstpge.hxx.

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

◆ m_xFillChar

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

◆ m_xFillDashLine

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

Definition at line 104 of file tabstpge.hxx.

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

◆ m_xFillFrame

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

Definition at line 114 of file tabstpge.hxx.

Referenced by DisableControls().

◆ m_xFillPoints

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

Definition at line 103 of file tabstpge.hxx.

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

◆ m_xFillSolidLine

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

Definition at line 105 of file tabstpge.hxx.

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

◆ m_xFillSpecial

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

Definition at line 106 of file tabstpge.hxx.

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

◆ m_xLeftTab

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

◆ m_xLeftWin

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

Definition at line 116 of file tabstpge.hxx.

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

◆ m_xNewBtn

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

Definition at line 109 of file tabstpge.hxx.

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

◆ m_xNoFillChar

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

◆ m_xRightTab

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

◆ m_xRightWin

std::unique_ptr<weld::CustomWeld> SvxTabulatorTabPage::m_xRightWin
private

Definition at line 117 of file tabstpge.hxx.

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

◆ m_xTabBox

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

◆ m_xTabSpin

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

Definition at line 90 of file tabstpge.hxx.

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

◆ m_xTypeFrame

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

Definition at line 113 of file tabstpge.hxx.

Referenced by DisableControls().

◆ nDefDist

tools::Long SvxTabulatorTabPage::nDefDist
private

Definition at line 82 of file tabstpge.hxx.

Referenced by FillItemSet(), and Reset().

◆ pRanges

const WhichRangesContainer SvxTabulatorTabPage::pRanges
staticprivate

Definition at line 61 of file tabstpge.hxx.

Referenced by GetRanges().


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