Home
last modified time | relevance | path

Searched refs:rSz (Results 1 – 25 of 88) sorted by relevance

1234

/AOO42X/main/svtools/source/graphic/
H A Dgrfcache.cxx461 …atic sal_uLong GetNeededSize( OutputDevice* pOut, const Point& rPt, const Size& rSz,
467 … OutputDevice* pOut, const Point& rPt, const Size& rSz, in GraphicDisplayCacheEntry() argument
472 maAttr( rAttr ), maOutSizePix( pOut->LogicToPixel( rSz ) ), in GraphicDisplayCacheEntry()
473 mnCacheSize( GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) ), in GraphicDisplayCacheEntry()
480 … OutputDevice* pOut, const Point& rPt, const Size& rSz, in GraphicDisplayCacheEntry() argument
485 maAttr( rAttr ), maOutSizePix( pOut->LogicToPixel( rSz ) ), in GraphicDisplayCacheEntry()
486 mnCacheSize( GetNeededSize( pOut, rPt, rSz, rObj, rAttr ) ), in GraphicDisplayCacheEntry()
521 void Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz ) const;
526 …GraphicDisplayCacheEntry::GetNeededSize( OutputDevice* pOut, const Point& /*rPt*/, const Size& rSz, in GetNeededSize() argument
535 const Size aOutSizePix( pOut->LogicToPixel( rSz ) ); in GetNeededSize()
[all …]
H A Dgrfmgr.cxx323 sal_Bool GraphicObject::ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size& rSz, const Graphic… in ImplGetCropParams() argument
330 Polygon aClipPoly( Rectangle( rPt, rSz ) ); in ImplGetCropParams()
376 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams()
378 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams()
384 fScale = (double) rSz.Height() / aSize100.Height(); in ImplGetCropParams()
386 rSz.Height() = FRound( ( nNewBottom - nNewTop + 1 ) * fScale ); in ImplGetCropParams()
632 sal_Bool GraphicObject::IsCached( OutputDevice* pOut, const Point& rPt, const Size& rSz, in IsCached() argument
644 Size aSz( rSz ); in IsCached()
683 sal_Bool GraphicObject::Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz, in Draw() argument
688 Size aSz( rSz ); in Draw()
[all …]
H A Dgrfmgr2.cxx200 const Size& rSz, const GraphicObject& rObj, in IsInCache() argument
203 return mpCache->IsInDisplayCache( pOut, rPt, rSz, rObj, rAttr ); in IsInCache()
208 sal_Bool GraphicManager::DrawObj( OutputDevice* pOut, const Point& rPt, const Size& rSz, in DrawObj() argument
213 Size aSz( rSz ); in DrawObj()
411 const Size& rSz, GraphicObject& rObj, in ImplDraw() argument
427 mpCache->IsDisplayCacheable( pOut, rPt, rSz, rObj, rAttr ) ) in ImplDraw()
431 if( ImplCreateOutput( pOut, rPt, rSz, aSrcBmpEx, rAttr, nFlags, &aDstBmpEx ) ) in ImplDraw()
433 … rCached = mpCache->CreateDisplayCacheObj( pOut, rPt, rSz, rObj, rAttr, aDstBmpEx ); in ImplDraw()
439 bRet = ImplCreateOutput( pOut, rPt, rSz, aSrcBmpEx, rAttr, nFlags ); in ImplDraw()
445 if( mpCache->IsDisplayCacheable( pOut, rPt, rSz, rObj, rAttr ) ) in ImplDraw()
[all …]
H A Dgrfcache.hxx91 …l IsDisplayCacheable( OutputDevice* pOut, const Point& rPt, const Size& rSz,
93 …ool IsInDisplayCache( OutputDevice* pOut, const Point& rPt, const Size& rSz,
95 … CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz,
98 … CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz,
101 … DrawDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz,
/AOO42X/main/svtools/inc/svtools/
H A Dgrfmgr.hxx231 … SVT_DLLPRIVATE ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size& rSz, const GraphicAttr*…
348 sal_Bool IsCached( OutputDevice* pOut, const Point& rPt, const Size& rSz,
425 sal_Bool Draw( OutputDevice* pOut, const Point& rPt, const Size& rSz,
429 const Point& rPt, const Size& rSz,
470 … StartAnimation( OutputDevice* pOut, const Point& rPt, const Size& rSz, long nExtraData = …
517 const Size& rSz, GraphicObject& rObj,
521 … SVT_DLLPRIVATE ImplCreateOutput( OutputDevice* pOut, const Point& rPt, const Size& rSz,
525 const Point& rPt, const Size& rSz,
544 static void SVT_DLLPRIVATE ImplDraw( OutputDevice* pOut, const Point& rPt, const Size& rSz,
591 sal_Bool IsInCache( OutputDevice* pOut, const Point& rPt, const Size& rSz,
[all …]
/AOO42X/main/sw/inc/
H A Dswrect.hxx99 inline SwRect &operator+=( const Size &rSz );
100 inline SwRect &operator-=( const Size &rSz );
288 inline SwRect &SwRect::operator+=( const Size &rSz ) in operator +=() argument
290 m_Size.Width() += rSz.Width(); in operator +=()
291 m_Size.Height() += rSz.Height(); in operator +=()
294 inline SwRect &SwRect::operator-=( const Size &rSz ) in operator -=() argument
296 m_Size.Width() -= rSz.Width(); in operator -=()
297 m_Size.Height() -= rSz.Height(); in operator -=()
H A Dgrfatr.hxx114 SwRotationGrf( sal_Int16 nVal, const Size& rSz ) in SwRotationGrf() argument
115 : SfxUInt16Item( RES_GRFATR_ROTATION, nVal ), aUnrotatedSize( rSz ) in SwRotationGrf()
131 void SetUnrotatedSize( const Size& rSz ) { aUnrotatedSize = rSz; } in SetUnrotatedSize() argument
H A Dndgrf.hxx140rSz, long nExtraData = 0, const GraphicAttr* pAttr = NULL, sal_uLong nFlags = GRFMGR_DRAW_STANDARD… in StartGraphicAnimation() argument
145 void SetTwipSize( const Size& rSz );
/AOO42X/main/sw/source/core/view/
H A Dviewimp.cxx81 const Size &rSz = pNewOpt->GetSnapSize(); in Init() local
82 pDrawView->SetGridCoarse( rSz ); in Init()
84 ( rSz.Width() ? rSz.Width() /Max(short(1),pNewOpt->GetDivisionX()):0, in Init()
85 rSz.Height()? rSz.Height()/Max(short(1),pNewOpt->GetDivisionY()):0); in Init()
87 Fraction aSnGrWdtX(rSz.Width(), pNewOpt->GetDivisionX() + 1); in Init()
88 Fraction aSnGrWdtY(rSz.Height(), pNewOpt->GetDivisionY() + 1); in Init()
H A Dviewsh.cxx2318 const Size &rSz = rOpt.GetSnapSize(); in ImplApplyViewOptions() local
2319 pDView->SetGridCoarse( rSz ); in ImplApplyViewOptions()
2322 ( rSz.Width() ? rSz.Width() / (rOpt.GetDivisionX()+1) : 0, in ImplApplyViewOptions()
2323 rSz.Height()? rSz.Height()/ (rOpt.GetDivisionY()+1) : 0); in ImplApplyViewOptions()
2325 Fraction aSnGrWdtX(rSz.Width(), rOpt.GetDivisionX() + 1); in ImplApplyViewOptions()
2326 Fraction aSnGrWdtY(rSz.Height(), rOpt.GetDivisionY() + 1); in ImplApplyViewOptions()
/AOO42X/main/sw/source/core/doc/
H A Dtblrwcl.cxx2546 const SwFmtFrmSize& rSz = pFmt->GetFrmSize(); in lcl_SetSelBoxWidth() local
2547 SwTwips nWidth = rSz.GetWidth(); in lcl_SetSelBoxWidth()
2600 SwFmtFrmSize aNew( rSz ); in lcl_SetSelBoxWidth()
2649 const SwFmtFrmSize& rSz = pFmt->GetFrmSize(); in lcl_SetOtherBoxWidth() local
2650 SwTwips nWidth = rSz.GetWidth(); in lcl_SetOtherBoxWidth()
2701 SwFmtFrmSize aNew( rSz ); in lcl_SetOtherBoxWidth()
2746 const SwFmtFrmSize& rSz = pFmt->GetFrmSize(); in lcl_InsSelBox() local
2747 SwTwips nWidth = rSz.GetWidth(); in lcl_InsSelBox()
2813 SwFmtFrmSize aNew( rSz ); in lcl_InsSelBox()
2829 SwFmtFrmSize aNew( rSz ); in lcl_InsSelBox()
[all …]
/AOO42X/main/sw/source/core/layout/
H A Dfly.cxx1092 const SwFmtFrmSize &rSz = GetFmt()->GetFrmSize(); in _UpdateAttr() local
1093 if ( rSz.GetHeight() != Frm().Height() || in _UpdateAttr()
1094 rSz.GetWidth() != Frm().Width() ) in _UpdateAttr()
1097 Fraction aScaleX( Frm().Width(), rSz.GetWidth() ); in _UpdateAttr()
1098 Fraction aScaleY( Frm().Height(), rSz.GetHeight() ); in _UpdateAttr()
2571 Size SwFlyFrm::CalcRel( const SwFmtFrmSize &rSz ) const in CalcRel()
2573 Size aRet( rSz.GetSize() ); in CalcRel()
2607 if ( rSz.GetWidthPercent() && rSz.GetWidthPercent() != 0xFF ) in CalcRel()
2608 aRet.Width() = nRelWidth * rSz.GetWidthPercent() / 100; in CalcRel()
2609 if ( rSz.GetHeightPercent() && rSz.GetHeightPercent() != 0xFF ) in CalcRel()
[all …]
H A Dwsfrm.cxx3226 const SwFmtFrmSize &rSz = GetFmt()->GetFrmSize(); in Format() local
3227 SwTwips nMinHeight = rSz.GetHeightSizeType() == ATT_MIN_SIZE ? rSz.GetHeight() : 0; in Format()
3301 const SwFmtFrmSize &rSz = pFly->GetFmt()->GetFrmSize(); in InvaPercentFlys() local
3302 if ( rSz.GetWidthPercent() || rSz.GetHeightPercent() ) in InvaPercentFlys()
3306 if( rSz.GetHeightPercent() > 90 && pFly->GetAnchorFrm() && in InvaPercentFlys()
3307 rSz.GetHeightPercent() != 0xFF && nDiff ) in InvaPercentFlys()
3347 const SwFmtFrmSize &rSz = ((SwLayoutFrm*)pFrm)->GetFmt()->GetFrmSize(); in InvaPercentLowers() local
3348 if ( rSz.GetWidthPercent() || rSz.GetHeightPercent() ) in InvaPercentLowers()
3365 long SwLayoutFrm::CalcRel( const SwFmtFrmSize &rSz, sal_Bool ) const in CalcRel() argument
3367 long nRet = rSz.GetWidth(), in CalcRel()
[all …]
H A Dtabfrm.cxx574 const SwFmtFrmSize &rSz = pTmpLastLineRow->GetFmt()->GetFrmSize(); in lcl_PreprocessRowsInCells() local
575 if ( rSz.GetHeightSizeType() == ATT_MIN_SIZE ) in lcl_PreprocessRowsInCells()
576 nMinHeight = Max( nMinHeight, rSz.GetHeight() ); in lcl_PreprocessRowsInCells()
2962 const SwFmtFrmSize &rSz = GetFmt()->GetFrmSize(); in Format() local
2964 const SwTwips nWishedTableWidth = CalcRel( rSz, sal_True ); in Format()
4038 const SwFmtFrmSize &rSz = rFrmFmt.GetFrmSize(); in CalcHeightWidthFlys() local
4039 if( !rSz.GetHeightPercent() ) in CalcHeightWidthFlys()
4181 const SwFmtFrmSize &rSz = _pRow->GetFmt()->GetFrmSize(); in lcl_CalcMinRowHeight()
4185 ASSERT( ATT_FIX_SIZE == rSz.GetHeightSizeType(), "pRow claims to have fixed size" ) in lcl_CalcMinRowHeight()
4186 return rSz.GetHeight(); in lcl_CalcMinRowHeight()
[all …]
H A Dhffrm.cxx55 const SwFmtFrmSize &rSz = rFrm.GetFmt()->GetFrmSize(); in lcl_GetFrmMinHeight() local
58 switch (rSz.GetHeightSizeType()) in lcl_GetFrmMinHeight()
61 nMinHeight = rSz.GetHeight(); in lcl_GetFrmMinHeight()
/AOO42X/main/tools/inc/tools/
H A Dsvborder.hxx36 SvBorder( const Size & rSz ) in SvBorder() argument
37 { nTop = nBottom = rSz.Height(); nRight = nLeft = rSz.Width(); } in SvBorder()
/AOO42X/main/vcl/inc/
H A Dilstbox.hxx332 void SetUserItemSize( const Size& rSz );
552 void SetPrefSize( const Size& rSz ) { maPrefSz = rSz; } in SetPrefSize() argument
633 void SetUserItemSize( const Size& rSz ) { maUserItemSize = rSz; } in SetUserItemSize() argument
/AOO42X/main/editeng/source/outliner/
H A Doutlin2.cxx284 void Outliner::SetMinAutoPaperSize( const Size& rSz ) in SetMinAutoPaperSize() argument
287 pEditEngine->SetMinAutoPaperSize( rSz ); in SetMinAutoPaperSize()
296 void Outliner::SetMaxAutoPaperSize( const Size& rSz ) in SetMaxAutoPaperSize() argument
299 pEditEngine->SetMaxAutoPaperSize( rSz ); in SetMaxAutoPaperSize()
/AOO42X/main/editeng/source/editeng/
H A Dimpedit.hxx684 void SetValidPaperSize( const Size& rSz );
725 void SetPaperSize( const Size& rSz ) { aPaperSize = rSz; } in SetPaperSize() argument
746 void SetMinAutoPaperSize( const Size& rSz ) { aMinAutoPaperSize = rSz; } in SetMinAutoPaperSize() argument
749 void SetMaxAutoPaperSize( const Size& rSz ) { aMaxAutoPaperSize = rSz; } in SetMaxAutoPaperSize() argument
/AOO42X/main/sw/source/filter/basflt/
H A Dshellio.cxx900 const SwFmtFrmSize& rSz = rPgDsc.GetMaster().GetFrmSize(); in Write() local
903 if( LONG_MAX == rSz.GetHeight() || LONG_MAX == rSz.GetWidth() ) in Write()
906 SwFmtFrmSize aNewSz( rSz ); in Write()
/AOO42X/main/canvas/source/vcl/
H A Dcanvas.cxx150 const ::Size& rSz, in repaint()
155 return maCanvasHelper.repaint( rGrf, viewState, renderState, rPt, rSz, rAttr ); in repaint()
H A Dcanvasbitmap.cxx120 const ::Size& rSz, in repaint()
127 return maCanvasHelper.repaint( rGrf, viewState, renderState, rPt, rSz, rAttr ); in repaint()
H A Dspritecanvas.cxx167 const ::Size& rSz, in repaint()
172 return maCanvasHelper.repaint( rGrf, viewState, renderState, rPt, rSz, rAttr ); in repaint()
H A Dcanvascustomsprite.cxx189 const ::Size& rSz, in repaint()
196 return maCanvasHelper.repaint( rGrf, viewState, renderState, rPt, rSz, rAttr ); in repaint()
/AOO42X/main/sw/source/filter/ww8/
H A Drtfexport.cxx608 const SwFmtFrmSize& rSz = rFmtPage.GetFrmSize(); in ExportDocument_Impl() local
611 if( LONG_MAX == rSz.GetHeight() || LONG_MAX == rSz.GetWidth() ) in ExportDocument_Impl()
621 OutULong( rSz.GetHeight() ) << OOO_STRING_SVTOOLS_RTF_PAPERW; in ExportDocument_Impl()
622 OutULong( rSz.GetWidth() ); in ExportDocument_Impl()

1234