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

#include <pggrid.hxx>

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

Public Member Functions

 SwTextGridPage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rSet)
 
virtual ~SwTextGridPage () 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 *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

void UpdatePageSize (const SfxItemSet &rSet)
 
void PutGridItem (SfxItemSet &rSet)
 
void GridModifyHdl ()
 
 DECL_LINK (GridTypeHdl, weld::Toggleable &, void)
 
 DECL_LINK (CharorLineChangedHdl, weld::SpinButton &, void)
 
 DECL_LINK (TextSizeChangedHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ColorModifyHdl, ColorListBox &, void)
 
 DECL_LINK (GridModifyClickHdl, weld::Toggleable &, void)
 
 DECL_LINK (DisplayGridHdl, weld::Toggleable &, void)
 

Static Private Member Functions

static void SetLinesOrCharsRanges (weld::Label &rField, const sal_Int32 nValue)
 

Private Attributes

sal_Int32 m_nRubyUserValue
 
bool m_bRubyUserValue
 
Size m_aPageSize
 
bool m_bVertical
 
bool m_bSquaredMode
 
bool m_bHRulerChanged
 
bool m_bVRulerChanged
 
SwPageGridExample m_aExampleWN
 
std::unique_ptr< weld::RadioButtonm_xNoGridRB
 
std::unique_ptr< weld::RadioButtonm_xLinesGridRB
 
std::unique_ptr< weld::RadioButtonm_xCharsGridRB
 
std::unique_ptr< weld::CheckButtonm_xSnapToCharsCB
 
std::unique_ptr< weld::CustomWeldm_xExampleWN
 
std::unique_ptr< weld::Widgetm_xLayoutFL
 
std::unique_ptr< weld::SpinButtonm_xLinesPerPageNF
 
std::unique_ptr< weld::Labelm_xLinesRangeFT
 
std::unique_ptr< weld::MetricSpinButtonm_xTextSizeMF
 
std::unique_ptr< weld::Labelm_xCharsPerLineFT
 
std::unique_ptr< weld::SpinButtonm_xCharsPerLineNF
 
std::unique_ptr< weld::Labelm_xCharsRangeFT
 
std::unique_ptr< weld::Labelm_xCharWidthFT
 
std::unique_ptr< weld::MetricSpinButtonm_xCharWidthMF
 
std::unique_ptr< weld::Labelm_xRubySizeFT
 
std::unique_ptr< weld::MetricSpinButtonm_xRubySizeMF
 
std::unique_ptr< weld::CheckButtonm_xRubyBelowCB
 
std::unique_ptr< weld::Widgetm_xDisplayFL
 
std::unique_ptr< weld::CheckButtonm_xDisplayCB
 
std::unique_ptr< weld::CheckButtonm_xPrintCB
 
std::unique_ptr< ColorListBoxm_xColorLB
 

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 29 of file pggrid.hxx.

Constructor & Destructor Documentation

◆ SwTextGridPage()

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

Definition at line 40 of file pggrid.cxx.

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

◆ ~SwTextGridPage()

SwTextGridPage::~SwTextGridPage ( )
overridevirtual

Definition at line 121 of file pggrid.cxx.

References m_xColorLB.

Member Function Documentation

◆ ActivatePage()

void SwTextGridPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 211 of file pggrid.cxx.

References m_aExampleWN, rSet, SwPageGridExample::UpdateExample(), and UpdatePageSize().

◆ Create()

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

Definition at line 126 of file pggrid.cxx.

References rSet.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

◆ DeactivatePage()

DeactivateRC SwTextGridPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 220 of file pggrid.cxx.

◆ DECL_LINK() [1/6]

