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

#include <column.hxx>

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

Public Member Functions

 SwColumnPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwColumnPage () override
 
virtual bool FillItemSet (SfxItemSet *rSet) override
 
virtual void Reset (const SfxItemSet *rSet) override
 
void SetFrameMode (bool bMod)
 
void SetPageWidth (long nPageWidth)
 
void SetFormatUsed (bool bFormatUsed)
 
void ShowBalance (bool bShow)
 
void SetInSection (bool bSet)
 
void ActivateColumnControl ()
 
weld::LabelGetApplyLabel ()
 
weld::ComboBoxGetApplyComboBox ()
 
- 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 *rSet)
 
static const sal_uInt16 * 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)
 

Private Member Functions

 DECL_LINK (ColModify, weld::SpinButton &, void)
 
void ColModify (const weld::SpinButton *)
 
 DECL_LINK (GapModify, weld::MetricSpinButton &, void)
 
 DECL_LINK (EdModify, weld::MetricSpinButton &, void)
 
 DECL_LINK (AutoWidthHdl, weld::ToggleButton &, void)
 
 DECL_LINK (SetDefaultsHdl, SvtValueSet *, void)
 
 DECL_LINK (Up, weld::Button &, void)
 
 DECL_LINK (Down, weld::Button &, void)
 
 DECL_LINK (UpdateColMgr, weld::MetricSpinButton &, void)
 
 DECL_LINK (UpdateColMgrListBox, weld::ComboBox &, void)
 
 DECL_LINK (UpdateColMgrLineBox, SvtLineListBox &, void)
 
 DECL_LINK (UpdateColMgrColorBox, ColorListBox &, void)
 
void Timeout ()
 
void Update (const weld::MetricSpinButton *pInteractiveField)
 
void UpdateCols ()
 
void Init ()
 
void ResetColWidth ()
 
void SetLabels (sal_uInt16 nVis)
 
virtual void ActivatePage (const SfxItemSet &rSet) override
 
virtual DeactivateRC DeactivatePage (SfxItemSet *pSet) override
 
void connectPercentField (SwPercentField &rWrap)
 
bool isLineNotNone () const
 

Private Attributes

std::unique_ptr< SwColMgrm_xColMgr
 
sal_uInt16 m_nFirstVis
 
sal_uInt16 m_nCols
 
long m_nColWidth [nMaxCols]
 
long m_nColDist [nMaxCols]
 
SwPercentFieldm_pModifiedField
 
std::map< weld::MetricSpinButton *, SwPercentField * > m_aPercentFieldsMap
 
bool m_bFormat
 
bool m_bFrame
 
bool m_bHtmlMode
 
bool m_bLockUpdate
 
ColumnValueSet m_aDefaultVS
 
SwColExample m_aPgeExampleWN
 
SwColumnOnlyExample m_aFrameExampleWN
 
std::unique_ptr< weld::SpinButtonm_xCLNrEdt
 
std::unique_ptr< weld::CheckButtonm_xBalanceColsCB
 
std::unique_ptr< weld::Buttonm_xBtnBack
 
std::unique_ptr< weld::Labelm_xLbl1
 
std::unique_ptr< weld::Labelm_xLbl2
 
std::unique_ptr< weld::Labelm_xLbl3
 
std::unique_ptr< weld::Buttonm_xBtnNext
 
std::unique_ptr< weld::CheckButtonm_xAutoWidthBox
 
std::unique_ptr< weld::Labelm_xLineTypeLbl
 
std::unique_ptr< weld::Labelm_xLineWidthLbl
 
std::unique_ptr< weld::MetricSpinButtonm_xLineWidthEdit
 
std::unique_ptr< weld::Labelm_xLineColorLbl
 
std::unique_ptr< weld::Labelm_xLineHeightLbl
 
std::unique_ptr< weld::MetricSpinButtonm_xLineHeightEdit
 
std::unique_ptr< weld::Labelm_xLinePosLbl
 
std::unique_ptr< weld::ComboBoxm_xLinePosDLB
 
std::unique_ptr< weld::Labelm_xTextDirectionFT
 
std::unique_ptr< svx::FrameDirectionListBoxm_xTextDirectionLB
 
std::unique_ptr< ColorListBoxm_xLineColorDLB
 
