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 Referencefinal

#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 (tools::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
 
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 *rSet)
 
static WhichRangesContainer 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 (bool bForceColReset)
 
 DECL_LINK (GapModify, weld::MetricSpinButton &, void)
 
 DECL_LINK (EdModify, weld::MetricSpinButton &, void)
 
 DECL_LINK (AutoWidthHdl, weld::Toggleable &, void)
 
 DECL_LINK (SetDefaultsHdl, ValueSet *, 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
 
tools::Long m_nColWidth [nMaxCols]
 
tools::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 WhichRangesContainer s_aPageRg
 

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

Constructor & Destructor Documentation

◆ SwColumnPage()

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

Definition at line 369 of file column.cxx.

References SfxTabPage::GetDialogController(), PERCENT(), POINT, and rSet.

◆ ~SwColumnPage()

SwColumnPage::~SwColumnPage ( )
overridevirtual

Member Function Documentation

◆ ActivateColumnControl()

void SwColumnPage::ActivateColumnControl ( )
inline

Definition at line 194 of file column.hxx.

References m_xCLNrEdt.

◆ ActivatePage()

void SwColumnPage::ActivatePage ( const SfxItemSet rSet)
overrideprivatevirtual

◆ ColModify()

void SwColumnPage::ColModify ( bool  bForceColReset)
private

◆ connectPercentField()

void SwColumnPage::connectPercentField ( SwPercentField rWrap)
private

Definition at line 522 of file column.cxx.

References SwPercentField::get(), and m_aPercentFieldsMap.

◆ Create()

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

◆ DeactivatePage()

DeactivateRC SwColumnPage::DeactivatePage ( SfxItemSet pSet)
overrideprivatevirtual

Reimplemented from SfxTabPage.

Definition at line 1251 of file column.cxx.

References FillItemSet().

◆ DECL_LINK() [1/11]

SwColumnPage::DECL_LINK ( AutoWidthHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/11]

SwColumnPage::DECL_LINK ( ColModify  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [3/11]

SwColumnPage::DECL_LINK ( Down  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [4/11]

SwColumnPage::DECL_LINK ( EdModify  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [5/11]

SwColumnPage::DECL_LINK ( GapModify  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [6/11]

SwColumnPage::DECL_LINK ( SetDefaultsHdl  ,
ValueSet ,
void   
)
private

◆ DECL_LINK() [7/11]

SwColumnPage::DECL_LINK ( Up  ,
weld::Button ,
void   
)
private

◆ DECL_LINK() [8/11]

SwColumnPage::DECL_LINK ( UpdateColMgr  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [9/11]

SwColumnPage::DECL_LINK ( UpdateColMgrColorBox  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [10/11]

SwColumnPage::DECL_LINK ( UpdateColMgrLineBox  ,
SvtLineListBox ,
void   
)
private

◆ DECL_LINK() [11/11]

SwColumnPage::DECL_LINK ( UpdateColMgrListBox  ,
weld::ComboBox ,
void   
)
private

◆ FillItemSet()

bool SwColumnPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ GetApplyComboBox()

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

Definition at line 200 of file column.hxx.

References m_xApplyToLB.

◆ GetApplyLabel()

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

Definition at line 199 of file column.hxx.

References m_xApplyToFT.

◆ GetRanges()

static WhichRangesContainer SwColumnPage::GetRanges ( )
inlinestatic

Definition at line 174 of file column.hxx.

References s_aPageRg.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

◆ Init()

void SwColumnPage::Init ( void  )
private

◆ isLineNotNone()

bool SwColumnPage::isLineNotNone ( ) const
private

Definition at line 796 of file column.cxx.

References m_xLineTypeDLB.

Referenced by UpdateCols().

◆ Reset()

void SwColumnPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ ResetColWidth()

void SwColumnPage::ResetColWidth ( )
private

Definition at line 354 of file column.cxx.

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

Referenced by ColModify().

◆ SetFormatUsed()

void SwColumnPage::SetFormatUsed ( bool  bFormatUsed)
inline

Definition at line 182 of file column.hxx.

References m_bFormat.

◆ SetFrameMode()

void SwColumnPage::SetFrameMode ( bool  bMod)

Definition at line 1294 of file column.cxx.

References m_bFrame.

◆ SetInSection()

void SwColumnPage::SetInSection ( bool  bSet)

◆ SetLabels()

void SwColumnPage::SetLabels ( sal_uInt16  nVis)
private

Definition at line 868 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().

◆ SetPageWidth()

void SwColumnPage::SetPageWidth ( tools::Long  nPageWidth)

Definition at line 511 of file column.cxx.

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

Referenced by ActivatePage().

◆ ShowBalance()

void SwColumnPage::ShowBalance ( bool  bShow)
inline

Definition at line 187 of file column.hxx.

References m_xBalanceColsCB.

◆ Timeout()

void SwColumnPage::Timeout ( )
private

◆ Update()

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

◆ UpdateCols()

void SwColumnPage::UpdateCols ( )
private

Member Data Documentation

◆ m_aDefaultVS

ColumnValueSet SwColumnPage::m_aDefaultVS
private

Definition at line 101 of file column.hxx.

Referenced by ColModify().

◆ m_aFrameExampleWN

SwColumnOnlyExample SwColumnPage::m_aFrameExampleWN
private

Definition at line 103 of file column.hxx.

◆ m_aPercentFieldsMap

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

Definition at line 94 of file column.hxx.

Referenced by connectPercentField().

◆ m_aPgeExampleWN

SwColExample SwColumnPage::m_aPgeExampleWN
private

Definition at line 102 of file column.hxx.

Referenced by ActivatePage().

◆ m_bFormat

bool SwColumnPage::m_bFormat
private

Definition at line 96 of file column.hxx.

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

◆ m_bFrame

bool SwColumnPage::m_bFrame
private

Definition at line 97 of file column.hxx.

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

◆ m_bHtmlMode

bool SwColumnPage::m_bHtmlMode
private

Definition at line 98 of file column.hxx.

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

◆ m_bLockUpdate

bool SwColumnPage::m_bLockUpdate
private

Definition at line 99 of file column.hxx.

◆ m_nColDist

tools::Long SwColumnPage::m_nColDist[nMaxCols]
private

Definition at line 91 of file column.hxx.

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

◆ m_nCols

sal_uInt16 SwColumnPage::m_nCols
private

Definition at line 89 of file column.hxx.

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

◆ m_nColWidth

tools::Long SwColumnPage::m_nColWidth[nMaxCols]
private

Definition at line 90 of file column.hxx.

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

◆ m_nFirstVis

sal_uInt16 SwColumnPage::m_nFirstVis
private

Definition at line 88 of file column.hxx.

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

◆ m_pModifiedField

SwPercentField* SwColumnPage::m_pModifiedField
private

Definition at line 92 of file column.hxx.

Referenced by Timeout().

◆ m_xApplyToFT

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

Definition at line 135 of file column.hxx.

Referenced by GetApplyLabel().

◆ m_xApplyToLB

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

Definition at line 136 of file column.hxx.

Referenced by GetApplyComboBox().

◆ m_xAutoWidthBox

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

Definition at line 112 of file column.hxx.

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

◆ m_xBalanceColsCB

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

Definition at line 106 of file column.hxx.

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

◆ m_xBtnBack

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

Definition at line 107 of file column.hxx.

Referenced by UpdateCols().

◆ m_xBtnNext

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

Definition at line 111 of file column.hxx.

Referenced by UpdateCols().

◆ m_xCLNrEdt

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

Definition at line 105 of file column.hxx.

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

◆ m_xColMgr

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

Definition at line 86 of file column.hxx.

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

◆ m_xDefaultVS

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

Definition at line 130 of file column.hxx.

Referenced by ~SwColumnPage().

◆ m_xDistEd1

std::unique_ptr<SwPercentField> SwColumnPage::m_xDistEd1
private

◆ m_xDistEd2

std::unique_ptr<SwPercentField> SwColumnPage::m_xDistEd2
private

Definition at line 129 of file column.hxx.

Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), Update(), UpdateCols(), and ~SwColumnPage().

◆ m_xEd1

std::unique_ptr<SwPercentField> SwColumnPage::m_xEd1
private

Definition at line 125 of file column.hxx.

Referenced by ActivatePage(), Reset(), SetLabels(), SetPageWidth(), Update(), UpdateCols(), and ~SwColumnPage().

◆ m_xEd2

std::unique_ptr<SwPercentField> SwColumnPage::m_xEd2
private

◆ m_xEd3

std::unique_ptr<SwPercentField> SwColumnPage::m_xEd3
private

◆ m_xFrameExampleWN

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

Definition at line 133 of file column.hxx.

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

◆ m_xLbl1

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

Definition at line 108 of file column.hxx.

Referenced by SetLabels(), and UpdateCols().

◆ m_xLbl2

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

Definition at line 109 of file column.hxx.

Referenced by SetLabels(), and UpdateCols().

◆ m_xLbl3

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

Definition at line 110 of file column.hxx.

Referenced by SetLabels(), and UpdateCols().

◆ m_xLineColorDLB

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

Definition at line 123 of file column.hxx.

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

◆ m_xLineColorLbl

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

Definition at line 116 of file column.hxx.

Referenced by UpdateCols().

◆ m_xLineHeightEdit

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

Definition at line 118 of file column.hxx.

Referenced by Init(), and UpdateCols().

◆ m_xLineHeightLbl

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

Definition at line 117 of file column.hxx.

Referenced by UpdateCols().

◆ m_xLinePosDLB

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

Definition at line 120 of file column.hxx.

Referenced by Init(), and UpdateCols().

◆ m_xLinePosLbl

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

Definition at line 119 of file column.hxx.

Referenced by UpdateCols().

◆ m_xLineTypeDLB

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

Definition at line 124 of file column.hxx.

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

◆ m_xLineTypeLbl

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

Definition at line 113 of file column.hxx.

Referenced by UpdateCols().

◆ m_xLineWidthEdit

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

Definition at line 115 of file column.hxx.

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

◆ m_xLineWidthLbl

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

Definition at line 114 of file column.hxx.

Referenced by UpdateCols().

◆ m_xPgeExampleWN

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

Definition at line 132 of file column.hxx.

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

◆ m_xTextDirectionFT

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

Definition at line 121 of file column.hxx.

Referenced by SetInSection().

◆ m_xTextDirectionLB

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

Definition at line 122 of file column.hxx.

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

◆ s_aPageRg

const WhichRangesContainer SwColumnPage::s_aPageRg
staticprivate

Definition at line 167 of file column.hxx.

Referenced by GetRanges().


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