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

Dialog for changing TextAttributes. More...

#include <measure.hxx>

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

Public Member Functions

 SvxMeasurePage (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet &rInAttrs)
 
virtual ~SvxMeasurePage () override
 
virtual bool FillItemSet (SfxItemSet *) override
 
virtual void Reset (const SfxItemSet *) override
 
virtual void PointChanged (weld::DrawingArea *pWindow, RectPoint eRP) override
 
void Construct ()
 
void SetView (const SdrView *pSdrView)
 
virtual void PageCreated (const SfxAllItemSet &aSet) override
 
- Public Member Functions inherited from SvxTabPage
 SvxTabPage (weld::Container *pPage, weld::DialogController *pController, const OUString &rUIXMLDescription, const OUString &rID, const SfxItemSet &rAttrSet)
 
virtual void PointChanged (weld::DrawingArea *pArea, RectPoint eRP)=0
 

Static Public Member Functions

static std::unique_ptr< SfxTabPageCreate (weld::Container *pPage, weld::DialogController *pController, const SfxItemSet *)
 
static WhichRangesContainer GetRanges ()
 

Private Member Functions

void FillUnitLB ()
 
 DECL_LINK (ClickAutoPosHdl_Impl, weld::Toggleable &, void)
 
 DECL_LINK (ChangeAttrEditHdl_Impl, weld::MetricSpinButton &, void)
 
 DECL_LINK (ChangeAttrSpinHdl_Impl, weld::SpinButton &, void)
 
 DECL_LINK (ChangeAttrListBoxHdl_Impl, weld::ComboBox &, void)
 
 DECL_LINK (ChangeAttrClickHdl_Impl, weld::Toggleable &, void)
 
void ChangeAttrHdl_Impl (void const *)
 

Private Attributes

const SfxItemSetrOutAttrs
 
SfxItemSet aAttrSet
 
const SdrViewpView
 
MapUnit eUnit
 
bool bPositionModified
 
SvxRectCtl m_aCtlPosition
 
SvxXMeasurePreview m_aCtlPreview
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldLineDist
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldHelplineOverhang
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldHelplineDist
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldHelpline1Len
 
std::unique_ptr< weld::MetricSpinButtonm_xMtrFldHelpline2Len
 
std::unique_ptr< weld::CheckButtonm_xTsbBelowRefEdge
 
std::unique_ptr< weld::SpinButtonm_xMtrFldDecimalPlaces
 
std::unique_ptr< weld::CheckButtonm_xTsbAutoPosV
 
std::unique_ptr< weld::CheckButtonm_xTsbAutoPosH
 
std::unique_ptr< weld::CheckButtonm_xTsbShowUnit
 
std::unique_ptr< weld::ComboBoxm_xLbUnit
 
std::unique_ptr< weld::CheckButtonm_xTsbParallel
 
std::unique_ptr< weld::Labelm_xFtAutomatic
 
std::unique_ptr< weld::CustomWeldm_xCtlPosition
 
std::unique_ptr< weld::CustomWeldm_xCtlPreview
 

Static Private Attributes

static const WhichRangesContainer pRanges
 

Detailed Description

Dialog for changing TextAttributes.

Definition at line 28 of file measure.hxx.

Constructor & Destructor Documentation

◆ SvxMeasurePage()

SvxMeasurePage::SvxMeasurePage ( weld::Container pPage,
weld::DialogController pController,
const SfxItemSet rInAttrs 
)

◆ ~SvxMeasurePage()

SvxMeasurePage::~SvxMeasurePage ( )
overridevirtual

Definition at line 130 of file measure.cxx.

References m_xCtlPosition, and m_xCtlPreview.

Member Function Documentation

◆ ChangeAttrHdl_Impl()

void SvxMeasurePage::ChangeAttrHdl_Impl ( void const *  p)
private

◆ Construct()

void SvxMeasurePage::Construct ( )

Definition at line 509 of file measure.cxx.

References DBG_ASSERT, m_aCtlPreview, and pView.

Referenced by PageCreated().

◆ Create()

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

Definition at line 523 of file measure.cxx.

Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().

◆ DECL_LINK() [1/5]

