/trunk/main/sw/source/filter/ww8/ |
H A D | ww8graf2.cxx | 333 long nWidth, nHeight; member 355 nWidth = nAktWidth * rPic.mx / 1000; // Writer Size in WW8PicDesc() 386 sal_uInt32 nWidth = rPD.nWidth; in MakeGrafNotInCntnt() local 401 aFlySet.Put( SwFmtFrmSize( ATT_FIX_SIZE, nWidth, nHeight ) ); in MakeGrafNotInCntnt() 421 WW8FlySet aFlySet(*this, pPaM, rPic, rPD.nWidth, rPD.nHeight); in MakeGrafInCntnt() 438 pSFlyPara->BoxUpWidth( rPD.nWidth ); in MakeGrafInCntnt() 534 WW8FlySet aFlySet( *this, pPaM, aPic, aPD.nWidth, aPD.nHeight ); in ImportGraf() 590 Rectangle aClientRect( 0,0, aPD.nWidth, aPD.nHeight); in ImportGraf() 620 WW8FlySet aFlySet( *this, pPaM, aPic, aPD.nWidth, in ImportGraf() 639 aAttrSet.Put( SwFmtFrmSize( ATT_FIX_SIZE, aPD.nWidth, in ImportGraf()
|
/trunk/main/sc/source/filter/rtf/ |
H A D | eeimpars.cxx | 413 sal_uInt16 nWidth = (sal_uInt16)(sal_uLong) pColWidths->Get( nCol ); in WriteToDocument() local 414 if ( nWidth ) in WriteToDocument() 415 mpDoc->SetColWidth( nCol, nTab, nWidth ); in WriteToDocument() 465 long nWidth, nHeight; in GraphicSize() local 466 nWidth = nHeight = 0; in GraphicSize() 477 nWidth += aLogicSize.Width(); in GraphicSize() 478 else if ( nWidth < aLogicSize.Width() ) in GraphicSize() 479 nWidth = aLogicSize.Width(); in GraphicSize() 495 if ( nWidth > nColWidths ) in GraphicSize() 498 pColWidths->Replace( nCol, (void*)(nWidth - nColWidths + nThisWidth) ); in GraphicSize() [all …]
|
/trunk/main/svtools/source/filter/jpeg/ |
H A D | jpeg.cxx | 342 Size aSize( ((JPEGCreateBitmapParam*)pParam)->nWidth, in CreateBitmap() 446 long nWidth = pAcc->Width(); in FillBitmap() local 465 for( long nX = 0L; nX < nWidth; nX++ ) in FillBitmap() 488 sal_uInt8* aEnd(aSource + (nWidth * 3)); in FillBitmap() 495 pAcc->CopyScanline(nY, aSource, BMP_FORMAT_24BIT_TC_BGR, nWidth * 3); in FillBitmap() 502 for( long nX = 0L; nX < nWidth; nX++ ) in FillBitmap() 680 long nWidth = pAcc->Width(); in GetScanline() local 685 for( long nX = 0L; nX < nWidth; nX++ ) in GetScanline() 697 for( long nX = 0L; nX < nWidth; nX++ ) in GetScanline() 742 long nWidth = pAcc->Width(); in Write() local [all …]
|
/trunk/main/sc/source/core/data/ |
H A D | column2.cxx | 360 long nWidth; in GetNeededSize() local 384 aSize = Size( nWidth, nHeight ); in GetNeededSize() 527 long nWidth; in GetNeededSize() local 540 aSize = Size( nWidth, nHeight ); in GetNeededSize() 663 sal_uInt16 nWidth = (sal_uInt16) (nOldWidth * nPPTX); in GetOptimalColWidth() local 685 if (nThis>nWidth || !bFound) in GetOptimalColWidth() 687 nWidth = nThis; in GetOptimalColWidth() 715 if (nThis>nWidth || !bFound) in GetOptimalColWidth() 717 nWidth = nThis; in GetOptimalColWidth() 726 nWidth += 2; in GetOptimalColWidth() [all …]
|
/trunk/main/svx/source/xoutdev/ |
H A D | _xoutbmp.cxx | 398 const long nWidth = aSize.Width(); in DetectEdges() local 399 const long nWidth2 = nWidth - 2L; in DetectEdges() 411 pWriteAcc->DrawLine( Point(), Point( nWidth - 1L, 0L ) ); in DetectEdges() 412 pWriteAcc->DrawLine( Point( nWidth - 1L, 0L ), Point( nWidth - 1L, nHeight - 1L ) ); in DetectEdges() 413 pWriteAcc->DrawLine( Point( nWidth - 1L, nHeight - 1L ), Point( 0L, nHeight - 1L ) ); in DetectEdges() 493 const long nWidth = pAcc->Width(); in GetCountour() local 495 const double fFactorX = (double) rPrefSize.Width() / nWidth; in GetCountour() 513 pPoints1 = new Point[ nWidth ]; in GetCountour() 514 pPoints2 = new Point[ nWidth ]; in GetCountour()
|
/trunk/main/vcl/unx/generic/window/ |
H A D | salobj.cxx | 229 SalClipRegion::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) in UnionClipRegion() argument 231 if ( nWidth && nHeight && (numClipRectangles < maxClipRectangles) ) in UnionClipRegion() 237 aRect->width = (unsigned short) nWidth; in UnionClipRegion() 329 X11SalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) in UnionClipRegion() argument 331 maClipRegion.UnionClipRegion ( nX, nY, nWidth, nHeight ); in UnionClipRegion() 382 X11SalObject::SetPosSize( long nX, long nY, long nWidth, long nHeight ) in SetPosSize() argument 384 if ( maPrimary && maSecondary && nWidth && nHeight ) in SetPosSize() 388 nX, nY, nWidth, nHeight ); in SetPosSize() 391 0, 0, nWidth, nHeight ); in SetPosSize()
|
/trunk/main/sw/source/filter/html/ |
H A D | htmlgrin.cxx | 325 long nWidth=0, nHeight=0; in InsertImage() local 370 nWidth = pOption->GetNumber(); in InsertImage() 372 if( bPrcWidth && nWidth>100 ) in InsertImage() 373 nWidth = 100; in InsertImage() 557 nWidth = 1; // != 0 in InsertImage() 562 nWidth = aPropInfo.nWidth; in InsertImage() 591 if( !nWidth || !nHeight ) in InsertImage() 597 if( pTable!=0 && !nWidth ) in InsertImage() 606 if( !nWidth && !nHeight ) in InsertImage() 611 else if( nWidth ) in InsertImage() [all …]
|
H A D | htmltab.cxx | 97 sal_uInt16 nWidth; member 748 nWidth( 0 ), in HTMLTableCell() 792 nWidth = nWdth; in SetWidth() 947 nWidth = nWdth; in SetWidth() 950 nWidth = nWdth; in SetWidth() 1129 nWidth( pOptions->nWidth ), in HTMLTable() 1163 sal_uInt16 nW = bPrcWidth ? nWidth : pParser->ToTwips( nWidth ); in CreateLayoutInfo() 3221 nWidth( 0 ), in _CellSaveStruct() 3265 nWidth = 100; in _CellSaveStruct() 5169 nWidth = 100; in HTMLTableOptions() [all …]
|
/trunk/main/svtools/source/filter/wmf/ |
H A D | winwmf.cxx | 204 short nWidth, nHeight; in ReadRecordParams() local 205 *pWMF >> nHeight >> nWidth; in ReadRecordParams() 206 pOut->SetWinExt( Size( nWidth, nHeight ) ); in ReadRecordParams() 547 Bitmap aBmp( Size( nWidth, nHeight ), nBitCount ); in ReadRecordParams() 562 if ( x < nWidth ) in ReadRecordParams() 698 sal_uInt16 nStyle, nWidth, nHeight; in ReadRecordParams() local 700 *pWMF >> nStyle >> nWidth >> nHeight; in ReadRecordParams() 702 if ( nWidth ) in ReadRecordParams() 703 aLineInfo.SetWidth( nWidth ); in ReadRecordParams() 1258 sal_Int16 nWidth, nHeight; in GetPlaceableBound() local [all …]
|
/trunk/main/sd/source/ui/slidesorter/view/ |
H A D | SlsButtonBar.cxx | 150 const sal_Int32 nWidth (pBitmap->Width()); in AdaptTransparency() local 154 for (sal_Int32 nX = 0; nX<nWidth; ++nX) in AdaptTransparency() 906 const int nWidth (maPreviewBoundingBox.GetWidth()+2); in CreateBackground() local 911 aDevice.SetOutputSizePixel(Size(nWidth,nHeight)); in CreateBackground() 916 aDevice.DrawRect(Rectangle(0,0,nWidth-1,nCenter)); in CreateBackground() 918 aDevice.DrawRect(Rectangle(0,nCenter,nWidth-1,nHeight-1)); in CreateBackground() 924 aDevice.DrawLine(Point(0,0), Point(nWidth-1,0)); in CreateBackground() 925 aDevice.DrawLine(Point(nWidth-1,0),Point(nWidth-1,nCenter)); in CreateBackground() 929 aDevice.DrawLine(Point(nWidth-1,nHeight-1),Point(nWidth-1,nCenter)); in CreateBackground() 1273 const sal_Int32 nWidth (GetSize().Width()); in Place() local [all …]
|
/trunk/main/UnoControls/source/controls/ |
H A D | statusindicator.cxx | 301 sal_Int32 nWidth = impl_getWidth() ; in getPreferredSize() local 305 if ( nWidth<DEFAULT_WIDTH ) in getPreferredSize() 307 nWidth = DEFAULT_WIDTH ; in getPreferredSize() 315 return Size ( nWidth, nHeight ) ; in getPreferredSize() 393 void SAL_CALL StatusIndicator::setPosSize ( sal_Int32 nX, sal_Int32 nY, sal_Int32 nWidth, sal_Int32… in setPosSize() argument 396 BaseContainerControl::setPosSize (nX, nY, nWidth, nHeight, nFlags) ; in setPosSize() 400 ( nWidth != aBasePosSize.Width ) || in setPosSize() 405 impl_recalcLayout ( WindowEvent(static_cast< OWeakObject* >(this),0,0,nWidth,nHeight,0,0,0,0) ) ; in setPosSize()
|
/trunk/main/vcl/aqua/source/gdi/ |
H A D | salgdi.cxx | 717 CGRect aRect( CGRectMake(nX, nY, nWidth, nHeight) ); in drawRect() 732 RefreshRect( nX, nY, nWidth, nHeight ); in drawRect() 774 long nX = 0, nY = 0, nWidth = 0, nHeight = 0; in drawPolyLine() local 790 RefreshRect( nX, nY, nWidth, nHeight ); in drawPolyLine() 802 long nX = 0, nY = 0, nWidth = 0, nHeight = 0; in drawPolygon() local 838 RefreshRect( nX, nY, nWidth, nHeight ); in drawPolygon() 1771 w = mpFrame->maGeometry.nWidth; in GetGraphicsWidth() 2468 nBytesPerRow *= nWidth; in SetTarget() 2474 nWidth, nHeight, nBitsPerComponent, nBytesPerRow, in SetTarget() 2488 nWidth, nHeight, nBitsPerComponent, nBytesPerRow, in SetTarget() [all …]
|
/trunk/main/sw/source/filter/xml/ |
H A D | xmlimpit.cxx | 465 sal_uInt16 nWidth = 0; in PutXMLValue() local 472 bHasWidth, nWidth, nNamedWidth, in PutXMLValue() 479 bHasWidth, nWidth, nNamedWidth, in PutXMLValue() 485 bHasWidth, nWidth, nNamedWidth, in PutXMLValue() 491 bHasWidth, nWidth, nNamedWidth, in PutXMLValue() 497 bHasWidth, nWidth, nNamedWidth, in PutXMLValue() 537 sal_uInt16 nWidth = 0; in PutXMLValue() local 541 lcl_frmitems_setXMLBorder( pTop, nWidth, in PutXMLValue() 548 lcl_frmitems_setXMLBorder( pBottom, nWidth, in PutXMLValue() 555 lcl_frmitems_setXMLBorder( pLeft, nWidth, in PutXMLValue() [all …]
|
/trunk/main/filter/source/graphicfilter/ieps/ |
H A D | ieps.cxx | 417 long nWidth, long nHeight, Graphic &rGraphic) in MakePreview() argument 434 Rectangle aRect( Point( 1, 1 ), Size( nWidth - 2, nHeight - 2 ) ); in MakePreview() 501 aMtf.SetPrefSize( Size( nWidth, nHeight ) ); in MakePreview() 589 long nWidth = ImplGetNumber( &pDest, nSecurityCount ); in GraphicImport() local 594 …if ( nSecurityCount && pDest && nWidth && nHeight && ( ( nBitDepth == 1 ) || ( nBitDepth == 8 ) ) … in GraphicImport() 598 Bitmap aBitmap( Size( nWidth, nHeight ), 1 ); in GraphicImport() 609 for ( long x = 0; x < nWidth; x++ ) in GraphicImport() 702 long nWidth = nNumb[2] - nNumb[0] + 1; in GraphicImport() local 716 MakePreview(pBuf, nBytesRead, nWidth, nHeight, in GraphicImport() 720 aMtf.AddAction( (MetaAction*)( new MetaEPSAction( Point(), Size( nWidth, nHeight ), in GraphicImport() [all …]
|
/trunk/main/vcl/aqua/source/window/ |
H A D | salobj.cxx | 120 void AquaSalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) in UnionClipRegion() argument 129 if( nX + nWidth > mnClipX + mnClipWidth ) in UnionClipRegion() 130 mnClipWidth = nX + nWidth - mnClipX; in UnionClipRegion() 143 mnClipWidth = nWidth; in UnionClipRegion() 158 void AquaSalObject::SetPosSize( long nX, long nY, long nWidth, long nHeight ) in SetPosSize() argument 162 mnWidth = nWidth; in SetPosSize()
|
/trunk/main/vcl/win/source/window/ |
H A D | salframe.cxx | 948 int nWidth; in ImplSalFrameFullScreenPos() local 1421 mnMinWidth = nWidth; in SetMinClientSize() 1427 mnMaxWidth = nWidth; in SetMaxClientSize() 1481 aWinRect.right = (int)nWidth-1; in SetPosSize() 1834 rWidth = maGeometry.nWidth; in GetClientSize() 1847 int nWidth; in SetWindowState() local 1905 if ( nX+nWidth > nScreenX+nScreenWidth ) in SetWindowState() 1970 aStateRect.right = nX+nWidth; in SetWindowState() 3257 long nRight = nX + nWidth; in UnionClipRegion() 4252 int nWidth = aRect.right - aRect.left in UpdateFrameGeometry() local [all …]
|
/trunk/main/cui/source/tabpages/ |
H A D | grfpage.cxx | 338 sal_Int64 nWidth = aWidthMF.Normalize(nOldWidth); in ActivatePage() local 341 if (nWidth != aWidthMF.GetValue(FUNIT_TWIP)) in ActivatePage() 347 aWidthMF.SetUserValue(nWidth, FUNIT_TWIP); in ActivatePage() 350 aWidthMF.SetValue(nWidth, FUNIT_TWIP); in ActivatePage() 449 long nWidth = aOrigSize.Width() - in IMPL_LINK() local 452 if(!nWidth) in IMPL_LINK() 453 nWidth++; in IMPL_LINK() 567 long nWidth = aOrigSize.Width() - in IMPL_LINK() local 570 aWidthMF.SetValue( aWidthMF.Normalize( nWidth ), eUnit ); in IMPL_LINK() 591 long nWidth = lcl_GetValue( aWidthMF, eUnit ); in CalcZoom() local [all …]
|
/trunk/main/sd/source/ui/dlg/ |
H A D | docprev.cxx | 94 long nWidth = rSize.Width() - 2*FRAME; in CalcSizeAndPos() local 96 if( nWidth < 0 ) nWidth = 0; in CalcSizeAndPos() 100 double dRatioPreV=((double) nWidth ) / nHeight; in CalcSizeAndPos() 104 rSize=Size(nWidth, (sal_uInt16)(nWidth/dRatio)); in CalcSizeAndPos() 110 rPoint=Point((sal_uInt16)((nWidth-rSize.Width())/2),0); in CalcSizeAndPos()
|
/trunk/main/sw/source/core/text/ |
H A D | blink.cxx | 92 long nWidth, nHeight; in IMPL_LINK() local 98 nWidth = pTmp->GetPortion()->SvLSize().Height(); in IMPL_LINK() 105 nWidth = pTmp->GetPortion()->SvLSize().Width(); in IMPL_LINK() 111 nWidth = pTmp->GetPortion()->SvLSize().Height(); in IMPL_LINK() 116 nWidth = pTmp->GetPortion()->SvLSize().Width(); in IMPL_LINK() 120 Rectangle aRefresh( aPos, Size( nWidth, nHeight ) ); in IMPL_LINK()
|
/trunk/main/framework/source/uielement/ |
H A D | toolbarmerger.cxx | 131 aAddonToolbarItem.nWidth ); in ConvertSeqSeqToVector() 639 sal_uInt16 nWidth, in CreateController() argument 647 … pResult = new ComboboxToolbarController( xSMGR, xFrame, pToolbar, nId, nWidth, rCommandURL ); in CreateController() 649 pResult = new EditToolbarController( xSMGR, xFrame, pToolbar, nId, nWidth, rCommandURL ); in CreateController() 651 … pResult = new SpinfieldToolbarController( xSMGR, xFrame, pToolbar, nId, nWidth, rCommandURL ); in CreateController() 655 … pResult = new DropdownToolbarController( xSMGR, xFrame, pToolbar, nId, nWidth, rCommandURL ); in CreateController() 679 pIter->second.nWidth = rItem.nWidth; in CreateToolbarItem()
|
/trunk/main/sw/source/ui/frmdlg/ |
H A D | column.cxx | 277 long nWidth = nSelectionWidth; in IMPL_LINK() local 283 pSet->Put(SwFmtFrmSize(ATT_VAR_SIZE, nWidth, nWidth)); in IMPL_LINK() 288 pSet->Put(SwFmtFrmSize(ATT_VAR_SIZE, nWidth, nWidth)); in IMPL_LINK() 291 nWidth = nPageWidth; in IMPL_LINK() 293 pSet->Put(SwFmtFrmSize(ATT_VAR_SIZE, nWidth, nWidth)); in IMPL_LINK() 304 pTabPage->SetPageWidth(nWidth); in IMPL_LINK() 418 sal_uInt16 lcl_LineWidthToPos(sal_uLong nWidth) in DBG_NAME() 420 const sal_uInt16 nUShortWidth = (sal_uInt16)nWidth; in DBG_NAME() 433 sal_uInt16 nWidth = GetMaxWidth( pColMgr, nCols ); in ResetColWidth() local 434 nWidth = nWidth / nCols; in ResetColWidth() [all …]
|
/trunk/main/sdext/source/minimizer/ |
H A D | optimizerdialogcontrols.cxx | 78 sal_Int32 nWidth, in ImplInsertSeparator() argument 95 Any( nWidth ) }; in ImplInsertSeparator() 114 sal_Int32 nWidth, in ImplInsertButton() argument 143 Any( nWidth ) }; in ImplInsertButton() 162 sal_Int32 nWidth, in ImplInsertFixedText() argument 186 Any( nWidth ) }; in ImplInsertFixedText() 231 Any( nWidth ) }; in ImplInsertCheckBox() 281 Any( nWidth ) }; in ImplInsertFormattedField() 334 Any( nWidth ) }; in ImplInsertComboBox() 380 Any( nWidth ) }; in ImplInsertRadioButton() [all …]
|
/trunk/main/desktop/source/deployment/gui/ |
H A D | dp_gui_dialog2.cxx | 216 long nWidth = m_pOptionsBtn->GetSizePixel().Width(); in GetMinOutputSizePixel() local 217 nWidth *= 3; in GetMinOutputSizePixel() 218 nWidth += 5*TOP_OFFSET + 20; in GetMinOutputSizePixel() 220 return Size( nWidth, nHeight ); in GetMinOutputSizePixel() 735 nWidth += 2 * m_aUpdateBtn.GetTextHeight(); in ExtMgrDialog() 736 if ( nWidth > aBtnSize.Width() ) in ExtMgrDialog() 1285 nWidth += 2 * m_aUpdateBtn.GetTextHeight(); in UpdateRequiredDialog() 1286 if ( nWidth > aBtnSize.Width() ) in UpdateRequiredDialog() 1292 nWidth = m_aCloseBtn.GetCtrlTextWidth( sTitle ); in UpdateRequiredDialog() 1293 nWidth += 2 * m_aCloseBtn.GetTextHeight(); in UpdateRequiredDialog() [all …]
|
/trunk/main/oox/inc/oox/dump/ |
H A D | biffdumper.hxx | 170 Type nLeft, Type nTop, Type nWidth, Type nHeight, 246 Type nLeft, Type nTop, Type nWidth, Type nHeight, in writeRectItem() argument 253 writeValueItem( "x-size", nWidth, eFmtType, rListWrp ); in writeRectItem() 261 Type nLeft, nTop, nWidth, nHeight; in dumpRect() local 262 *mxBiffStrm >> nLeft >> nTop >> nWidth >> nHeight; in dumpRect() 263 writeRectItem( rName, nLeft, nTop, nWidth, nHeight, rListWrp, eFmtType ); in dumpRect() 270 Type nLeft, nTop, nWidth, nHeight; in dumpRectWithGaps() local 275 *mxBiffStrm >> nWidth; in dumpRectWithGaps() 279 writeRectItem( rName, nLeft, nTop, nWidth, nHeight, rListWrp, eFmtType ); in dumpRectWithGaps()
|
/trunk/main/framework/source/fwe/xml/ |
H A D | statusbardocumenthandler.cxx | 272 sal_Int16 nWidth( 0 ); in startElement() local 373 nWidth = (sal_Int16)(xAttribs->getValueByIndex( n ).toInt32()); in startElement() 415 aStatusbarItemProp[4].Value <<= nWidth; in startElement() 575 sal_Int16 nWidth( 0 ); in WriteStatusBarDocument() local 584 nWidth ); in WriteStatusBarDocument() 587 WriteStatusBarItem( aCommandURL, aHelpURL, nOffset, nStyle, nWidth ); in WriteStatusBarDocument() 606 sal_Int16 nWidth ) in WriteStatusBarItem() argument 672 if ( nWidth > 0 ) in WriteStatusBarItem() 676 ::rtl::OUString::valueOf( (sal_Int32)nWidth ) ); in WriteStatusBarItem()
|