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 (TabPageParent pParent, const SfxItemSet &rSet)
 
virtual void dispose () override
 
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
 
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 GetConfigId () const
 
weld::WindowGetDialogFrameWeld () const
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent pParent, 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

SwTableReppTableData
 
ImplSVEventm_pSizeHdlEvent
 
SwTwips nTableWidth
 
SwTwips nMinWidth
 
sal_uInt16 nMetFields
 
sal_uInt16 nNoOfCols
 
sal_uInt16 nNoOfVisibleCols
 
sal_uInt16 aValueTable [MET_FIELDS]
 
bool bModified:1
 
bool bModifyTable:1
 
bool 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 (vcl::Window *pParent, const OString &rID, const OUString &rUIXMLDescription, const SfxItemSet *rAttrSet)
 
 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
 
- Protected Attributes inherited from SfxTabPage
std::unique_ptr< weld::Builderm_xBuilder
 
std::unique_ptr< weld::Containerm_xContainer
 

Detailed Description

Definition at line 93 of file tablepg.hxx.

Constructor & Destructor Documentation

SwTableColumnPage::SwTableColumnPage ( TabPageParent  pParent,
const SfxItemSet rSet 
)

Definition at line 702 of file tabledlg.cxx.

References SfxTabPage::m_xBuilder.

SwTableColumnPage::~SwTableColumnPage ( )
overridevirtual

Definition at line 768 of file tabledlg.cxx.

Member Function Documentation

void SwTableColumnPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual
VclPtr< SfxTabPage > SwTableColumnPage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrSet 
)
static

Definition at line 783 of file tabledlg.cxx.

References VclPtr< reference_type >::Create().

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
void SwTableColumnPage::dispose ( void  )
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 773 of file tabledlg.cxx.

References SfxTabPage::dispose(), m_pSizeHdlEvent, and Application::RemoveUserEvent().

bool SwTableColumnPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 904 of file tabledlg.cxx.

References bModified, i, m_aFieldArr, ModifyHdl(), pTableData, and SwTableRep::SetColsChanged().

Referenced by DeactivatePage().

SwTwips SwTableColumnPage::GetVisibleWidth ( sal_uInt16  nPos)
private

Definition at line 1164 of file tabledlg.cxx.

References TColumn::bVisible, SwTableRep::GetColumns(), i, nNoOfCols, TColumn::nWidth, and pTableData.

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 1182 of file tabledlg.cxx.

References TColumn::bVisible, SwTableRep::GetColumns(), i, nNoOfCols, TColumn::nWidth, and pTableData.

Referenced by ModifyHdl(), and UpdateCols().

void SwTableColumnPage::UpdateCols ( sal_uInt16  nCurrentPos)
private

Member Data Documentation

sal_uInt16 SwTableColumnPage::aValueTable[MET_FIELDS]
private

Definition at line 103 of file tablepg.hxx.

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

bool SwTableColumnPage::bModified
private

Definition at line 104 of file tablepg.hxx.

Referenced by FillItemSet().

bool SwTableColumnPage::bModifyTable
private

Definition at line 105 of file tablepg.hxx.

Referenced by ActivatePage().

bool SwTableColumnPage::bPercentMode
private

Definition at line 106 of file tablepg.hxx.

Referenced by ActivatePage(), and UpdateCols().

SwPercentField SwTableColumnPage::m_aFieldArr[MET_FIELDS]
private

Definition at line 108 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 109 of file tablepg.hxx.

Referenced by Reset().

ImplSVEvent* SwTableColumnPage::m_pSizeHdlEvent
private

Definition at line 96 of file tablepg.hxx.

Referenced by dispose().

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

Definition at line 115 of file tablepg.hxx.

Referenced by Init().

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

Definition at line 110 of file tablepg.hxx.

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

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

Definition at line 111 of file tablepg.hxx.

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

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

Definition at line 113 of file tablepg.hxx.

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

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

Definition at line 112 of file tablepg.hxx.

Referenced by ActivatePage().

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

Definition at line 114 of file tablepg.hxx.

Referenced by Init(), and Reset().

sal_uInt16 SwTableColumnPage::nMetFields
private

Definition at line 99 of file tablepg.hxx.

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

SwTwips SwTableColumnPage::nMinWidth
private

Definition at line 98 of file tablepg.hxx.

Referenced by Reset(), and UpdateCols().

sal_uInt16 SwTableColumnPage::nNoOfCols
private

Definition at line 100 of file tablepg.hxx.

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

sal_uInt16 SwTableColumnPage::nNoOfVisibleCols
private

Definition at line 101 of file tablepg.hxx.

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

SwTwips SwTableColumnPage::nTableWidth
private

Definition at line 97 of file tablepg.hxx.

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

SwTableRep* SwTableColumnPage::pTableData
private

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