Home
last modified time | relevance | path

Searched refs:FieldUnit (Results 1 – 25 of 168) sorted by relevance

1234567

/trunk/main/vcl/inc/vcl/
H A Dfield.hxx237 FieldUnit meUnit;
254 void SetUnit( FieldUnit meUnit );
255 FieldUnit GetUnit() const { return meUnit; } in GetUnit()
263 sal_Int64 GetMax( FieldUnit eOutUnit ) const;
267 sal_Int64 GetMin( FieldUnit eOutUnit ) const;
275 virtual sal_Int64 GetValue( FieldUnit eOutUnit ) const;
574 sal_Int64 GetLast( FieldUnit eOutUnit ) const;
578 static FieldUnit GetDefaultUnit();
580 FieldUnit eInUnit, FieldUnit eOutUnit );
589 FieldUnit eInUnit, FieldUnit eOutUnit );
[all …]
/trunk/main/vcl/source/control/
H A Dfield.cxx1138 static const String& ImplMetricToString( FieldUnit rUnit ) in ImplMetricToString()
1175 static FieldUnit ImplMetricGetUnit( const XubString& rStr ) in ImplMetricGetUnit()
1206 static FieldUnit eDefaultUnit = FUNIT_NONE;
1255 FieldUnit eInUnit, FieldUnit eOutUnit ) in ConvertValue()
1296 FieldUnit eInUnit, FieldUnit eOutUnit ) in ConvertDoubleValue()
1468 FieldUnit eEntryUnit = ImplMetricGetUnit( rStr ); in ImplMetricGetValue()
1536 meUnit = (FieldUnit)pMgr->ReadLong(); in ImplLoadRes()
1551 void MetricFormatter::SetUnit( FieldUnit eNewUnit ) in SetUnit()
1799 sal_Int64 MetricField::GetFirst( FieldUnit eOutUnit ) const in GetFirst()
1818 sal_Int64 MetricField::GetLast( FieldUnit eOutUnit ) const in GetLast()
[all …]
/trunk/main/sw/source/ui/inc/
H A Dprcntfld.hxx41 FieldUnit eOldUnit;
57 virtual void SetValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE);
61 void SetPrcntValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE);
63 void SetUserValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE);
65 void SetBaseValue(sal_Int64 nNewValue, FieldUnit eInUnit = FUNIT_NONE);
67 sal_Int64 GetValue(FieldUnit eOutUnit = FUNIT_NONE);
72 void SetMax(sal_Int64 nNewMax, FieldUnit eInUnit = FUNIT_NONE);
75 void SetMin(sal_Int64 nNewMin, FieldUnit eInUnit = FUNIT_NONE);
82 sal_Int64 GetRealValue(FieldUnit eOutUnit = FUNIT_NONE);
84 sal_Int64 Convert(sal_Int64 nValue, FieldUnit eInUnit, FieldUnit eOutUnit);
H A Dusrpref.hxx137 FieldUnit eUserMetric;
138 FieldUnit eHScrollMetric;
140 FieldUnit eVScrollMetric;
229 FieldUnit GetMetric() const { return eUserMetric;} in GetMetric()
230 void SetMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) in SetMetric()
238FieldUnit GetHScrollMetric() const { return bIsHScrollMetricSet ? eHScrollMetric : eUserMetric;} in GetHScrollMetric()
239 void SetHScrollMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) in SetHScrollMetric()
247FieldUnit GetVScrollMetric() const { return bIsVScrollMetricSet ? eVScrollMetric : eUserMetric;} in GetVScrollMetric()
248 void SetVScrollMetric(FieldUnit eSet, sal_Bool bNoModify = sal_False) in SetVScrollMetric()
H A Duitool.hxx45 SW_DLLPUBLIC void SetMetric(MetricFormatter& rCtrl, FieldUnit eUnit);
69 SW_DLLPUBLIC FieldUnit GetDfltMetric(sal_Bool bWeb);
70 void SetDfltMetric(FieldUnit eMetric, sal_Bool bWeb);
/trunk/main/svx/inc/svx/
H A Dsvdtrans.hxx266 FrPair GetMapFactor(MapUnit eS, FieldUnit eD);
267 FrPair GetMapFactor(FieldUnit eS, MapUnit eD);
268 FrPair GetMapFactor(FieldUnit eS, FieldUnit eD);
279 inline FASTBOOL IsMetric(FieldUnit eU) { in IsMetric()
283 inline FASTBOOL IsInch(FieldUnit eU) { in IsInch()
298 FieldUnit eSrcFU;
299 FieldUnit eDstFU;
307 …SdrFormatter(FieldUnit eSrc, FieldUnit eDst) { eSrcFU=eSrc; bSrcFU=sal_True; eDstFU=eDst; bDstFU=… in SdrFormatter()
309 void SetSourceUnit(FieldUnit eSrc) { eSrcFU=eSrc; bSrcFU=sal_True; bDirty=sal_True; } in SetSourceUnit()
311 void SetDestinationUnit(FieldUnit eDst) { eDstFU=eDst; bDstFU=sal_True; bDirty=sal_True; } in SetDestinationUnit()
[all …]
H A Dsxmuitm.hxx36 …SdrMeasureUnitItem(FieldUnit eUnit=FUNIT_NONE): SfxEnumItem(SDRATTR_MEASUREUNIT,sal::static_int_ca… in SdrMeasureUnitItem()
41 FieldUnit GetValue() const { return (FieldUnit)SfxEnumItem::GetValue(); } in GetValue()
H A Dsvdmodel.hxx179FieldUnit eUIUnit; // Masseinheit, Masstab (z.B. 1/1000) fuer die UI (Statuszeile) wird …
427 void SetUIUnit(FieldUnit eUnit);
428 FieldUnit GetUIUnit() const { return eUIUnit; } in GetUIUnit()
433 void SetUIUnit(FieldUnit eUnit, const Fraction& rScale);
440 static void TakeUnitStr(FieldUnit eUnit, String& rStr);
/trunk/main/offapi/com/sun/star/awt/
H A DXMetricField.idl47 void setValue( [in] hyper Value, [in] short FieldUnit );
59 hyper getValue( [in] short FieldUnit );
65 hyper getCorrectedValue( [in] short FieldUnit );
71 void setMin( [in] hyper Value, [in] short FieldUnit );
78 hyper getMin( [in] short FieldUnit );
84 void setMax( [in] hyper Value, [in] short FieldUnit );
91 hyper getMax( [in] short FieldUnit );
97 void setFirst( [in] hyper Value, [in] short FieldUnit );
103 hyper getFirst( [in] short FieldUnit );
109 void setLast( [in] hyper Value, [in] short FieldUnit );
[all …]
/trunk/main/sw/source/ui/utlui/
H A Dprcntfld.cxx143 void PercentField::SetValue(sal_Int64 nNewValue, FieldUnit eInUnit) in SetValue()
150 void PercentField::SetPrcntValue(sal_Int64 nNewValue, FieldUnit eInUnit) in SetPrcntValue()
177 void PercentField::SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit ) in SetUserValue()
205 void PercentField::SetBaseValue(sal_Int64 nNewValue, FieldUnit eInUnit) in SetBaseValue()
217 sal_Int64 PercentField::GetValue( FieldUnit eOutUnit ) in GetValue()
226 void PercentField::SetMin(sal_Int64 nNewMin, FieldUnit eInUnit) in SetMin()
245 void PercentField::SetMax(sal_Int64 nNewMax, FieldUnit eInUnit) in SetMax()
319 sal_Int64 PercentField::GetRealValue(FieldUnit eOutUnit) in GetRealValue()
331 sal_Int64 PercentField::Convert(sal_Int64 nValue, FieldUnit eInUnit, FieldUnit eOutUnit) in Convert()
/trunk/main/svtools/inc/svtools/
H A Dctrlbox.hxx251 FieldUnit eUnit;
252 FieldUnit eSourceUnit;
288 inline void SetUnit( FieldUnit eNewUnit ) { eUnit = eNewUnit; } in SetUnit()
289 inline FieldUnit GetUnit() const { return eUnit; } in GetUnit()
290 inline void SetSourceUnit( FieldUnit eNewUnit ) { eSourceUnit = eNewUnit; } in SetSourceUnit()
291 inline FieldUnit GetSourceUnit() const { return eSourceUnit; } in GetSourceUnit()
486 virtual void SetValue( sal_Int64 nNewValue, FieldUnit eInUnit );
488 virtual sal_Int64 GetValue( FieldUnit eOutUnit ) const;
490 sal_Int64 GetValue( sal_uInt16 nPos, FieldUnit eOutUnit ) const;
491 void SetUserValue( sal_Int64 nNewValue, FieldUnit eInUnit );
H A Dunitconv.hxx39 SVT_DLLPUBLIC void SetFieldUnit( MetricField& rCtrl, FieldUnit eUnit, sal_Bool bAll = sal_False );
40 SVT_DLLPUBLIC void SetFieldUnit( MetricBox& rCtrl, FieldUnit eUnit, sal_Bool bAll = sal_False );
48 SVT_DLLPUBLIC FieldUnit MapToFieldUnit( const SfxMapUnit eUnit );
103 SVT_DLLPUBLIC long TransformMetric( long nVal, FieldUnit aOld, FieldUnit aNew );
/trunk/main/svtools/source/misc/
H A Dunitconv.cxx33 void SetFieldUnit( MetricField& rField, FieldUnit eUnit, sal_Bool bAll ) in SetFieldUnit()
90 void SetFieldUnit( MetricBox& rBox, FieldUnit eUnit, sal_Bool bAll ) in SetFieldUnit()
208 nOut = TransformMetric( nIn, FUNIT_MM, (FieldUnit)eCtrl ); in ItemToControl()
214 nOut = TransformMetric( nIn, FUNIT_CM, (FieldUnit)eCtrl ); in ItemToControl()
229 nOut = TransformMetric( nIn, FUNIT_INCH, (FieldUnit)eCtrl ); in ItemToControl()
235 nOut = TransformMetric( nIn, FUNIT_POINT, (FieldUnit)eCtrl ); in ItemToControl()
241 nOut = TransformMetric( nIn, FUNIT_TWIP, (FieldUnit)eCtrl ); in ItemToControl()
258 FieldUnit MapToFieldUnit( const SfxMapUnit eUnit ) in MapToFieldUnit()
710 long TransformMetric( long nVal, FieldUnit aOld, FieldUnit aNew ) in TransformMetric()
/trunk/main/cui/source/tabpages/
H A Dgrfpage.cxx45 inline long lcl_GetValue( MetricField& rMetric, FieldUnit eUnit ) in lcl_GetValue()
89 const FieldUnit eMetric = GetModuleFieldUnit( rSet ); in SvxGrfCropPage()
176 FieldUnit eUnit = MapToFieldUnit( rSet.GetPool()->GetMetric( nW )); in Reset()
202 FieldUnit eUnit = MapToFieldUnit( rSet.GetPool()->GetMetric( nW )); in Reset()
259 FieldUnit eUnit = MapToFieldUnit( rSet.GetPool()->GetMetric( nW )); in FillItemSet()
294 FieldUnit eUnit = MapToFieldUnit( rSet.GetPool()->GetMetric( nW )); in FillItemSet()
410 FieldUnit eUnit = MapToFieldUnit( pPool->GetMetric( pPool->GetWhich( in IMPL_LINK()
441 FieldUnit eUnit = MapToFieldUnit( pPool->GetMetric( pPool->GetWhich( in IMPL_LINK()
479 FieldUnit eUnit = MapToFieldUnit( pPool->GetMetric( pPool->GetWhich( in IMPL_LINK()
564 FieldUnit eUnit = MapToFieldUnit( pPool->GetMetric( pPool->GetWhich( in IMPL_LINK()
[all …]
/trunk/main/chart2/source/controller/main/
H A DConfigurationAccess.cxx64 FieldUnit getFieldUnit();
81 FieldUnit CalcConfigItem::getFieldUnit() in getFieldUnit()
83 FieldUnit eResult( FUNIT_CM ); in getFieldUnit()
94 eResult = static_cast< FieldUnit >( nValue ); in getFieldUnit()
107 FieldUnit getFieldUnit() in getFieldUnit()
109 FieldUnit aUnit( theCalcConfigItem::get().getFieldUnit() ); in getFieldUnit()
/trunk/main/sfx2/source/appl/
H A Dmodule.cxx423 FieldUnit SfxModule::GetModuleFieldUnit( ::com::sun::star::uno::Reference< ::com::sun::star::frame:… in GetModuleFieldUnit()
445 FieldUnit SfxModule::GetCurrentFieldUnit() in GetCurrentFieldUnit()
447 FieldUnit eUnit = FUNIT_INCH; in GetCurrentFieldUnit()
453 eUnit = (FieldUnit)( (SfxUInt16Item*)pItem )->GetValue(); in GetCurrentFieldUnit()
460 FieldUnit SfxModule::GetFieldUnit() const in GetFieldUnit()
462 FieldUnit eUnit = FUNIT_INCH; in GetFieldUnit()
465 eUnit = (FieldUnit)( (SfxUInt16Item*)pItem )->GetValue(); in GetFieldUnit()
/trunk/main/svx/source/dialog/
H A Ddlgutil.cxx37 FieldUnit GetModuleFieldUnit( const SfxItemSet& rSet ) in GetModuleFieldUnit()
39 FieldUnit eUnit = FUNIT_INCH; in GetModuleFieldUnit()
42 eUnit = (FieldUnit)( (const SfxUInt16Item*)pItem )->GetValue(); in GetModuleFieldUnit()
53 FieldUnit GetModuleFieldUnit() in GetModuleFieldUnit()
/trunk/main/sc/source/ui/optdlg/
H A Dtpview.cxx446 FieldUnit eFUnit = (FieldUnit)aUnitArr.GetValue( i ); in ScTpLayoutOptions()
595 FieldUnit eFieldUnit = (FieldUnit)rItem.GetValue(); in Reset()
599 if ( (FieldUnit)(long)aUnitLB.GetEntryData( i ) == eFieldUnit ) in Reset()
709 FieldUnit eFieldUnit = (FieldUnit)(long)aUnitLB.GetEntryData( nMPos ); in IMPL_LINK()
/trunk/main/sw/source/ui/app/
H A Dappopt.cxx200 FieldUnit eUnit = pPref->GetHScrollMetric(); in CreateItemSet()
355 ::SetDfltMetric((FieldUnit)pMetricItem->GetValue(), !bTextDialog); in ApplyItemSet()
360 FieldUnit eUnit = (FieldUnit)pMetricItem->GetValue(); in ApplyItemSet()
369 FieldUnit eUnit = (FieldUnit)pMetricItem->GetValue(); in ApplyItemSet()
H A Dswmodul1.cxx242 void SwModule::ApplyUserMetric( FieldUnit eMetric, sal_Bool bWeb ) in ApplyUserMetric()
257 FieldUnit eOldMetric = pPref->GetMetric(); in ApplyUserMetric()
261 FieldUnit eHScrollMetric = pPref->IsHScrollMetric() ? pPref->GetHScrollMetric() : eMetric; in ApplyUserMetric()
262 FieldUnit eVScrollMetric = pPref->IsVScrollMetric() ? pPref->GetVScrollMetric() : eMetric; in ApplyUserMetric()
280 void SwModule::ApplyRulerMetric( FieldUnit eMetric, sal_Bool bHorizontal, sal_Bool bWeb ) in ApplyRulerMetric()
/trunk/main/sd/source/ui/app/
H A Dsdmod2.cxx476 FieldUnit nMetric = (FieldUnit)0xffff; in CreateItemSet()
480 nMetric = (FieldUnit)pOptions->GetMetric(); in CreateItemSet()
482 if( nMetric == (FieldUnit)0xffff ) in CreateItemSet()
736 FieldUnit eUIUnit = (FieldUnit) pOptions->GetMetric(); in ApplyItemSet()
/trunk/main/sfx2/inc/sfx2/
H A Dmodule.hxx99 static FieldUnit GetCurrentFieldUnit();
107 …static FieldUnit GetModuleFieldUnit( ::com::sun::star::uno::Reference< ::com::sun::star…
108 FieldUnit GetFieldUnit() const;
/trunk/main/toolkit/inc/layout/
H A Dlayout.hxx462 void SetMin( sal_Int64 nNewMin, FieldUnit nUnit=FUNIT_NONE );
463 void SetMax( sal_Int64 nNewMax, FieldUnit nUnit=FUNIT_NONE );
464 void SetFirst( sal_Int64 nNewFirst, FieldUnit nUnit=FUNIT_NONE );
465 void SetLast( sal_Int64 nNewLast, FieldUnit nUnit=FUNIT_NONE );
466 void SetValue( sal_Int64 nNewValue, FieldUnit nUnit=FUNIT_NONE );
467 sal_Int64 GetValue( FieldUnit nUnit=FUNIT_NONE ) const;
/trunk/main/sw/source/ui/config/
H A Doptload.cxx106 FieldUnit eFUnit = (FieldUnit)aMetricArr.GetValue( i ); in SwLoadOptPage()
267 FieldUnit eFieldUnit = (FieldUnit)rItem.GetValue(); in Reset()
310 FieldUnit eFieldUnit = (FieldUnit)(long)aMetricLB.GetEntryData( nMPos ); in IMPL_LINK()
/trunk/main/sd/source/ui/dlg/
H A Dtpoption.cxx287 FieldUnit eFUnit; in SdTpOptionsMisc()
293 eFUnit = (FieldUnit)rItem.GetValue(); in SdTpOptionsMisc()
362 FieldUnit eFUnit = (FieldUnit)(long)pItem->GetValue(); in ActivatePage()
590 FieldUnit eUnit = (FieldUnit)(long)aLbMetric.GetEntryData( nPos ); in IMPL_LINK()

Completed in 145 milliseconds

1234567