/aoo41x/main/svtools/source/control/ |
H A D | taskmisc.cxx | 91 if ( nWidth < 32 ) in ImplPosSizeWindow() 92 nWidth = 32; in ImplPosSizeWindow() 138 nWidth /= nCols; in ImplTile() 139 if ( nWidth < 1 ) in ImplTile() 140 nWidth = 1; in ImplTile() 179 nX += nWidth; in ImplTile() 235 nWidth /= nCount; in ImplVert() 236 if ( nWidth < 1 ) in ImplVert() 237 nWidth = 1; in ImplVert() 303 if ( nWidth < 1 ) in ImplCascade() [all …]
|
/aoo41x/main/sw/source/ui/frmdlg/ |
H A D | colmgr.cxx | 52 rCol.SetWishWidth(nWidth); in FitToActualSize() 65 aFmtCol.Init(nCount, nGutterWidth, nWidth); in SetCount() 66 aFmtCol.SetWishWidth(nWidth); in SetCount() 152 nWidth = nW; in SetActualWidth() 164 nWidth(nActWidth) in SwColMgr() 166 if(nWidth == USHRT_MAX) in SwColMgr() 169 if (nWidth < MINLAY) in SwColMgr() 170 nWidth = USHRT_MAX; in SwColMgr() 172 nWidth = nWidth - (sal_uInt16)rLR.GetLeft(); in SwColMgr() 173 nWidth = nWidth - (sal_uInt16)rLR.GetRight(); in SwColMgr() [all …]
|
H A D | frmmgr.cxx | 312 nTmp = rVal.nWidth; in ValidateMetrics() 313 rVal.nWidth = rVal.nHeight; in ValidateMetrics() 324 if (rVal.nHPos + rVal.nWidth > aBoundRect.Right()) in ValidateMetrics() 332 rVal.nWidth = aBoundRect.Right() - rVal.nHPos; in ValidateMetrics() 335 if (rVal.nHPos + rVal.nWidth > aBoundRect.Right()) in ValidateMetrics() 336 rVal.nWidth = aBoundRect.Right() - rVal.nHPos; in ValidateMetrics() 378 rVal.nWidth = aBoundRect.Right() - rVal.nHPos; in ValidateMetrics() 502 long nTmp = rVal.nWidth; in ValidateMetrics() 503 rVal.nWidth = rVal.nHeight; in ValidateMetrics() 507 if (rVal.nMaxWidth < rVal.nWidth) in ValidateMetrics() [all …]
|
/aoo41x/main/sfx2/source/sidebar/ |
H A D | GridLayouter.cxx | 189 mnMinimumWidth = nWidth; in SetFixedWidth() 190 mnMaximumWidth = nWidth; in SetFixedWidth() 225 mnMinimumWidth = nWidth; in SetMinimumWidth() 438 rDescriptor.SetWidth(nWidth); in DistributeWidth() 441 nZeroWeightWidth += nWidth; in DistributeWidth() 469 rDescriptor.SetWidth(nWidth); in DistributeWidth() 470 nRemainingWidth -= nWidth; in DistributeWidth() 630 mnMinimumWidth = nWidth; in SetMinimumWidth() 639 mnMinimumWidth = nWidth; in SetFixedWidth() 640 mnMaximumWidth = nWidth; in SetFixedWidth() [all …]
|
/aoo41x/main/filter/source/graphicfilter/ipict/ |
H A D | ipict.cxx | 733 nWidth = nWidth - nBndX; in ReadPixMapEtc() 836 else nSrcBPL = nWidth; in ReadPixMapEtc() 849 if ( nx < nWidth ) in ReadPixMapEtc() 877 if ( nx < nWidth ) in ReadPixMapEtc() 888 if ( nx < nWidth ) in ReadPixMapEtc() 903 if ( nRowBytes < 2 * nWidth ) in ReadPixMapEtc() 937 while ( nx != nWidth ) in ReadPixMapEtc() 958 nCount = nWidth - nx; in ReadPixMapEtc() 982 if ( nRowBytes != 4*nWidth ) in ReadPixMapEtc() 1058 pTmp += nWidth; in ReadPixMapEtc() [all …]
|
/aoo41x/main/filter/source/graphicfilter/ipbm/ |
H A D | ipbm.cxx | 261 sal_uLong nWidth = 0; in ImplReadBody() local 286 nWidth = 0; in ImplReadBody() 303 if ( nWidth == mnWidth ) in ImplReadBody() 305 nWidth = 0; in ImplReadBody() 326 if ( nWidth == mnWidth ) in ImplReadBody() 328 nWidth = 0; in ImplReadBody() 363 nWidth++; in ImplReadBody() 364 if ( nWidth == mnWidth ) in ImplReadBody() 366 nWidth = 0; in ImplReadBody() 395 nWidth = 0; in ImplReadBody() [all …]
|
/aoo41x/main/vcl/source/gdi/ |
H A D | bitmap4.cxx | 119 const long nWidth = pWriteAcc->Width(), nWidth2 = nWidth + 2; in ImplConvolute3() local 143 pColm[ nWidth + 1 ] = pColm[ nWidth ]; in ImplConvolute3() 266 const long nWidth = pWriteAcc->Width(), nWidth2 = nWidth + 2; in ImplMedianFilter() local 286 pColm[ nWidth + 1 ] = pColm[ nWidth ]; in ImplMedianFilter() 422 pHMap[ nWidth + 1 ] = nWidth - 1; in ImplSobelGrey() 554 pHMap[ nWidth + 1 ] = nWidth - 1; in ImplEmbossGrey() 813 if( nX2 >= nWidth ) in ImplMosaic() 814 nX2 = nWidth - 1; in ImplMosaic() 843 if( nX2 >= nWidth ) in ImplMosaic() 845 nX2 = nWidth - 1; in ImplMosaic() [all …]
|
H A D | dibtools.cxx | 90 sal_Int32 nWidth; member 103 nWidth(0UL), in DIBInfoHeader() 248 if ( rHeader.nWidth < 0 ) in ImplReadDIBInfoHeader() 316 if( nX < nWidth ) in ImplDecodeRLE() 319 if( nX < nWidth ) in ImplDecodeRLE() 325 if( nX < nWidth ) in ImplDecodeRLE() 338 if( nX < nWidth ) in ImplDecodeRLE() 371 if( nX < nWidth ) in ImplDecodeRLE() 374 if( nX < nWidth ) in ImplDecodeRLE() 457 const long nWidth(rHeader.nWidth); in ImplReadDIBBits() local [all …]
|
H A D | bitmap.cxx | 632 const long nWidth = pAcc->Width(); in Invert() local 661 const long nWidth = pAcc->Width(); in Mirror() local 663 const long nWidth1 = nWidth - 1L; in Mirror() 664 const long nWidth_2 = nWidth >> 1L; in Mirror() 711 const long nWidth = pAcc->Width(); in Mirror() local 712 const long nWidth1 = nWidth - 1L; in Mirror() 779 const long nWidth1 = nWidth - 1L; in Rotate() 1149 const long nNewX = nWidth; in Expand() 1292 for( nX = 0L; nX < nWidth; nX++ ) in CreateMask() 1648 for( long nX = 0L, nWidth = pAcc->Width(); nX < nWidth; nX++ ) in Replace() local [all …]
|
H A D | bitmap3.cxx | 722 const long nWidth1 = nWidth - 1L; in ImplConvertDown() 782 if( nX < nWidth ) in ImplConvertDown() 1190 long nWidth = pReadAcc->Width(); in ImplScaleInterpolate() local 1220 if( 1 == nWidth ) in ImplScaleInterpolate() 2246 if(nWidth == nNewWidth) in ImplScaleConvolutionHor() 2643 long nWidth = pReadAcc->Width(); in ImplDitherFloyd() local 2644 long nWidth1 = nWidth - 1L; in ImplDitherFloyd() 2647 long nW = nWidth * 3L; in ImplDitherFloyd() 2664 for( nZ = 0; nZ < nWidth; nZ++ ) in ImplDitherFloyd() 2675 for( nZ = 0; nZ < nWidth; nZ++ ) in ImplDitherFloyd() [all …]
|
H A D | outdev3.cxx | 3156 return nWidth; in ImplGetTextWidth() 3591 nWidth--; in ImplDrawWaveLine() 4094 if ( !nWidth ) in ImplDrawTextLine() 4200 if( nWidth > 0 ) in ImplDrawTextLines() 4394 long nWidth = 0; in ImplDrawEmphasisMark() local 4795 if ( nWidth <= 0 ) in ImplGetTextLines() 4796 nWidth = 1; in ImplGetTextLines() 5475 nWidth = ImplLogicWidthToDevicePixel( nWidth ); in DrawTextLine() 5654 return nWidth; in GetTextWidth() 5744 nWidth = ImplDevicePixelToLogicWidth( nWidth ); in GetTextArray() [all …]
|
H A D | salgdilayout.cxx | 66 … aGeom.nX = pParent->maGeometry.nX + pParent->maGeometry.nWidth - maGeometry.nWidth - parent_x; in GetGeometry() 179 x = w-nWidth-x; in mirror() 302 long nWidth = rRect.GetWidth(); in mirror() local 306 mirror( x, nWidth, pOutDev, bBack ); in mirror() 430 mirror( nX, nWidth, pOutDev ); in DrawRect() 431 drawRect( nX, nY, nWidth, nHeight ); in DrawRect() 669 mirror( nX, nWidth, pOutDev ); in GetBitmap() 681 mirror( nX, nWidth, pOutDev ); in Invert() 682 invert( nX, nY, nWidth, nHeight, nFlags ); in Invert() 700 mirror( nX, nWidth, pOutDev ); in DrawEPS() [all …]
|
/aoo41x/main/vcl/unx/headless/ |
H A D | svpframe.cxx | 201 void SvpSalFrame::SetMinClientSize( long nWidth, long nHeight ) in SetMinClientSize() argument 203 m_nMinWidth = nWidth; in SetMinClientSize() 209 m_nMaxWidth = nWidth; in SetMaxClientSize() 221 maGeometry.nWidth = nWidth; in SetPosSize() 223 maGeometry.nWidth = m_nMaxWidth; in SetPosSize() 225 maGeometry.nWidth = m_nMinWidth; in SetPosSize() 256 rWidth = maGeometry.nWidth; in GetClientSize() 291 long nWidth = maGeometry.nWidth; in SetWindowState() local 300 nWidth = pState->mnWidth; in SetWindowState() 304 SetPosSize( nX, nY, nWidth, nHeight, in SetWindowState() [all …]
|
/aoo41x/main/svx/source/tbxctrls/ |
H A D | layctrl.cxx | 123 nWidth = 5; in TableWindow() 191 nWidth = nNewCol; in UpdateSize_Impl() 192 nWidth++; in UpdateSize_Impl() 199 while ( nWidth > 0 && in UpdateSize_Impl() 201 nWidth--; in UpdateSize_Impl() 209 nNewCol = nWidth; in UpdateSize_Impl() 519 nWidth = 4; in ColumnsWindow() 578 nWidth = nNewCol; in UpdateSize_Impl() 579 nWidth++; in UpdateSize_Impl() 584 nWidth--; in UpdateSize_Impl() [all …]
|
/aoo41x/main/filter/source/graphicfilter/ipcd/ |
H A D | ipcd.cxx | 125 nWidth = 192; in ReadPCD() 131 nWidth = 384; in ReadPCD() 137 nWidth = 768; in ReadPCD() 149 nBMPWidth = nWidth; in ReadPCD() 155 nBMPHeight = nWidth; in ReadPCD() 227 nW2=nWidth>>1; in ReadImage() 257 pPCD->Read( pL0N, nWidth ); in ReadImage() 258 pPCD->Read( pL1N, nWidth ); in ReadImage() 275 pPCD->Read( pL0N, nWidth ); in ReadImage() 276 pPCD->Read( pL1N, nWidth ); in ReadImage() [all …]
|
/aoo41x/main/filter/source/graphicfilter/icgm/ |
H A D | class5.cxx | 51 double nWidth; in ImplDoClass5() local 59 ImplMapDouble( nWidth ); in ImplDoClass5() 65 ? pElement->aLineBundle.nLineWidth = nWidth in ImplDoClass5() 66 : pElement->aLineBundle.nLineWidth = nWidth; in ImplDoClass5() 90 double nWidth; in ImplDoClass5() local 97 ImplMapDouble( nWidth ); in ImplDoClass5() 102 ? pElement->aMarkerBundle.nMarkerSize = nWidth in ImplDoClass5() 267 double nWidth; in ImplDoClass5() local 275 ImplMapDouble( nWidth ); in ImplDoClass5() 280 ? pElement->aEdgeBundle.nEdgeWidth = nWidth in ImplDoClass5() [all …]
|
/aoo41x/main/sw/source/filter/ww8/ |
H A D | wrtww8gr.cxx | 597 nWidth = nWidth - nSpacing; in WritePICFHeader() 627 aGrTwipSz.Width() = nWidth; in WritePICFHeader() 714 WritePICFHeader(rStrm, rFly, mm, nWidth, nHeight, in WriteGrfFromGrfNode() 758 WritePICFHeader(rStrm, rFly, 8, nWidth, nHeight, in WriteGrfFromGrfNode() 801 nWidth -= nThick; in WritePICBulletFHeader() 802 nWidth = nWidth - nSpacing; in WritePICBulletFHeader() 823 aGrTwipSz.Width() = nWidth; in WritePICBulletFHeader() 863 WritePICBulletFHeader(rStrm,rGrf, 0x64,nWidth,nHeight); in WriteGrfForBullet() 892 WritePICBulletFHeader(rStrm, rGrf, 8, nWidth, nHeight); in WriteGrfForBullet() 899 sal_uInt16 nWidth = rItem.mnWid; in WriteGraphicNode() local [all …]
|
/aoo41x/main/vcl/aqua/source/gdi/ |
H A D | salbmp.cxx | 79 nWidth += nX, nX = 0; in Create() 83 if( nWidth >= (int)aLayerSize.width - nX ) in Create() 84 nWidth = (int)aLayerSize.width - nX; in Create() 87 if( (nWidth < 0) || (nHeight < 0) ) in Create() 88 nWidth = nHeight = 0; in Create() 91 mnWidth = nWidth; in Create() 514 aSrcBuf.mnWidth = aDstBuf.mnWidth = nWidth; in ConvertBitmapData() 540 sal_uInt32 nX = nWidth; in ConvertBitmapData() 749 int nX, int nY, int nWidth, int nHeight ) const in CreateWithMask() argument 767 int nMaskBytesPerRow = ((nWidth + 3) & ~3); in CreateWithMask() [all …]
|
/aoo41x/main/xmloff/source/style/ |
H A D | bordrhdl.cxx | 171 sal_uInt16 nWidth, sal_Bool bDouble ) in lcl_frmitems_setXMLBorderWidth() argument 189 nWidth <= ((aWidths[i] + aWidths[i-4]) / 2) ) in lcl_frmitems_setXMLBorderWidth() 204 nWidth <= ((aWidths[i] + aWidths[i-4]) / 2) ) in lcl_frmitems_setXMLBorderWidth() 215 rBorderLine.OuterLineWidth = 0 == nWidth ? DEF_LINE_WIDTH_0 : nWidth; in lcl_frmitems_setXMLBorderWidth() 325 sal_uInt16 nWidth = 0; in importXML() local 352 nWidth = (sal_uInt16)nTemp; in importXML() 422 sal_Int32 nWidth = aBorderLine.OuterLineWidth; in exportXML() local 426 nWidth += nDistance; in exportXML() 427 nWidth += aBorderLine.InnerLineWidth; in exportXML() 430 if( nWidth == 0 ) in exportXML() [all …]
|
/aoo41x/main/sw/source/core/text/ |
H A D | possiz.hxx | 33 KSHORT nWidth; member in SwPosSize 37 : nWidth(nW), nHeight(nH) { } in SwPosSize() 39 : nWidth(KSHORT(rSize.Width())), nHeight(KSHORT(rSize.Height())){ } in SwPosSize() 42 inline KSHORT Width() const { return nWidth; } in Width() 43 inline void Width( const KSHORT nNew ) { nWidth = nNew; } in Width() 45 inline Size SvLSize() const { return Size( nWidth, nHeight ); } in SvLSize() 54 nWidth = rSize.Width(); in operator =() 61 nWidth = KSHORT(rSize.Width()); in SvLSize() 68 nWidth = KSHORT(rSize.Height()); in SvXSize() 73 nWidth = KSHORT(rSize.Width()); in operator =()
|
/aoo41x/main/vcl/aqua/source/window/ |
H A D | salframe.cxx | 376 … nNewX = mpParent->maGeometry.nX + ((long)mpParent->maGeometry.nWidth - (long)maGeometry.nWidth)/2; in initShow() 493 mnMinWidth = nWidth; in SetMinClientSize() 503 const NSSize aSize = NSMakeSize( nWidth, nHeight); in SetMinClientSize() 518 mnMaxWidth = nWidth; in SetMaxClientSize() 529 if (nWidth>32767) nWidth=32767; in SetMaxClientSize() 532 const NSSize aSize = NSMakeSize( nWidth, nHeight); in SetMaxClientSize() 549 const NSSize aSize = NSMakeSize( nWidth, nHeight); in SetClientSize() 565 rWidth = maGeometry.nWidth; in GetClientSize() 1391 nX = mpParent->maGeometry.nWidth - nWidth-1 - nX; in SetPosSize() 1419 aContentRect.size.width = nWidth; in SetPosSize() [all …]
|
/aoo41x/main/svtools/source/brwbox/ |
H A D | brwbox1.cxx | 288 Point(nWidth, 0), in InsertHandleColumn() 316 nItemId, rImage, nWidth, nBits, nHeaderPos ); in InsertDataColumn() 340 nItemId, rText, nWidth, nBits, nHeaderPos ); in InsertDataColumn() 673 nWidth = QueryColumnResize( nItemId, nWidth ); in SetColumnWidth() 674 if ( nWidth >= LONG_MAX || pCols->GetObject(nItemPos)->Width() != nWidth ) in SetColumnWidth() 688 nWidth = QueryColumnResize( nItemId, nWidth ); in SetColumnWidth() 696 if( (sal_uLong)nOldWidth == nWidth ) in SetColumnWidth() 1119 long nWidth = 0; in ScrollColumns() local 1126 nWidth += pCols->GetObject(nCol)->Width(); in ScrollColumns() 2403 if ( nWidth != nControlAreaWidth ) in ReserveControlArea() [all …]
|
/aoo41x/main/sw/source/core/doc/ |
H A D | tblrwcl.cxx | 1467 long nWidth = 0; in lcl_CalcWidth() local 2575 if( nWidth < nLowerDiff || nWidth - nLowerDiff < MINLAY ) in lcl_SetSelBoxWidth() 2631 nDist += nWidth; in lcl_SetSelBoxWidth() 2676 if( nWidth < nDiff || nWidth - nDiff < MINLAY ) in lcl_SetOtherBoxWidth() 2727 nDist += nWidth; in lcl_SetOtherBoxWidth() 2866 nDist += nWidth; in lcl_InsSelBox() 2934 if( nWidth < nDiff || nWidth - nDiff < MINLAY ) in lcl_InsOtherBox() 3016 nDist += nWidth; in lcl_InsOtherBox() 3086 nDiff *= nWidth; in lcl_DelSelBox_CorrLowers() 4278 if( nWidth ) in lcl_InsDelSelLine() [all …]
|
/aoo41x/main/sw/source/core/objectpositioning/ |
H A D | anchoredobjectposition.cxx | 580 SwTwips nWidth = 0; in _GetHoriAlignmentValues() local 604 nWidth -= pPrtFrm->Frm().Height(); in _GetHoriAlignmentValues() 609 nWidth -= pPrtFrm->Frm().Height(); in _GetHoriAlignmentValues() 639 nWidth = (_rHoriOrientFrm.*fnRect->fnGetLeftMargin)(); in _GetHoriAlignmentValues() 659 nWidth = 0; in _GetHoriAlignmentValues() 683 nWidth -= pPrtFrm->Frm().Height(); in _GetHoriAlignmentValues() 688 nWidth -= pPrtFrm->Frm().Height(); in _GetHoriAlignmentValues() 716 _orAlignAreaWidth = nWidth; in _GetHoriAlignmentValues() 809 SwTwips nWidth = 0; in _CalcRelPosX() local 843 nRelPosX += (nWidth / 2) - (nObjWidth / 2); in _CalcRelPosX() [all …]
|
/aoo41x/main/sw/inc/ |
H A D | htmltbl.hxx | 155 inline void MergeCellWidthOption( sal_uInt16 nWidth, sal_Bool bPrc ); 174 void SetAbsColWidth( sal_uInt16 nWidth ) { nAbsColWidth = nWidth; } in SetAbsColWidth() argument 177 void SetRelColWidth( sal_uInt16 nWidth ) { nRelColWidth = nWidth; } in SetRelColWidth() argument 271 sal_uInt16 nWidth, sal_Bool bPrcWidth, sal_uInt16 nBorderOpt, 411 sal_uInt16 nWidth, sal_Bool bRel ) in MergeCellWidthOption() argument 414 (bRel==bRelWidthOption && nWidthOption < nWidth) ) in MergeCellWidthOption() 416 nWidthOption = nWidth; in MergeCellWidthOption() 447 sal_uInt16 nWidth, sal_Bool bRelWidth, sal_Bool bTest ) in SetWidthOption() argument 451 if( nWidth > nWidthOption ) in SetWidthOption() 452 nWidthOption = nWidth; in SetWidthOption() [all …]
|