/trunk/main/svtools/source/control/ |
H A D | taskmisc.cxx | 93 if ( nHeight < 24 ) in ImplPosSizeWindow() 94 nHeight = 24; in ImplPosSizeWindow() 159 if ( nHeight < 1 ) in ImplTile() 160 nHeight = 1; in ImplTile() 165 nTempHeight = nHeight; in ImplTile() 201 nHeight /= nCount; in ImplHorz() 202 if ( nHeight < 1 ) in ImplHorz() 203 nHeight = 1; in ImplHorz() 208 nTempHeight = nHeight; in ImplHorz() 305 if ( nHeight < 1 ) in ImplCascade() [all …]
|
/trunk/main/filter/source/graphicfilter/ipbm/ |
H A D | ipbm.cxx | 262 sal_uLong nHeight = 0; in ImplReadBody() local 272 while ( nHeight != mnHeight ) in ImplReadBody() 287 nHeight++; in ImplReadBody() 295 while ( nHeight != mnHeight ) in ImplReadBody() 301 mpAcc->SetPixelIndex( nHeight, nWidth++, nDat); in ImplReadBody() 306 nHeight++; in ImplReadBody() 314 while ( nHeight != mnHeight ) in ImplReadBody() 329 nHeight++; in ImplReadBody() 367 if ( ++nHeight == mnHeight ) in ImplReadBody() 396 if ( ++nHeight == mnHeight ) in ImplReadBody() [all …]
|
/trunk/main/sw/source/filter/ww8/ |
H A D | wrtww8gr.cxx | 438 nHeight-=nFontHeight/20; in OutGrf() 444 Set_UInt16( pArr, -((sal_Int16)nHeight)); in OutGrf() 591 nHeight = nHeight - nSpacing; in WritePICFHeader() 628 aGrTwipSz.Height() = nHeight; in WritePICFHeader() 714 WritePICFHeader(rStrm, rFly, mm, nWidth, nHeight, in WriteGrfFromGrfNode() 795 nHeight -= nThick; in WritePICBulletFHeader() 796 nHeight = nHeight - nSpacing; in WritePICBulletFHeader() 824 aGrTwipSz.Height() = nHeight; in WritePICBulletFHeader() 863 WritePICBulletFHeader(rStrm,rGrf, 0x64,nWidth,nHeight); in WriteGrfForBullet() 900 sal_uInt16 nHeight = rItem.mnHei; in WriteGraphicNode() local [all …]
|
/trunk/main/vcl/source/gdi/ |
H A D | bitmap.cxx | 633 const long nHeight = pAcc->Height(); in Invert() local 662 const long nHeight = pAcc->Height(); in Mirror() local 689 const long nHeight = pAcc->Height(); in Mirror() local 690 const long nHeight1 = nHeight - 1L; in Mirror() 713 const long nHeight = pAcc->Height(); in Mirror() local 714 long nHeight_2 = nHeight >> 1; in Mirror() 728 if( nHeight & 1 ) in Mirror() 1150 const long nNewY = nHeight; in Expand() 1159 for( nY = 0L; nY < nHeight; nY++ ) in Expand() 1646 for( long nY = 0L, nHeight = pAcc->Height(); nY < nHeight; nY++ ) in Replace() local [all …]
|
H A D | bitmap4.cxx | 120 const long nHeight = pWriteAcc->Height(), nHeight2 = nHeight + 2; in ImplConvolute3() local 149 pRows[ nHeight + 1 ] = pRows[ nHeight ]; in ImplConvolute3() 209 if( ++nY < nHeight ) in ImplConvolute3() 267 const long nHeight = pWriteAcc->Height(), nHeight2 = nHeight + 2; in ImplMedianFilter() local 292 pRows[ nHeight + 1 ] = pRows[ nHeight ]; in ImplMedianFilter() 341 if( ++nY < nHeight ) in ImplMedianFilter() 427 pVMap[ nHeight + 1 ] = nHeight - 1; in ImplSobelGrey() 559 pVMap[ nHeight + 1 ] = nHeight - 1; in ImplEmbossGrey() 806 if( nY2 >= nHeight ) in ImplMosaic() 807 nY2 = nHeight - 1; in ImplMosaic() [all …]
|
H A D | bitmap3.cxx | 792 if( nYTmp < nHeight ) in ImplConvertDown() 1191 long nHeight = pReadAcc->Height(); in ImplScaleInterpolate() local 1218 for( nY = 0L; nY < nHeight; nY++ ) in ImplScaleInterpolate() 1307 if( 1 == nHeight ) in ImplScaleInterpolate() 2337 if(nHeight == nNewHeight) in ImplScaleConvolutionVer() 2645 long nHeight = pReadAcc->Height(); in ImplDitherFloyd() local 2691 if( nY < nHeight ) in ImplDitherFloyd() 2831 if( nYTmp < nHeight ) in ImplDitherFloyd16() 3016 for( nY = 0L; nY < nHeight; nY++ ) in ImplReducePopular() 3029 for( nY = 0L; nY < nHeight; nY++ ) in ImplReducePopular() [all …]
|
H A D | salmisc.cxx | 93 const long nWidth = rDstBuffer.mnWidth, nHeight = rDstBuffer.mnHeight, nHeight1 = nHeight - 1; in ImplPALToPAL() local 110 for( long nActY = 0, nMapY; nActY < nHeight; nActY++ ) in ImplPALToPAL() 127 const long nWidth = rDstBuffer.mnWidth, nHeight = rDstBuffer.mnHeight, nHeight1 = nHeight - 1; in ImplPALToTC() local 138 for( long nActY = 0, nMapY; nActY < nHeight; nActY++ ) in ImplPALToTC() 157 for( long nActY = 0, nMapY; nActY < nHeight; nActY++ ) in ImplPALToTC() 174 for( long nActY = 0, nMapY; nActY < nHeight; nActY++ ) in ImplPALToTC() 186 for( long nActY = 0, nMapY; nActY < nHeight; nActY++ ) in ImplPALToTC() 204 const long nWidth = rDstBuffer.mnWidth, nHeight = rDstBuffer.mnHeight, nHeight1 = nHeight - 1; in ImplTCToTC() local 213 for( long nActY = 0, nMapY; nActY < nHeight; nActY++ ) in ImplTCToTC() 248 const long nWidth = rDstBuffer.mnWidth, nHeight = rDstBuffer.mnHeight, nHeight1 = nHeight - 1; in ImplTCToPAL() local [all …]
|
H A D | dibtools.cxx | 91 sal_Int32 nHeight; member 104 nHeight(0UL), in DIBInfoHeader() 198 if(nUsed < rHeader.nSize) { rIStm >> rHeader.nHeight; nUsed += sizeof(rHeader.nHeight); } in ImplReadDIBInfoHeader() 238 if ( rHeader.nHeight < 0 ) in ImplReadDIBInfoHeader() 241 rHeader.nHeight *= -1; in ImplReadDIBInfoHeader() 292 long nY = rHeader.nHeight - 1L; in ImplDecodeRLE() 458 const long nHeight(rHeader.nHeight); in ImplReadDIBBits() local 463 long nCount(nHeight); in ImplReadDIBBits() 623 && aHeader.nHeight != 0 in ImplReadDIBBody() 1170 aHeader.nHeight = rAcc.Height(); in ImplWriteDIBBody() [all …]
|
H A D | alpha.cxx | 160 const long nSrcEndY = aRectSrc.Top() + nHeight; in CopyPixel() 168 bRet = ( nWidth > 0L ) && ( nHeight > 0L ); in CopyPixel() 192 const long nSrcEndY1 = nSrcY + nHeight - 1L; in CopyPixel() 196 const long nDstEndY1 = nDstY + nHeight - 1L; in CopyPixel() 251 const long nWidth = pAcc->Width(), nHeight = pAcc->Height(); in Invert() local 257 for( long nY = 0L; nY < nHeight; nY++ ) in Invert() 326 const long nHeight = Min( pMaskAcc->Height(), pAcc->Height() ); in Replace() local 329 for( long nY = 0L; nY < nHeight; nY++ ) in Replace() 356 const long nWidth = pAcc->Width(), nHeight = pAcc->Height(); in Replace() local 360 for( long nY = 0L; nY < nHeight; nY++ ) in Replace() [all …]
|
H A D | outdev6.cxx | 793 long nWidth, long nHeight, in ImplDrawColorWallpaper() argument 812 long nWidth, long nHeight, in ImplDrawBitmapWallpaper() argument 864 ImplDrawGradientWallpaper( nX, nY, nWidth, nHeight, rWallpaper ); in ImplDrawBitmapWallpaper() 867 ImplDrawColorWallpaper( nX, nY, nWidth, nHeight, rWallpaper ); in ImplDrawBitmapWallpaper() 881 aSize = Size( nWidth, nHeight ); in ImplDrawBitmapWallpaper() 955 const long nBottom = nY + nHeight - 1L; in ImplDrawBitmapWallpaper() 1055 long nWidth, long nHeight, in ImplDrawGradientWallpaper() argument 1068 aBound = Rectangle( Point( nX, nY ), Size( nWidth, nHeight ) ); in ImplDrawGradientWallpaper() 1105 long nWidth, long nHeight, in ImplDrawWallpaper() argument 1109 ImplDrawBitmapWallpaper( nX, nY, nWidth, nHeight, rWallpaper ); in ImplDrawWallpaper() [all …]
|
/trunk/main/vcl/unx/headless/ |
H A D | svpframe.cxx | 201 void SvpSalFrame::SetMinClientSize( long nWidth, long nHeight ) in SetMinClientSize() argument 204 m_nMinHeight = nHeight; in SetMinClientSize() 210 m_nMaxHeight = nHeight; in SetMaxClientSize() 229 maGeometry.nHeight = nHeight; in SetPosSize() 231 maGeometry.nHeight = m_nMaxHeight; in SetPosSize() 233 maGeometry.nHeight = m_nMinHeight; in SetPosSize() 257 rHeight = maGeometry.nHeight; in GetClientSize() 292 long nHeight = maGeometry.nHeight; in SetWindowState() local 302 nHeight = pState->mnHeight; in SetWindowState() 304 SetPosSize( nX, nY, nWidth, nHeight, in SetWindowState() [all …]
|
/trunk/main/sw/source/ui/utlui/ |
H A D | shdwcrsr.cxx | 46 nHeight = pWin->LogicToPixel( Size( 0, nHeight )).Height(); in SetPos() 47 if( aOldPt != aPt || nOldHeight != nHeight || nOldMode != nMode ) in SetPos() 52 DrawCrsr( aPt, nHeight, nMode ); in SetPos() 54 nOldHeight = nHeight; in SetPos() 59 void SwShadowCursor::DrawTri( const Point& rPt, long nHeight, sal_Bool bLeft ) in DrawTri() argument 61 long nLineDiff = ( nHeight / 2 ); in DrawTri() 68 Point aPt2( aPt1.X(), aPt1.Y() + nHeight - nLineDiff - 1 ); in DrawTri() 80 nHeight = (((nHeight / 4)+1) * 4) + 1; in DrawCrsr() 91 Point( rPt.X(), rPt.Y() - 2 + nHeight )); in DrawCrsr() 95 DrawTri( rPt, nHeight, sal_False ); in DrawCrsr() [all …]
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salbmp.cxx | 81 nHeight += nY, nY = 0; in Create() 85 if( nHeight >= (int)aLayerSize.height - nY ) in Create() 86 nHeight = (int)aLayerSize.height - nY; in Create() 87 if( (nWidth < 0) || (nHeight < 0) ) in Create() 88 nWidth = nHeight = 0; in Create() 92 mnHeight = nHeight; in Create() 515 aSrcBuf.mnHeight = aDstBuf.mnHeight = nHeight; in ConvertBitmapData() 534 sal_uInt32 nY = nHeight; in ConvertBitmapData() 749 int nX, int nY, int nWidth, int nHeight ) const in CreateWithMask() 774 pMaskMem, nHeight * nMaskBytesPerRow, &CFRTLFree ) ); in CreateWithMask() [all …]
|
/trunk/main/cui/source/options/ |
H A D | fontsubs.cxx | 145 sal_uInt16 nHeight; in SvxFontSubstTabPage() local 146 for(nHeight = 6; nHeight <= 16; nHeight++) in SvxFontSubstTabPage() 147 aFontHeightLB.InsertEntry(String::CreateFromInt32(nHeight)); in SvxFontSubstTabPage() 148 for(nHeight = 18; nHeight <= 28; nHeight+= 2) in SvxFontSubstTabPage() 149 aFontHeightLB.InsertEntry(String::CreateFromInt32(nHeight)); in SvxFontSubstTabPage() 150 for(nHeight = 32; nHeight <= 48; nHeight+= 4) in SvxFontSubstTabPage() 151 aFontHeightLB.InsertEntry(String::CreateFromInt32(nHeight)); in SvxFontSubstTabPage() 152 for(nHeight = 54; nHeight <= 72; nHeight+= 6) in SvxFontSubstTabPage() 153 aFontHeightLB.InsertEntry(String::CreateFromInt32(nHeight)); in SvxFontSubstTabPage() 154 for(nHeight = 80; nHeight <= 96; nHeight+= 8) in SvxFontSubstTabPage() [all …]
|
/trunk/main/vcl/aqua/source/window/ |
H A D | salframe.cxx | 245 io_rPoint.y = maGeometry.nHeight - io_rPoint.y; in CocoaToVCL() 253 io_rPoint.y = maGeometry.nHeight - io_rPoint.y; in VCLToCocoa() 381 …NewY = mpParent->maGeometry.nY + ((long)mpParent->maGeometry.nHeight - (long)maGeometry.nHeight)/2; in initShow() 494 mnMinHeight = nHeight; in SetMinClientSize() 503 const NSSize aSize = NSMakeSize( nWidth, nHeight); in SetMinClientSize() 519 mnMaxHeight = nHeight; in SetMaxClientSize() 530 if (nHeight>32767) nHeight=32767; in SetMaxClientSize() 532 const NSSize aSize = NSMakeSize( nWidth, nHeight); in SetMaxClientSize() 566 rHeight = maGeometry.nHeight; in GetClientSize() 1421 aContentRect.size.height = nHeight; in SetPosSize() [all …]
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | frmmgr.cxx | 318 rVal.nWidth = rVal.nHeight; in ValidateMetrics() 319 rVal.nHeight = nTmp; in ValidateMetrics() 351 rVal.nHeight = aBoundRect.Bottom() - rVal.nVPos; in ValidateMetrics() 355 rVal.nHeight = aBoundRect.Bottom() - rVal.nVPos; in ValidateMetrics() 366 rVal.nMaxVPos = aBoundRect.Bottom() - rVal.nHeight; in ValidateMetrics() 395 rVal.nHeight; in ValidateMetrics() 404 rVal.nHeight = ( bMaxVPosAtBottom in ValidateMetrics() 508 rVal.nWidth = rVal.nHeight; in ValidateMetrics() 509 rVal.nHeight = nTmp; in ValidateMetrics() 514 if (rVal.nMaxHeight < rVal.nHeight) in ValidateMetrics() [all …]
|
/trunk/main/svtools/source/filter/jpeg/ |
H A D | jpegc.c | 60 void SetJpegPreviewSizeHint( int nWidth, int nHeight ) in SetJpegPreviewSizeHint() argument 63 nPreviewHeight = nHeight; in SetJpegPreviewSizeHint() 74 long nHeight; in ReadJPEG() local 143 nHeight = cinfo.output_height; in ReadJPEG() 145 aCreateBitmapParam.nHeight = nHeight; in ReadJPEG() 167 pTmp = pDIB + ( nHeight - 1 ) * nAlignedWidth; in ReadJPEG() 171 for ( *pLines = 0; *pLines < nHeight; (*pLines)++ ) in ReadJPEG() 220 long nWidth, long nHeight, long bGreys, in WriteJPEG() argument 245 cinfo.image_height = (JDIMENSION) nHeight; in WriteJPEG() 260 if ( ( nWidth > 128 ) || ( nHeight > 128 ) ) in WriteJPEG() [all …]
|
/trunk/main/sw/source/core/text/ |
H A D | possiz.hxx | 34 KSHORT nHeight; member in SwPosSize 37 : nWidth(nW), nHeight(nH) { } in SwPosSize() 39 : nWidth(KSHORT(rSize.Width())), nHeight(KSHORT(rSize.Height())){ } in SwPosSize() 40 inline KSHORT Height() const { return nHeight; } in Height() 41 inline void Height( const KSHORT nNew ) { nHeight = nNew; } in Height() 45 inline Size SvLSize() const { return Size( nWidth, nHeight ); } in SvLSize() 55 nHeight = rSize.Height(); in operator =() 62 nHeight = KSHORT(rSize.Height()); in SvLSize() 67 nHeight = KSHORT(rSize.Width()); in SvXSize() 74 nHeight = KSHORT(rSize.Height()); in operator =()
|
/trunk/main/sw/source/filter/writer/ |
H A D | wrtswtbl.cxx | 78 long nHeight, in AddCell() argument 115 long nHeight = 0; in GetLineHeight() local 121 if( nHeight > 0 ) in GetLineHeight() 122 return nHeight; in GetLineHeight() 155 if( nHeight < nTmp ) in GetLineHeight() 156 nHeight = nTmp; in GetLineHeight() 160 return nHeight; in GetLineHeight() 174 long nHeight = 0; in GetLineHeight() local 178 return nHeight; in GetLineHeight() 617 long nHeight = 0; in FillTableRowsCols() local [all …]
|
/trunk/main/sc/source/filter/excel/ |
H A D | colrowst.cxx | 131 void XclImpColRowSettings::SetHeight( SCROW nScRow, sal_uInt16 nHeight ) in SetHeight() argument 135 sal_uInt16 nRawHeight = nHeight & EXC_ROW_HEIGHTMASK; in SetHeight() 152 SetHeight( nScRow, nHeight ); in SetRowSettings() 220 sal_uInt16 nHeight = 0; in Convert() local 226 nHeight = mnDefHeight; in Convert() 231 nHeight = maHeights[ nScRow ]; in Convert() 232 if( nHeight == 0 ) in Convert() 234 nHeight = mnDefHeight; in Convert() 244 nHeight = mnDefHeight; in Convert() 255 if( (nLastHeight != nHeight) || (nScRow == 0) ) in Convert() [all …]
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmltexti.cxx | 109 sal_Int32 nHeight, sal_Int32 nWidth, in lcl_putHeightAndWidth() argument 112 if( nWidth > 0 && nHeight > 0 ) in lcl_putHeightAndWidth() 117 nHeight = MM100_TO_TWIP( nHeight ); in lcl_putHeightAndWidth() 118 if( nHeight < MINFLY ) in lcl_putHeightAndWidth() 119 nHeight = MINFLY; in lcl_putHeightAndWidth() 129 *pTwipHeight = nHeight; in lcl_putHeightAndWidth() 227 sal_Int32 nWidth, sal_Int32 nHeight ) in createAndInsertOLEObject() argument 545 sal_Int32 nWidth, sal_Int32 nHeight ) in createAndInsertOOoLink() argument 662 Size( nWidth, nHeight ), in createAndInsertApplet() 723 Size( nWidth, nHeight ), in createAndInsertPlugin() [all …]
|
/trunk/main/filter/source/graphicfilter/egif/ |
H A D | egif.cxx | 307 const sal_uInt16 nHeight = (sal_uInt16) rSize.Height(); in WriteGlobalHeader() local 312 *pGIF << nHeight; in WriteGlobalHeader() 437 *pGIF << nHeight; in WriteLocalHeader() 478 const long nHeight = pAcc->Height(); in WriteAccess() local 493 for( i = 0; i < nHeight; i++ ) in WriteAccess() 499 if( nY >= nHeight ) in WriteAccess() 501 nT = i - ( ( nHeight + 7 ) >> 3 ); in WriteAccess() 504 if( nY >= nHeight ) in WriteAccess() 506 nT -= ( nHeight + 3 ) >> 3; in WriteAccess() 509 if ( nY >= nHeight ) in WriteAccess() [all …]
|
/trunk/main/sw/source/ui/shells/ |
H A D | drwbassh.cxx | 861 pValidation->nWidth = pValidation->nHeight; in IMPL_LINK() 862 pValidation->nHeight = nTmp; in IMPL_LINK() 886 if (pValidation->nVPos + pValidation->nHeight > aBoundRect.Bottom()) in IMPL_LINK() 897 if (pValidation->nVPos + pValidation->nHeight > aBoundRect.Bottom()) in IMPL_LINK() 898 pValidation->nHeight = aBoundRect.Bottom() - pValidation->nVPos; in IMPL_LINK() 933 pValidation->nHeight; in IMPL_LINK() 942 pValidation->nHeight = ( bMaxVPosAtBottom in IMPL_LINK() 993 pValidation->nWidth = pValidation->nHeight; in IMPL_LINK() 994 pValidation->nHeight = nTmp; in IMPL_LINK() 999 if (pValidation->nMaxHeight < pValidation->nHeight) in IMPL_LINK() [all …]
|
/trunk/main/reportdesign/source/filter/xml/ |
H A D | xmlTable.cxx | 198 sal_Int32 nHeight = 0; in EndElement() local 200 nHeight += *aIter; in EndElement() 201 m_xSection->setHeight( nHeight ); in EndElement() 239 nHeight = rCell.nHeight; in EndElement() 246 nHeight += (*aHeightIter)[j].nHeight; in EndElement() 261 else if ( nHeight < MIN_HEIGHT ) in EndElement() 262 nHeight = MIN_HEIGHT; in EndElement() 266 (*aCellIter)->setSize(awt::Size(nWidth,nHeight)); in EndElement() 301 rCell.nHeight = m_aHeight[m_nRowIndex-1]; in addCell()
|
/trunk/main/filter/source/graphicfilter/eps/ |
H A D | eps.cxx | 1475 ImplWriteDouble( nHeight ); in ImplRect() 1496 ImplWriteDouble( nHeight ); in ImplRectFill() 1720 long nHeight = nHeightLeft; in ImplBmp() local 1735 if ( nHeight > 10 ) in ImplBmp() 1736 nHeight = 8; in ImplBmp() 1748 nHeight >>= 1; in ImplBmp() 1749 if ( nHeight < 2 ) in ImplBmp() 1824 ImplWriteLong( nHeight ); in ImplBmp() 1828 ImplWriteLong( -nHeight ); in ImplBmp() 1830 ImplWriteLong( nHeight ); in ImplBmp() [all …]
|