/trunk/main/sfx2/inc/sfx2/ |
H A D | frmdescr.hxx | 86 long nWidth; member in SfxFrameDescriptor 126 { nWidth = n; } in SetWidth() 128 { nWidth = n; eSizeSelector = SIZE_PERCENT; } in SetWidthPercent() 130 { nWidth = n; eSizeSelector = SIZE_REL; } in SetWidthRel() 132 { nWidth = n; eSizeSelector = SIZE_ABS; } in SetWidthAbs() 134 { return nWidth; } in GetWidth()
|
/trunk/main/vbahelper/source/vbahelper/ |
H A D | vbashapes.cxx | 237 sal_Int32 nWidth = Millimeter::getInHundredthsOfOneMillimeter( nLineWidth ); in AddRectangle() local 255 size.Width = nWidth; in AddRectangle() 269 sal_Int32 nWidth = Millimeter::getInHundredthsOfOneMillimeter( nLineWidth ); in AddEllipse() local 299 size.Width = nWidth; in AddEllipse() 315 sal_Int32 nWidth = Millimeter::getInHundredthsOfOneMillimeter( nLineWidth ); in AddLine() local 335 size.Width = nWidth; in AddLine() 374 sal_Int32 nWidth = Millimeter::getInHundredthsOfOneMillimeter( _nWidth ); in AddTextboxInWriter() local 387 size.Width = nWidth; in AddTextboxInWriter() 419 sal_Int32 nWidth = Millimeter::getInHundredthsOfOneMillimeter( _nWidth ); in AddShape() local 436 size.Width = nWidth; in AddShape()
|
/trunk/main/sw/source/filter/basflt/ |
H A D | fltini.cxx | 628 SwTwips nWidth; in CalculateFlySize() local 634 nWidth = pTblNd->GetTable().GetFrmFmt()->GetFrmSize().GetWidth(); in CalculateFlySize() 636 nWidth = nPageWidth; in CalculateFlySize() 707 if( nWidth > (sal_uInt16)nMaxFrm ) in CalculateFlySize() 708 nWidth = nMaxFrm; in CalculateFlySize() 709 else if( nWidth > (sal_uInt16)nMinFrm ) in CalculateFlySize() 710 nWidth = nMinFrm; in CalculateFlySize() 714 if( MINFLY > nWidth ) in CalculateFlySize() 715 nWidth = MINFLY; in CalculateFlySize() 717 aSz.SetWidth( nWidth ); in CalculateFlySize()
|
/trunk/main/vcl/os2/source/window/ |
H A D | salframe.cxx | 513 LONG nWidth; in ImplSalFrameFullScreenPos() local 1035 mnMinWidth = nWidth; in SetMinClientSize() 1042 mnMaxWidth = nWidth; in SetMaxClientSize() 1124 if ( nX+nWidth > nScreenWidth ) in SetPosSize() 1214 rWidth = maGeometry.nWidth; in GetClientSize() 1224 LONG nWidth; in SetWindowState() local 1268 nWidth = aSWP.cx; in SetWindowState() 1285 if ( nX+nWidth > nScreenWidth ) in SetWindowState() 1286 nX = (nScreenWidth) - nWidth; in SetWindowState() 1361 aPlacement.cx = nWidth; in SetWindowState() [all …]
|
/trunk/main/sd/source/ui/dlg/ |
H A D | vectdlg.cxx | 189 const long nWidth = pRAcc->Width(); in Calculate() local 193 const long nCountX = nWidth / nTileX; in Calculate() 195 const long nRestX = nWidth % nTileX; in Calculate() 245 long nPosX, long nPosY, long nWidth, long nHeight ) in AddTile() argument 248 const long nRight = nPosX + nWidth - 1L; in AddTile() 250 const double fMult = 1.0 / ( nWidth * nHeight ); in AddTile() 268 Rectangle aRect( Point( nPosX, nPosY ), Size( nWidth + 1, nHeight + 1 ) ); in AddTile()
|
/trunk/main/sdext/source/minimizer/ |
H A D | informationdialog.cxx | 74 sal_Int32 nWidth, in InsertFixedText() argument 97 Any( nWidth ) }; in InsertFixedText() 112 sal_Int32 nWidth, in InsertImage() argument 132 Any( nWidth ) }; in InsertImage() 147 sal_Int32 nWidth, in InsertCheckBox() argument 171 Any( nWidth ) }; in InsertCheckBox() 185 sal_Int32 nWidth, in InsertButton() argument 210 Any( nWidth ) }; in InsertButton()
|
/trunk/main/vcl/inc/aqua/ |
H A D | salbmp.h | 95 void ConvertBitmapData( sal_uInt32 nWidth, sal_uInt32 nHeight, 100 …bool Create( CGLayerRef xLayer, int nBitCount, int nX, int nY, int nWidth, int nHeight, bool bMi… 103 …CGImageRef CreateWithMask( const AquaSalBitmap& rMask, int nX, int nY, int nWidth, int nHeight ) … 104 CGImageRef CreateColorMask( int nX, int nY, int nWidth, int nHeight, SalColor nMaskColor ) const; 105 CGImageRef CreateCroppedImage( int nX, int nY, int nWidth, int nHeight ) const;
|
/trunk/main/sfx2/inc/sfx2/sidebar/ |
H A D | GridLayouter.hxx | 108 CellDescriptor& SetFixedWidth (const sal_Int32 nWidth); 114 CellDescriptor& SetMinimumWidth (const sal_Int32 nWidth); 150 const sal_Int32 nWidth); 154 const sal_Int32 nWidth); 190 void SetWidth (const sal_Int32 nWidth);
|
/trunk/main/svtools/source/edit/ |
H A D | textdat2.hxx | 56 long nWidth; member in TETextPortion 60 TETextPortion() { nLen = 0; nKind = PORTIONKIND_TEXT; nWidth = -1; nRightToLeft = 0;} in TETextPortion() 66 nWidth= -1; in TETextPortion() 73 long GetWidth()const { return nWidth; } in GetWidth() 74 long& GetWidth() { return nWidth; } in GetWidth() 83 sal_Bool HasValidSize() const { return nWidth != (-1); } in HasValidSize()
|
/trunk/main/cui/source/options/ |
H A D | optinet2.cxx | 572 if ( nTemp > nWidth ) in ArrangeControls_Impl() 573 nWidth = nTemp; in ArrangeControls_Impl() 575 if ( nTemp > nWidth ) in ArrangeControls_Impl() 576 nWidth = nTemp; in ArrangeControls_Impl() 578 if ( nTemp > nWidth ) in ArrangeControls_Impl() 579 nWidth = nTemp; in ArrangeControls_Impl() 581 if ( nTemp > nWidth ) in ArrangeControls_Impl() 582 nWidth = nTemp; in ArrangeControls_Impl() 586 if ( nWidth > nFTWidth ) in ArrangeControls_Impl() 589 aNewSize.Width() = nWidth; in ArrangeControls_Impl() [all …]
|
/trunk/main/editeng/inc/editeng/ |
H A D | shaditem.hxx | 53 sal_uInt16 nWidth; member in SvxShadowItem 59 const Color *pColor = 0, const sal_uInt16 nWidth = 100 /*5pt*/, 83 sal_uInt16 GetWidth() const { return nWidth; } in GetWidth() 86 void SetWidth( sal_uInt16 nNew ) { nWidth = nNew; } in SetWidth() 101 nWidth = rFmtShadow.GetWidth(); in operator =()
|
/trunk/main/svx/source/dialog/ |
H A D | framelinkarray.cxx | 103 Cell& rCell = rCells[ nRow * nWidth + nCol ]; in lclSetMergedRange() 109 rCells[ nFirstRow * nWidth + nFirstCol ].mbMergeOrig = true; in lclSetMergedRange() 122 mnWidth( nWidth ), in ArrayImpl() 126 mnLastClipCol( nWidth - 1 ), in ArrayImpl() 353 Array::Array( size_t nWidth, size_t nHeight ) in Array() argument 355 Initialize( nWidth, nHeight ); in Array() 364 void Array::Initialize( size_t nWidth, size_t nHeight ) in Initialize() argument 367 mxImpl.reset( new ArrayImpl( nWidth, nHeight, bDiagDblClip ) ); in Initialize() 802 void Array::SetColWidth( size_t nCol, long nWidth ) in SetColWidth() argument 805 mxImpl->maWidths[ nCol ] = nWidth; in SetColWidth() [all …]
|
/trunk/main/filter/source/graphicfilter/epict/ |
H A D | epict.cxx | 916 nWidth = pAcc->Width(); in WriteOpcode_BitsRect() 925 nDstRowBytes = nWidth * 4; in WriteOpcode_BitsRect() 993 pComp[ nc ] = new sal_uInt8[ nWidth ]; in WriteOpcode_BitsRect() 1000 for ( nx = 0; nx < nWidth; nx++ ) in WriteOpcode_BitsRect() 1022 while ( nx < nWidth ) in WriteOpcode_BitsRect() 1030 if ( nEqu3 + 2 >= nWidth ) in WriteOpcode_BitsRect() 1032 nEqu3 = nWidth; in WriteOpcode_BitsRect() 1059 if ( nx < nWidth ) in WriteOpcode_BitsRect() 1185 for ( i = 0; i < nWidth; i++ ) in WriteOpcode_BitsRect() 1191 for ( i = 0; i < nWidth; i++ ) in WriteOpcode_BitsRect() [all …]
|
/trunk/main/sd/source/ui/sidebar/ |
H A D | PreviewValueSet.cxx | 113 sal_uInt16 PreviewValueSet::CalculateColumnCount (int nWidth) const in CalculateColumnCount() 116 if (nWidth > 0) in CalculateColumnCount() 118 nColumnCount = nWidth / (maPreviewSize.Width() + 2*mnBorderWidth); in CalculateColumnCount() 171 sal_Int32 PreviewValueSet::GetPreferredHeight (sal_Int32 nWidth) in GetPreferredHeight() argument 173 int nRowCount (CalculateRowCount(CalculateColumnCount(nWidth))); in GetPreferredHeight()
|
/trunk/main/avmedia/source/gstreamer/ |
H A D | gstwindow.cxx | 163 int nX = 0, nY = 0, nWidth = 0, nHeight = 0; in implLayoutVideoWindow() local 196 nWidth = nVideoW; in implLayoutVideoWindow() 207 nWidth = aPrefSize.Width; in implLayoutVideoWindow() 230 nWidth = nVideoW; in implLayoutVideoWindow() 235 nX = nY = nWidth = nHeight = 0; in implLayoutVideoWindow() 239 mpPlayerWindow->SetPosSizePixel( Point( nX, nY ), Size( nWidth, nHeight ) ); in implLayoutVideoWindow() 374 sal_Int32 nWidth, in setPosSize() argument 381 maWindowRect.Width = nWidth; in setPosSize()
|
/trunk/main/odk/examples/java/EmbedDocument/EmbeddedObject/ |
H A D | EditorFrame.java | 55 public EditorFrame( String sName, OwnEmbeddedObject aEmbObj, int nWidth, int nHeight ) in EditorFrame() argument 60 m_aTextArea = new JTextArea( "", nWidth, nHeight ); in EditorFrame() 107 int nWidth = (int)aDim.getWidth(); in getReplacementImage() local 109 aBufImage = new BufferedImage( nWidth, nHeight, BufferedImage.TYPE_INT_RGB ); in getReplacementImage() 112 aGr.clearRect( 0, 0, nWidth, nHeight ); in getReplacementImage()
|
/trunk/main/svtools/source/filter/ixbm/ |
H A D | xbmread.cxx | 41 nWidth ( 0 ), in XBMReader() 256 while( ( nCol < nWidth ) && ( nBit < nBits ) ) in ParseData() 259 if( nCol == nWidth ) in ParseData() 295 nWidth = nValue; in ReadXBM() 327 if ( bStatus && nWidth && nHeight ) in ReadXBM() 329 aBmp1 = Bitmap( Size( nWidth, nHeight ), 1 ); in ReadXBM()
|
/trunk/main/toolkit/source/layout/core/ |
H A D | box.cxx | 86 Box::calculateSize( long nWidth ) in calculateSize() argument 136 if ( nWidth == 0 ) in calculateSize() 137 nWidth = nSecSize ? nSecSize : nFlowMinWidth; in calculateSize() 149 nPrimSize += xChildCont->getHeightForWidth( nWidth ); in calculateSize() 174 Box::getHeightForWidth( sal_Int32 nWidth ) in getHeightForWidth() argument 178 return calculateSize( nWidth ).Height; in getHeightForWidth()
|
/trunk/main/reportdesign/source/ui/dlg/ |
H A D | DateTime.cxx | 177 sal_Int32 nWidth = 0; in Execute() local 181 …nWidth = LogicToLogic(PixelToLogic(Size(GetCtrlTextWidth(sDateFormat),0)).Width(),GetMapMode().Get… in Execute() 186 …nWidth = ::std::max<sal_Int32>(LogicToLogic(PixelToLogic(Size(GetCtrlTextWidth(sDateFormat),0)).Wi… in Execute() 189 if ( nWidth > 4000 ) in Execute() 192 aValues[nLength++].Value <<= nWidth; in Execute()
|
/trunk/main/vcl/source/gdi/ |
H A D | bmpacc.cxx | 200 const sal_uInt32 nWidth = Width(), nHeight = Height(), nScanSize = GetScanlineSize(); in ImplZeroInitUnusedBits() local 202 if( nWidth && nHeight && nScanSize && GetBuffer() ) in ImplZeroInitUnusedBits() 267 nBits *= nWidth; in ImplZeroInitUnusedBits() 490 for( long nX = 0L, nWidth = Min( mpBuffer->mnWidth, rReadAcc.Width() ); nX < nWidth; nX++ ) in CopyScanline() local 550 for( long nX = 0L, nWidth = mpBuffer->mnWidth; nX < nWidth; nX++ ) in CopyScanline() local
|
/trunk/main/sw/source/core/table/ |
H A D | swtable.cxx | 822 nWidth *= nOldAct; in lcl_ProcessBoxSet() 823 nWidth /= rParm.nOldWish; in lcl_ProcessBoxSet() 824 nLeft += (sal_uInt16)nWidth; in lcl_ProcessBoxSet() 835 nWidth *= nOldAct; in lcl_ProcessBoxSet() 836 nWidth /= rParm.nOldWish; in lcl_ProcessBoxSet() 862 nWidth *= nOldAct; in lcl_ProcessBoxSet() 863 nWidth /= rParm.nOldWish; in lcl_ProcessBoxSet() 864 long nTmp = (long)nWidth; in lcl_ProcessBoxSet() 1169 nBorder += nWidth; in lcl_AdjustWidthsInLine() 1238 nSum *= nWidth; in lcl_CalcNewWidths() [all …]
|
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 …]
|
/trunk/main/xmloff/source/forms/ |
H A D | controlpropertyhdl.cxx | 315 sal_Int32 nWidth = 0; in importXML() local 316 sal_Bool bSuccess = SvXMLUnitConverter::convertMeasure(nWidth, _rStrImpValue, MAP_POINT); in importXML() 318 _rValue <<= (sal_Int16)nWidth; in importXML() 326 sal_Int16 nWidth = 0; in exportXML() local 328 if (_rValue >>= nWidth) in exportXML() 329 SvXMLUnitConverter::convertMeasure(aResult, nWidth, MAP_POINT, MAP_POINT); in exportXML()
|
/trunk/main/fpicker/source/win32/filepicker/ |
H A D | dibpreview.cxx | 268 int nWidth = getAvailableWidth(); in onPaint() local 271 int nX = abs(nWidth - cxDib) / 2; in onPaint() 290 rc.right = nWidth; in onPaint() 297 rc.right = nWidth; in onPaint() 312 rc.left = nWidth - nX - 1; in onPaint() 314 rc.right = nWidth; in onPaint()
|
/trunk/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 …]
|