SvxMeasurePage::DECL_LINK ( ChangeAttrClickHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ DECL_LINK() [2/5]

SvxMeasurePage::DECL_LINK ( ChangeAttrEditHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private

◆ DECL_LINK() [3/5]

SvxMeasurePage::DECL_LINK ( ChangeAttrListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private

◆ DECL_LINK() [4/5]

SvxMeasurePage::DECL_LINK ( ChangeAttrSpinHdl_Impl  ,
weld::SpinButton ,
void   
)
private

◆ DECL_LINK() [5/5]

SvxMeasurePage::DECL_LINK ( ClickAutoPosHdl_Impl  ,
weld::Toggleable ,
void   
)
private

◆ FillItemSet()

bool SvxMeasurePage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual

◆ FillUnitLB()

void SvxMeasurePage::FillUnitLB ( )
private

◆ GetRanges()

static WhichRangesContainer SvxMeasurePage::GetRanges ( )
inlinestatic

Definition at line 73 of file measure.hxx.

References pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

◆ PageCreated()

void SvxMeasurePage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Definition at line 745 of file measure.cxx.

References Construct(), SfxItemSet::GetItem(), OfaPtrItem::GetValue(), and SetView().

◆ PointChanged()

void SvxMeasurePage::PointChanged ( weld::DrawingArea pWindow,
RectPoint  eRP 
)
overridevirtual

Implements SvxTabPage.

Definition at line 529 of file measure.cxx.

References ChangeAttrHdl_Impl().

◆ Reset()

void SvxMeasurePage::Reset ( const SfxItemSet rAttrs)
overridevirtual

◆ SetView()

void SvxMeasurePage::SetView ( const SdrView pSdrView)
inline

Definition at line 81 of file measure.hxx.

References pView.

Referenced by PageCreated().

Member Data Documentation

◆ aAttrSet

SfxItemSet SvxMeasurePage::aAttrSet
private

Definition at line 34 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl().

◆ bPositionModified

bool SvxMeasurePage::bPositionModified
private

Definition at line 38 of file measure.hxx.

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

◆ eUnit

MapUnit SvxMeasurePage::eUnit
private

Definition at line 36 of file measure.hxx.

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

◆ m_aCtlPosition

SvxRectCtl SvxMeasurePage::m_aCtlPosition
private

Definition at line 40 of file measure.hxx.

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

◆ m_aCtlPreview

SvxXMeasurePreview SvxMeasurePage::m_aCtlPreview
private

Definition at line 41 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), Construct(), Reset(), and SvxMeasurePage().

◆ m_xCtlPosition

std::unique_ptr<weld::CustomWeld> SvxMeasurePage::m_xCtlPosition
private

Definition at line 55 of file measure.hxx.

Referenced by ~SvxMeasurePage().

◆ m_xCtlPreview

std::unique_ptr<weld::CustomWeld> SvxMeasurePage::m_xCtlPreview
private

Definition at line 56 of file measure.hxx.

Referenced by ~SvxMeasurePage().

◆ m_xFtAutomatic

std::unique_ptr<weld::Label> SvxMeasurePage::m_xFtAutomatic
private

Definition at line 54 of file measure.hxx.

Referenced by FillUnitLB().

◆ m_xLbUnit

std::unique_ptr<weld::ComboBox> SvxMeasurePage::m_xLbUnit
private

Definition at line 52 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), FillUnitLB(), Reset(), and SvxMeasurePage().

◆ m_xMtrFldDecimalPlaces

std::unique_ptr<weld::SpinButton> SvxMeasurePage::m_xMtrFldDecimalPlaces
private

Definition at line 48 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xMtrFldHelpline1Len

std::unique_ptr<weld::MetricSpinButton> SvxMeasurePage::m_xMtrFldHelpline1Len
private

Definition at line 45 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xMtrFldHelpline2Len

std::unique_ptr<weld::MetricSpinButton> SvxMeasurePage::m_xMtrFldHelpline2Len
private

Definition at line 46 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xMtrFldHelplineDist

std::unique_ptr<weld::MetricSpinButton> SvxMeasurePage::m_xMtrFldHelplineDist
private

Definition at line 44 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xMtrFldHelplineOverhang

std::unique_ptr<weld::MetricSpinButton> SvxMeasurePage::m_xMtrFldHelplineOverhang
private

Definition at line 43 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xMtrFldLineDist

std::unique_ptr<weld::MetricSpinButton> SvxMeasurePage::m_xMtrFldLineDist
private

Definition at line 42 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xTsbAutoPosH

std::unique_ptr<weld::CheckButton> SvxMeasurePage::m_xTsbAutoPosH
private

Definition at line 50 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xTsbAutoPosV

std::unique_ptr<weld::CheckButton> SvxMeasurePage::m_xTsbAutoPosV
private

Definition at line 49 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xTsbBelowRefEdge

std::unique_ptr<weld::CheckButton> SvxMeasurePage::m_xTsbBelowRefEdge
private

Definition at line 47 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xTsbParallel

std::unique_ptr<weld::CheckButton> SvxMeasurePage::m_xTsbParallel
private

Definition at line 53 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ m_xTsbShowUnit

std::unique_ptr<weld::CheckButton> SvxMeasurePage::m_xTsbShowUnit
private

Definition at line 51 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().

◆ pRanges

const WhichRangesContainer SvxMeasurePage::pRanges
staticprivate

Definition at line 31 of file measure.hxx.

Referenced by GetRanges().

◆ pView

const SdrView* SvxMeasurePage::pView
private

Definition at line 35 of file measure.hxx.

Referenced by Construct(), and SetView().

◆ rOutAttrs

const SfxItemSet& SvxMeasurePage::rOutAttrs
private

Definition at line 33 of file measure.hxx.

Referenced by FillItemSet().


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