std::unique_ptr< SvtLineListBoxm_xLineTypeDLB
 
std::unique_ptr< SwPercentFieldm_xEd1
 
std::unique_ptr< SwPercentFieldm_xEd2
 
std::unique_ptr< SwPercentFieldm_xEd3
 
std::unique_ptr< SwPercentFieldm_xDistEd1
 
std::unique_ptr< SwPercentFieldm_xDistEd2
 
std::unique_ptr< weld::CustomWeldm_xDefaultVS
 
std::unique_ptr< weld::CustomWeldm_xPgeExampleWN
 
std::unique_ptr< weld::CustomWeldm_xFrameExampleWN
 
std::unique_ptr< weld::Labelm_xApplyToFT
 
std::unique_ptr< weld::ComboBoxm_xApplyToLB
 

Static Private Attributes

static const sal_uInt16 aPageRg []
 

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 85 of file column.hxx.

Constructor & Destructor Documentation

SwColumnPage::SwColumnPage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
SwColumnPage::~SwColumnPage ( )
overridevirtual

Member Function Documentation

void SwColumnPage::ActivateColumnControl ( )
inline

Definition at line 195 of file column.hxx.

void SwColumnPage::ActivatePage ( const SfxItemSet rSet)
overrideprivatevirtual
void SwColumnPage::ColModify ( const weld::SpinButton pNF)
private
void SwColumnPage::connectPercentField ( SwPercentField rWrap)
private

Definition at line 537 of file column.cxx.

References SwPercentField::get(), and m_aPercentFieldsMap.

Referenced by SwColumnPage().

