/aoo4110/main/sw/source/ui/envelp/ |
H A D | envimg.cxx | 211 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 D | labelcfg.cxx | 106 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()
|
H A D | labimg.cxx | 312 aItem.lHDist = MM100_TO_TWIP(aItem.lHDist); in SwLabCfgItem() 316 aItem.lVDist = MM100_TO_TWIP(aItem.lVDist); in SwLabCfgItem() 320 aItem.lWidth = MM100_TO_TWIP(aItem.lWidth); in SwLabCfgItem() 324 aItem.lHeight = MM100_TO_TWIP(aItem.lHeight); in SwLabCfgItem() 328 aItem.lLeft = MM100_TO_TWIP(aItem.lLeft); in SwLabCfgItem() 332 aItem.lUpper = MM100_TO_TWIP(aItem.lUpper); in SwLabCfgItem()
|
/aoo4110/main/svx/source/items/ |
H A D | grfitem.cxx | 36 #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 D | algitem.cxx | 57 #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()
|
/aoo4110/main/svx/source/dialog/ |
H A D | rulritem.cxx | 60 #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()
|
/aoo4110/main/svl/source/items/ |
H A D | ptitem.cxx | 41 #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()
|
/aoo4110/main/editeng/source/items/ |
H A D | frmitems.cxx | 254 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 D | numitem.cxx | 50 #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 D | paraitem.cxx | 76 #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 D | textitem.cxx | 119 #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()
|
/aoo4110/main/sw/source/core/unocore/ |
H A D | unosett.cxx | 1003 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 D | unodraw.cxx | 670 SwTwips nHoriPos = MM100_TO_TWIP(aMM100Pos.X); in add() 683 SwTwips nVertPos = MM100_TO_TWIP(aMM100Pos.Y); in add() 743 Point aTmp(MM100_TO_TWIP(aMM100Pos.X), MM100_TO_TWIP(aMM100Pos.Y)); in add()
|
/aoo4110/main/sw/source/core/layout/ |
H A D | atrfrm.cxx | 361 aTmp.Height() = MM100_TO_TWIP(aTmp.Height()); in PutValue() 362 aTmp.Width() = MM100_TO_TWIP(aTmp.Width()); in PutValue() 415 nWd = MM100_TO_TWIP(nWd); in PutValue() 430 nHg = MM100_TO_TWIP(nHg); in PutValue() 1093 pCol->SetLeft ( static_cast<sal_uInt16>(MM100_TO_TWIP(pArray[i].LeftMargin)) ); in PutValue() 1094 pCol->SetRight( static_cast<sal_uInt16>(MM100_TO_TWIP(pArray[i].RightMargin)) ); in PutValue() 1337 nVal = MM100_TO_TWIP(nVal); in PutValue() 1460 nVal = MM100_TO_TWIP(nVal); in PutValue() 2344 nTmp = MM100_TO_TWIP( nTmp ); in PutValue()
|
/aoo4110/main/sw/source/ui/uiview/ |
H A D | view.cxx | 1309 nX = MM100_TO_TWIP( nX ); in ReadUserDataSequence() 1315 nY = MM100_TO_TWIP( nY ); in ReadUserDataSequence() 1321 nLeft = MM100_TO_TWIP( nLeft ); in ReadUserDataSequence() 1327 nTop = MM100_TO_TWIP( nTop ); in ReadUserDataSequence() 1333 nRight = MM100_TO_TWIP( nRight ); in ReadUserDataSequence() 1339 nBottom = MM100_TO_TWIP( nBottom ); in ReadUserDataSequence()
|
/aoo4110/main/sw/source/core/para/ |
H A D | paratr.cxx | 206 nDistance = (sal_Int16) MM100_TO_TWIP((sal_Int32)nVal); in PutValue() 218 nDistance = MM100_TO_TWIP(pDrop->Distance); in PutValue()
|
/aoo4110/main/sw/source/ui/config/ |
H A D | usrpref.cxx | 387 … 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 D | modcfg.cxx | 1250 …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 D | fontcfg.cxx | 144 …nDefaultFontHeight[nProp - DEF_FONT_COUNT] = MM100_TO_TWIP(nDefaultFontHeight[nProp - DEF_FONT_COU… in SwStdFontConfig()
|
/aoo4110/main/sw/source/ui/utlui/ |
H A D | uiitems.cxx | 169 nSet32 = MM100_TO_TWIP(nSet32); in PutValue() 183 aFtnInfo.SetLineWidth(MM100_TO_TWIP(nSet)); in PutValue()
|
/aoo4110/main/sw/source/filter/xml/ |
H A D | xmlimp.cxx | 1118 aRect.setY( static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp) ); in SetViewSettings() 1123 aRect.setX( static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp) ); in SetViewSettings() 1129 aSize.Width() = static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp); in SetViewSettings() 1136 aSize.Height() = static_cast< long >(bTwip ? MM100_TO_TWIP ( nTmp ) : nTmp); in SetViewSettings()
|
H A D | xmltexti.cxx | 114 nWidth = MM100_TO_TWIP( nWidth ); in lcl_putHeightAndWidth() 117 nHeight = MM100_TO_TWIP( nHeight ); in lcl_putHeightAndWidth()
|
/aoo4110/main/sw/source/ui/uno/ |
H A D | unomod.cxx | 701 aSize.Width() = MM100_TO_TWIP( nTmp ); in _setSingleValue() 711 aSize.Height() = MM100_TO_TWIP( nTmp ); in _setSingleValue()
|
/aoo4110/main/sw/inc/ |
H A D | swtypes.hxx | 234 #define MM100_TO_TWIP(MM100) ((MM100) >= 0 ? (((MM100)*72L+63L)/127L) : (((MM100)*72L-63L)/127L)) macro
|
/aoo4110/main/starmath/source/ |
H A D | unomodel.cxx | 73 #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()
|