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 (TabPageParent pWindow, const SfxItemSet &rInAttrs)
 
virtual ~SvxMeasurePage () override
 
virtual void dispose () 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 (TabPageParent pParent, const OUString &rUIXMLDescription, const OString &rID, const SfxItemSet &rAttrSet)
 

Static Public Member Functions

static VclPtr< SfxTabPageCreate (TabPageParent, const SfxItemSet *)
 
static const sal_uInt16 * GetRanges ()
 

Private Member Functions

void FillUnitLB ()
 
 DECL_LINK (ClickAutoPosHdl_Impl, weld::ToggleButton &, 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::ToggleButton &, 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 sal_uInt16 pRanges []
 

Detailed Description

Dialog for changing TextAttributes.

Definition at line 29 of file measure.hxx.

Constructor & Destructor Documentation

SvxMeasurePage::SvxMeasurePage ( TabPageParent  pWindow,
const SfxItemSet rInAttrs 
)
SvxMeasurePage::~SvxMeasurePage ( )
overridevirtual

Definition at line 131 of file measure.cxx.

Member Function Documentation

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

Definition at line 516 of file measure.cxx.

References DBG_ASSERT, m_aCtlPreview, and pView.

Referenced by PageCreated(), and SvxMeasureDialog::SvxMeasureDialog().

VclPtr< SfxTabPage > SvxMeasurePage::Create ( TabPageParent  pParent,
const SfxItemSet rAttrs 
)
static
SvxMeasurePage::DECL_LINK ( ClickAutoPosHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
SvxMeasurePage::DECL_LINK ( ChangeAttrEditHdl_Impl  ,
weld::MetricSpinButton ,
void   
)
private
SvxMeasurePage::DECL_LINK ( ChangeAttrSpinHdl_Impl  ,
weld::SpinButton ,
void   
)
private
SvxMeasurePage::DECL_LINK ( ChangeAttrListBoxHdl_Impl  ,
weld::ComboBox ,
void   
)
private
SvxMeasurePage::DECL_LINK ( ChangeAttrClickHdl_Impl  ,
weld::ToggleButton ,
void   
)
private
void SvxMeasurePage::dispose ( void  )
overridevirtual

Definition at line 136 of file measure.cxx.

References m_xCtlPosition, and m_xCtlPreview.

bool SvxMeasurePage::FillItemSet ( SfxItemSet rAttrs)
overridevirtual
void SvxMeasurePage::FillUnitLB ( )
private
static const sal_uInt16* SvxMeasurePage::GetRanges ( )
inlinestatic

Definition at line 75 of file measure.hxx.

References pRanges.

Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().

void SvxMeasurePage::PageCreated ( const SfxAllItemSet aSet)
overridevirtual

Definition at line 752 of file measure.cxx.

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

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

Implements SvxTabPage.

Definition at line 536 of file measure.cxx.

References ChangeAttrHdl_Impl().

void SvxMeasurePage::Reset ( const SfxItemSet rAttrs)
overridevirtual
void SvxMeasurePage::SetView ( const SdrView pSdrView)
inline

Definition at line 83 of file measure.hxx.

Referenced by PageCreated(), and SvxMeasureDialog::SvxMeasureDialog().

Member Data Documentation

SfxItemSet SvxMeasurePage::aAttrSet
private

Definition at line 35 of file measure.hxx.

Referenced by ChangeAttrHdl_Impl().

bool SvxMeasurePage::bPositionModified
private

Definition at line 39 of file measure.hxx.

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

MapUnit SvxMeasurePage::eUnit
private

Definition at line 37 of file measure.hxx.

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

SvxRectCtl SvxMeasurePage::m_aCtlPosition
private

Definition at line 41 of file measure.hxx.

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

SvxXMeasurePreview SvxMeasurePage::m_aCtlPreview
private

Definition at line 42 of file measure.hxx.

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

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

Definition at line 56 of file measure.hxx.

Referenced by dispose().

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

Definition at line 57 of file measure.hxx.

Referenced by dispose().

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

Definition at line 55 of file measure.hxx.

Referenced by FillUnitLB().

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

Definition at line 53 of file measure.hxx.

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

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

Definition at line 49 of file measure.hxx.

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

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

Definition at line 46 of file measure.hxx.

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

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

Definition at line 47 of file measure.hxx.

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

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

Definition at line 45 of file measure.hxx.

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

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

Definition at line 44 of file measure.hxx.

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

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

Definition at line 43 of file measure.hxx.

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

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

Definition at line 51 of file measure.hxx.

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

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

Definition at line 50 of file measure.hxx.

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

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

Definition at line 48 of file measure.hxx.

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

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

Definition at line 54 of file measure.hxx.

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

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

Definition at line 52 of file measure.hxx.

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

const sal_uInt16 SvxMeasurePage::pRanges
staticprivate
Initial value:

Definition at line 32 of file measure.hxx.

Referenced by GetRanges().

const SdrView* SvxMeasurePage::pView
private

Definition at line 36 of file measure.hxx.

Referenced by Construct().

const SfxItemSet& SvxMeasurePage::rOutAttrs
private

Definition at line 34 of file measure.hxx.

Referenced by FillItemSet().


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