LibreOffice Module cui (master) 1
|
Dialog for changing TextAttributes. More...
#include <measure.hxx>
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< SfxTabPage > | Create (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 *) |
Static Private Attributes | |
static const WhichRangesContainer | pRanges |
Dialog for changing TextAttributes.
Definition at line 28 of file measure.hxx.
SvxMeasurePage::SvxMeasurePage | ( | weld::Container * | pPage, |
weld::DialogController * | pController, | ||
const SfxItemSet & | rInAttrs | ||
) |
Definition at line 66 of file measure.cxx.
References FillUnitLB(), GetModuleFieldUnit(), LINK, m_aCtlPreview, m_xLbUnit, m_xMtrFldDecimalPlaces, m_xMtrFldHelpline1Len, m_xMtrFldHelpline2Len, m_xMtrFldHelplineDist, m_xMtrFldHelplineOverhang, m_xMtrFldLineDist, m_xTsbAutoPosH, m_xTsbAutoPosV, m_xTsbBelowRefEdge, m_xTsbParallel, m_xTsbShowUnit, Map100thMM, MM, SvxXMeasurePreview::SetAttributes(), and SetFieldUnit().
|
overridevirtual |
Definition at line 130 of file measure.cxx.
References m_xCtlPosition, and m_xCtlPreview.
|
private |
Definition at line 601 of file measure.cxx.
References aAttrSet, bPositionModified, eUnit, SvxRectCtl::GetActualRP(), GetCoreValue(), m_aCtlPosition, m_aCtlPreview, m_xLbUnit, m_xMtrFldDecimalPlaces, m_xMtrFldHelpline1Len, m_xMtrFldHelpline2Len, m_xMtrFldHelplineDist, m_xMtrFldHelplineOverhang, m_xMtrFldLineDist, m_xTsbAutoPosH, m_xTsbAutoPosV, m_xTsbBelowRefEdge, m_xTsbParallel, m_xTsbShowUnit, makeSdrMeasureHelpline1LenItem(), makeSdrMeasureHelpline2LenItem(), makeSdrMeasureHelplineDistItem(), makeSdrMeasureHelplineOverhangItem(), makeSdrMeasureLineDistItem(), nPos, nState, nValue, p, SfxItemSet::Put(), SDRATTR_MEASURESHOWUNIT(), SvxXMeasurePreview::SetAttributes(), SvxRectCtl::SetState(), TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
Referenced by PointChanged(), and Reset().
void SvxMeasurePage::Construct | ( | ) |
Definition at line 509 of file measure.cxx.
References DBG_ASSERT, m_aCtlPreview, and pView.
Referenced by PageCreated().
|
static |
Definition at line 523 of file measure.cxx.
Referenced by AbstractDialogFactory_Impl::GetTabPageCreatorFunc().
|
private |
|
private |
|
private |
|
private |
|
private |
|
overridevirtual |
Definition at line 350 of file measure.cxx.
References bPositionModified, eUnit, SfxItemSet::Get(), SvxRectCtl::GetActualRP(), GetCoreValue(), SfxItemSet::GetItemState(), m_aCtlPosition, m_xLbUnit, m_xMtrFldDecimalPlaces, m_xMtrFldHelpline1Len, m_xMtrFldHelpline2Len, m_xMtrFldHelplineDist, m_xMtrFldHelplineOverhang, m_xMtrFldLineDist, m_xTsbAutoPosH, m_xTsbAutoPosV, m_xTsbBelowRefEdge, m_xTsbParallel, m_xTsbShowUnit, makeSdrMeasureHelpline1LenItem(), makeSdrMeasureHelpline2LenItem(), makeSdrMeasureHelplineDistItem(), makeSdrMeasureHelplineOverhangItem(), makeSdrMeasureLineDistItem(), nPos, nValue, SfxItemSet::Put(), rOutAttrs, SDRATTR_MEASURESHOWUNIT(), SDRATTR_MEASURETEXTHPOS(), SDRATTR_MEASURETEXTVPOS(), TRISTATE_FALSE, and TRISTATE_TRUE.
|
private |
Definition at line 729 of file measure.cxx.
References SvxFieldUnitTable::Count(), SvxFieldUnitTable::GetString(), SvxFieldUnitTable::GetValue(), i, m_xFtAutomatic, and m_xLbUnit.
Referenced by SvxMeasurePage().
|
inlinestatic |
Definition at line 73 of file measure.hxx.
References pRanges.
Referenced by AbstractDialogFactory_Impl::GetTabPageRangesFunc().
|
overridevirtual |
Definition at line 745 of file measure.cxx.
References Construct(), SfxItemSet::GetItem(), OfaPtrItem::GetValue(), and SetView().
|
overridevirtual |
|
overridevirtual |
Definition at line 142 of file measure.cxx.
References bPositionModified, ChangeAttrHdl_Impl(), DBG_ASSERT, eUnit, SfxItemSet::Get(), SfxItemPool::GetDefaultItem(), GetItem(), SfxItemSet::GetItemState(), SfxItemPool::GetMetric(), SfxItemSet::GetPool(), GetValue(), i, m_aCtlPosition, m_aCtlPreview, m_xLbUnit, m_xMtrFldDecimalPlaces, m_xMtrFldHelpline1Len, m_xMtrFldHelpline2Len, m_xMtrFldHelplineDist, m_xMtrFldHelplineOverhang, m_xMtrFldLineDist, m_xTsbAutoPosH, m_xTsbAutoPosV, m_xTsbBelowRefEdge, m_xTsbParallel, m_xTsbShowUnit, nState, SvxRectCtl::Reset(), SDRATTR_MEASUREBELOWREFEDGE(), SDRATTR_MEASUREDECIMALPLACES(), SDRATTR_MEASUREHELPLINE1LEN(), SDRATTR_MEASUREHELPLINE2LEN(), SDRATTR_MEASUREHELPLINEDIST(), SDRATTR_MEASUREHELPLINEOVERHANG(), SDRATTR_MEASURELINEDIST(), SDRATTR_MEASURESHOWUNIT(), SDRATTR_MEASURETEXTHPOS(), SDRATTR_MEASURETEXTROTA90(), SDRATTR_MEASURETEXTVPOS(), SDRATTR_MEASUREUNIT(), SvxRectCtl::SetActualRP(), SvxXMeasurePreview::SetAttributes(), SetMetricValue(), SvxRectCtl::SetState(), TRISTATE_FALSE, TRISTATE_INDET, and TRISTATE_TRUE.
|
inline |
|
private |
Definition at line 34 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl().
|
private |
Definition at line 38 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), and Reset().
|
private |
Definition at line 36 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), and Reset().
|
private |
Definition at line 40 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), and Reset().
|
private |
Definition at line 41 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), Construct(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 55 of file measure.hxx.
Referenced by ~SvxMeasurePage().
|
private |
Definition at line 56 of file measure.hxx.
Referenced by ~SvxMeasurePage().
|
private |
Definition at line 54 of file measure.hxx.
Referenced by FillUnitLB().
|
private |
Definition at line 52 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), FillUnitLB(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 48 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 45 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 46 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 44 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 43 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 42 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 50 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 49 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 47 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 53 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
private |
Definition at line 51 of file measure.hxx.
Referenced by ChangeAttrHdl_Impl(), FillItemSet(), Reset(), and SvxMeasurePage().
|
staticprivate |
Definition at line 31 of file measure.hxx.
Referenced by GetRanges().
|
private |
Definition at line 35 of file measure.hxx.
Referenced by Construct(), and SetView().
|
private |
Definition at line 33 of file measure.hxx.
Referenced by FillItemSet().