/aoo41x/main/sw/source/core/objectpositioning/ |
H A D | tolayoutanchoredobjectposition.cxx | 165 SwTwips nWidth, nOffset; in CalcPosition() local 170 nWidth, nOffset, bDummy ); in CalcPosition() 182 nRelPosX = nWidth - nObjWidth - aHori.GetPos(); in CalcPosition() 190 nRelPosX = (nWidth / 2) - (nObjWidth / 2); in CalcPosition() 192 nRelPosX = nWidth - ( nObjWidth + in CalcPosition()
|
/aoo41x/main/sw/source/filter/xml/ |
H A D | xmltexti.hxx | 63 sal_Int32 nWidth, sal_Int32 nHeight ); 70 sal_Int32 nWidth, sal_Int32 nHeight ); 78 sal_Int32 nWidth, sal_Int32 nHeight ); 85 sal_Int32 nWidth, sal_Int32 nHeight ); 93 sal_Int32 nWidth, sal_Int32 nHeight );
|
H A D | xmltble.cxx | 117 sal_uInt32 nWidth; member in SwXMLTableLines_Impl 125 sal_uInt32 GetWidth() const { return nWidth; } in GetWidth() 133 nWidth( 0UL ) in SwXMLTableLines_Impl() 151 if( nBox < nBoxes-1U || nWidth==0UL ) in SwXMLTableLines_Impl() 162 ASSERT( nLine==0U && nWidth==0UL, in SwXMLTableLines_Impl() 164 nWidth = nCPos; in SwXMLTableLines_Impl() 185 nCPos = nWidth; in SwXMLTableLines_Impl() 187 SwXMLTableColumn_Impl aCol( nWidth ); in SwXMLTableLines_Impl() 610 sal_uInt32 nWidth = nCPos - nOldCPos; in ExportTableLinesAutoStyles() local 617 pColumn->SetRelWidth( nWidth ); in ExportTableLinesAutoStyles() [all …]
|
/aoo41x/main/avmedia/source/win/ |
H A D | framegrabber.cxx | 152 long nWidth = 0, nHeight = 0, nSize = 0; in grabFrame() local 161 nWidth = pVih->bmiHeader.biWidth; in grabFrame() 182 if( ( nWidth > 0 ) && ( nHeight > 0 ) && in grabFrame() 183 SUCCEEDED( pDet->GetBitmapBits( 0, &nSize, NULL, nWidth, nHeight ) ) && in grabFrame() 190 … if( SUCCEEDED( pDet->GetBitmapBits( fMediaTime, NULL, pBuffer, nWidth, nHeight ) ) ) in grabFrame()
|
/aoo41x/main/sw/source/ui/misc/ |
H A D | pgfnote.cxx | 92 sal_Bool lcl_HasLineWidth(sal_uInt16 nWidth) in lcl_HasLineWidth() argument 95 if(nLines[i] == nWidth) in lcl_HasLineWidth() 242 const sal_uInt16 nWidth = (sal_uInt16)pFtnInfo->GetLineWidth() * TWIP_TO_LBOX; in Reset() local 243 if ( !lcl_HasLineWidth(nWidth) ) in Reset() 244 aLineTypeBox.InsertEntry(nWidth); in Reset() 245 aLineTypeBox.SelectEntry(nWidth); in Reset()
|
/aoo41x/main/vcl/unx/headless/ |
H A D | svpgdi.cxx | 328 void SvpSalGraphics::drawRect( long nX, long nY, long nWidth, long nHeight ) in drawRect() argument 332 … B2DPolygon aRect = tools::createPolygonFromRect( B2DRectangle( nX, nY, nX+nWidth, nY+nHeight ) ); in drawRect() 548 SalBitmap* SvpSalGraphics::getBitmap( long nX, long nY, long nWidth, long nHeight ) in getBitmap() argument 551 cloneBitmapDevice( B2IVector( nWidth, nHeight ), in getBitmap() 553 B2IRange aSrcRect( nX, nY, nX+nWidth, nY+nHeight ); in getBitmap() 554 B2IRange aDestRect( 0, 0, nWidth, nHeight ); in getBitmap() 568 void SvpSalGraphics::invert( long nX, long nY, long nWidth, long nHeight, SalInvert /*nFlags*/ ) in invert() argument 571 … B2DPolygon aRect = tools::createPolygonFromRect( B2DRectangle( nX, nY, nX+nWidth, nY+nHeight ) ); in invert()
|
H A D | svpgdi.hxx | 59 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency ); 122 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 166 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 168 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 171 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSi…
|
H A D | svppspgraphics.hxx | 60 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency ); 141 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 185 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 187 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 190 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uLong nSi…
|
/aoo41x/main/vcl/source/gdi/ |
H A D | impvect.cxx | 255 ImplVectMap( long nWidth, long nHeight ); 272 ImplVectMap::ImplVectMap( long nWidth, long nHeight ) : in ImplVectMap() argument 273 mnWidth ( nWidth ), in ImplVectMap() 276 const long nWidthAl = ( nWidth >> 2L ) + 1L; in ImplVectMap() 753 const long nWidth = pRAcc->Width(); in ImplVectorize() local 770 for( long nX = 0L; nX < nWidth; nX++ ) in ImplVectorize() 827 rMtf.SetPrefSize( Size( nWidth + 2, nHeight + 2 ) ); in ImplVectorize() 1069 const long nWidth = pMap->Width(), nHeight= pMap->Height(); in ImplCalculate() local 1076 while( nX < nWidth ) in ImplCalculate() 1079 while( ( nX < nWidth ) && pMap->IsFree( nY, nX ) ) in ImplCalculate() [all …]
|
/aoo41x/main/svx/source/sidebar/possize/ |
H A D | PosSizePropertyPanel.cxx | 613 … const long nWidth = (long) ( ((double) mlOldWidth * (double) nHeight) / (double) mlOldHeight ); variable 614 mpMtrWidth->SetUserValue( nWidth, FUNIT_NONE ); 628 …long nWidth = (long) ( ((double)mlOldWidth * (double)mpMtrHeight->GetValue()) / (double)mlOldHeigh… in IMPL_LINK() local 629 if( nWidth <= mpMtrWidth->GetMax( FUNIT_NONE ) ) in IMPL_LINK() 631 mpMtrWidth->SetUserValue( nWidth, FUNIT_NONE ); in IMPL_LINK() 635 nWidth = (long)mpMtrWidth->GetMax( FUNIT_NONE ); in IMPL_LINK() 636 mpMtrWidth->SetUserValue( nWidth ); in IMPL_LINK() 637 … const long nHeight = (long) ( ((double)mlOldHeight * (double)nWidth) / (double)mlOldWidth ); in IMPL_LINK() 1101 double nWidth = (double)mpMtrWidth->GetValue( meDlgUnit ); in executeSize() local 1102 …nWidth = MetricField::ConvertDoubleValue( nWidth, mpMtrWidth->GetBaseValue(), mpMtrWidth->GetDecim… in executeSize() [all …]
|
/aoo41x/main/cui/source/dialogs/ |
H A D | colorpicker.cxx | 459 const sal_Int32 nWidth = aSize.Width(); in UpdateBitmap() local 466 maRGB_Horiz.resize( nWidth ); in UpdateBitmap() 467 maGrad_Horiz.resize( nWidth ); in UpdateBitmap() 468 maPercent_Horiz.resize( nWidth ); in UpdateBitmap() 474 for( sal_Int32 x = 0; x < nWidth; x++ ) in UpdateBitmap() 519 x = nWidth; in UpdateBitmap() 531 x = nWidth; in UpdateBitmap() 543 x = nWidth; in UpdateBitmap() 555 x = nWidth; in UpdateBitmap() 567 x = nWidth; in UpdateBitmap() [all …]
|
/aoo41x/main/sw/source/core/table/ |
H A D | swnewtable.cxx | 139 long nWidth = 0; // the width of the current box in lcl_CheckMinMax() local 144 nWidth = pBox->GetFrmFmt()->GetFrmSize().GetWidth(); in lcl_CheckMinMax() 145 nNew += nWidth; in lcl_CheckMinMax() 619 nAddWidth += nWidth; in lcl_InsertPosition() 1622 nRight += nWidth; in lcl_SearchSelBox() 2168 SwTwips nWidth = 0; in CheckConsistency() local 2202 aEntry.nLeft = nWidth; in CheckConsistency() 2207 nWidth = nNewWidth; in CheckConsistency() 2210 nLineWidth = nWidth; in CheckConsistency() 2211 ASSERT( nWidth == nLineWidth, "Different Line Widths" ) in CheckConsistency() [all …]
|
H A D | swtable.cxx | 756 nWidth *= nOldAct; in lcl_ProcessBoxSet() 757 nWidth /= rParm.nOldWish; in lcl_ProcessBoxSet() 758 nLeft += (sal_uInt16)nWidth; in lcl_ProcessBoxSet() 769 nWidth *= nOldAct; in lcl_ProcessBoxSet() 770 nWidth /= rParm.nOldWish; in lcl_ProcessBoxSet() 796 nWidth *= nOldAct; in lcl_ProcessBoxSet() 797 nWidth /= rParm.nOldWish; in lcl_ProcessBoxSet() 798 long nTmp = (long)nWidth; in lcl_ProcessBoxSet() 1103 nBorder += nWidth; in lcl_AdjustWidthsInLine() 1172 nSum *= nWidth; in lcl_CalcNewWidths() [all …]
|
/aoo41x/main/vcl/aqua/source/gdi/ |
H A D | salgdiutils.cxx | 180 const unsigned int nWidth = mpFrame->maGeometry.nWidth; in CheckContext() local 187 if( (unsigned(mnWidth) != nWidth) || (unsigned(mnHeight) != nHeight) ) in CheckContext() 189 mnWidth = nWidth; in CheckContext() 200 const CGSize aLayerSize = CGSizeMake( nWidth, nHeight); in CheckContext()
|
/aoo41x/main/vcl/inc/aqua/ |
H A D | salframe.h | 121 virtual void SetMinClientSize( long nWidth, long nHeight ); 122 virtual void SetMaxClientSize( long nWidth, long nHeight ); 123 virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ); 162 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ); 166 virtual void SetClientSize( long nWidth, long nHeight );
|
/aoo41x/main/sw/source/filter/html/ |
H A D | svxcss1.cxx | 412 nWidth( rProp.nWidth ), in SvxCSS1PropertyInfo() 457 nLeft = nTop = nWidth = nHeight = 0; in Clear() 518 nWidth = rProp.nWidth; in Merge() 545 nWidth = rProp.nWidth; in Merge() 2634 nWidth = (sal_uInt16)pExpr->GetULength(); in ParseCSS1_border_xxx() 2651 nWidth = 1; in ParseCSS1_border_xxx() 2677 pInfo->nAbsWidth = nWidth; in ParseCSS1_border_xxx() 2709 nWidth = (sal_uInt16)pExpr->GetULength(); in ParseCSS1_border_xxx_width() 2729 pInfo->nAbsWidth = nWidth; in ParseCSS1_border_xxx_width() 3018 rPropInfo.nWidth = rPropInfo.nHeight; in ParseCSS1_size() [all …]
|
/aoo41x/main/UnoControls/source/controls/ |
H A D | progressmonitor.cxx | 515 sal_Int32 nWidth = 0 ; in getPreferredSize() local 518 nWidth = 3 * FREEBORDER ; in getPreferredSize() 519 nWidth += aProgressBarSize.Width ; in getPreferredSize() 529 if ( nWidth<DEFAULT_WIDTH ) in getPreferredSize() 531 nWidth = DEFAULT_WIDTH ; in getPreferredSize() 539 return Size ( nWidth, nHeight ) ; in getPreferredSize() 630 void SAL_CALL ProgressMonitor::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32… in setPosSize() argument 633 BaseContainerControl::setPosSize (nX, nY, nWidth, nHeight, nFlags) ; in setPosSize() 637 ( nWidth != aBasePosSize.Width ) || in setPosSize()
|
/aoo41x/main/sfx2/source/doc/ |
H A D | new.cxx | 122 long nWidth = pWindow->GetOutputSize().Width() - 2*FRAME; in ImpPaint() local 124 if( nWidth < 0 ) nWidth = 0; in ImpPaint() 128 double dRatioPreV=((double) nWidth ) / nHeight; in ImpPaint() 133 aSize=Size(nWidth, (sal_uInt16)(nWidth/dRatio)); in ImpPaint() 139 aPoint=Point((sal_uInt16)((nWidth-aSize.Width())/2),0); in ImpPaint() 141 Point bPoint=Point(nWidth,nHeight)-aPoint; in ImpPaint()
|
/aoo41x/main/editeng/inc/editeng/ |
H A D | fwdtitem.hxx | 42 sal_uInt16 nWidth; // 0 = default member in SvxFontWidthItem 77 nWidth = sal_uInt16(( (sal_uInt32)nNewWidth * nNewProp ) / 100 ); in SetWidth() 81 sal_uInt16 GetWidth() const { return nWidth; } in GetWidth() 86 nWidth = nNewWidth; in SetWidthValue()
|
/aoo41x/main/sw/source/ui/dbui/ |
H A D | dbinsdlg.cxx | 726 long nWidth; in IMPL_LINK() local 737 nEnd1 = nWidth; in IMPL_LINK() 745 if(nStart1 || nEnd1 != nWidth) in IMPL_LINK() 746 nWidth = nEnd1 - nStart1; in IMPL_LINK() 749 nWidth = rSh.GetAnyCurRect( in IMPL_LINK() 755 aTabCols.SetRight( nWidth ); in IMPL_LINK() 759 pRep->SetSpace( nWidth ); in IMPL_LINK() 760 pRep->SetWidth( nWidth ); in IMPL_LINK() 775 aTabCols.SetRight( nWidth ); in IMPL_LINK() 786 pRep->SetSpace( nWidth ); in IMPL_LINK() [all …]
|
/aoo41x/main/sfx2/source/sidebar/ |
H A D | DeckLayouter.cxx | 100 const sal_Int32 nWidth (aBox.GetWidth()); in LayoutPanels() local 187 nWidth, in LayoutPanels() 193 const sal_Int32 nUsedHeight (PlacePanels(rLayoutItems, nWidth, eMode, rScrollContainer)); in LayoutPanels() 203 const sal_Int32 nWidth, in PlacePanels() argument 230 pTitleBar->SetPosSizePixel(0, nY, nWidth, nPanelTitleBarHeight); in PlacePanels() 264 rPanel.SetPosSizePixel(0, nY, nWidth, nPanelHeight); in PlacePanels()
|
/aoo41x/main/sw/source/filter/rtf/ |
H A D | rtffly.cxx | 150 SwTwips nWidth = rTblNd.GetTable().GetFrmFmt()->GetFrmSize().GetWidth(); in SetFlySize() local 152 if( nWidth > rSz.GetWidth() ) in SetFlySize() 744 sal_uInt16 nWidth = sal_uInt16( nTokenValue ), nSpace = 0; in ReadFly() local 752 aColumns.Insert( nWidth + nSpace, aColumns.Count() ); in ReadFly() 862 sal_uInt16 nWidth = sal_uInt16( nTokenValue ), nSpace = 0; in ReadFly() local 870 aColumns.Insert( nWidth + nSpace, aColumns.Count() ); in ReadFly() 970 sal_uLong nWidth = USHRT_MAX; in ReadFly() local 971 aCol.Init( nCols, nColSpace, sal_uInt16( nWidth ) ); in ReadFly() 979 nTmp /= nWidth; in ReadFly() 1356 aSize.Width() = pPicType->nWidth * 20; in _SetPictureSize() [all …]
|
/aoo41x/main/sw/source/core/layout/ |
H A D | calcmove.cxx | 747 long nWidth = GetUpper() ? ((SwRootFrm*)GetUpper())->GetBrowseWidth() : 0; in MakeAll() local 748 if ( nWidth < pSh->GetBrowseWidth() ) in MakeAll() 749 nWidth = pSh->GetBrowseWidth(); in MakeAll() 750 nWidth += + 2 * aBorder.Width(); in MakeAll() 756 nWidth = Max( nWidth, 2L * aBorder.Width() + 4L*MM50 ); in MakeAll() 757 Frm().Width( nWidth ); in MakeAll() 1029 … long nWidth = nWidthArea - 2 * ( IsVertical() ? aBorder.Height() : aBorder.Width() ); in MakePrtArea() local 1030 nWidth -= (Prt().*fnRect->fnGetLeft)(); in MakePrtArea() 1031 nWidth -= rAttrs.CalcRightLine(); in MakePrtArea() 1032 nWidth = Max( nMinWidth, nWidth ); in MakePrtArea() [all …]
|
/aoo41x/main/oox/source/xls/ |
H A D | worksheetfragment.cxx | 641 sal_Int32 nWidth; in importCol() local 649 aModel.mfWidth = static_cast< double >( nWidth ) / 256.0; in importCol() 940 sal_uInt16 nFirstCol, nLastCol, nWidth, nXfId, nFlags; in importColInfo() local 941 rStrm >> nFirstCol >> nLastCol >> nWidth >> nXfId >> nFlags; in importColInfo() 948 aModel.mfWidth = static_cast< double >( nWidth ) / 256.0; in importColInfo() 968 sal_uInt16 nWidth; in importColWidth() local 969 rStrm >> nFirstCol >> nLastCol >> nWidth; in importColWidth() 976 aModel.mfWidth = static_cast< double >( nWidth ) / 256.0; in importColWidth() 1206 sal_uInt16 nWidth; in importStandardWidth() local 1207 rStrm >> nWidth; in importStandardWidth() [all …]
|
/aoo41x/main/sw/source/core/text/ |
H A D | pordrop.hxx | 48 sal_uInt16 nWidth; member in SwDropPortionPart 52 : pFollow( 0 ), pFnt( &rFont ), nLen( nL ), nWidth( 0 ) {}; in SwDropPortionPart() 59 inline sal_uInt16 GetWidth() const { return nWidth; } in GetWidth() 60 inline void SetWidth( sal_uInt16 nNew ) { nWidth = nNew; } in SetWidth()
|