SwTextGridPage::DECL_LINK ( CharorLineChangedHdl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [2/6]

SwTextGridPage::DECL_LINK ( ColorModifyHdl  ,
ColorListBox ,
void   
)
private

◆ DECL_LINK() [3/6]

SwTextGridPage::DECL_LINK ( DisplayGridHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [4/6]

SwTextGridPage::DECL_LINK ( GridModifyClickHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [5/6]

SwTextGridPage::DECL_LINK ( GridTypeHdl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [6/6]

SwTextGridPage::DECL_LINK ( TextSizeChangedHdl  ,
weld::MetricSpinButton ,
void   
)
private

◆ FillItemSet()

bool SwTextGridPage::FillItemSet ( SfxItemSet rSet)
overridevirtual

◆ GetRanges()

WhichRangesContainer SwTextGridPage::GetRanges ( )
static

Definition at line 353 of file pggrid.cxx.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

◆ GridModifyHdl()

void SwTextGridPage::GridModifyHdl ( )
private

◆ PutGridItem()

void SwTextGridPage::PutGridItem ( SfxItemSet rSet)
private

◆ Reset()

void SwTextGridPage::Reset ( const SfxItemSet rSet)
overridevirtual

◆ SetLinesOrCharsRanges()

void SwTextGridPage::SetLinesOrCharsRanges ( weld::Label rField,
const sal_Int32  nValue 
)
staticprivate

Definition at line 347 of file pggrid.cxx.

References nValue, and weld::Label::set_label().

Referenced by Reset(), and UpdatePageSize().

◆ UpdatePageSize()

void SwTextGridPage::UpdatePageSize ( const SfxItemSet rSet)
private

Member Data Documentation

◆ m_aExampleWN

SwPageGridExample SwTextGridPage::m_aExampleWN
private

Definition at line 39 of file pggrid.hxx.

Referenced by ActivatePage(), and GridModifyHdl().

◆ m_aPageSize

Size SwTextGridPage::m_aPageSize
private

Definition at line 33 of file pggrid.hxx.

Referenced by UpdatePageSize().

◆ m_bHRulerChanged

bool SwTextGridPage::m_bHRulerChanged
private

Definition at line 36 of file pggrid.hxx.

Referenced by FillItemSet(), and PutGridItem().

◆ m_bRubyUserValue

bool SwTextGridPage::m_bRubyUserValue
private

Definition at line 32 of file pggrid.hxx.

Referenced by PutGridItem(), Reset(), and UpdatePageSize().

◆ m_bSquaredMode

bool SwTextGridPage::m_bSquaredMode
private

Definition at line 35 of file pggrid.hxx.

Referenced by PutGridItem(), and UpdatePageSize().

◆ m_bVertical

bool SwTextGridPage::m_bVertical
private

Definition at line 34 of file pggrid.hxx.

Referenced by UpdatePageSize().

◆ m_bVRulerChanged

bool SwTextGridPage::m_bVRulerChanged
private

Definition at line 37 of file pggrid.hxx.

Referenced by FillItemSet(), and PutGridItem().

◆ m_nRubyUserValue

sal_Int32 SwTextGridPage::m_nRubyUserValue
private

Definition at line 31 of file pggrid.hxx.

Referenced by PutGridItem(), Reset(), and UpdatePageSize().

◆ m_xCharsGridRB

std::unique_ptr<weld::RadioButton> SwTextGridPage::m_xCharsGridRB
private

Definition at line 42 of file pggrid.hxx.

Referenced by Reset().

◆ m_xCharsPerLineFT

std::unique_ptr<weld::Label> SwTextGridPage::m_xCharsPerLineFT
private

Definition at line 49 of file pggrid.hxx.

◆ m_xCharsPerLineNF

std::unique_ptr<weld::SpinButton> SwTextGridPage::m_xCharsPerLineNF
private

Definition at line 50 of file pggrid.hxx.

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

◆ m_xCharsRangeFT

std::unique_ptr<weld::Label> SwTextGridPage::m_xCharsRangeFT
private

Definition at line 51 of file pggrid.hxx.

Referenced by UpdatePageSize().

◆ m_xCharWidthFT

std::unique_ptr<weld::Label> SwTextGridPage::m_xCharWidthFT
private

Definition at line 52 of file pggrid.hxx.

◆ m_xCharWidthMF

std::unique_ptr<weld::MetricSpinButton> SwTextGridPage::m_xCharWidthMF
private

Definition at line 53 of file pggrid.hxx.

Referenced by FillItemSet(), PutGridItem(), Reset(), and UpdatePageSize().

◆ m_xColorLB

std::unique_ptr<ColorListBox> SwTextGridPage::m_xColorLB
private

Definition at line 60 of file pggrid.hxx.

Referenced by FillItemSet(), PutGridItem(), Reset(), and ~SwTextGridPage().

◆ m_xDisplayCB

std::unique_ptr<weld::CheckButton> SwTextGridPage::m_xDisplayCB
private

Definition at line 58 of file pggrid.hxx.

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

◆ m_xDisplayFL

std::unique_ptr<weld::Widget> SwTextGridPage::m_xDisplayFL
private

Definition at line 57 of file pggrid.hxx.

◆ m_xExampleWN

std::unique_ptr<weld::CustomWeld> SwTextGridPage::m_xExampleWN
private

Definition at line 44 of file pggrid.hxx.

◆ m_xLayoutFL

std::unique_ptr<weld::Widget> SwTextGridPage::m_xLayoutFL
private

Definition at line 45 of file pggrid.hxx.

◆ m_xLinesGridRB

std::unique_ptr<weld::RadioButton> SwTextGridPage::m_xLinesGridRB
private

Definition at line 41 of file pggrid.hxx.

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

◆ m_xLinesPerPageNF

std::unique_ptr<weld::SpinButton> SwTextGridPage::m_xLinesPerPageNF
private

Definition at line 46 of file pggrid.hxx.

Referenced by FillItemSet(), PutGridItem(), Reset(), and UpdatePageSize().

◆ m_xLinesRangeFT

std::unique_ptr<weld::Label> SwTextGridPage::m_xLinesRangeFT
private

Definition at line 47 of file pggrid.hxx.

Referenced by Reset(), and UpdatePageSize().

◆ m_xNoGridRB

std::unique_ptr<weld::RadioButton> SwTextGridPage::m_xNoGridRB
private

Definition at line 40 of file pggrid.hxx.

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

◆ m_xPrintCB

std::unique_ptr<weld::CheckButton> SwTextGridPage::m_xPrintCB
private

Definition at line 59 of file pggrid.hxx.

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

◆ m_xRubyBelowCB

std::unique_ptr<weld::CheckButton> SwTextGridPage::m_xRubyBelowCB
private

Definition at line 56 of file pggrid.hxx.

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

◆ m_xRubySizeFT

std::unique_ptr<weld::Label> SwTextGridPage::m_xRubySizeFT
private

Definition at line 54 of file pggrid.hxx.

◆ m_xRubySizeMF

std::unique_ptr<weld::MetricSpinButton> SwTextGridPage::m_xRubySizeMF
private

Definition at line 55 of file pggrid.hxx.

Referenced by FillItemSet(), PutGridItem(), Reset(), and UpdatePageSize().

◆ m_xSnapToCharsCB

std::unique_ptr<weld::CheckButton> SwTextGridPage::m_xSnapToCharsCB
private

Definition at line 43 of file pggrid.hxx.

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

◆ m_xTextSizeMF

std::unique_ptr<weld::MetricSpinButton> SwTextGridPage::m_xTextSizeMF
private

Definition at line 48 of file pggrid.hxx.

Referenced by FillItemSet(), PutGridItem(), Reset(), and UpdatePageSize().


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