/trunk/main/sw/source/ui/misc/ |
H A D | pggrid.cxx | 390 long nWidth = (long)(m_aPageSize.Width() / aCharsPerLineNF.GetValue()); in IMPL_LINK() local 391 aTextSizeMF.SetValue(aTextSizeMF.Normalize(nWidth), FUNIT_TWIP); in IMPL_LINK() 393 m_nRubyUserValue = nWidth; in IMPL_LINK() 418 … long nWidth = static_cast< sal_Int32 >(m_aPageSize.Width() / aCharsPerLineNF.GetValue()); in IMPL_LINK() local 419 aCharWidthMF.SetValue(aCharWidthMF.Normalize(nWidth), FUNIT_TWIP); in IMPL_LINK()
|
/trunk/main/vcl/source/gdi/ |
H A D | pdffontcache.cxx | 53 sal_Int32 nWidth = 0; in getGlyphWidth() local 77 nWidth = rFontData.m_nWidths[ nIndex ]; in getGlyphWidth() 79 return nWidth; in getGlyphWidth()
|
/trunk/main/vcl/inc/unx/ |
H A D | salobj.h | 42 void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ); 85 virtual void UnionClipRegion( long nX, long nY, long nWidth, long nHeight ); 88 virtual void SetPosSize( long nX, long nY, long nWidth, long nHeight );
|
/trunk/main/sfx2/source/sidebar/ |
H A D | SidebarToolBox.cxx | 200 long nWidth, in SetPosSizePixel() argument 210 nWidth, in SetPosSizePixel() 216 nWidth, in SetPosSizePixel() 221 ToolBox::SetPosSizePixel(nX, nY, nWidth, nHeight, nFlags); in SetPosSizePixel()
|
/trunk/main/forms/qa/integration/forms/ |
H A D | FormLayer.java | 92 int nYPos, int nWidth, int nHeight, Object _parentForm ) throws java.lang.Exception in createControlAndShape() argument 101 xShape.setSize( new Size( nWidth * 100, nHeight * 100 ) ); in createControlAndShape() 161 int nYPos, int nWidth, int nHeight ) throws java.lang.Exception in createControlAndShape() argument 163 return createControlAndShape( sFormComponentService, nXPos, nYPos, nWidth, nHeight, null ); in createControlAndShape()
|
/trunk/main/sw/source/core/inc/ |
H A D | drawfont.hxx | 68 sal_uInt16 nWidth; member in SwDrawTextInfo 125 nWidth = nW; in SwDrawTextInfo() 287 return nWidth; in GetWidth() 478 nWidth = nNew; in SetWidth()
|
/trunk/main/drawinglayer/source/primitive2d/ |
H A D | textlayoutdevice.cxx | 376 const sal_uInt32 nWidth(basegfx::fround(fabs(fFontScaleX))); in getVclFontFromFontAttribute() local 377 const bool bFontIsScaled(nHeight != nWidth); in getVclFontFromFontAttribute() 396 Size(bFontIsScaled ? nWidth : 0, nHeight)); in getVclFontFromFontAttribute() 416 const double fScaleFactor((double)nWidth / (double)nHeight); in getVclFontFromFontAttribute()
|
/trunk/main/svx/source/stbctrls/ |
H A D | pszctrl.cxx | 435 sal_uIntPtr nWidth=PAINT_OFFSET+aTmpPosImage.GetSizePixel().Width(); in GetDefItemWidth() local 436 nWidth+=PAINT_OFFSET+aTmpSizeImage.GetSizePixel().Width(); in GetDefItemWidth() 437 nWidth+=2*(PAINT_OFFSET+rStb.GetTextWidth(String::CreateFromAscii("XXXX,XX / XXXX,XX"))); in GetDefItemWidth() 439 return nWidth; in GetDefItemWidth()
|
/trunk/main/sfx2/source/dialog/ |
H A D | dinfdlg.cxx | 1745 const long nWidth = GetSizePixel().Width(); in Resize() local 1747 const long nNewWidth = ( nWidth / 2 ) - n3Width - 2; in Resize() 2018 long nWidth = aRect.getWidth() - nOffset; in InitControls() local 2020 nWidth -= pScrollBar->GetSizePixel().Width(); in InitControls() 2021 aSize.Width() = nWidth; in InitControls() 2036 aSize.Width() = nWidth; in InitControls() 2334 long nWidth = GetOutputSizePixel().Width(); in CustomPropertiesControl() local 2335 m_aHeaderBar.SetPosSizePixel( Point(), Size( nWidth, m_aVertScroll.GetPosPixel().Y() ) ); in CustomPropertiesControl() 2337 nWidth = nWidth / 4; in CustomPropertiesControl() 2339 …m_aHeaderBar.InsertItem( HI_NAME, String( ResId( STR_HEADER_NAME, *pResMgr ) ), nWidth, nHeadBits … in CustomPropertiesControl() [all …]
|
/trunk/main/sc/source/ui/view/ |
H A D | drawutil.cxx | 61 sal_uInt16 nWidth = pDoc->GetColWidth(i,nTab); in CalcScale() local 62 nTwipsX += (long) nWidth; in CalcScale() 63 nPixelX += ScViewData::ToPixel( nWidth, nPPTX ); in CalcScale()
|
/trunk/main/sw/source/core/layout/ |
H A D | tabfrm.cxx | 2873 rLeftOffset = Max( rLeftOffset, nWidth ); in CalcFlyOffsets() 3138 long nWidth = pSh->GetBrowseWidth(); in Format() local 3139 nWidth -= Prt().Left(); in Format() 3140 nWidth -= pAttrs->CalcRightLine(); in Format() 3141 Prt().Width( Min( nWidth, Prt().Width() ) ); in Format() 5219 SwTwips nWidth; in Format() local 5223 nWidth = pAttrs->GetSize().Width(); in Format() 5227 ASSERT( nWidth > 0, "Box without width" ); in Format() 5253 nWidth = (SwTwips)nTmpWidth; in Format() 5264 nWidth = nWidth - nSumFrameWidths; in Format() [all …]
|
/trunk/main/svx/source/dialog/ |
H A D | graphctl.cxx | 284 const long nWidth = aWinSize.Width(); in Resize() local 287 double fWinWH = (double) nWidth / nHeight; in Resize() 297 aNewSize.Width() = nWidth; in Resize() 298 aNewSize.Height()= (long) ( (double) nWidth / fGrfWH ); in Resize() 301 aNewPos.X() = ( nWidth - aNewSize.Width() ) >> 1; in Resize()
|
/trunk/main/sw/source/ui/utlui/ |
H A D | textcontrolcombo.cxx | 74 long nWidth = GetTextWidth( aTxtBefore ); in Arrange() local 77 mrFTbefore.SetPosSizePixel( nX, nYFT, nWidth, nTextHeight ); in Arrange() 79 nX += nWidth; in Arrange()
|
/trunk/main/xmlsecurity/source/dialogs/ |
H A D | resourcemanager.cxx | 391 long nWidth = _rCtrl.GetTextWidth( _rCtrl.GetText() ); in ShrinkToFitWidth() local 393 nWidth += _nOffs; in ShrinkToFitWidth() 394 aSize.Width() = nWidth; in ShrinkToFitWidth() 396 return nWidth; in ShrinkToFitWidth()
|
/trunk/main/svtools/inc/svtools/ |
H A D | ivctrl.hxx | 171 long nWidth; member in SvxIconChoiceCtrlColumnInfo 178 nWidth( nWd ), eAlignment( eAlign ), nSubItem( nSub ) {} in SvxIconChoiceCtrlColumnInfo() 183 void SetWidth( long nWd ) { nWidth = nWd; } in SetWidth() 189 long GetWidth() const { return nWidth; } in GetWidth()
|
H A D | ruler.hxx | 591 long nWidth; member 651 long nWidth; member 774 void SetWinPos( long nOff = 0, long nWidth = 0 ); 777 void SetPagePos( long nOff = 0, long nWidth = 0 );
|
/trunk/main/vcl/unx/generic/gdi/ |
H A D | xrender_peer.hxx | 70 int nXDst, int nYDst, unsigned nWidth, unsigned nHeight ) const; 220 unsigned nWidth, unsigned nHeight ) const in CompositePicture() argument 224 nSrcX, nSrcY, nMaskX, nMaskY, nDstX, nDstY, nWidth, nHeight ); in CompositePicture() 227 nSrcX, nSrcY, nMaskX, nMaskY, nDstX, nDstY, nWidth, nHeight ); in CompositePicture()
|
/trunk/main/framework/source/uielement/ |
H A D | comboboxtoolbarcontroller.cxx | 170 sal_Int32 nWidth, in ComboboxToolbarController() argument 176 if ( nWidth == 0 ) in ComboboxToolbarController() 177 nWidth = 100; in ComboboxToolbarController() 183 m_pComboBox->SetSizePixel( ::Size( nWidth, aPixelSize.Height() )); in ComboboxToolbarController()
|
/trunk/main/odk/examples/DevelopersGuide/Drawing/ |
H A D | DrawingDemo.java | 372 int nWidth = 4000; in Demo_Group1() local 374 int nPosX = ( aPageSize.Width * 3 ) / 4 - nWidth / 2; in Demo_Group1() 379 new Size( nWidth, nHeight ), in Demo_Group1() 383 new Size( nWidth, nHeight ), in Demo_Group1()
|
/trunk/main/sc/source/filter/inc/ |
H A D | eeparser.hxx | 73 sal_uInt16 nWidth; // HTML PixelWidth member 82 nOffset(0), nWidth(0), bHasGraphic(sal_False), bEntirePara(true) in ScEEParseEntry() 89 nOffset(0), nWidth(0), bHasGraphic(sal_False), bEntirePara(true) in ScEEParseEntry()
|
/trunk/main/vcl/source/window/ |
H A D | dockmgr.cxx | 86 long nWidth, long nHeight, 289 long nWidth, long nHeight, in SetPosSizePixel() argument 292 FloatingWindow::SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 488 long nWidth, long nHeight, in SetPosSizePixel() argument 493 pWrapper->SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 1493 long nWidth, long nHeight, in SetPosSizePixel() argument 1497 mpFloatWin->SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel() 1499 GetWindow()->SetPosSizePixel( nX, nY, nWidth, nHeight, nFlags ); in SetPosSizePixel()
|
/trunk/main/tools/inc/tools/ |
H A D | gen.hxx | 246 Size( long nWidth, long nHeight ); 256 void setWidth(long nWidth) { Width() = nWidth; } in setWidth() argument 264 inline Size::Size( long nWidth, long nHeight ) : in Size() argument 265 Pair( nWidth, nHeight ) in Size()
|
/trunk/main/canvas/source/cairo/ |
H A D | cairo_textlayout.cxx | 582 long nWidth = 0; in draw() local 591 nWidth = aFont.GetHeight(); in draw() 595 nWidth = aFont.GetWidth() * aFont.GetHeight() / aMetric.GetHeight(); in draw() 602 cairo_matrix_scale(&m, nWidth, aFont.GetHeight()); in draw() 613 nWidth, in draw()
|
/trunk/main/sc/source/core/data/ |
H A D | fillinfo.cxx | 319 pInfo->nWidth = 0; in FillInfo() 360 pRowInfo[0].pCellInfo[nArrX].nWidth = nThisWidth; in FillInfo() 381 pRowInfo[0].pCellInfo[nArrX].nWidth = nThisWidth; //! dies sollte reichen in FillInfo() 622 pInfo->nWidth = nThisWidth; //! oder nur 0 abfragen ?? in FillInfo() 628 pRowInfo[0].pCellInfo[nArrX].nWidth = STD_COL_WIDTH; in FillInfo() 766 while ( nArrX+nDxPos < nX2+2 && pRowInfo[0].pCellInfo[nArrX+nDxPos].nWidth == 0 ) in FillInfo() 768 while ( nArrX+nDxNeg > nX1 && pRowInfo[0].pCellInfo[nArrX+nDxNeg].nWidth == 0 ) in FillInfo()
|
/trunk/main/xmloff/source/style/ |
H A D | VisAreaContext.cxx | 80 sal_Int32 nWidth(0); in process() local 105 SvXMLUnitConverter::convertMeasure(nWidth, sValue, aMapUnit); in process() 106 rRect.Width = nWidth; in process()
|