/aoo41x/main/editeng/source/items/ |
H A D | svxfont.cxx | 412 sal_Int32 nWidth(0L); in GetPhysTxtSize() local 420 nWidth = pOut->GetTextWidth( _aNewText, 0, _aNewText.Len() ); in GetPhysTxtSize() 424 nWidth = pOut->GetTextWidth( aNewText, nIdx, nLen ); in GetPhysTxtSize() 427 aTxtSize.setWidth(nWidth); in GetPhysTxtSize() 821 long nWidth = aPartSize.Width(); in Do() local 825 if ( _nLen ) nWidth += (_nLen*long(nKern)); in Do() 827 pOut->DrawStretchText(aPos,nWidth-nKern,_rTxt,_nIdx,_nLen); in Do() 836 aPos.X() += nWidth-(nKern/2); in Do()
|
/aoo41x/main/wizards/com/sun/star/wizards/reportbuilder/layout/ |
H A D | Tabular.java | 76 …final int nWidth = calculateFieldWidth(getLeftGroupIndent(getCountOfGroups()), aFieldNames.length); in insertDetailFields() local 82 aRect = insertFormattedField(xSection, sFieldName, aRect, nWidth, aSO); in insertDetailFields() 135 …final int nWidth = calculateFieldWidth(getLeftGroupIndent(getCountOfGroups()), aFieldTitleNames.le… in insertDetailFieldTitles() local 139 aRect = insertLabel(xSection, aFieldTitleNames[i], aRect, nWidth, aSO); in insertDetailFieldTitles()
|
/aoo41x/main/vcl/source/gdi/ |
H A D | virdev.cxx | 258 long nWidth; in ImplSetOutputSizePixel() local 261 nWidth = mnOutWidth; in ImplSetOutputSizePixel() 263 nWidth = nNewWidth; in ImplSetOutputSizePixel() 270 aPosAry.mnSrcWidth = nWidth; in ImplSetOutputSizePixel() 274 aPosAry.mnDestWidth = nWidth; in ImplSetOutputSizePixel()
|
/aoo41x/main/vcl/inc/unx/gtk/ |
H A D | gtkframe.hxx | 258 void resizeWindow( long nWidth, long nHeight ); 317 virtual void SetMinClientSize( long nWidth, long nHeight ); 318 virtual void SetMaxClientSize( long nWidth, long nHeight ); 319 …virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nF… 387 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight );
|
/aoo41x/main/sc/inc/ |
H A D | attrib.hxx | 363 explicit ScPageScaleToItem( sal_uInt16 nWidth, sal_uInt16 nHeight ); 375 inline void SetWidth( sal_uInt16 nWidth ) { mnWidth = nWidth; } in SetWidth() argument 377 inline void Set( sal_uInt16 nWidth, sal_uInt16 nHeight ) in Set() argument 378 { mnWidth = nWidth; mnHeight = nHeight; } in Set()
|
/aoo41x/main/avmedia/source/java/ |
H A D | PlayerWindow.java | 144 int nX = 0, nY = 0, nWidth = 0, nHeight = 0; in LayoutComponents() local 177 nWidth = nVideoW; in LayoutComponents() 188 nWidth = aPrefDim.width; in LayoutComponents() 207 nWidth = nVideoW; in LayoutComponents() 211 nX = nY = nWidth = nHeight = 0; in LayoutComponents() 214 aVisualComponent.setBounds( nX, nY, nWidth, nHeight ); in LayoutComponents()
|
/aoo41x/main/vcl/source/control/ |
H A D | tabctrl.cxx | 355 if ( nWidth < 0 ) in ImplGetTabRect() 356 nWidth = aWinSize.Width(); in ImplGetTabRect() 362 long nW = nWidth-TAB_OFFSET*2; in ImplGetTabRect() 377 Rectangle aRect = ImplGetTabRect( nLastPos, nWidth, nHeight ); in ImplGetTabRect() 378 long nW = nWidth-TAB_OFFSET*2; in ImplGetTabRect() 386 nWidth -= 1; in ImplGetTabRect() 388 if ( (nWidth <= 0) || (nHeight <= 0) ) in ImplGetTabRect() 391 if ( mbFormat || (mnLastWidth != nWidth) || (mnLastHeight != nHeight) ) in ImplGetTabRect() 416 long nMaxWidth = nWidth; in ImplGetTabRect() 435 if ( ((nX+aSize.Width()) > nWidth - 2) && (nWidth > 2+nOffsetX) ) in ImplGetTabRect() [all …]
|
/aoo41x/main/cui/source/tabpages/ |
H A D | swpossizetabpage.cxx | 814 (sal_uInt32) nWidth ) ); in FillItemSet() 946 m_aWidthMF.SetValue(m_aWidthMF.Normalize(nWidth), FUNIT_TWIP); in Reset() 951 m_fWidthHeightRatio = nHeight ? double(nWidth) / double(nHeight) : 1.0; in Reset() 1115 …sal_Int32 nWidth = static_cast<sal_uInt32>(m_aWidthMF. Denormalize(m_aWidthMF.GetValue(FUNIT_TWIP)… in IMPL_LINK() local 1117 aVal.nWidth = nWidth; in IMPL_LINK() 1123 nWidth = aVal.nWidth; in IMPL_LINK() 1357 sal_Int64 nWidth = m_aWidthMF.Denormalize(m_aWidthMF.GetValue(FUNIT_TWIP)); in IMPL_LINK() local 1363 nHeight = sal_Int64((double)nWidth / m_fWidthHeightRatio); in IMPL_LINK() 1368 nWidth = sal_Int64((double)nHeight * m_fWidthHeightRatio); in IMPL_LINK() 1369 m_aWidthMF.SetValue(m_aWidthMF.Normalize(nWidth), FUNIT_TWIP); in IMPL_LINK() [all …]
|
/aoo41x/main/sw/source/core/layout/ |
H A D | ssfrm.cxx | 761 long nWidth = (Frm().*fnRect->fnGetWidth)(); in UnionFrm() local 764 if( nPrtLeft + nPrtWidth > nWidth ) in UnionFrm() 765 nWidth = nPrtLeft + nPrtWidth; in UnionFrm() 769 nWidth -= nPrtLeft; in UnionFrm() 771 SwTwips nRight = nLeft + nWidth; in UnionFrm() 799 nWidth = nRight + nAdd - nLeft; in UnionFrm() 802 (aRet.*fnRect->fnSetWidth)( nWidth ); in UnionFrm()
|
/aoo41x/main/sw/source/ui/utlui/ |
H A D | uitool.cxx | 687 SwTwips nWidth = 0; in GetTableWidth() local 691 case text::HoriOrientation::FULL: nWidth = rCols.GetRight(); break; in GetTableWidth() 696 nWidth = pFmt->GetFrmSize().GetWidth(); in GetTableWidth() 705 nWidth = pSh->GetAnyCurRect(RECT_PAGE_PRT).Width(); in GetTableWidth() 709 nWidth = pSh->GetAnyCurRect(RECT_FLY_PRT_EMBEDDED).Width(); in GetTableWidth() 717 nWidth -= (rLRSpace.GetRight() + rLRSpace.GetLeft()); in GetTableWidth() 722 return nWidth; in GetTableWidth()
|
/aoo41x/main/canvas/source/directx/ |
H A D | dx_surfacebitmap.cxx | 543 sal_uInt32 nWidth = rect.X2-rect.X1; in getData() local 546 uno::Sequence< sal_Int8 > aRes(nWidth*nHeight*4); in getData() 560 sal_uInt32 nSegmentSizeInBytes = nWidth<<4; in getData() 576 sal_uInt32 nSegmentSizeInBytes = nWidth<<4; in getData() 627 sal_uInt32 nWidth = rect.X2-rect.X1; in setData() local 642 sal_uInt32 nSegmentSizeInBytes = nWidth<<4; in setData() 659 sal_uInt32 nSegmentSizeInBytes = nWidth<<4; in setData()
|
/aoo41x/main/vcl/inc/ |
H A D | salframe.hxx | 178 virtual void SetMinClientSize( long nWidth, long nHeight ) = 0; 179 virtual void SetMaxClientSize( long nWidth, long nHeight ) = 0; 180 … virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ) = 0; 265 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) = 0;
|
/aoo41x/main/accessibility/workben/org/openoffice/accessibility/awb/view/text/ |
H A D | TextAttributeDialog.java | 142 public int getIconWidth() { return nWidth; } in getIconWidth() 146 g.fillRect( x, y, nHeight, nWidth ); in paintIcon() 148 g.drawRect( x, y, nHeight, nWidth ); in paintIcon() 159 private static final int nWidth = 16; field in TextAttributeDialog.ColorIcon
|
/aoo41x/main/sw/source/ui/table/ |
H A D | tabledlg.cxx | 101 sMsg += pRep->GetColumns()[i].nWidth; in DbgTblRep() 102 nSum +=pRep->GetColumns()[i].nWidth; in DbgTblRep() 748 nColSum += pTblData->GetColumns()[i].nWidth; in DeactivatePage() 763 pTblData->GetColumns()[i].nWidth -= nSub; in DeactivatePage() 769 pTblData->GetColumns()[i].nWidth = nMinWidth; in DeactivatePage() 910 nMinWidth = pTblData->GetColumns()[i].nWidth; in Reset() 1103 nSum += (pTblData->GetColumns())[i].nWidth; in UpdateCols() 1366 SwTwips nReturn = pTblData->GetColumns()[i].nWidth; in GetVisibleWidth() 1369 nReturn += pTblData->GetColumns()[++i].nWidth; in GetVisibleWidth() 1387 pTblData->GetColumns()[i].nWidth = nNewWidth; in SetVisibleWidth() [all …]
|
/aoo41x/main/svtools/source/brwbox/ |
H A D | brwbox2.cxx | 287 return nWidth; in QueryColumnResize() 1336 long nWidth = 0; in UpdateScrollbars() local 1343 nWidth += pCols->GetObject(nCol)->Width(); in UpdateScrollbars() 1346 getDataWindow()->pHeaderBar->SetOffset( nWidth ); in UpdateScrollbars() 1404 long nWidth = 0; in GetFrozenWidth() local 1408 nWidth += pCols->GetObject(nCol)->Width(); in GetFrozenWidth() 1409 return nWidth; in GetFrozenWidth() 1504 long nWidth = GetOutputSizePixel().Width(); in MouseButtonDown() local 2125 long nWidth; in calcHeaderRect() local 2135 nWidth = GetColumnWidth(0); in calcHeaderRect() [all …]
|
/aoo41x/main/vcl/unx/gtk/window/ |
H A D | gtkobject.cxx | 115 void GtkSalObject::UnionClipRegion( long nX, long nY, long nWidth, long nHeight ) in UnionClipRegion() argument 120 aRect.width = nWidth; in UnionClipRegion() 132 void GtkSalObject::SetPosSize( long nX, long nY, long nWidth, long nHeight ) in SetPosSize() argument 138 gtk_widget_set_size_request( m_pSocket, nWidth, nHeight ); in SetPosSize()
|
/aoo41x/main/vcl/inc/win/ |
H A D | salframe.h | 104 virtual void SetMinClientSize( long nWidth, long nHeight ); 105 virtual void SetMaxClientSize( long nWidth, long nHeight ); 106 virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, sal_uInt16 nFlags ); 139 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight );
|
/aoo41x/main/vcl/inc/os2/ |
H A D | salframe.h | 116 virtual void SetMinClientSize( long nWidth, long nHeight ); 117 virtual void SetMaxClientSize( long nWidth, long nHeight ); 118 virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight, USHORT nFlags ); 151 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight );
|
H A D | salgdi.h | 164 virtual void drawRect( long nX, long nY, long nWidth, long nHeight ); 197 virtual SalBitmap* getBitmap( long nX, long nY, long nWidth, long nHeight ); 201 virtual void invert( long nX, long nY, long nWidth, long nHeight, SalInvert nFlags); 204 … virtual sal_Bool drawEPS( long nX, long nY, long nWidth, long nHeight, void* pPtr, ULONG nSize ); 230 …virtual bool drawAlphaRect( long nX, long nY, long nWidth, long nHeight, sal_uInt8 nTransparency …
|
/aoo41x/main/framework/source/uielement/ |
H A D | edittoolbarcontroller.cxx | 151 sal_Int32 nWidth, in EditToolbarController() argument 157 if ( nWidth == 0 ) in EditToolbarController() 158 nWidth = 100; in EditToolbarController() 163 m_pEditControl->SetSizePixel( ::Size( nWidth, nHeight )); in EditToolbarController()
|
/aoo41x/main/svx/inc/svx/ |
H A D | framelinkarray.hxx | 85 explicit ArrayImpl( size_t nWidth, size_t nHeight, bool bDiagDblClip ); 159 explicit Array( size_t nWidth, size_t nHeight ); 167 void Initialize( size_t nWidth, size_t nHeight ); 400 void SetColWidth( size_t nCol, long nWidth ); 406 void SetAllColWidths( long nWidth );
|
/aoo41x/main/extensions/source/scanner/ |
H A D | twain.cxx | 362 long nWidth = aInfo.ImageWidth; in ImplXfer() local 369 nWidth = aInfo.ImageWidth; in ImplXfer() 375 nWidth = nHeight = nXRes = nYRes = -1L; in ImplXfer() 405 if ( ( nXRes != -1 ) && ( nYRes != - 1 ) && ( nWidth != - 1 ) && ( nHeight != - 1 ) ) in ImplXfer() 409 aBitmap.SetPrefSize( Size( nWidth, nHeight ) ); in ImplXfer()
|
/aoo41x/main/sd/source/ui/dlg/ |
H A D | copydlg.cxx | 190 long nWidth = 0L; in IMPL_LINK() local 192 nWidth = ( ( ( const SfxInt32Item* ) pPoolItem )->GetValue() ); in IMPL_LINK() 193 SetMetricValue( maMtrFldWidth, Fraction(nWidth) / maUIScale, SFX_MAPUNIT_100TH_MM); in IMPL_LINK() 256 long nWidth = Fraction( GetCoreValue( maMtrFldWidth, SFX_MAPUNIT_100TH_MM) ) * maUIScale; in GetAttr() local 262 rOutAttrs.Put( SfxInt32Item( ATTR_COPY_WIDTH, nWidth ) ); in GetAttr()
|
/aoo41x/main/sw/source/ui/config/ |
H A D | uinums.cxx | 461 short nWidth; in _SwNumFmtGlobal() local 467 rStream >> nFamily >> nCharSet >> nWidth >> nHeight >> nPitch; in _SwNumFmtGlobal() 471 Font aFont( nFamily, Size( nWidth, nHeight ) ); in _SwNumFmtGlobal() 556 short nWidth = 0, nHeight = 0; in Store() local 564 nWidth = (short)pFnt->GetSize().Width(); in Store() 584 << nWidth in Store()
|
/aoo41x/main/sc/source/ui/docshell/ |
H A D | arealink.cxx | 290 SCCOL nWidth = 0; in Refresh() local 303 nWidth = Max( nWidth, (SCCOL)(aTokenRange.aEnd.Col() - aTokenRange.aStart.Col() + 1) ); in Refresh() 318 if (nWidth > 0 && nHeight > 0) in Refresh() 320 aNewRange.aEnd.SetCol( aNewRange.aStart.Col() + nWidth - 1 ); in Refresh() 374 if (nWidth > 0 && nHeight > 0) in Refresh()
|