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 Reference

#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
 
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

void UpdatePageSize (const SfxItemSet &rSet)
 
void PutGridItem (SfxItemSet &rSet)
 
void GridModifyHdl ()
 
 DECL_LINK (GridTypeHdl, weld::ToggleButton &, void)
 
 DECL_LINK (CharorLineChangedHdl, weld::SpinButton &, void)
 
 DECL_LINK (TextSizeChangedHdl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ColorModifyHdl, ColorListBox &, void)
 
 DECL_LINK (GridModifyClickHdl, weld::ToggleButton &, void)
 
 DECL_LINK (DisplayGridHdl, weld::ToggleButton &, 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 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 29 of file pggrid.hxx.

Constructor & Destructor Documentation

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

Definition at line 127 of file pggrid.cxx.

References m_xColorLB.

Member Function Documentation

void SwTextGridPage::ActivatePage ( const SfxItemSet rSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 215 of file pggrid.cxx.

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

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

Definition at line 132 of file pggrid.cxx.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

DeactivateRC SwTextGridPage::DeactivatePage ( SfxItemSet pSet)
overridevirtual

Reimplemented from SfxTabPage.

Definition at line 224 of file pggrid.cxx.

SwTextGridPage::DECL_LINK ( GridTypeHdl  ,
weld::ToggleButton ,
void   
)
private
SwTextGridPage::DECL_LINK ( CharorLineChangedHdl  ,
weld::SpinButton ,
void   
)
private
SwTextGridPage::DECL_LINK ( TextSizeChangedHdl  ,
weld::MetricSpinButton ,
void   
)
private
SwTextGridPage::DECL_LINK ( ColorModifyHdl  ,
ColorListBox ,
void   
)
private
SwTextGridPage::DECL_LINK ( GridModifyClickHdl  ,
weld::ToggleButton ,
void   
)
private
SwTextGridPage::DECL_LINK ( DisplayGridHdl  ,
weld::ToggleButton ,
void   
)
private
bool SwTextGridPage::FillItemSet ( SfxItemSet rSet)
overridevirtual
const sal_uInt16 * SwTextGridPage::GetRanges ( )
static

Definition at line 332 of file pggrid.cxx.

References RES_TEXTGRID.

Referenced by SwTemplateDlgController::SwTemplateDlgController().

void SwTextGridPage::GridModifyHdl ( )
private
void SwTextGridPage::PutGridItem ( SfxItemSet rSet)
private
void SwTextGridPage::Reset ( const SfxItemSet rSet)
overridevirtual
void SwTextGridPage::SetLinesOrCharsRanges ( weld::Label rField,
const sal_Int32  nValue 
)
staticprivate

Definition at line 326 of file pggrid.cxx.

References weld::Label::set_label().

Referenced by Reset(), and UpdatePageSize().

void SwTextGridPage::UpdatePageSize ( const SfxItemSet rSet)
private

Member Data Documentation

SwPageGridExample SwTextGridPage::m_aExampleWN
private

Definition at line 39 of file pggrid.hxx.

Referenced by ActivatePage(), and GridModifyHdl().

Size SwTextGridPage::m_aPageSize
private

Definition at line 33 of file pggrid.hxx.

Referenced by UpdatePageSize().

bool SwTextGridPage::m_bHRulerChanged
private

Definition at line 36 of file pggrid.hxx.

Referenced by FillItemSet(), and PutGridItem().

bool SwTextGridPage::m_bRubyUserValue
private

Definition at line 32 of file pggrid.hxx.

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

bool SwTextGridPage::m_bSquaredMode
private

Definition at line 35 of file pggrid.hxx.

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

bool SwTextGridPage::m_bVertical
private

Definition at line 34 of file pggrid.hxx.

Referenced by UpdatePageSize().

bool SwTextGridPage::m_bVRulerChanged
private

Definition at line 37 of file pggrid.hxx.

Referenced by FillItemSet(), and PutGridItem().

sal_Int32 SwTextGridPage::m_nRubyUserValue
private

Definition at line 31 of file pggrid.hxx.

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

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

Definition at line 42 of file pggrid.hxx.

Referenced by Reset(), and SwTextGridPage().

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

Definition at line 49 of file pggrid.hxx.

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

Definition at line 50 of file pggrid.hxx.

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

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

Definition at line 51 of file pggrid.hxx.

Referenced by UpdatePageSize().

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

Definition at line 52 of file pggrid.hxx.

Referenced by SwTextGridPage().

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

Definition at line 53 of file pggrid.hxx.

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

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

Definition at line 60 of file pggrid.hxx.

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

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

Definition at line 58 of file pggrid.hxx.

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

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

Definition at line 57 of file pggrid.hxx.

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

Definition at line 44 of file pggrid.hxx.

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

Definition at line 45 of file pggrid.hxx.

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

Definition at line 41 of file pggrid.hxx.

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

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

Definition at line 46 of file pggrid.hxx.

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

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

Definition at line 47 of file pggrid.hxx.

Referenced by Reset(), and UpdatePageSize().

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

Definition at line 40 of file pggrid.hxx.

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

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

Definition at line 59 of file pggrid.hxx.

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

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

Definition at line 56 of file pggrid.hxx.

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

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

Definition at line 54 of file pggrid.hxx.

Referenced by SwTextGridPage().

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

Definition at line 55 of file pggrid.hxx.

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

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

Definition at line 43 of file pggrid.hxx.

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

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

Definition at line 48 of file pggrid.hxx.

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


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