Home
last modified time | relevance | path

Searched refs:TWIP_TO_MM100 (Results 1 – 25 of 33) sorted by path

12

/trunk/main/cui/source/tabpages/
H A Dnumpages.cxx3125 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) in lcl_PrintDebugOutput() macro
3130 String sDebugText( UniString::CreateFromInt32( TWIP_TO_MM100(rNumFmt.GetAbsLSpace() ) ) ); in lcl_PrintDebugOutput()
3132 sDebugText += UniString::CreateFromInt32( TWIP_TO_MM100(rNumFmt.GetCharTextDistance() ) ); in lcl_PrintDebugOutput()
3134 sDebugText += UniString::CreateFromInt32( TWIP_TO_MM100(rNumFmt.GetFirstLineOffset() ) ); in lcl_PrintDebugOutput()
3139 String sDebugText( UniString::CreateFromInt32( TWIP_TO_MM100(rNumFmt.GetListtabPos() ) ) ); in lcl_PrintDebugOutput()
3141 sDebugText += UniString::CreateFromInt32( TWIP_TO_MM100(rNumFmt.GetFirstLineIndent() ) ); in lcl_PrintDebugOutput()
3143 sDebugText += UniString::CreateFromInt32( TWIP_TO_MM100(rNumFmt.GetIndentAt() ) ); in lcl_PrintDebugOutput()
/trunk/main/editeng/source/items/
H A Dfrmitems.cxx96 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
225 aTmp.Height = TWIP_TO_MM100(aTmp.Height); in QueryValue()
226 aTmp.Width = TWIP_TO_MM100(aTmp.Width); in QueryValue()
440 rVal <<= (sal_Int32)(bConvert ? TWIP_TO_MM100(nLeftMargin) : nLeftMargin); in QueryValue()
444 rVal <<= (sal_Int32)(bConvert ? TWIP_TO_MM100(nTxtLeft) : nTxtLeft); in QueryValue()
447 rVal <<= (sal_Int32)(bConvert ? TWIP_TO_MM100(nRightMargin) : nRightMargin); in QueryValue()
457 rVal <<= (sal_Int32)(bConvert ? TWIP_TO_MM100(nFirstLineOfst) : nFirstLineOfst); in QueryValue()
H A Dparaitem.cxx74 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
159 aLSp.Height = ( bConvert ? (short)TWIP_TO_MM100(nInterLineSpace) : nInterLineSpace); in QueryValue()
1028 … pArr[i].Position = bConvert ? TWIP_TO_MM100(rTab.GetTabPos()) : rTab.GetTabPos(); in QueryValue()
1048 … rVal <<= static_cast<sal_Int32>(bConvert ? TWIP_TO_MM100(rTab.GetTabPos()) : rTab.GetTabPos()); in QueryValue()
H A Dtextitem.cxx118 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
983 nDiff = (short)TWIP_TO_MM100((long)(nDiff)); in lcl_GetRealHeight_Impl()
1078 nHeight += bConvert ? nCoreDiffValue : TWIP_TO_MM100(nCoreDiffValue); in PutValue()
2295 nVal = (sal_Int16)TWIP_TO_MM100(nVal); in QueryValue()
/trunk/main/starmath/source/
H A Dunomodel.cxx72 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
574 nVal = static_cast < sal_Int16 > ( TWIP_TO_MM100(nVal) ); in _setPropertyValues()
/trunk/main/svl/source/items/
H A Dptitem.cxx40 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
145 aTmp.X = TWIP_TO_MM100(aTmp.X); in QueryValue()
146 aTmp.Y = TWIP_TO_MM100(aTmp.Y); in QueryValue()
/trunk/main/svx/source/dialog/
H A Drulritem.cxx59 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
73 aLeftRightMargin.Left = bConvert ? TWIP_TO_MM100( lLeft ) : lLeft; in QueryValue()
74 aLeftRightMargin.Right = bConvert ? TWIP_TO_MM100( lRight ) : lRight; in QueryValue()
85 nVal = TWIP_TO_MM100( nVal ); in QueryValue()
199 aUpperLowerMargin.Upper = bConvert ? TWIP_TO_MM100( lLeft ) : lLeft; in QueryValue()
200 aUpperLowerMargin.Lower = bConvert ? TWIP_TO_MM100( lRight ) : lRight; in QueryValue()
211 nVal = TWIP_TO_MM100( nVal ); in QueryValue()
/trunk/main/svx/source/items/
H A Dalgitem.cxx56 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
684 rVal <<= (sal_Int32)( bConvert ? TWIP_TO_MM100(nLeftMargin) : nLeftMargin ); in QueryValue()
687 rVal <<= (sal_Int32)( bConvert ? TWIP_TO_MM100(nRightMargin) : nRightMargin ); in QueryValue()
690 rVal <<= (sal_Int32)( bConvert ? TWIP_TO_MM100(nTopMargin) : nTopMargin ); in QueryValue()
693 rVal <<= (sal_Int32)( bConvert ? TWIP_TO_MM100(nBottomMargin) : nBottomMargin ); in QueryValue()
707 long nMaxVal = bConvert ? TWIP_TO_MM100(SHRT_MAX) : SHRT_MAX; // Members sind sal_Int16 in PutValue()
H A Dgrfitem.cxx35 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
128 aRet.Right = TWIP_TO_MM100(aRet.Right ); in QueryValue()
129 aRet.Top = TWIP_TO_MM100(aRet.Top ); in QueryValue()
130 aRet.Left = TWIP_TO_MM100(aRet.Left ); in QueryValue()
131 aRet.Bottom = TWIP_TO_MM100(aRet.Bottom); in QueryValue()
/trunk/main/svx/source/xoutdev/
H A Dxattr.cxx69 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
1493 nValue = TWIP_TO_MM100(nValue); in QueryValue()
/trunk/main/sw/inc/
H A Dswtypes.hxx233 #define TWIP_TO_MM100(TWIP) ((TWIP) >= 0 ? (((TWIP)*127L+36L)/72L) : (((TWIP)*127L-36L)/72L)) macro
/trunk/main/sw/source/core/graphic/
H A Dndgrf.cxx1219 rGA.SetCrop( TWIP_TO_MM100( rCrop.GetLeft() ), in GetGraphicAttr()
1220 TWIP_TO_MM100( rCrop.GetTop() ), in GetGraphicAttr()
1221 TWIP_TO_MM100( rCrop.GetRight() ), in GetGraphicAttr()
1222 TWIP_TO_MM100( rCrop.GetBottom() ) ); in GetGraphicAttr()
/trunk/main/sw/source/core/layout/
H A Datrfrm.cxx297 aTmp.Height = TWIP_TO_MM100(aSize.Height()); in QueryValue()
298 aTmp.Width = TWIP_TO_MM100(aSize.Width()); in QueryValue()
321 rVal <<= (sal_Int32)TWIP_TO_MM100(aSize.Width()); in QueryValue()
328 rVal <<= (sal_Int32)TWIP_TO_MM100(aSize.Height() < MINLAY ? MINLAY : aSize.Height() ); in QueryValue()
1297 rVal <<= (sal_Int32)TWIP_TO_MM100(GetPos()); in QueryValue()
1413 rVal <<= (sal_Int32)TWIP_TO_MM100(GetPos()); in QueryValue()
/trunk/main/sw/source/core/unocore/
H A Dunodraw.cxx674 aMM100Pos.X = TWIP_TO_MM100(pDesc->GetHOrient()->GetPos()); in add()
687 aMM100Pos.Y = TWIP_TO_MM100(pDesc->GetVOrient()->GetPos()); in add()
1530 awt::Point aPoint( TWIP_TO_MM100( aPt.X() ), in getPropertyValue()
1531 TWIP_TO_MM100( aPt.Y() ) ); in getPropertyValue()
2276 aOffset.X = TWIP_TO_MM100(aOffset.X); in getPosition()
2277 aOffset.Y = TWIP_TO_MM100(aOffset.Y); in getPosition()
2462 aAttrPos.X = TWIP_TO_MM100(aObjRect.Left()); in _GetAttrPosition()
2463 aAttrPos.Y = TWIP_TO_MM100(aObjRect.Top()); in _GetAttrPosition()
2558 TWIP_TO_MM100( aTmpObjPos.X() - pObj->GetAnchorPos().X() ), in _ConvertTransformationToLayoutDir()
2709 TWIP_TO_MM100( aTmpObjPos.X() - pObj->GetAnchorPos().X() ), in _ConvertStartOrEndPosToLayoutDir()
[all …]
H A Dunoframe.cxx2146 aTmp.Width = TWIP_TO_MM100(aActSize.Width()); in getPropertyValue()
2147 aTmp.Height = TWIP_TO_MM100(aActSize.Height()); in getPropertyValue()
H A Dunoidx.cxx3306 sal_Int32 nPos = (TWIP_TO_MM100(aToken.nTabStopPosition)); in getByIndex()
H A Dunosett.cxx1525 sal_Int32 nINT32 = TWIP_TO_MM100(rFmt.GetAbsLSpace()); in GetNumberingRuleByIndex()
1530 nINT32 = TWIP_TO_MM100(rFmt.GetCharTextDistance()); in GetNumberingRuleByIndex()
1535 nINT32 = TWIP_TO_MM100(rFmt.GetFirstLineOffset()); in GetNumberingRuleByIndex()
1571 sal_Int32 nINT32 = TWIP_TO_MM100(rFmt.GetListtabPos()); in GetNumberingRuleByIndex()
1578 nINT32 = TWIP_TO_MM100(rFmt.GetFirstLineIndent()); in GetNumberingRuleByIndex()
1585 nINT32 = TWIP_TO_MM100(rFmt.GetIndentAt()); in GetNumberingRuleByIndex()
1663 awt::Size aAwtSize(TWIP_TO_MM100(aSize.Width()), TWIP_TO_MM100(aSize.Height())); in GetNumberingRuleByIndex()
2548 nAutoDistance = TWIP_TO_MM100(nAutoDistance); in SwXTextColumns()
2742 aRet <<= static_cast < sal_Int32 >(TWIP_TO_MM100(nSepLineWidth)); in getPropertyValue()
H A Dunotbl.cxx1386 aRet <<= (sal_Int32)(TWIP_TO_MM100(rSize.GetSize().Height())); in getPropertyValue()
/trunk/main/sw/source/filter/html/
H A Dhtmlform.cxx992 nLeftSpace = static_cast< sal_uInt16 >(TWIP_TO_MM100( aLRItem.GetLeft() )); in InsertControl()
997 nRightSpace = static_cast< sal_uInt16 >(TWIP_TO_MM100( aLRItem.GetRight() )); in InsertControl()
1184 nXPos = TWIP_TO_MM100( rCSS1PropInfo.nLeft ) + nLeftSpace; in InsertControl()
1185 nYPos = TWIP_TO_MM100( rCSS1PropInfo.nTop ) + nUpperSpace; in InsertControl()
1908 aSz.Width() = TWIP_TO_MM100( aCSS1PropInfo.nWidth ); in InsertInput()
1914 aSz.Height() = TWIP_TO_MM100( aCSS1PropInfo.nHeight ); in InsertInput()
2181 aSz.Width() = TWIP_TO_MM100( aCSS1PropInfo.nWidth ); in NewTextArea()
2186 aSz.Height() = TWIP_TO_MM100( aCSS1PropInfo.nHeight ); in NewTextArea()
2464 aSz.Width() = TWIP_TO_MM100( aCSS1PropInfo.nWidth ); in NewSelect()
2470 aSz.Height() = TWIP_TO_MM100( aCSS1PropInfo.nHeight ); in NewSelect()
/trunk/main/sw/source/filter/xml/
H A Dxmlexp.cxx494 pValue[nIndex++].Value <<= bTwip ? TWIP_TO_MM100 ( rRect.Top() ) : rRect.Top(); in GetViewSettings()
497 pValue[nIndex++].Value <<= bTwip ? TWIP_TO_MM100 ( rRect.Left() ) : rRect.Left(); in GetViewSettings()
500 pValue[nIndex++].Value <<= bTwip ? TWIP_TO_MM100 ( rRect.GetWidth() ) : rRect.GetWidth(); in GetViewSettings()
503 pValue[nIndex++].Value <<= bTwip ? TWIP_TO_MM100 ( rRect.GetHeight() ) : rRect.GetHeight(); in GetViewSettings()
/trunk/main/sw/source/ui/config/
H A Dfontcfg.cxx178 …pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(nDefaultFontHeight[nProp - DEF_FONT_COUNT]… in Commit()
H A Dusrpref.cxx330 …case 15: rVal <<= static_cast<sal_Int32>(TWIP_TO_MM100(rParent.GetDefTab())); break;// "Other/TabS… in Commit()
459 …case 3: pValues[nProp] <<= (sal_Int32)TWIP_TO_MM100(rParent.GetSnapSize().Width()); break;// … in Commit()
460 …case 4: pValues[nProp] <<= (sal_Int32)TWIP_TO_MM100(rParent.GetSnapSize().Height()); break;// … in Commit()
/trunk/main/sw/source/ui/envelp/
H A Denvimg.cxx275 …case 3: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lAddrFromLeft)) ; break… in Commit()
276 …case 4: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lAddrFromTop)) ; break… in Commit()
277 …case 5: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lSendFromLeft)) ; break… in Commit()
278 …case 6: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lSendFromTop)) ; break… in Commit()
279 …case 7: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lWidth)) ; break;// "F… in Commit()
280 …case 8: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lHeight)) ; break;// "F… in Commit()
283 …case 11: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lShiftRight));break; //… in Commit()
284 …case 12: pValues[nProp] <<= static_cast <sal_Int32>(TWIP_TO_MM100(aEnvItem.lShiftDown)); break;// … in Commit()
H A Dlabelcfg.cxx144 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lHDist) ); sTmp += sColon; in lcl_CreateProperties()
145 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lVDist)); sTmp += sColon; in lcl_CreateProperties()
146 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lWidth) ); sTmp += sColon; in lcl_CreateProperties()
147 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lHeight) ); sTmp += sColon; in lcl_CreateProperties()
148 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lLeft) ); sTmp += sColon; in lcl_CreateProperties()
149 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lUpper) ); sTmp += sColon; in lcl_CreateProperties()
152 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lPaperWidth));sTmp += sColon; in lcl_CreateProperties()
153 sTmp += OUString::valueOf(TWIP_TO_MM100(rRec.lPaperHeight)); in lcl_CreateProperties()
H A Dlabimg.cxx443 …case 5: pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(aItem.lHDist));break;// "Format/H… in Commit()
444 …case 6: pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(aItem.lVDist));break;// "Format/V… in Commit()
445 …case 7: pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(aItem.lWidth)); break;// "Forma… in Commit()
446 …case 8: pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(aItem.lHeight)); break;// "Form… in Commit()
447 …case 9: pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(aItem.lLeft)); break;// "Format… in Commit()
448 …case 10: pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(aItem.lUpper)); break;// "Forma… in Commit()
449 …case 11: pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(aItem.lPaperWidth)); break;// "… in Commit()
450 …case 12: pValues[nProp] <<= static_cast<sal_Int32>(TWIP_TO_MM100(aItem.lPaperHeight)); break;// … in Commit()

Completed in 453 milliseconds

12