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
 
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 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::Toggleable &, 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
 
std::unique_ptr< SwTableRepm_xOrigTableData
 
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::Labelm_xSpaceSFT
 
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 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 93 of file tablepg.hxx.

Constructor & Destructor Documentation

◆ SwTableColumnPage()

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

◆ ~SwTableColumnPage()

SwTableColumnPage::~SwTableColumnPage ( )
overridevirtual

Definition at line 798 of file tabledlg.cxx.

References m_pSizeHdlEvent, and Application::RemoveUserEvent().

Member Function Documentation

◆ ActivatePage()

void SwTableColumnPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

◆ Create()

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

Definition at line 807 of file tabledlg.cxx.

Referenced by SwTableTabDlg::SwTableTabDlg().

◆ DeactivatePage()

DeactivateRC SwTableColumnPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

◆ DECL_LINK() [1/4]

SwTableColumnPage::DECL_LINK ( AutoClickHdl  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [2/4]

SwTableColumnPage::DECL_LINK ( ModeHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/4]

SwTableColumnPage::DECL_LINK ( SizeHdl  ,
void *  ,
void   
)
private

◆ DECL_LINK() [4/4]

SwTableColumnPage::DECL_LINK ( ValueChangedHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ FillItemSet()

bool SwTableColumnPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 931 of file tabledlg.cxx.

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

Referenced by DeactivatePage().

◆ GetVisibleWidth()

SwTwips SwTableColumnPage::GetVisibleWidth ( sal_uInt16  nPos)
private

Definition at line 1184 of file tabledlg.cxx.

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

Referenced by Reset(), and UpdateCols().

◆ Init()

void SwTableColumnPage::Init ( bool  bWeb)
private

◆ ModifyHdl()

void SwTableColumnPage::ModifyHdl ( const weld::MetricSpinButton pEdit)
private

◆ Reset()

void SwTableColumnPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetVisibleWidth()

void SwTableColumnPage::SetVisibleWidth ( sal_uInt16  nPos,
SwTwips  nNewWidth 
)
private

Definition at line 1202 of file tabledlg.cxx.

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

Referenced by ModifyHdl(), and UpdateCols().

◆ UpdateCols()

void SwTableColumnPage::UpdateCols ( sal_uInt16  nCurrentPos)
private

Member Data Documentation

◆ m_aFieldArr

SwPercentField SwTableColumnPage::m_aFieldArr[MET_FIELDS]
private

Definition at line 109 of file tablepg.hxx.

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

◆ m_aTextArr

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

Definition at line 110 of file tablepg.hxx.

Referenced by Reset().

◆ m_aValueTable

sal_uInt16 SwTableColumnPage::m_aValueTable[MET_FIELDS]
private

Definition at line 104 of file tablepg.hxx.

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

◆ m_bModified

bool SwTableColumnPage::m_bModified
private

Definition at line 105 of file tablepg.hxx.

Referenced by FillItemSet().

◆ m_bModifyTable

bool SwTableColumnPage::m_bModifyTable
private

Definition at line 106 of file tablepg.hxx.

Referenced by ActivatePage().

◆ m_bPercentMode

bool SwTableColumnPage::m_bPercentMode
private

Definition at line 107 of file tablepg.hxx.

Referenced by ActivatePage(), and UpdateCols().

◆ m_nMetFields

sal_uInt16 SwTableColumnPage::m_nMetFields
private

Definition at line 100 of file tablepg.hxx.

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

◆ m_nMinWidth

SwTwips SwTableColumnPage::m_nMinWidth
private

Definition at line 99 of file tablepg.hxx.

Referenced by Reset(), and UpdateCols().

◆ m_nNoOfCols

sal_uInt16 SwTableColumnPage::m_nNoOfCols
private

Definition at line 101 of file tablepg.hxx.

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

◆ m_nNoOfVisibleCols

sal_uInt16 SwTableColumnPage::m_nNoOfVisibleCols
private

Definition at line 102 of file tablepg.hxx.

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

◆ m_nTableWidth

SwTwips SwTableColumnPage::m_nTableWidth
private

Definition at line 98 of file tablepg.hxx.

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

◆ m_pSizeHdlEvent

ImplSVEvent* SwTableColumnPage::m_pSizeHdlEvent
private

Definition at line 97 of file tablepg.hxx.

Referenced by SwTableColumnPage(), and ~SwTableColumnPage().

◆ m_pTableData

SwTableRep* SwTableColumnPage::m_pTableData
private

◆ m_xDownBtn

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

Definition at line 117 of file tablepg.hxx.

Referenced by Init().

◆ m_xModifyTableCB

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

Definition at line 111 of file tablepg.hxx.

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

◆ m_xOrigTableData

std::unique_ptr<SwTableRep> SwTableColumnPage::m_xOrigTableData
private

Definition at line 96 of file tablepg.hxx.

Referenced by Reset().

◆ m_xProportionalCB

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

Definition at line 112 of file tablepg.hxx.

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

◆ m_xSpaceED

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

Definition at line 115 of file tablepg.hxx.

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

◆ m_xSpaceFT

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

Definition at line 113 of file tablepg.hxx.

Referenced by ActivatePage().

◆ m_xSpaceSFT

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

Definition at line 114 of file tablepg.hxx.

Referenced by ActivatePage(), and UpdateCols().

◆ m_xUpBtn

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

Definition at line 116 of file tablepg.hxx.

Referenced by Init(), and Reset().


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