/trunk/main/vcl/source/control/ |
H A D | tabctrl.cxx | 360 long nW = nWidth-TAB_OFFSET*2; in ImplGetTabRect() local 362 return (nW > 0 && nH > 0) in ImplGetTabRect() 363 ? Rectangle( Point( TAB_OFFSET, TAB_OFFSET ), Size( nW, nH ) ) in ImplGetTabRect() 376 long nW = nWidth-TAB_OFFSET*2; in ImplGetTabRect() local 378 aRect = (nW > 0 && nH > 0) in ImplGetTabRect() 379 ? Rectangle( Point( TAB_OFFSET, aRect.Bottom()+TAB_OFFSET ), Size( nW, nH ) ) in ImplGetTabRect()
|
/trunk/main/editeng/source/editeng/ |
H A D | editdoc2.cxx | 509 sal_uInt16 nW = pSourcePool->GetTrueWhich( nSlot ); in ConvertAndPutItems() local 510 if ( nW ) in ConvertAndPutItems() 511 nSourceWhich = nW; in ConvertAndPutItems()
|
H A D | impedit2.cxx | 2356 for ( sal_uInt16 nW = 0; nW < nRWrongs; nW++ ) in ImpConnectParagraphs() local 2358 WrongRange aWrong = pRight->GetWrongList()->GetObject( nW ); in ImpConnectParagraphs() 2959 for ( sal_uInt16 nW = 0; nW < nLWrongs; nW++ ) in ImpInsertParaBreak() local 2961 WrongRange& rWrong = pLWrongs->GetObject( nW ); in ImpInsertParaBreak()
|
H A D | impedit3.cxx | 876 long nW = nB - nA; in CreateLines() local 877 if ( nW > nMaxRangeWidth ) in CreateLines() 879 nMaxRangeWidth = nW; in CreateLines() 1110 long nW = nWidthAfterTab; // Length before tab position in CreateLines() local 1117 nW = nWidthAfterTab/2; in CreateLines() 1127 nW -= pParaPortion->GetTextPortions().GetObject( nTmpPortion )->GetSize().Width(); in CreateLines() 1128 …nW += aTmpFont.QuickGetTextSize( GetRefDevice(), *pParaPortion->GetNode(), nTmpPos, nDecPos, NULL … in CreateLines() 1137 if ( nW >= nMaxW ) in CreateLines() 1139 nW = nMaxW; in CreateLines() 1143 pTabPortion->GetSize().Width() = aCurrentTab.nTabPos - aCurrentTab.nStartPosX - nW - nStartX; in CreateLines()
|
H A D | impedit5.cxx | 689 for ( sal_uInt16 nW = EE_CHAR_START; nW <= EE_CHAR_END; nW++ ) in RemoveCharAttribs() local 690 aAttribs.ClearItem( nW ); in RemoveCharAttribs()
|
H A D | impedit.cxx | 798 long nW = aOutArea.GetWidth() / 4; in ShowCursor() local 799 if ( Abs( nDiffX ) < nW ) in ShowCursor() 802 nDiffY -= nW; in ShowCursor() 804 nDiffY += nW; in ShowCursor()
|
H A D | editobj.cxx | 966 for ( sal_uInt16 nW = nStart; nW <= nEnd; nW++ ) in MergeParaAttribs() local 968 if ( ( pC->GetParaAttribs().GetItemState( nW, sal_False ) != SFX_ITEM_ON ) in MergeParaAttribs() 969 && ( rAttribs.GetItemState( nW, sal_False ) == SFX_ITEM_ON ) ) in MergeParaAttribs() 971 pC->GetParaAttribs().Put( rAttribs.Get( nW ) ); in MergeParaAttribs()
|
H A D | editview.cxx | 1128 for ( sal_uInt16 nW = 0; nW < nWords; nW++ ) in ExecuteSpellPopup() local 1130 String aAlternate( pAlt[nW] ); in ExecuteSpellPopup() 1131 aPopupMenu.InsertItem( MN_ALTSTART+nW, aAlternate, 0, nW ); in ExecuteSpellPopup() 1132 pAutoMenu->InsertItem( MN_AUTOSTART+nW, aAlternate, 0, nW ); in ExecuteSpellPopup()
|
H A D | editdoc.cxx | 801 sal_uInt16 nW = pAttrib->GetItem()->Which(); in ExpandAttribs() local 805 if ( ( pA->GetStart() == 0 ) && ( pA->GetItem()->Which() == nW ) ) in ExpandAttribs()
|
/trunk/main/vcl/source/gdi/ |
H A D | outdev3.cxx | 4948 long nW = 0; in ImplGetTextLines() local 4956 nW = _rLayout.GetTextWidth( rStr, nPos, nSpacePos-nPos ); in ImplGetTextLines() 4958 } while( nW > nWidth ); in ImplGetTextLines() 7629 const long nW = pAcc->Width(); in GetTextBoundRect() local 7638 for( nLeft = 0; nLeft < nW; ++nLeft ) in GetTextBoundRect() 7641 if( nLeft < nW ) in GetTextBoundRect() 7649 for( nRight = nW; --nRight >= 0; ) in GetTextBoundRect() 7672 for( nX = nW; --nX > nRight; ) in GetTextBoundRect()
|
H A D | bitmapex.cxx | 1185 const sal_uInt32 nW(rSize.Width()); in createBlendFrame() local 1188 if(nW || nH) in createBlendFrame() 1192 const sal_uInt32 nDE(nW + nH); in createBlendFrame() 1237 const long nW(rSize.Width()); in createBlendFrame() local 1240 if(nW && nH) in createBlendFrame() 1261 for(x = 1; x < nW - 1; x++) in createBlendFrame() 1265 aMix.Merge(aColorTopRight, 255 - sal_uInt8((x * 255) / nW)); in createBlendFrame() 1272 if(x < nW) in createBlendFrame() 1288 if(x < nW) in createBlendFrame() 1306 for(x = 1; x < nW - 1; x++) in createBlendFrame() [all …]
|
H A D | bitmap3.cxx | 1385 long nW = pAcc->Width() ; in ImplScaleSuper() local 1404 const double fRevScaleX = ( nDstW > 1L ) ? ( (double) ( nW - 1 ) / ( nDstW - 1 ) ) : 0.0; in ImplScaleSuper() 1408 for( nX = 0L, nTempX = nW - 1L, nTemp = nW - 2L; nX < nDstW; nX++ ) in ImplScaleSuper() 2647 long nW = nWidth * 3L; in ImplDitherFloyd() local 2648 long nW2 = nW - 3L; in ImplDitherFloyd() 2653 long* p1 = new long[ nW ]; in ImplDitherFloyd() 2654 long* p2 = new long[ nW ]; in ImplDitherFloyd() 3378 const long nW = pAcc->Width(); in Adjust() local 3446 for( nX = 0L; nX < nW; nX++ ) in Adjust() 3460 for( nX = 0L; nX < nW; nX++ ) in Adjust() [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salgdi.cxx | 577 const long nW(aRectIter->Right() - aRectIter->Left() + 1); // uses +1 logic in original in setClipRegion() local 579 if(nW) in setClipRegion() 585 const CGRect aRect = CGRectMake( aRectIter->Left(), aRectIter->Top(), nW, nH); in setClipRegion() 855 long nX = leftX, nY = topY, nW = maxWidth, nH = maxHeight; in drawPolyPolygon() local 856 getBoundRect( pPoints[n], ppPtAry[n], nX, nY, nW, nH ); in drawPolyPolygon() 867 if( nX + nW > leftX + maxWidth ) in drawPolyPolygon() 868 maxWidth = nX + nW - leftX; in drawPolyPolygon()
|
/trunk/main/sw/source/core/layout/ |
H A D | paintfrm.cxx | 1147 const long nW = nWidth % nPixelSzW; in lcl_AlignWidth() local 1149 if ( !nW || nW > nHalfPixelSzW ) in lcl_AlignWidth() 5180 SwTwips nW = Min(nRight, aTmp.Pos().X()) - nPos; in PaintGrid() local 5182 Size( nW, 1 ) ); in PaintGrid() 5183 if( nW > 0 ) in PaintGrid() 5238 SwTwips nW = Min(nRight, aTmp.Pos().X()) - nPos; in PaintGrid() local 5240 Size( nW, 1 ) ); in PaintGrid() 5241 if( nW > 0 ) in PaintGrid()
|
/trunk/main/svx/source/svdraw/ |
H A D | svdotext.cxx | 667 const long nW(std::max(long(0), (long)(aRect.GetWidth() - 1 - nDist))); in AdaptTextMinSize() local 669 aSet.Put(SdrTextMinFrameWidthItem(nW)); in AdaptTextMinSize()
|
H A D | svdoashp.cxx | 1919 long nW = (long)( fObjectRotation * 100 ); // applying our object rotation in NbcRotate() local 1921 nW = 36000 - nW; in NbcRotate() 1923 nW = 18000 - nW; in NbcRotate() 1924 nW = nW % 36000; in NbcRotate() 1925 if ( nW < 0 ) in NbcRotate() 1926 nW = 36000 + nW; in NbcRotate() 1927 SdrTextObj::NbcRotate( aRect.TopLeft(), nW, // applying text rotation in NbcRotate() 1928 sin( nW * F_PI18000 ), in NbcRotate() 1929 cos( nW * F_PI18000 ) ); in NbcRotate()
|
H A D | svdedxv.cxx | 1634 sal_uInt16 nW=pItem->Which(); in SetAttributes() local 1635 if (nW>=EE_FEATURE_START && nW<=EE_FEATURE_END) in SetAttributes()
|
/trunk/main/svtools/source/misc/ |
H A D | embedhlp.cxx | 800 long nW = nHeight * aBmpSize.Width() / aBmpSize.Height(); in DrawPaintReplacement() local 802 aP.X() += (nWidth - nW) / 2; in DrawPaintReplacement() 803 nWidth = nW; in DrawPaintReplacement()
|
/trunk/main/sw/source/filter/ww8/ |
H A D | ww8graf.cxx | 416 short nW = nA[ ( ( SVBT8ToByte( aArc.fLeft ) & 1 ) << 1 ) in ReadArc() local 428 nW * 9000, ( ( nW + 1 ) & 3 ) * 9000 ); in ReadArc()
|
/trunk/main/svx/workben/ |
H A D | edittest.cxx | 1503 long nW = aCurFrame.Right() - aOutArea.Right(); in MarkOutputArea() local 1505 aPos.X() -= nW; in MarkOutputArea() 1506 Invalidate( Rectangle( aPos, Size( nW, aCurFrame.GetHeight() ) ) ); in MarkOutputArea()
|
/trunk/main/svx/source/sdr/properties/ |
H A D | textproperties.cxx | 325 sal_uInt16 nW(pItem->Which()); in SetStyleSheet() local 327 if(nW >= EE_ITEMS_START && nW <= EE_ITEMS_END) in SetStyleSheet() 329 rOutliner.QuickRemoveCharAttribs((sal_uInt16)nPara, nW); in SetStyleSheet()
|
/trunk/main/vcl/source/window/ |
H A D | splitwin.cxx | 1643 long nW; in ImplCalcLayout() local 1662 nW = mnDX-mnLeftBorder-mnRightBorder; in ImplCalcLayout() 1669 nW -= nSplitSize; in ImplCalcLayout() 1673 ImplCalcSet( mpMainSet, nL, nT, nW, nH, mbHorz, !mbBottomRight ); in ImplCalcLayout()
|
/trunk/main/sd/source/ui/app/ |
H A D | sdmod2.cxx | 505 sal_uInt32 nW = 10L; in CreateItemSet() local 513 nW = aSize.Width(); in CreateItemSet() 531 pRet->Put( SfxUInt32Item( ATTR_OPTIONS_SCALE_WIDTH, nW ) ); in CreateItemSet()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmltab.cxx | 1163 sal_uInt16 nW = bPrcWidth ? nWidth : pParser->ToTwips( nWidth ); in CreateLayoutInfo() local 1176 nW, bPrcWidth, nBorder, nCellPadding, in CreateLayoutInfo()
|
/trunk/main/sc/source/ui/view/ |
H A D | printfun.cxx | 2880 sal_uInt16 nW = aTableParam.nScaleWidth; in CalcZoom() local 2890 bool bFitsPage = ((!nW || (nPagesX <= nW)) && (!nH || (nPagesY <= nH))); in CalcZoom()
|