/aoo41x/main/sw/source/ui/utlui/ |
H A D | prcntfld.cxx | 50 nRefValue = DenormalizePercent(MetricField::GetMax(FUNIT_TWIP)); in PercentField() 96 nAktWidth = ConvertValue(nOldMin, 0, nOldDigits, eOldUnit, FUNIT_TWIP); in ShowPercent() 159 if(eInUnit == FUNIT_TWIP) in SetPrcntValue() 161 nAktWidth = ConvertValue(nNewValue, 0, nOldDigits, FUNIT_TWIP, FUNIT_TWIP); in SetPrcntValue() 166 nAktWidth = ConvertValue(nValue, 0, nOldDigits, eOldUnit, FUNIT_TWIP); in SetPrcntValue() 186 if(eInUnit == FUNIT_TWIP) in SetUserValue() 188 nAktWidth = ConvertValue(nNewValue, 0, nOldDigits, FUNIT_TWIP, FUNIT_TWIP); in SetUserValue() 193 nAktWidth = ConvertValue(nValue, 0, nOldDigits, eOldUnit, FUNIT_TWIP); in SetUserValue() 343 if (eOutUnit == FUNIT_TWIP) // Nur wandeln, wenn unbedingt notwendig in Convert() 355 if (eInUnit == FUNIT_TWIP) // Nur wandeln, wenn unbedingt notwendig in Convert() [all …]
|
/aoo41x/main/sw/source/ui/misc/ |
H A D | pgfnote.cxx | 132 (aDistEdit.Denormalize(aDistEdit.GetValue(FUNIT_TWIP)) + in IMPL_LINK_INLINE_END() 133 aLineDistEdit.Denormalize(aLineDistEdit.GetValue(FUNIT_TWIP)))), in IMPL_LINK_INLINE_END() 134 FUNIT_TWIP); in IMPL_LINK_INLINE_END() 138 (aMaxHeightEdit.Denormalize(aMaxHeightEdit.GetValue(FUNIT_TWIP)) + in IMPL_LINK_INLINE_END() 139 aLineDistEdit.Denormalize(aLineDistEdit.GetValue(FUNIT_TWIP)))), in IMPL_LINK_INLINE_END() 140 FUNIT_TWIP); in IMPL_LINK_INLINE_END() 144 (aMaxHeightEdit.Denormalize(aMaxHeightEdit.GetValue(FUNIT_TWIP)) + in IMPL_LINK_INLINE_END() 145 aDistEdit.Denormalize(aDistEdit.GetValue(FUNIT_TWIP)))), in IMPL_LINK_INLINE_END() 146 FUNIT_TWIP); in IMPL_LINK_INLINE_END() 258 aLineDistEdit.Normalize(pFtnInfo->GetBottomDist()), FUNIT_TWIP); in Reset() [all …]
|
H A D | pggrid.cxx | 247 aTextSizeMF.SetValue(aTextSizeMF.Normalize(m_nRubyUserValue), FUNIT_TWIP); in Reset() 299 aTextSizeMF.Denormalize(aTextSizeMF.GetValue(FUNIT_TWIP))) ); in PutGridItem() 353 aTextSizeMF.Denormalize(aTextSizeMF.GetValue(FUNIT_TWIP))); in UpdatePageSize() 391 aTextSizeMF.SetValue(aTextSizeMF.Normalize(nWidth), FUNIT_TWIP); in IMPL_LINK() 400 ( aTextSizeMF.Denormalize(aTextSizeMF.GetValue(FUNIT_TWIP)) + in IMPL_LINK() 401 aRubySizeMF.Denormalize(aRubySizeMF.GetValue(FUNIT_TWIP)))); in IMPL_LINK() 410 aTextSizeMF.SetValue(aTextSizeMF.Normalize(nHeight), FUNIT_TWIP); in IMPL_LINK() 411 aRubySizeMF.SetValue(0, FUNIT_TWIP); in IMPL_LINK() 419 aCharWidthMF.SetValue(aCharWidthMF.Normalize(nWidth), FUNIT_TWIP); in IMPL_LINK() 441 ( aTextSizeMF.Denormalize(aTextSizeMF.GetValue(FUNIT_TWIP)) + in IMPL_LINK() [all …]
|
H A D | num.cxx | 411 FUNIT_TWIP ); in InitControls() 626 aDistBorderMF.SetMax(aDistBorderMF.Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 627 aDistNumMF .SetMax(aDistNumMF .Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 630 aListtabMF.SetMax(aListtabMF.Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 631 aAlignedAtMF.SetMax(aAlignedAtMF.Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 632 aIndentAtMF.SetMax(aIndentAtMF.Normalize( nWidth ), FUNIT_TWIP ); in SetWrtShell() 639 aListtabMF.SetLast(aListtabMF.Normalize( nLast2 ), FUNIT_TWIP ); in SetWrtShell() 640 aAlignedAtMF.SetLast(aAlignedAtMF.Normalize( nLast2 ), FUNIT_TWIP ); in SetWrtShell() 641 aIndentAtMF.SetLast(aIndentAtMF.Normalize( nLast2 ), FUNIT_TWIP ); in SetWrtShell() 846 aDistBorderMF.SetValue(aDistBorderMF.Normalize(nValue), FUNIT_TWIP); in IMPL_LINK() [all …]
|
/aoo41x/main/svtools/source/misc/ |
H A D | unitconv.cxx | 81 rField.SetFirst( rField.Normalize( nFirst ), FUNIT_TWIP ); in SetFieldUnit() 82 rField.SetLast( rField.Normalize( nLast ), FUNIT_TWIP ); in SetFieldUnit() 83 rField.SetMin( rField.Normalize( nMin ), FUNIT_TWIP ); in SetFieldUnit() 84 rField.SetMax( rField.Normalize( nMax ), FUNIT_TWIP ); in SetFieldUnit() 92 sal_Int64 nMin = rBox.Denormalize( rBox.GetMin( FUNIT_TWIP ) ); in SetFieldUnit() 93 sal_Int64 nMax = rBox.Denormalize( rBox.GetMax( FUNIT_TWIP ) ); in SetFieldUnit() 120 rBox.SetMin( rBox.Normalize( nMin ), FUNIT_TWIP ); in SetFieldUnit() 121 rBox.SetMax( rBox.Normalize( nMax ), FUNIT_TWIP ); in SetFieldUnit() 280 return FUNIT_TWIP; in MapToFieldUnit() 733 case FUNIT_TWIP: in TransformMetric() [all …]
|
/aoo41x/main/sw/source/ui/table/ |
H A D | tabledlg.cxx | 490 aTopMF.GetValue( FUNIT_TWIP ))); in FillItemSet() 492 aBottomMF.GetValue( FUNIT_TWIP ))); in FillItemSet() 563 pTblData->GetWidth()), FUNIT_TWIP); in Reset() 575 pTblData->GetLeftSpace()), FUNIT_TWIP); in Reset() 577 pTblData->GetRightSpace()), FUNIT_TWIP); in Reset() 680 nCurWidth), FUNIT_TWIP); in ActivatePage() 684 pTblData->GetLeftSpace()), FUNIT_TWIP); in ActivatePage() 687 pTblData->GetRightSpace()), FUNIT_TWIP); in ActivatePage() 917 GetVisibleWidth(i) ), FUNIT_TWIP ); in Reset() 918 pFieldArr[i]->SetMin( nMinTwips , FUNIT_TWIP ); in Reset() [all …]
|
H A D | colwd.cxx | 64 aWidthEdit.SetValue(aWidthEdit.Normalize(lWidth), FUNIT_TWIP); in IMPL_LINK_INLINE_START() 65 aWidthEdit.SetMax(aWidthEdit.Normalize(rFnc.GetMaxColWidth(nId)), FUNIT_TWIP); in IMPL_LINK_INLINE_START() 96 aWidthEdit.SetMin(aWidthEdit.Normalize(MINLAY), FUNIT_TWIP); in IMPL_LINK_INLINE_END() 101 aWidthEdit.SetMin(aWidthEdit.Normalize(rFnc.GetColWidth(0)), FUNIT_TWIP); in IMPL_LINK_INLINE_END() 114 static_cast< sal_uInt16 >(aWidthEdit.Denormalize(aWidthEdit.GetValue(FUNIT_TWIP)))); in Apply()
|
H A D | rowht.cxx | 67 …wTwips nHeight = static_cast< SwTwips >(aHeightEdit.Denormalize(aHeightEdit.GetValue(FUNIT_TWIP))); in Apply() 100 aHeightEdit.SetMin(MINLAY, FUNIT_TWIP); in SwTableHeightDlg() 109 aHeightEdit.SetValue(aHeightEdit.Normalize(nHeight), FUNIT_TWIP); in SwTableHeightDlg()
|
/aoo41x/main/cui/source/tabpages/ |
H A D | page.cxx | 388 aPrintOffset.X() + aPrintSize.Width() ), FUNIT_TWIP ); in SvxPageDescPage() 391 aPrintOffset.X() + aPrintSize.Width() ), FUNIT_TWIP ); in SvxPageDescPage() 394 aPrintOffset.Y() + aPrintSize.Height() ), FUNIT_TWIP ); in SvxPageDescPage() 1184 aLeftMarginEdit.GetValue( FUNIT_TWIP ) ); in SwapFirstValues_Impl() 1186 aRightMarginEdit.GetValue( FUNIT_TWIP ) ); in SwapFirstValues_Impl() 1188 aTopMarginEdit.GetValue( FUNIT_TWIP ) ); in SwapFirstValues_Impl() 1190 aBottomMarginEdit.GetValue( FUNIT_TWIP ) ); in SwapFirstValues_Impl() 1214 FUNIT_TWIP ); in SwapFirstValues_Impl() 1217 FUNIT_TWIP ); in SwapFirstValues_Impl() 1220 FUNIT_TWIP ); in SwapFirstValues_Impl() [all …]
|
H A D | swpossizetabpage.cxx | 946 m_aWidthMF.SetValue(m_aWidthMF.Normalize(nWidth), FUNIT_TWIP); in Reset() 950 m_aHeightMF.SetValue(m_aHeightMF.Normalize(nHeight), FUNIT_TWIP); in Reset() 1128 m_aWidthMF. SetMin(m_aWidthMF.Normalize(aVal.nMinWidth), FUNIT_TWIP); in IMPL_LINK() 1134 m_aHeightMF.SetMax(nTmp, FUNIT_TWIP); in IMPL_LINK() 1137 m_aWidthMF.SetMax(nTmp, FUNIT_TWIP); in IMPL_LINK() 1139 m_aHoriByMF.SetMin(m_aHoriByMF.Normalize(aVal.nMinHPos), FUNIT_TWIP); in IMPL_LINK() 1140 m_aHoriByMF.SetMax(m_aHoriByMF.Normalize(aVal.nMaxHPos), FUNIT_TWIP); in IMPL_LINK() 1144 m_aVertByMF.SetMin(m_aVertByMF.Normalize(aVal.nMinVPos ), FUNIT_TWIP); in IMPL_LINK() 1145 m_aVertByMF.SetMax(m_aVertByMF.Normalize(aVal.nMaxVPos), FUNIT_TWIP); in IMPL_LINK() 1580 m_aHoriByMF.SetValue( 0, FUNIT_TWIP ); in InitPos() [all …]
|
H A D | borderconn.cxx | 135 maLeftWrp( rMfLeft, FUNIT_TWIP ), in MarginControlsWrapper() 136 maRightWrp( rMfRight, FUNIT_TWIP ), in MarginControlsWrapper() 137 maTopWrp( rMfTop, FUNIT_TWIP ), in MarginControlsWrapper() 138 maBottomWrp( rMfBottom, FUNIT_TWIP ) in MarginControlsWrapper() 229 maSizeWrp( rMfSize, FUNIT_TWIP ), in ShadowControlsWrapper()
|
H A D | grfpage.cxx | 341 if (nWidth != aWidthMF.GetValue(FUNIT_TWIP)) in ActivatePage() 347 aWidthMF.SetUserValue(nWidth, FUNIT_TWIP); in ActivatePage() 350 aWidthMF.SetValue(nWidth, FUNIT_TWIP); in ActivatePage() 354 if (nHeight != aHeightMF.GetValue(FUNIT_TWIP)) in ActivatePage() 360 aHeightMF.SetUserValue(nHeight, FUNIT_TWIP); in ActivatePage() 363 aHeightMF.SetValue(nHeight, FUNIT_TWIP); in ActivatePage()
|
/aoo41x/main/svx/source/dialog/ |
H A D | optgrid.cxx | 47 nFirst = static_cast<long>(rField.Denormalize( rField.GetFirst( FUNIT_TWIP ) )); in lcl_GetMinMax() 48 nLast = static_cast<long>(rField.Denormalize( rField.GetLast( FUNIT_TWIP ) )); in lcl_GetMinMax() 49 nMin = static_cast<long>(rField.Denormalize( rField.GetMin( FUNIT_TWIP ) )); in lcl_GetMinMax() 50 nMax = static_cast<long>(rField.Denormalize( rField.GetMax( FUNIT_TWIP ) )); in lcl_GetMinMax() 55 rField.SetFirst( rField.Normalize( nFirst ), FUNIT_TWIP ); in lcl_SetMinMax() 56 rField.SetLast( rField.Normalize( nLast ), FUNIT_TWIP ); in lcl_SetMinMax() 57 rField.SetMin( rField.Normalize( nMin ), FUNIT_TWIP ); in lcl_SetMinMax() 58 rField.SetMax( rField.Normalize( nMax ), FUNIT_TWIP ); in lcl_SetMinMax() 356 aMtrFldDrawX.SetValue( aMtrFldDrawX.Normalize( nVal ), FUNIT_TWIP ); in ActivatePage() 358 nVal = static_cast<long>(aMtrFldDrawY.Denormalize( aMtrFldDrawY.GetValue( FUNIT_TWIP ) )); in ActivatePage() [all …]
|
H A D | hdft.cxx | 904 static_cast<long>(aHeightEdit.Denormalize( aHeightEdit.GetValue( FUNIT_TWIP ) ) ) ); in IMPL_LINK() 906 static_cast<long>(aDistEdit.Denormalize( aDistEdit.GetValue( FUNIT_TWIP ) )) : 0; in IMPL_LINK() 938 aHeightEdit.SetMax( aHeightEdit.Normalize( nMax ), FUNIT_TWIP ); in IMPL_LINK() 942 aDistEdit.SetMax( aDistEdit.Normalize( nDist ), FUNIT_TWIP ); in IMPL_LINK() 950 aHeightEdit.SetMax( aHeightEdit.Normalize( nMax ), FUNIT_TWIP ); in IMPL_LINK() 954 aDistEdit.SetMax( aDistEdit.Normalize( nDist ), FUNIT_TWIP ); in IMPL_LINK() 959 static_cast<long>(aRMEdit.Denormalize( aRMEdit.GetValue( FUNIT_TWIP ) )) - MINBODY; in IMPL_LINK() 960 aLMEdit.SetMax( aLMEdit.Normalize( nMax ), FUNIT_TWIP ); in IMPL_LINK() 963 static_cast<long>(aLMEdit.Denormalize( aLMEdit.GetValue( FUNIT_TWIP ) )) - MINBODY; in IMPL_LINK() 964 aRMEdit.SetMax( aLMEdit.Normalize( nMax ), FUNIT_TWIP ); in IMPL_LINK()
|
/aoo41x/main/sw/source/ui/frmdlg/ |
H A D | frmpage.cxx | 1310 aAtHorzPosED.SetValue( 0, FUNIT_TWIP ); in InitPos() 1325 aAtVertPosED.SetValue( 0, FUNIT_TWIP ); in InitPos() 1876 aWidthED.SetMax(aWidthED.NormalizePercent(nTmp), FUNIT_TWIP); in IMPL_LINK() 1884 aHeightED.SetMax(nTmp, FUNIT_TWIP); in IMPL_LINK() 1887 aWidthED.SetMax(nTmp, FUNIT_TWIP); in IMPL_LINK() 2223 if (nWidth != aWidthED.GetValue(FUNIT_TWIP)) in Init() 2229 aWidthED.SetUserValue(nWidth, FUNIT_TWIP); in Init() 2232 aWidthED.SetPrcntValue(nWidth, FUNIT_TWIP); in Init() 2235 if (nHeight != aHeightED.GetValue(FUNIT_TWIP)) in Init() 2241 aHeightED.SetUserValue(nHeight, FUNIT_TWIP); in Init() [all …]
|
H A D | column.cxx | 588 aLineTypeDLB.SetSourceUnit( FUNIT_TWIP ); in SwColumnPage() 609 aDistEd1.SetMax(nNewMaxWidth, FUNIT_TWIP); in SetPageWidth() 610 aDistEd2.SetMax(nNewMaxWidth, FUNIT_TWIP); in SetPageWidth() 611 aEd1.SetMax(nNewMaxWidth, FUNIT_TWIP); in SetPageWidth() 612 aEd2.SetMax(nNewMaxWidth, FUNIT_TWIP); in SetPageWidth() 613 aEd3.SetMax(nNewMaxWidth, FUNIT_TWIP); in SetPageWidth() 1044 aDistEd1.SetPrcntValue(aDistEd1.NormalizePercent(nMaxGap), FUNIT_TWIP); in IMPL_LINK() 1188 pModifiedField->DenormalizePercent(pModifiedField->GetValue(FUNIT_TWIP)); in IMPL_LINK() 1229 aEd1.SetPrcntValue(aEd1.NormalizePercent(nColWidth[nFirstVis]), FUNIT_TWIP); in Update() 1382 aEd2.SetPrcntValue(aEd2.NormalizePercent(long(nSmall)), FUNIT_TWIP); in IMPL_LINK() [all …]
|
H A D | wrap.cxx | 324 aLeftMarginED.SetValue(aLeftMarginED.Normalize(rLR.GetLeft()), FUNIT_TWIP); in Reset() 325 aRightMarginED.SetValue(aRightMarginED.Normalize(rLR.GetRight()), FUNIT_TWIP); in Reset() 326 aTopMarginED.SetValue(aTopMarginED.Normalize(rUL.GetUpper()), FUNIT_TWIP); in Reset() 327 aBottomMarginED.SetValue(aBottomMarginED.Normalize(rUL.GetLower()), FUNIT_TWIP); in Reset() 401 aUL.SetUpper((sal_uInt16)aTopMarginED.Denormalize(aTopMarginED.GetValue(FUNIT_TWIP))); in FillItemSet() 418 aLR.SetLeft((sal_uInt16)aLeftMarginED.Denormalize(aLeftMarginED.GetValue(FUNIT_TWIP))); in FillItemSet() 419 aLR.SetRight((sal_uInt16)aRightMarginED.Denormalize(aRightMarginED.GetValue(FUNIT_TWIP))); in FillItemSet() 545 aLeftMarginED.SetMax(aLeftMarginED.Normalize(nLeft), FUNIT_TWIP); in ActivatePage() 546 aRightMarginED.SetMax(aRightMarginED.Normalize(nRight), FUNIT_TWIP); in ActivatePage() 548 aTopMarginED.SetMax(aTopMarginED.Normalize(nTop), FUNIT_TWIP); in ActivatePage() [all …]
|
/aoo41x/main/svx/source/sidebar/line/ |
H A D | LineWidthControl.cxx | 124 sal_Int64 nFirst= maMFWidth.Denormalize( maMFWidth.GetFirst( FUNIT_TWIP ) ); in Initialize() 125 sal_Int64 nLast = maMFWidth.Denormalize( maMFWidth.GetLast( FUNIT_TWIP ) ); in Initialize() 126 sal_Int64 nMin = maMFWidth.Denormalize( maMFWidth.GetMin( FUNIT_TWIP ) ); in Initialize() 127 sal_Int64 nMax = maMFWidth.Denormalize( maMFWidth.GetMax( FUNIT_TWIP ) ); in Initialize() 132 maMFWidth.SetFirst( maMFWidth.Normalize( nFirst ), FUNIT_TWIP ); in Initialize() 133 maMFWidth.SetLast( maMFWidth.Normalize( nLast ), FUNIT_TWIP ); in Initialize() 134 maMFWidth.SetMin( maMFWidth.Normalize( nMin ), FUNIT_TWIP ); in Initialize() 135 maMFWidth.SetMax( maMFWidth.Normalize( nMax ), FUNIT_TWIP ); in Initialize()
|
/aoo41x/main/sw/source/ui/envelp/ |
H A D | labfmt.cxx | 441 …tField .SetMax((long) 100 * ((lMax - lLeft ) / Max(1L, (long) aColsField.GetValue())), FUNIT_TWIP); in IMPL_LINK_INLINE_END() 442 …tField .SetMax((long) 100 * ((lMax - lUpper) / Max(1L, (long) aRowsField.GetValue())), FUNIT_TWIP); in IMPL_LINK_INLINE_END() 447 aWidthField .SetMax((long) 100 * (lHDist), FUNIT_TWIP); in IMPL_LINK_INLINE_END() 448 aHeightField.SetMax((long) 100 * (lVDist), FUNIT_TWIP); in IMPL_LINK_INLINE_END() 450 …d .SetMax((long) 100 * (lMax - (long) aColsField.GetValue() * GETFLDVAL(aHDistField)), FUNIT_TWIP); in IMPL_LINK_INLINE_END() 557 aHDistField .SetMax(100 * aItem.lHDist , FUNIT_TWIP); in Reset() 558 aVDistField .SetMax(100 * aItem.lVDist , FUNIT_TWIP); in Reset() 559 aWidthField .SetMax(100 * aItem.lWidth , FUNIT_TWIP); in Reset() 560 aHeightField.SetMax(100 * aItem.lHeight, FUNIT_TWIP); in Reset() 561 aLeftField .SetMax(100 * aItem.lLeft , FUNIT_TWIP); in Reset() [all …]
|
H A D | envfmt.cxx | 508 aAddrLeftField.SetMin((long) 100 * (GetFldVal(aSendLeftField) + 566), FUNIT_TWIP); in SetMinMax() 509 aAddrLeftField.SetMax((long) 100 * (lWidth - 2 * 566), FUNIT_TWIP); in SetMinMax() 510 aAddrTopField .SetMin((long) 100 * (GetFldVal(aSendTopField ) + 2 * 566), FUNIT_TWIP); in SetMinMax() 511 aAddrTopField .SetMax((long) 100 * (lHeight - 2 * 566), FUNIT_TWIP); in SetMinMax() 512 aSendLeftField.SetMin((long) 100 * (566), FUNIT_TWIP); in SetMinMax() 513 aSendLeftField.SetMax((long) 100 * (GetFldVal(aAddrLeftField) - 566), FUNIT_TWIP); in SetMinMax() 514 aSendTopField .SetMin((long) 100 * (566), FUNIT_TWIP); in SetMinMax() 515 aSendTopField .SetMax((long) 100 * (GetFldVal(aAddrTopField ) - 2 * 566), FUNIT_TWIP); in SetMinMax()
|
H A D | labimp.hxx | 81 #define GETFLDVAL(rField) (rField).Denormalize((rField).GetValue(FUNIT_TWIP)) 82 #define SETFLDVAL(rField, lValue) (rField).SetValue((rField).Normalize(lValue), FUNIT_TWIP)
|
/aoo41x/main/sc/source/ui/miscdlgs/ |
H A D | mtrindlg.cxx | 69 aEdValue.SetMax ( aEdValue.Normalize( nMaximum ), FUNIT_TWIP ); in ScMetricInputDlg() 70 aEdValue.SetMin ( aEdValue.Normalize( nMinimum ), FUNIT_TWIP ); in ScMetricInputDlg() 71 aEdValue.SetLast ( aEdValue.Normalize( nLast ), FUNIT_TWIP ); in ScMetricInputDlg() 72 aEdValue.SetFirst ( aEdValue.Normalize( nFirst ), FUNIT_TWIP ); in ScMetricInputDlg() 74 aEdValue.SetValue ( aEdValue.Normalize( nDefault ), FUNIT_TWIP ); in ScMetricInputDlg() 76 aEdValue.SetValue ( aEdValue.Normalize( nCurrent ), FUNIT_TWIP ); in ScMetricInputDlg()
|
/aoo41x/main/sw/source/ui/sidebar/ |
H A D | PageMarginControl.cxx | 145 const long nML = maLeftMarginEdit.Denormalize( maLeftMarginEdit.GetValue(FUNIT_TWIP) ); in SetMetricFieldMaxValues() 146 const long nMR = maRightMarginEdit.Denormalize( maRightMarginEdit.GetValue(FUNIT_TWIP) ); in SetMetricFieldMaxValues() 147 const long nMT = maTopMarginEdit.Denormalize(maTopMarginEdit.GetValue(FUNIT_TWIP) ); in SetMetricFieldMaxValues() 148 const long nMB = maBottomMarginEdit.Denormalize( maBottomMarginEdit.GetValue(FUNIT_TWIP) ); in SetMetricFieldMaxValues() 155 maLeftMarginEdit.SetMax(maLeftMarginEdit.Normalize(nMax), FUNIT_TWIP); in SetMetricFieldMaxValues() 159 maRightMarginEdit.SetMax(maRightMarginEdit.Normalize(nMax), FUNIT_TWIP); in SetMetricFieldMaxValues() 163 maTopMarginEdit.SetMax(maTopMarginEdit.Normalize(nMax), FUNIT_TWIP); in SetMetricFieldMaxValues() 167 maBottomMarginEdit.SetMax(maTopMarginEdit.Normalize(nMax), FUNIT_TWIP); in SetMetricFieldMaxValues()
|
/aoo41x/main/sw/source/ui/dbui/ |
H A D | mmlayoutpage.cxx | 151 m_aLeftMF.SetValue(m_aLeftMF.Normalize(DEFAULT_LEFT_DISTANCE), FUNIT_TWIP); in SwMailMergeLayoutPage() 152 m_aTopMF.SetValue(m_aTopMF.Normalize(DEFAULT_TOP_DISTANCE), FUNIT_TWIP); in SwMailMergeLayoutPage() 239 … long nLeft = static_cast< long >(m_aLeftMF.Denormalize(m_aLeftMF.GetValue(FUNIT_TWIP))); in ActivatePage() 240 … long nTop = static_cast< long >(m_aTopMF.Denormalize(m_aTopMF.GetValue(FUNIT_TWIP))); in ActivatePage() 259 long nLeft = static_cast< long >(m_aLeftMF.Denormalize(m_aLeftMF.GetValue(FUNIT_TWIP))); in commitPage() 260 long nTop = static_cast< long >(m_aTopMF.Denormalize(m_aTopMF.GetValue(FUNIT_TWIP))); in commitPage() 768 long nLeft = static_cast< long >(m_aLeftMF.Denormalize(m_aLeftMF.GetValue(FUNIT_TWIP))); in IMPL_LINK() 769 long nTop = static_cast< long >(m_aTopMF.Denormalize(m_aTopMF.GetValue(FUNIT_TWIP))); in IMPL_LINK()
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | tpoption.cxx | 367 sal_Int64 nVal = aMtrFldOriginalWidth.Denormalize( aMtrFldOriginalWidth.GetValue( FUNIT_TWIP ) ); in ActivatePage() 369 aMtrFldOriginalWidth.SetValue( aMtrFldOriginalWidth.Normalize( nVal ), FUNIT_TWIP ); in ActivatePage() 371 nVal = aMtrFldOriginalHeight.Denormalize( aMtrFldOriginalHeight.GetValue( FUNIT_TWIP ) ); in ActivatePage() 373 aMtrFldOriginalHeight.SetValue( aMtrFldOriginalHeight.Normalize( nVal ), FUNIT_TWIP ); in ActivatePage() 592 aMtrFldTabstop.Denormalize( aMtrFldTabstop.GetValue( FUNIT_TWIP ) ); in IMPL_LINK() 594 aMtrFldTabstop.SetValue( aMtrFldTabstop.Normalize( nVal ), FUNIT_TWIP ); in IMPL_LINK()
|