LibreOffice Module sw (master)  1
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
SwTableColumnPage Class Reference

#include <tablepg.hxx>

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

Public Member Functions

 SwTableColumnPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwTableColumnPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
virtual void ActivatePage (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
 
bool HasExchangeSupport () const
 
void SetExchangeSupport ()
 
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 GetHelpId () const
 
OString GetConfigId () const
 
bool IsVisible () const
 
weld::WindowGetFrameWeld () const
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *rAttrSet)
 
- 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 Init (bool bWeb)
 
 DECL_LINK (AutoClickHdl, weld::Button &, void)
 
void ModifyHdl (const weld::MetricSpinButton *pEdit)
 
 DECL_LINK (ValueChangedHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ModeHdl, weld::ToggleButton &, void)
 
void UpdateCols (sal_uInt16 nCurrentPos)
 
SwTwips GetVisibleWidth (sal_uInt16 nPos)
 
void SetVisibleWidth (sal_uInt16 nPos, SwTwips nNewWidth)
 
 DECL_LINK (SizeHdl, void *, void)
 

Private Attributes

SwTableRepm_pTableData
 
ImplSVEventm_pSizeHdlEvent
 
SwTwips m_nTableWidth
 
SwTwips m_nMinWidth
 
sal_uInt16 m_nMetFields
 
sal_uInt16 m_nNoOfCols
 
sal_uInt16 m_nNoOfVisibleCols
 
sal_uInt16 m_aValueTable [MET_FIELDS]
 
bool m_bModified:1
 
bool m_bModifyTable:1
 
bool m_bPercentMode:1
 
SwPercentField m_aFieldArr [MET_FIELDS]
 
std::unique_ptr< weld::Labelm_aTextArr [MET_FIELDS]
 
std::unique_ptr< weld::CheckButtonm_xModifyTableCB
 
std::unique_ptr< weld::CheckButtonm_xProportionalCB
 
std::unique_ptr< weld::Labelm_xSpaceFT
 
std::unique_ptr< weld::MetricSpinButtonm_xSpaceED
 
std::unique_ptr< weld::Buttonm_xUpBtn
 
std::unique_ptr< weld::Buttonm_xDownBtn
 

Additional Inherited Members

- Protected Member Functions inherited from SfxTabPage
 SfxTabPage (weld::Container *pPage, weld::DialogController *pController, 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
 

Detailed Description

Definition at line 90 of file tablepg.hxx.

Constructor & Destructor Documentation

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

Definition at line 702 of file tabledlg.cxx.

SwTableColumnPage::~SwTableColumnPage ( )
overridevirtual

Definition at line 768 of file tabledlg.cxx.

References m_pSizeHdlEvent, and Application::RemoveUserEvent().

Member Function Documentation

void SwTableColumnPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
std::unique_ptr< SfxTabPage > SwTableColumnPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rAttrSet 
)
static

Definition at line 777 of file tabledlg.cxx.

Referenced by SwTableTabDlg::SwTableTabDlg().

DeactivateRC SwTableColumnPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual
SwTableColumnPage::DECL_LINK ( AutoClickHdl  ,
weld::Button ,
void   
)
private
SwTableColumnPage::DECL_LINK ( ValueChangedHdl  ,
weld::MetricSpinButton ,
void   
)
private
SwTableColumnPage::DECL_LINK ( ModeHdl  ,
weld::ToggleButton ,
void   
)
private
SwTableColumnPage::DECL_LINK ( SizeHdl  ,
void ,
void   
)
private
bool SwTableColumnPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 898 of file tabledlg.cxx.

References i, m_aFieldArr, m_bModified, m_pTableData, ModifyHdl(), and SwTableRep::SetColsChanged().

Referenced by DeactivatePage().

SwTwips SwTableColumnPage::GetVisibleWidth ( sal_uInt16  nPos)
private

Definition at line 1158 of file tabledlg.cxx.

References TColumn::bVisible, SwTableRep::GetColumns(), i, m_nNoOfCols, m_pTableData, and TColumn::nWidth.

Referenced by Reset(), and UpdateCols().

