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

#include <tablepg.hxx>

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

Public Member Functions

 SwFormatTablePage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwFormatTablePage () 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 ()
 
void ModifyHdl (const weld::MetricSpinButton &rEdit, bool bAllowInconsistencies=false)
 
 DECL_LINK (AutoClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (RelWidthClickHdl, weld::Toggleable &, void)
 
void RightModify ()
 
 DECL_LINK (ValueChangedHdl, weld::MetricSpinButton &, void)
 

Private Attributes

SwTableRepm_pTableData
 
std::unique_ptr< SwTableRepm_xOrigTableData
 
SwTwips m_nSaveWidth
 
SwTwips m_nMinTableWidth
 
bool m_bModified
 
bool m_bFull:1
 
bool m_bHtmlMode: 1
 
std::unique_ptr< weld::Entrym_xNameED
 
std::unique_ptr< weld::Labelm_xWidthFT
 
std::unique_ptr< SwPercentFieldm_xWidthMF
 
std::unique_ptr< weld::CheckButtonm_xRelWidthCB
 
std::unique_ptr< weld::RadioButtonm_xFullBtn
 
std::unique_ptr< weld::RadioButtonm_xLeftBtn
 
std::unique_ptr< weld::RadioButtonm_xFromLeftBtn
 
std::unique_ptr< weld::RadioButtonm_xRightBtn
 
std::unique_ptr< weld::RadioButtonm_xCenterBtn
 
std::unique_ptr< weld::RadioButtonm_xFreeBtn
 
std::unique_ptr< weld::Labelm_xLeftFT
 
std::unique_ptr< SwPercentFieldm_xLeftMF
 
std::unique_ptr< weld::Labelm_xRightFT
 
std::unique_ptr< SwPercentFieldm_xRightMF
 
std::unique_ptr< weld::Labelm_xTopFT
 
std::unique_ptr< weld::MetricSpinButtonm_xTopMF
 
std::unique_ptr< weld::Labelm_xBottomFT
 
std::unique_ptr< weld::MetricSpinButtonm_xBottomMF
 
std::unique_ptr< svx::FrameDirectionListBoxm_xTextDirectionLB
 
std::unique_ptr< weld::Widgetm_xProperties
 
sal_Int64 m_nOrigWidthMin
 
sal_Int64 m_nOrigWidthMax
 
sal_Int64 m_nOrigLeftMin
 
sal_Int64 m_nOrigLeftMax
 
sal_Int64 m_nOrigRightMin
 
sal_Int64 m_nOrigRightMax
 

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 30 of file tablepg.hxx.

Constructor & Destructor Documentation

◆ SwFormatTablePage()

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

◆ ~SwFormatTablePage()

SwFormatTablePage::~SwFormatTablePage ( )
overridevirtual

Definition at line 120 of file tabledlg.cxx.

Member Function Documentation

◆ ActivatePage()

void SwFormatTablePage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

◆ Create()

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

Definition at line 383 of file tabledlg.cxx.

Referenced by SwTableTabDlg::SwTableTabDlg().

◆ DeactivatePage()

DeactivateRC SwFormatTablePage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

◆ DECL_LINK() [1/3]

SwFormatTablePage::DECL_LINK ( AutoClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/3]

SwFormatTablePage::DECL_LINK ( RelWidthClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [3/3]

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

◆ FillItemSet()

bool SwFormatTablePage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ Init()

void SwFormatTablePage::Init ( void  )
private

◆ ModifyHdl()

void SwFormatTablePage::ModifyHdl ( const weld::MetricSpinButton rEdit,
bool  bAllowInconsistencies = false 
)
private

◆ Reset()

void SwFormatTablePage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ RightModify()

void SwFormatTablePage::RightModify ( )
private

Definition at line 246 of file tabledlg.cxx.

References m_xFreeBtn, m_xRelWidthCB, m_xRightFT, and m_xRightMF.

Member Data Documentation

◆ m_bFull

bool SwFormatTablePage::m_bFull
private

Definition at line 37 of file tablepg.hxx.

◆ m_bHtmlMode

bool SwFormatTablePage::m_bHtmlMode
private

Definition at line 38 of file tablepg.hxx.

Referenced by Reset(), and SwFormatTablePage().

◆ m_bModified

bool SwFormatTablePage::m_bModified
private

Definition at line 36 of file tablepg.hxx.

Referenced by DeactivatePage(), FillItemSet(), and ModifyHdl().

◆ m_nMinTableWidth

SwTwips SwFormatTablePage::m_nMinTableWidth
private

Definition at line 35 of file tablepg.hxx.

Referenced by Reset().

◆ m_nOrigLeftMax

sal_Int64 SwFormatTablePage::m_nOrigLeftMax
private

Definition at line 67 of file tablepg.hxx.

Referenced by Reset(), and SwFormatTablePage().

◆ m_nOrigLeftMin

sal_Int64 SwFormatTablePage::m_nOrigLeftMin
private

Definition at line 66 of file tablepg.hxx.

Referenced by Reset(), and SwFormatTablePage().

◆ m_nOrigRightMax

sal_Int64 SwFormatTablePage::m_nOrigRightMax
private

Definition at line 69 of file tablepg.hxx.

Referenced by Reset(), and SwFormatTablePage().

◆ m_nOrigRightMin

sal_Int64 SwFormatTablePage::m_nOrigRightMin
private

Definition at line 68 of file tablepg.hxx.

Referenced by Reset(), and SwFormatTablePage().

◆ m_nOrigWidthMax

sal_Int64 SwFormatTablePage::m_nOrigWidthMax
private

Definition at line 65 of file tablepg.hxx.

Referenced by Reset(), and SwFormatTablePage().

◆ m_nOrigWidthMin

sal_Int64 SwFormatTablePage::m_nOrigWidthMin
private

Definition at line 64 of file tablepg.hxx.

Referenced by Reset(), and SwFormatTablePage().

◆ m_nSaveWidth

SwTwips SwFormatTablePage::m_nSaveWidth
private

Definition at line 34 of file tablepg.hxx.

Referenced by ActivatePage(), and Reset().

◆ m_pTableData

SwTableRep* SwFormatTablePage::m_pTableData
private

Definition at line 32 of file tablepg.hxx.

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

◆ m_xBottomFT

std::unique_ptr<weld::Label> SwFormatTablePage::m_xBottomFT
private

Definition at line 58 of file tablepg.hxx.

Referenced by Reset().

◆ m_xBottomMF

std::unique_ptr<weld::MetricSpinButton> SwFormatTablePage::m_xBottomMF
private

Definition at line 59 of file tablepg.hxx.

Referenced by FillItemSet(), Init(), and Reset().

◆ m_xCenterBtn

std::unique_ptr<weld::RadioButton> SwFormatTablePage::m_xCenterBtn
private

Definition at line 49 of file tablepg.hxx.

Referenced by DeactivatePage(), Init(), ModifyHdl(), and Reset().

◆ m_xFreeBtn

std::unique_ptr<weld::RadioButton> SwFormatTablePage::m_xFreeBtn
private

Definition at line 50 of file tablepg.hxx.

Referenced by DeactivatePage(), Init(), ModifyHdl(), Reset(), and RightModify().

◆ m_xFromLeftBtn

std::unique_ptr<weld::RadioButton> SwFormatTablePage::m_xFromLeftBtn
private

Definition at line 47 of file tablepg.hxx.

Referenced by DeactivatePage(), Init(), ModifyHdl(), and Reset().

◆ m_xFullBtn

std::unique_ptr<weld::RadioButton> SwFormatTablePage::m_xFullBtn
private

Definition at line 45 of file tablepg.hxx.

Referenced by DeactivatePage(), Init(), and Reset().

◆ m_xLeftBtn

std::unique_ptr<weld::RadioButton> SwFormatTablePage::m_xLeftBtn
private

Definition at line 46 of file tablepg.hxx.

Referenced by DeactivatePage(), Init(), ModifyHdl(), and Reset().

◆ m_xLeftFT

std::unique_ptr<weld::Label> SwFormatTablePage::m_xLeftFT
private

Definition at line 52 of file tablepg.hxx.

Referenced by Reset().

◆ m_xLeftMF

std::unique_ptr<SwPercentField> SwFormatTablePage::m_xLeftMF
private

◆ m_xNameED

std::unique_ptr<weld::Entry> SwFormatTablePage::m_xNameED
private

Definition at line 40 of file tablepg.hxx.

Referenced by DeactivatePage(), FillItemSet(), and Reset().

◆ m_xOrigTableData

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

Definition at line 33 of file tablepg.hxx.

Referenced by Reset().

◆ m_xProperties

std::unique_ptr<weld::Widget> SwFormatTablePage::m_xProperties
private

Definition at line 62 of file tablepg.hxx.

Referenced by SwFormatTablePage().

◆ m_xRelWidthCB

std::unique_ptr<weld::CheckButton> SwFormatTablePage::m_xRelWidthCB
private

Definition at line 43 of file tablepg.hxx.

Referenced by DeactivatePage(), Init(), Reset(), and RightModify().

◆ m_xRightBtn

std::unique_ptr<weld::RadioButton> SwFormatTablePage::m_xRightBtn
private

Definition at line 48 of file tablepg.hxx.

Referenced by DeactivatePage(), Init(), ModifyHdl(), and Reset().

◆ m_xRightFT

std::unique_ptr<weld::Label> SwFormatTablePage::m_xRightFT
private

Definition at line 54 of file tablepg.hxx.

Referenced by Reset(), and RightModify().

◆ m_xRightMF

std::unique_ptr<SwPercentField> SwFormatTablePage::m_xRightMF
private

◆ m_xTextDirectionLB

std::unique_ptr<svx::FrameDirectionListBox> SwFormatTablePage::m_xTextDirectionLB
private

Definition at line 61 of file tablepg.hxx.

Referenced by FillItemSet(), Reset(), and SwFormatTablePage().

◆ m_xTopFT

std::unique_ptr<weld::Label> SwFormatTablePage::m_xTopFT
private

Definition at line 56 of file tablepg.hxx.

Referenced by Reset().

◆ m_xTopMF

std::unique_ptr<weld::MetricSpinButton> SwFormatTablePage::m_xTopMF
private

Definition at line 57 of file tablepg.hxx.

Referenced by FillItemSet(), Init(), and Reset().

◆ m_xWidthFT

std::unique_ptr<weld::Label> SwFormatTablePage::m_xWidthFT
private

Definition at line 41 of file tablepg.hxx.

Referenced by Reset().

◆ m_xWidthMF

std::unique_ptr<SwPercentField> SwFormatTablePage::m_xWidthMF
private

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