/aoo41x/main/svx/source/svdraw/ |
H A D | svdetc.cxx | 543 const sal_uInt32 nWidth = aSize.Width(); in GetDraftFillColor() local 547 if(pAccess && nWidth > 0 && nHeight > 0) in GetDraftFillColor() 553 const sal_uInt32 nXStep((nWidth > nMaxSteps) ? nWidth / nMaxSteps : 1L); in GetDraftFillColor() 559 for(sal_uInt32 nX(0L); nX < nWidth; nX += nXStep) in GetDraftFillColor() 963 sal_uIntPtr nWidth( rArea.GetSize().Width() ); in impCalcBackgroundColor() local 964 sal_uIntPtr nWidth14 = nWidth / 4; in impCalcBackgroundColor() 966 sal_uIntPtr nWidth34 = ( 3 * nWidth ) / 4; in impCalcBackgroundColor()
|
/aoo41x/main/sfx2/source/sidebar/ |
H A D | SidebarController.cxx | 346 const sal_Int32 nWidth (pParentWindow->GetSizePixel().Width()); in NotifyResize() local 349 mbIsDeckOpen = (nWidth > TabBar::GetDefaultWidth()); in NotifyResize() 352 mnSavedSidebarWidth = nWidth; in NotifyResize() 357 const bool bIsOpening (nWidth > mnWidthOnSplitterButtonDown); in NotifyResize() 359 bIsDeckVisible = nWidth >= TabBar::GetDefaultWidth() + gnWidthOpenThreshold; in NotifyResize() 361 bIsDeckVisible = nWidth >= TabBar::GetDefaultWidth() + gnWidthCloseThreshold; in NotifyResize() 373 mpCurrentDeck->SetPosSizePixel(0,0, nWidth-TabBar::GetDefaultWidth(), nHeight); in NotifyResize() 382 mpTabBar->SetPosSizePixel(nWidth-TabBar::GetDefaultWidth(),0,TabBar::GetDefaultWidth(),nHeight); in NotifyResize()
|
/aoo41x/main/framework/source/fwe/xml/ |
H A D | toolboxdocumenthandler.cxx | 327 sal_uInt16 nWidth( 0 ); in startElement() local 380 nWidth = (sal_uInt16)(xAttribs->getValueByIndex( n ).toInt32()); in startElement() 762 sal_Int16 nWidth( 0 ); in WriteToolBoxDocument() local 765 …lbarParameters( aProps, aCommandURL, aLabel, aHelpURL, aTooltip, nStyle, nWidth, bVisible, nType ); in WriteToolBoxDocument() 767 … WriteToolBoxItem( aCommandURL, aLabel, aHelpURL, aTooltip, nStyle, nWidth, bVisible ); in WriteToolBoxDocument() 793 sal_Int16 nWidth, in WriteToolBoxItem() argument 856 if ( nWidth > 0 ) in WriteToolBoxItem() 860 ::rtl::OUString::valueOf( sal_Int32( nWidth )) ); in WriteToolBoxItem()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | sallayout.cxx | 1082 long nWidth = GetTextWidth(); in FillDXArray() local 1083 return nWidth; in FillDXArray() 1110 long nWidth = nMaxPos - nMinPos; in GetTextWidth() local 1111 return nWidth; in GetTextWidth() 1479 long nWidth = 0; in GetTextBreak() local 1483 if( nWidth >= nMaxWidth ) in GetTextBreak() 1485 nWidth += nCharExtra; in GetTextBreak() 2158 long nWidth = 0; in GetTextBreak() local 2161 nWidth += pCharWidths[ i ] * nFactor; in GetTextBreak() 2162 if( nWidth > nMaxWidth ) in GetTextBreak() [all …]
|
/aoo41x/main/cui/source/tabpages/ |
H A D | transfrm.cxx | 934 double nWidth = static_cast<double>(maMtrWidth.GetValue( meDlgUnit )); in FillItemSet() local 935 …nWidth = MetricField::ConvertDoubleValue( nWidth, maMtrWidth.GetBaseValue(), maMtrWidth.GetDecimal… in FillItemSet() 936 long lWidth = long(nWidth * (double)aUIScale); in FillItemSet() 1641 const sal_Int64 nWidth(basegfx::fround64((mfOldWidth * (double)nHeight) / mfOldHeight)); in IMPL_LINK() local 1642 maMtrWidth.SetUserValue(nWidth, FUNIT_NONE); in IMPL_LINK() 1655 sal_Int64 nWidth(basegfx::fround64((mfOldWidth * (double)maMtrHeight.GetValue()) / mfOldHeight)); in IMPL_LINK() local 1657 if(nWidth <= maMtrWidth.GetMax(FUNIT_NONE)) in IMPL_LINK() 1659 maMtrWidth.SetUserValue(nWidth, FUNIT_NONE); in IMPL_LINK() 1663 nWidth = maMtrWidth.GetMax(FUNIT_NONE); in IMPL_LINK() 1664 maMtrWidth.SetUserValue(nWidth); in IMPL_LINK() [all …]
|
/aoo41x/main/sc/source/ui/view/ |
H A D | preview.cxx | 1020 long nWidth = (long) lcl_GetDocPageSize(pDocShell->GetDocument(), nTab).Width(); in MouseButtonUp() local 1050 …else if( bLeftRulerChange && ( aButtonUpPt.X() / HMM_PER_TWIPS > nWidth - aLRItem.GetRight() - aOf… in MouseButtonUp() 1075 …aLRItem.SetRight( (long)( nWidth - aButtonUpPt.X() / HMM_PER_TWIPS - aOffset.X() / HMM_PER_TWIPS )… in MouseButtonUp() 1269 long nWidth = (long) lcl_GetDocPageSize(pDocShell->GetDocument(), nTab).Width(); in MouseMove() local 1285 nRightMargin = (long)( nWidth * HMM_PER_TWIPS - nRightMargin - aOffset.X() ); in MouseMove() 1307 …Point aTopRight = LogicToPixel( Point( (long)(nWidth * HMM_PER_TWIPS - aOffset.X()), nTopMargin … in MouseMove() 1379 …if( aMouseMovePoint.X() > -aOffset.X() && aMouseMovePoint.X() < nWidth * HMM_PER_TWIPS - aOffset.X… in MouseMove() 1390 …if( aMouseMovePoint.X() > -aOffset.X() && aMouseMovePoint.X() < nWidth * HMM_PER_TWIPS - aOffset.X… in MouseMove() 1399 …if( aMouseMovePoint.X() > -aOffset.X() && aMouseMovePoint.X() < nWidth * HMM_PER_TWIPS - aOffset.X… in MouseMove() 1534 long nWidth = (long) lcl_GetDocPageSize( pDocShell->GetDocument(), nTab ).Width(); in DrawInvert() local [all …]
|
/aoo41x/main/avmedia/source/gstreamer/ |
H A D | gstframegrabber.cxx | 213 const int nWidth = gdk_pixbuf_get_width( mpLastPixbuf ); in grabFrame() local 218 if( pBuffer && ( nWidth > 0 ) && ( nHeight > 0 ) ) in grabFrame() 220 Bitmap aFrame( Size( nWidth, nHeight), 24 ); in grabFrame() 239 for( int nCol = 0; nCol < nWidth; ++nCol ) in grabFrame()
|
/aoo41x/main/oox/inc/oox/drawingml/ |
H A D | drawingmltypes.hxx | 185 …inline explicit EmuSize( sal_Int64 nWidth, sal_Int64 nHeight ) : Width( nWidth ), Height( nHei… in EmuSize() 195 …ngle( sal_Int64 nX, sal_Int64 nY, sal_Int64 nWidth, sal_Int64 nHeight ) : EmuPoint( nX, nY ), EmuS… in EmuRectangle()
|
/aoo41x/main/sw/source/filter/html/ |
H A D | htmlsect.cxx | 551 long nWidth = 100; in NewMultiCol() local 582 nWidth = pOption->GetNumber(); in NewMultiCol() 584 if( bPrcWidth && nWidth>100 ) in NewMultiCol() 585 nWidth = 100; in NewMultiCol() 612 sal_uInt8 nPrcWidth = bPrcWidth ? (sal_uInt8)nWidth : 0; in NewMultiCol() 614 if( !bPrcWidth && nWidth && Application::GetDefaultDevice() ) in NewMultiCol() 617 ->PixelToLogic( Size(nWidth, 0), in NewMultiCol()
|
/aoo41x/main/vcl/inc/win/ |
H A D | salgdi.h | 192 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 225 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 229 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags); 232 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uIntPtr nS… 256 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency …
|
/aoo41x/main/avmedia/source/xine/ |
H A D | window.cxx | 188 int nX = 0, nY = 0, nWidth = 0, nHeight = 0; in implLayoutVideoWindow() local 221 nWidth = nVideoW; in implLayoutVideoWindow() 232 nWidth = aPrefSize.Width; in implLayoutVideoWindow() 251 nWidth = nVideoW; in implLayoutVideoWindow() 255 nX = nY = nWidth = nHeight = 0; in implLayoutVideoWindow()
|
/aoo41x/main/oox/source/core/ |
H A D | binarycodec.cxx | 52 inline void lclRotateLeft( Type& rnValue, size_t nBits, size_t nWidth ) in lclRotateLeft() argument 54 …OSL_ENSURE( (nBits < nWidth) && (nWidth < sizeof( Type ) * 8), "lclRotateLeft - rotation count ove… in lclRotateLeft() 55 Type nMask = static_cast< Type >( (1UL << nWidth) - 1 ); in lclRotateLeft() 57 ((rnValue << nBits) | ((rnValue & nMask) >> (nWidth - nBits))) & nMask ); in lclRotateLeft()
|
/aoo41x/main/sw/source/ui/shells/ |
H A D | textidx.cxx | 134 long nWidth = aRect.Width(); in ExecIdx() local 135 aSet.Put(SwFmtFrmSize(ATT_VAR_SIZE, nWidth)); in ExecIdx() 137 aSet.Put(SvxSizeItem(SID_ATTR_PAGE_SIZE, Size(nWidth, nWidth))); in ExecIdx()
|
/aoo41x/main/avmedia/source/win/ |
H A D | window.cxx | 232 int nX = 0, nY = 0, nWidth = 0, nHeight = 0; in ImplLayoutVideoWindow() local 265 nWidth = nVideoW; in ImplLayoutVideoWindow() 276 nWidth = aPrefSize.Width; in ImplLayoutVideoWindow() 295 nWidth = nVideoW; in ImplLayoutVideoWindow() 299 nX = nY = nWidth = nHeight = 0; in ImplLayoutVideoWindow() 305 pVideoWindow->SetWindowPosition( nX, nY, nWidth, nHeight ); in ImplLayoutVideoWindow()
|
/aoo41x/main/sc/source/ui/dbgui/ |
H A D | csvruler.cxx | 126 long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) in SetPosSizePixel() argument 130 ScCsvControl::SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 554 void ScCsvRuler::ImplDrawArea( sal_Int32 nPosX, sal_Int32 nWidth ) in ImplDrawArea() argument 557 Rectangle aRect( Point( nPosX, 0 ), Size( nWidth, GetHeight() ) ); in ImplDrawArea() 563 … aRect.Right() = Min( Min( GetX( GetPosCount() ), GetLastX() ), nPosX + nWidth - sal_Int32( 1 ) ); in ImplDrawArea() 572 maBackgrDev.DrawLine( Point( nPosX, nY ), Point( nPosX + nWidth - 1, nY ) ); in ImplDrawArea()
|
/aoo41x/main/svx/source/table/ |
H A D | tablecolumn.cxx | 170 sal_Int32 nWidth = mnWidth; in setFastPropertyValue() local 171 bOk = aValue >>= nWidth; in setFastPropertyValue() 172 if( bOk && (nWidth != mnWidth) ) in setFastPropertyValue() 174 mnWidth = nWidth; in setFastPropertyValue()
|
/aoo41x/main/sd/source/ui/sidebar/ |
H A D | MasterPageContainerProviders.cxx | 54 int nWidth, in operator ()() argument 66 nWidth, in operator ()() 104 int nWidth, in operator ()() argument 109 (void)nWidth; in operator ()()
|
/aoo41x/main/canvas/source/vcl/ |
H A D | canvashelper.cxx | 981 const sal_Int32 nWidth( rect.X2 - rect.X1 ); in getData() local 985 rLayout.ScanLineBytes = nWidth*4; in getData() 988 uno::Sequence< sal_Int8 > aRes( 4*nWidth*nHeight ); in getData() 994 for( int x=0; x<nWidth; ++x ) in getData() 1061 const sal_Int32 nWidth( rect.X2 - rect.X1 ); in setData() local 1072 for( x=0; x<nWidth; ++x ) in setData() 1088 for( x=0; x<nWidth; ++x ) in setData() 1103 for( x=0; x<nWidth; ++x ) in setData() 1116 for( x=0; x<nWidth; ++x ) in setData()
|
/aoo41x/main/chart2/source/controller/dialogs/ |
H A D | DataBrowser.cxx | 176 void SetWidth( sal_Int32 nWidth ); 184 void SetPixelWidth( sal_Int32 nWidth ); 304 void SeriesHeader::SetWidth( sal_Int32 nWidth ) in SetWidth() argument 306 m_nWidth = nWidth; in SetWidth() 318 void SeriesHeader::SetPixelWidth( sal_Int32 nWidth ) in SetPixelWidth() argument 320 SetWidth( m_pDevice->PixelToLogic( Size( nWidth, 0 ), MAP_APPFONT ).getWidth()); in SetPixelWidth() 1399 sal_uLong nWidth = 0; in GetTotalWidth() local 1401 nWidth += GetColumnWidth( nCol ); in GetTotalWidth() 1402 return static_cast< sal_Int32 >( nWidth ); in GetTotalWidth()
|
/aoo41x/main/svtools/source/filter/jpeg/ |
H A D | jpeg.h | 37 unsigned long nWidth; member 55 long WriteJPEG( void* pJPEGWriter, void* pOStm, long nWidth, long nHeight, long bGreyScale, 64 void SetJpegPreviewSizeHint( int nWidth, int nHeight );
|
/aoo41x/main/vcl/inc/unx/ |
H A D | salgdi.h | 279 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 328 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 330 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags ); 333 …virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, sal_uIntPtr n… 345 virtual bool drawAlphaRect( long nX, long nY, long nWidth,
|
/aoo41x/main/svx/source/fmcomp/ |
H A D | fmgridif.cxx | 1509 sal_Int32 nWidth = 0; in propertyChange() local 1518 nWidth = pGrid->LogicToPixel(Point(nTest,0),MAP_10TH_MM).X(); in propertyChange() 1520 nWidth = pGrid->CalcZoom(nWidth); in propertyChange() 1523 if (nWidth != (sal_Int32(pGrid->GetColumnWidth(nId)))) in propertyChange() 1530 pGrid->SetColumnWidth(nId, nWidth); in propertyChange() 1824 sal_Int32 nWidth = 0; in elementInserted() local 1825 if (aWidth >>= nWidth) in elementInserted() 1826 nWidth = pGrid->LogicToPixel(Point(nWidth,0),MAP_10TH_MM).X(); in elementInserted() 1868 sal_Int32 nWidth = 0; in elementReplaced() local 1869 if (aWidth >>= nWidth) in elementReplaced() [all …]
|
/aoo41x/main/svtools/source/toolpanel/ |
H A D | drawerlayouter.cxx | 76 const int nWidth( i_rDeckPlayground.GetWidth() ); in IMPLEMENT_IREFERENCE() local 89 aUpperDrawerPos, Size( nWidth, nDrawerHeight ) ); in IMPLEMENT_IREFERENCE() 100 Size( nWidth, nDrawerHeight ) in IMPLEMENT_IREFERENCE() 108 Size( nWidth, aLowerDrawerPos.Y() - aUpperDrawerPos.Y() + 1 ) in IMPLEMENT_IREFERENCE()
|
/aoo41x/main/odk/examples/DevelopersGuide/Forms/ |
H A D | FormLayer.java | 96 int nYPos, int nWidth, int nHeight, XIndexContainer xParentForm ) throws java.lang.Exception in createControlAndShape() argument 105 xShape.setSize( new Size( nWidth * 100, nHeight * 100 ) ); in createControlAndShape() 179 int nYPos, int nWidth, int nHeight ) throws java.lang.Exception in createControlAndShape() argument 181 return createControlAndShape( sFormComponentService, nXPos, nYPos, nWidth, nHeight, null ); in createControlAndShape()
|
/aoo41x/main/vcl/unx/generic/gdi/ |
H A D | salgdi3.cxx | 558 int nWidth = rFSD.mnWidth ? rFSD.mnWidth : rFSD.mnHeight; in DrawCairoAAFontString() local 565 rCairo.matrix_scale(&m, nWidth, rFSD.mnHeight); in DrawCairoAAFontString() 695 long nWidth = 1, nHeight = 1; in DrawServerAAForcedString() local 697 nWidth = m_pFrame->maGeometry.nWidth, nHeight = m_pFrame->maGeometry.nHeight; in DrawServerAAForcedString() 699 nWidth = m_pVDev->GetWidth(), nHeight = m_pVDev->GetHeight(); in DrawServerAAForcedString() 709 if( aXRect.width+aXRect.x > nWidth ) aXRect.width = nWidth-aXRect.x; in DrawServerAAForcedString() 716 aXRect.width = nWidth; in DrawServerAAForcedString() 914 const int nWidth = rGM.GetSize().Width(); in DrawServerSimpleFontString() local 916 XFillRectangle( pDisplay, hDrawable_, tmpGC, nDestX, nDestY, nWidth, nHeight ); in DrawServerSimpleFontString()
|