std::unique_ptr< SfxTabPage > SwColumnPage::Create ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rSet 
)
static
DeactivateRC SwColumnPage::DeactivatePage ( SfxItemSet pSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 1267 of file column.cxx.

References FillItemSet().

SwColumnPage::DECL_LINK ( ColModify  ,
weld::SpinButton ,
void   
)
private
SwColumnPage::DECL_LINK ( GapModify  ,
weld::MetricSpinButton ,
void   
)
private
SwColumnPage::DECL_LINK ( EdModify  ,
weld::MetricSpinButton ,
void   
)
private
SwColumnPage::DECL_LINK ( AutoWidthHdl  ,
weld::ToggleButton ,
void   
)
private
SwColumnPage::DECL_LINK ( SetDefaultsHdl  ,
SvtValueSet ,
void   
)
private
SwColumnPage::DECL_LINK ( Up  ,
weld::Button ,
void   
)
private
SwColumnPage::DECL_LINK ( Down  ,
weld::Button ,
void   
)
private
SwColumnPage::DECL_LINK ( UpdateColMgr  ,
weld::MetricSpinButton ,
void   
)
private
SwColumnPage::DECL_LINK ( UpdateColMgrListBox  ,
weld::ComboBox ,
void   
)
private
SwColumnPage::DECL_LINK ( UpdateColMgrLineBox  ,
SvtLineListBox ,
void   
)
private
SwColumnPage::DECL_LINK ( UpdateColMgrColorBox  ,
ColorListBox ,
void   
)
private
bool SwColumnPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 607 of file column.cxx.

References SfxTabPage::GetOldItem(), m_xBalanceColsCB, m_xColMgr, m_xTextDirectionLB, SfxItemSet::Put(), RES_COL, and RES_FRAMEDIR.

Referenced by DeactivatePage().

weld::ComboBox* SwColumnPage::GetApplyComboBox ( )
inline

Definition at line 201 of file column.hxx.

weld::Label* SwColumnPage::GetApplyLabel ( )
inline

Definition at line 200 of file column.hxx.

static const sal_uInt16* SwColumnPage::GetRanges ( )
inlinestatic

Definition at line 175 of file column.hxx.

References aPageRg.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

void SwColumnPage::Init ( void  )
private
bool SwColumnPage::isLineNotNone ( ) const
private

Definition at line 812 of file column.cxx.

References m_xLineTypeDLB.

Referenced by UpdateCols().

void SwColumnPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwColumnPage::ResetColWidth ( )
private

Definition at line 370 of file column.cxx.

References GetMaxWidth(), i, m_nCols, m_nColWidth, and m_xColMgr.

Referenced by ColModify().

void SwColumnPage::SetFormatUsed ( bool  bFormatUsed)
inline

Definition at line 183 of file column.hxx.

void SwColumnPage::SetFrameMode ( bool  bMod)

Definition at line 1310 of file column.cxx.

References m_bFrame.

void SwColumnPage::SetInSection ( bool  bSet)

Definition at line 1315 of file column.cxx.

References m_xTextDirectionFT, m_xTextDirectionLB, and SW_MOD.

void SwColumnPage::SetLabels ( sal_uInt16  nVis)
private

Definition at line 884 of file column.cxx.

References m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, m_xEd3, m_xLbl1, m_xLbl2, m_xLbl3, and SwResId().

Referenced by ColModify().

void SwColumnPage::SetPageWidth ( long  nPageWidth)

Definition at line 526 of file column.cxx.

References m_xDistEd1, m_xDistEd2, m_xEd1, m_xEd2, and m_xEd3.

Referenced by ActivatePage().

void SwColumnPage::ShowBalance ( bool  bShow)
inline

Definition at line 188 of file column.hxx.

void SwColumnPage::Timeout ( )
private
void SwColumnPage::Update ( const weld::MetricSpinButton pInteractiveField)
private
void SwColumnPage::UpdateCols ( )
private

Member Data Documentation

const sal_uInt16 SwColumnPage::aPageRg
staticprivate
Initial value:
= {
0
}

Definition at line 168 of file column.hxx.

Referenced by GetRanges().

ColumnValueSet SwColumnPage::m_aDefaultVS
private

Definition at line 102 of file column.hxx.

Referenced by ColModify(), and SwColumnPage().

SwColumnOnlyExample SwColumnPage::m_aFrameExampleWN
private

Definition at line 104 of file column.hxx.

std::map<weld::MetricSpinButton*, SwPercentField*> SwColumnPage::m_aPercentFieldsMap
private

Definition at line 95 of file column.hxx.

Referenced by connectPercentField().

SwColExample SwColumnPage::m_aPgeExampleWN
private

Definition at line 103 of file column.hxx.

Referenced by ActivatePage().

bool SwColumnPage::m_bFormat
private

Definition at line 97 of file column.hxx.

Referenced by ActivatePage(), and Reset().

bool SwColumnPage::m_bFrame
private

Definition at line 98 of file column.hxx.

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

bool SwColumnPage::m_bHtmlMode
private

Definition at line 99 of file column.hxx.

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

bool SwColumnPage::m_bLockUpdate
private

Definition at line 100 of file column.hxx.

long SwColumnPage::m_nColDist[nMaxCols]
private

Definition at line 92 of file column.hxx.

Referenced by ColModify(), Init(), and Update().

sal_uInt16 SwColumnPage::m_nCols
private

Definition at line 90 of file column.hxx.

Referenced by ColModify(), Init(), Reset(), ResetColWidth(), Timeout(), Update(), and UpdateCols().

long SwColumnPage::m_nColWidth[nMaxCols]
private

Definition at line 91 of file column.hxx.

Referenced by Init(), ResetColWidth(), Timeout(), and Update().

sal_uInt16 SwColumnPage::m_nFirstVis
private

Definition at line 89 of file column.hxx.

Referenced by ColModify(), Timeout(), and Update().

SwPercentField* SwColumnPage::m_pModifiedField
private

Definition at line 93 of file column.hxx.

Referenced by Timeout().

std::unique_ptr<weld::Label> SwColumnPage::m_xApplyToFT
private

Definition at line 136 of file column.hxx.

std::unique_ptr<weld::ComboBox> SwColumnPage::m_xApplyToLB
private

Definition at line 137 of file column.hxx.

std::unique_ptr<weld::CheckButton> SwColumnPage::m_xAutoWidthBox
private

Definition at line 113 of file column.hxx.

Referenced by Init(), Reset(), SwColumnPage(), and UpdateCols().

std::unique_ptr<weld::CheckButton> SwColumnPage::m_xBalanceColsCB
private

Definition at line 107 of file column.hxx.

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

std::unique_ptr<weld::Button> SwColumnPage::m_xBtnBack
private

Definition at line 108 of file column.hxx.

Referenced by SwColumnPage(), and UpdateCols().

std::unique_ptr<weld::Button> SwColumnPage::m_xBtnNext
private

Definition at line 112 of file column.hxx.

Referenced by SwColumnPage(), and UpdateCols().

std::unique_ptr<weld::SpinButton> SwColumnPage::m_xCLNrEdt
private

Definition at line 106 of file column.hxx.

Referenced by ColModify(), Init(), Reset(), and SwColumnPage().

std::unique_ptr<SwColMgr> SwColumnPage::m_xColMgr
private

Definition at line 87 of file column.hxx.

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

std::unique_ptr<weld::CustomWeld> SwColumnPage::m_xDefaultVS
private

Definition at line 131 of file column.hxx.

Referenced by ~SwColumnPage().

std::unique_ptr<SwPercentField> SwColumnPage::m_xDistEd1
private
std::unique_ptr<SwPercentField> SwColumnPage::m_xDistEd2
private
std::unique_ptr<SwPercentField> SwColumnPage::m_xEd1
private
std::unique_ptr<SwPercentField> SwColumnPage::m_xEd2
private
std::unique_ptr<SwPercentField> SwColumnPage::m_xEd3
private
std::unique_ptr<weld::CustomWeld> SwColumnPage::m_xFrameExampleWN
private

Definition at line 134 of file column.hxx.

Referenced by ActivatePage(), and ~SwColumnPage().

std::unique_ptr<weld::Label> SwColumnPage::m_xLbl1
private

Definition at line 109 of file column.hxx.

Referenced by SetLabels(), and UpdateCols().

std::unique_ptr<weld::Label> SwColumnPage::m_xLbl2
private

Definition at line 110 of file column.hxx.

Referenced by SetLabels(), and UpdateCols().

std::unique_ptr<weld::Label> SwColumnPage::m_xLbl3
private

Definition at line 111 of file column.hxx.

Referenced by SetLabels(), and UpdateCols().

std::unique_ptr<ColorListBox> SwColumnPage::m_xLineColorDLB
private

Definition at line 124 of file column.hxx.

Referenced by Init(), SwColumnPage(), UpdateCols(), and ~SwColumnPage().

std::unique_ptr<weld::Label> SwColumnPage::m_xLineColorLbl
private

Definition at line 117 of file column.hxx.

Referenced by UpdateCols().

std::unique_ptr<weld::MetricSpinButton> SwColumnPage::m_xLineHeightEdit
private

Definition at line 119 of file column.hxx.

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

std::unique_ptr<weld::Label> SwColumnPage::m_xLineHeightLbl
private

Definition at line 118 of file column.hxx.

Referenced by UpdateCols().

std::unique_ptr<weld::ComboBox> SwColumnPage::m_xLinePosDLB
private

Definition at line 121 of file column.hxx.

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

std::unique_ptr<weld::Label> SwColumnPage::m_xLinePosLbl
private

Definition at line 120 of file column.hxx.

Referenced by UpdateCols().

std::unique_ptr<SvtLineListBox> SwColumnPage::m_xLineTypeDLB
private

Definition at line 125 of file column.hxx.

Referenced by Init(), isLineNotNone(), SwColumnPage(), UpdateCols(), and ~SwColumnPage().

std::unique_ptr<weld::Label> SwColumnPage::m_xLineTypeLbl
private

Definition at line 114 of file column.hxx.

Referenced by UpdateCols().

std::unique_ptr<weld::MetricSpinButton> SwColumnPage::m_xLineWidthEdit
private

Definition at line 116 of file column.hxx.

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

std::unique_ptr<weld::Label> SwColumnPage::m_xLineWidthLbl
private

Definition at line 115 of file column.hxx.

Referenced by UpdateCols().

std::unique_ptr<weld::CustomWeld> SwColumnPage::m_xPgeExampleWN
private

Definition at line 133 of file column.hxx.

Referenced by ActivatePage(), and ~SwColumnPage().

std::unique_ptr<weld::Label> SwColumnPage::m_xTextDirectionFT
private

Definition at line 122 of file column.hxx.

Referenced by SetInSection().

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

Definition at line 123 of file column.hxx.

Referenced by FillItemSet(), Reset(), SetInSection(), SwColumnPage(), and ~SwColumnPage().


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