void SwTableColumnPage::Init ( bool  bWeb)
private
void SwTableColumnPage::ModifyHdl ( const weld::MetricSpinButton pEdit)
private
void SwTableColumnPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwTableColumnPage::SetVisibleWidth ( sal_uInt16  nPos,
SwTwips  nNewWidth 
)
private

Definition at line 1176 of file tabledlg.cxx.

References TColumn::bVisible, SwTableRep::GetColumns(), i, m_nNoOfCols, m_pTableData, and TColumn::nWidth.

Referenced by ModifyHdl(), and UpdateCols().

void SwTableColumnPage::UpdateCols ( sal_uInt16  nCurrentPos)
private

Member Data Documentation

SwPercentField SwTableColumnPage::m_aFieldArr[MET_FIELDS]
private

Definition at line 105 of file tablepg.hxx.

Referenced by ActivatePage(), FillItemSet(), Init(), ModifyHdl(), Reset(), and UpdateCols().

std::unique_ptr<weld::Label> SwTableColumnPage::m_aTextArr[MET_FIELDS]
private

Definition at line 106 of file tablepg.hxx.

Referenced by Reset().

sal_uInt16 SwTableColumnPage::m_aValueTable[MET_FIELDS]
private

Definition at line 100 of file tablepg.hxx.

Referenced by Init(), ModifyHdl(), and UpdateCols().

bool SwTableColumnPage::m_bModified
private

Definition at line 101 of file tablepg.hxx.

Referenced by FillItemSet().

bool SwTableColumnPage::m_bModifyTable
private

Definition at line 102 of file tablepg.hxx.

Referenced by ActivatePage().

bool SwTableColumnPage::m_bPercentMode
private

Definition at line 103 of file tablepg.hxx.

Referenced by ActivatePage(), and UpdateCols().

sal_uInt16 SwTableColumnPage::m_nMetFields
private

Definition at line 96 of file tablepg.hxx.

Referenced by ActivatePage(), ModifyHdl(), Reset(), and UpdateCols().

SwTwips SwTableColumnPage::m_nMinWidth
private

Definition at line 95 of file tablepg.hxx.

Referenced by Reset(), and UpdateCols().

sal_uInt16 SwTableColumnPage::m_nNoOfCols
private

Definition at line 97 of file tablepg.hxx.

Referenced by GetVisibleWidth(), Reset(), SetVisibleWidth(), and UpdateCols().

sal_uInt16 SwTableColumnPage::m_nNoOfVisibleCols
private

Definition at line 98 of file tablepg.hxx.

Referenced by ActivatePage(), Reset(), and UpdateCols().

SwTwips SwTableColumnPage::m_nTableWidth
private

Definition at line 94 of file tablepg.hxx.

Referenced by ActivatePage(), DeactivatePage(), Reset(), and UpdateCols().

ImplSVEvent* SwTableColumnPage::m_pSizeHdlEvent
private

Definition at line 93 of file tablepg.hxx.

Referenced by ~SwTableColumnPage().

SwTableRep* SwTableColumnPage::m_pTableData
private
std::unique_ptr<weld::Button> SwTableColumnPage::m_xDownBtn
private

Definition at line 112 of file tablepg.hxx.

Referenced by Init().

std::unique_ptr<weld::CheckButton> SwTableColumnPage::m_xModifyTableCB
private

Definition at line 107 of file tablepg.hxx.

Referenced by ActivatePage(), Init(), and UpdateCols().

std::unique_ptr<weld::CheckButton> SwTableColumnPage::m_xProportionalCB
private

Definition at line 108 of file tablepg.hxx.

Referenced by ActivatePage(), Init(), and UpdateCols().

std::unique_ptr<weld::MetricSpinButton> SwTableColumnPage::m_xSpaceED
private

Definition at line 110 of file tablepg.hxx.

Referenced by ActivatePage(), Init(), and UpdateCols().

std::unique_ptr<weld::Label> SwTableColumnPage::m_xSpaceFT
private

Definition at line 109 of file tablepg.hxx.

Referenced by ActivatePage().

std::unique_ptr<weld::Button> SwTableColumnPage::m_xUpBtn
private

Definition at line 111 of file tablepg.hxx.

Referenced by Init(), and Reset().


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