Home
last modified time | relevance | path

Searched refs:MM100_TO_TWIP (Results 1 – 25 of 28) sorted by relevance

12

/aoo42x/main/sw/source/ui/envelp/
H A Dlabelcfg.cxx106 case 1 : pNewRec->lHDist = MM100_TO_TWIP(nVal);break; in lcl_CreateSwLabRec()
107 case 2 : pNewRec->lVDist = MM100_TO_TWIP(nVal);break; in lcl_CreateSwLabRec()
108 case 3 : pNewRec->lWidth = MM100_TO_TWIP(nVal);break; in lcl_CreateSwLabRec()
109 case 4 : pNewRec->lHeight = MM100_TO_TWIP(nVal); break; in lcl_CreateSwLabRec()
110 case 5 : pNewRec->lLeft = MM100_TO_TWIP(nVal);break; in lcl_CreateSwLabRec()
111 case 6 : pNewRec->lUpper = MM100_TO_TWIP(nVal);break; in lcl_CreateSwLabRec()
114 case 9 : pNewRec->lPaperWidth = MM100_TO_TWIP(nVal);break; in lcl_CreateSwLabRec()
115 case 10: pNewRec->lPaperHeight = MM100_TO_TWIP(nVal);break; in lcl_CreateSwLabRec()
H A Denvimg.cxx211 aEnvItem.lAddrFromLeft = MM100_TO_TWIP(aEnvItem.lAddrFromLeft); in SwEnvCfgItem()
215 aEnvItem.lAddrFromTop = MM100_TO_TWIP(aEnvItem.lAddrFromTop); in SwEnvCfgItem()
219 aEnvItem.lSendFromLeft = MM100_TO_TWIP(aEnvItem.lSendFromLeft); in SwEnvCfgItem()
223 aEnvItem.lSendFromTop = MM100_TO_TWIP(aEnvItem.lSendFromTop); in SwEnvCfgItem()
227 aEnvItem.lWidth = MM100_TO_TWIP(aEnvItem.lWidth); in SwEnvCfgItem()
231 aEnvItem.lHeight = MM100_TO_TWIP(aEnvItem.lHeight); in SwEnvCfgItem()
241 aEnvItem.lShiftRight = MM100_TO_TWIP(aEnvItem.lShiftRight);// "Print/Right", in SwEnvCfgItem()
245 aEnvItem.lShiftDown = MM100_TO_TWIP(aEnvItem.lShiftDown); in SwEnvCfgItem()
H A Dlabimg.cxx320 aItem.lHDist = MM100_TO_TWIP(aItem.lHDist); in SwLabCfgItem()
324 aItem.lVDist = MM100_TO_TWIP(aItem.lVDist); in SwLabCfgItem()
328 aItem.lWidth = MM100_TO_TWIP(aItem.lWidth); in SwLabCfgItem()
332 aItem.lHeight = MM100_TO_TWIP(aItem.lHeight); in SwLabCfgItem()
336 aItem.lLeft = MM100_TO_TWIP(aItem.lLeft); in SwLabCfgItem()
340 aItem.lUpper = MM100_TO_TWIP(aItem.lUpper); in SwLabCfgItem()
344 aItem.lPaperWidth = MM100_TO_TWIP(aItem.lPaperWidth); in SwLabCfgItem()
348 aItem.lPaperHeight = MM100_TO_TWIP(aItem.lPaperHeight); in SwLabCfgItem()
/aoo42x/main/svx/source/items/
H A Dgrfitem.cxx36 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
149 aVal.Right = MM100_TO_TWIP(aVal.Right ); in PutValue()
150 aVal.Top = MM100_TO_TWIP(aVal.Top ); in PutValue()
151 aVal.Left = MM100_TO_TWIP(aVal.Left ); in PutValue()
152 aVal.Bottom = MM100_TO_TWIP(aVal.Bottom); in PutValue()
H A Dalgitem.cxx57 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
715 nLeftMargin = (sal_Int16)( bConvert ? MM100_TO_TWIP(nVal) : nVal ); in PutValue()
718 nRightMargin = (sal_Int16)( bConvert ? MM100_TO_TWIP(nVal) : nVal ); in PutValue()
721 nTopMargin = (sal_Int16)( bConvert ? MM100_TO_TWIP(nVal) : nVal ); in PutValue()
724 nBottomMargin = (sal_Int16)( bConvert ? MM100_TO_TWIP(nVal) : nVal ); in PutValue()
/aoo42x/main/svx/source/dialog/
H A Drulritem.cxx60 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
103 lLeft = bConvert ? MM100_TO_TWIP( aLeftRightMargin.Left ) : aLeftRightMargin.Left; in PutValue()
104 lRight = bConvert ? MM100_TO_TWIP( aLeftRightMargin.Right ) : aLeftRightMargin.Right; in PutValue()
111 nVal = MM100_TO_TWIP( nVal ); in PutValue()
229 … lLeft = bConvert ? MM100_TO_TWIP( aUpperLowerMargin.Upper ) : aUpperLowerMargin.Upper; in PutValue()
230 … lRight = bConvert ? MM100_TO_TWIP( aUpperLowerMargin.Lower ) : aUpperLowerMargin.Lower; in PutValue()
237 nVal = MM100_TO_TWIP( nVal ); in PutValue()
/aoo42x/main/svl/source/items/
H A Dptitem.cxx41 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
175 aValue.X = MM100_TO_TWIP(aValue.X); in PutValue()
176 aValue.Y = MM100_TO_TWIP(aValue.Y); in PutValue()
183 nVal = MM100_TO_TWIP( nVal ); in PutValue()
/aoo42x/main/editeng/source/items/
H A Dfrmitems.cxx254 aTmp.Height = MM100_TO_TWIP(aTmp.Height); in PutValue()
255 aTmp.Width = MM100_TO_TWIP(aTmp.Width); in PutValue()
271 aSize.Width() = bConvert ? MM100_TO_TWIP(nVal) : nVal; in PutValue()
280 aSize.Height() = bConvert ? MM100_TO_TWIP(nVal) : nVal; in PutValue()
489 SetLeft((sal_Int32)bConvert ? MM100_TO_TWIP(nVal) : nVal); in PutValue()
493 SetTxtLeft((sal_Int32)bConvert ? MM100_TO_TWIP(nVal) : nVal); in PutValue()
497 SetRight((sal_Int32) bConvert ? MM100_TO_TWIP(nVal) : nVal); in PutValue()
2008 nDist = MM100_TO_TWIP(nDist); in PutValue()
2058 nDist = MM100_TO_TWIP(nDist); in PutValue()
2924 nVal = MM100_TO_TWIP(nVal); in PutValue()
[all …]
H A Dnumitem.cxx50 #define MM100_TO_TWIP(MM100) ((MM100*72L+63L)/127L) macro
810 aFmts[i]->SetLSpace( MM100_TO_TWIP(DEF_WRITER_LSPACE) ); in SvxNumRule()
811 aFmts[i]->SetAbsLSpace( MM100_TO_TWIP(DEF_WRITER_LSPACE * (i+1)) ); in SvxNumRule()
812 aFmts[i]->SetFirstLineOffset(MM100_TO_TWIP(-DEF_WRITER_LSPACE)); in SvxNumRule()
H A Dparaitem.cxx76 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
224 nInterLineSpace = (short)MM100_TO_TWIP(nInterLineSpace); in PutValue()
1126 SvxTabStop aTab( bConvert ? MM100_TO_TWIP(pArr[i].Position) : pArr[i].Position, in PutValue()
1140 SvxTabStop aNewTab ( bConvert ? MM100_TO_TWIP ( nNewPos ) : nNewPos, in PutValue()
H A Dtextitem.cxx119 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
903 fRet = MM100_TO_TWIP(fRet); in QueryValue()
948 fRet = MM100_TO_TWIP(fRet); in QueryValue()
2306 nVal = (sal_Int16)MM100_TO_TWIP(nVal); in PutValue()
/aoo42x/main/sw/source/core/unocore/
H A Dunosett.cxx1003 sal_Int32 nTmp = MM100_TO_TWIP(nVal); in setPropertyValue()
1930 aFmt.SetAbsLSpace((sal_uInt16) MM100_TO_TWIP(nValue)); in SetNumberingRuleByIndex()
1938 aFmt.SetCharTextDistance((sal_uInt16) MM100_TO_TWIP(nValue)); in SetNumberingRuleByIndex()
1948 nValue = MM100_TO_TWIP(nValue); in SetNumberingRuleByIndex()
1997 nValue = MM100_TO_TWIP(nValue); in SetNumberingRuleByIndex()
2012 nValue = MM100_TO_TWIP(nValue); in SetNumberingRuleByIndex()
2020 nValue = MM100_TO_TWIP(nValue); in SetNumberingRuleByIndex()
2144 pSize->Width = MM100_TO_TWIP(pSize->Width); in SetNumberingRuleByIndex()
2145 pSize->Height = MM100_TO_TWIP(pSize->Height); in SetNumberingRuleByIndex()
2676 nSepLineWidth = MM100_TO_TWIP(nTmp); in setPropertyValue()
H A Dunodraw.cxx668 SwTwips nHoriPos = MM100_TO_TWIP(aMM100Pos.X); in add()
681 SwTwips nVertPos = MM100_TO_TWIP(aMM100Pos.Y); in add()
741 Point aTmp(MM100_TO_TWIP(aMM100Pos.X), MM100_TO_TWIP(aMM100Pos.Y)); in add()
/aoo42x/main/sw/source/core/layout/
H A Datrfrm.cxx366 aTmp.Height() = MM100_TO_TWIP(aTmp.Height()); in PutValue()
367 aTmp.Width() = MM100_TO_TWIP(aTmp.Width()); in PutValue()
420 nWd = MM100_TO_TWIP(nWd); in PutValue()
435 nHg = MM100_TO_TWIP(nHg); in PutValue()
1098 pCol->SetLeft ( static_cast<sal_uInt16>(MM100_TO_TWIP(pArray[i].LeftMargin)) ); in PutValue()
1099 pCol->SetRight( static_cast<sal_uInt16>(MM100_TO_TWIP(pArray[i].RightMargin)) ); in PutValue()
1342 nVal = MM100_TO_TWIP(nVal); in PutValue()
1465 nVal = MM100_TO_TWIP(nVal); in PutValue()
2357 nTmp = MM100_TO_TWIP( nTmp ); in PutValue()
/aoo42x/main/sw/source/ui/uiview/
H A Dview.cxx1308 nX = MM100_TO_TWIP( nX ); in ReadUserDataSequence()
1314 nY = MM100_TO_TWIP( nY ); in ReadUserDataSequence()
1320 nLeft = MM100_TO_TWIP( nLeft ); in ReadUserDataSequence()
1326 nTop = MM100_TO_TWIP( nTop ); in ReadUserDataSequence()
1332 nRight = MM100_TO_TWIP( nRight ); in ReadUserDataSequence()
1338 nBottom = MM100_TO_TWIP( nBottom ); in ReadUserDataSequence()
/aoo42x/main/sw/source/ui/config/
H A Dusrpref.cxx387 … case 15: rParent.SetDefTab(MM100_TO_TWIP(nInt32Val), sal_True); break;// "Other/TabStop", in Load()
494 case 3: aSnap.Width() = MM100_TO_TWIP(nSet); break;// "Resolution/XAxis", in Load()
495 case 4: aSnap.Height() = MM100_TO_TWIP(nSet); break;// "Resolution/YAxis", in Load()
H A Dmodcfg.cxx1250 …case 0 : pValues[nProp] >>= nTemp; nTblHMove = (sal_uInt16)MM100_TO_TWIP(nTemp); break; //"Shift/… in Load()
1251 …case 1 : pValues[nProp] >>= nTemp; nTblVMove = (sal_uInt16)MM100_TO_TWIP(nTemp); break; //"Shi… in Load()
1252 …case 2 : pValues[nProp] >>= nTemp; nTblHInsert = (sal_uInt16)MM100_TO_TWIP(nTemp); break; //"Ins… in Load()
1253 …case 3 : pValues[nProp] >>= nTemp; nTblVInsert = (sal_uInt16)MM100_TO_TWIP(nTemp); break; //"Ins… in Load()
H A Dfontcfg.cxx144 …nDefaultFontHeight[nProp - DEF_FONT_COUNT] = MM100_TO_TWIP(nDefaultFontHeight[nProp - DEF_FONT_COU… in SwStdFontConfig()
/aoo42x/main/sw/source/core/para/
H A Dparatr.cxx206 nDistance = (sal_Int16) MM100_TO_TWIP((sal_Int32)nVal); in PutValue()
218 nDistance = MM100_TO_TWIP(pDrop->Distance); in PutValue()
/aoo42x/main/sw/source/ui/utlui/
H A Duiitems.cxx169 nSet32 = MM100_TO_TWIP(nSet32); in PutValue()
183 aFtnInfo.SetLineWidth(MM100_TO_TWIP(nSet)); in PutValue()
/aoo42x/main/sw/source/filter/xml/
H A Dxmlimp.cxx1114 aRect.setY( static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp) ); in SetViewSettings()
1119 aRect.setX( static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp) ); in SetViewSettings()
1125 aSize.Width() = static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp); in SetViewSettings()
1132 aSize.Height() = static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp); in SetViewSettings()
H A Dxmltexti.cxx114 nWidth = MM100_TO_TWIP( nWidth ); in lcl_putHeightAndWidth()
117 nHeight = MM100_TO_TWIP( nHeight ); in lcl_putHeightAndWidth()
/aoo42x/main/sw/source/ui/uno/
H A Dunomod.cxx701 aSize.Width() = MM100_TO_TWIP( nTmp ); in _setSingleValue()
711 aSize.Height() = MM100_TO_TWIP( nTmp ); in _setSingleValue()
/aoo42x/main/sw/inc/
H A Dswtypes.hxx234 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
/aoo42x/main/starmath/source/
H A Dunomodel.cxx73 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
826 nVal = static_cast < sal_Int16 > (MM100_TO_TWIP(nVal)); in _getPropertyValues()

Completed in 232 milliseconds

12