/aoo42x/main/svtools/source/graphic/ |
H A D | grfcache.cxx | 472 maAttr( rAttr ), maOutSizePix( pOut->LogicToPixel( rSz ) ), in GraphicDisplayCacheEntry() 485 maAttr( rAttr ), maOutSizePix( pOut->LogicToPixel( rSz ) ), in GraphicDisplayCacheEntry() 535 const Size aOutSizePix( pOut->LogicToPixel( rSz ) ); in GetNeededSize() 580 GraphicManager::ImplDraw( pOut, rPt, rSz, *mpMtf, maAttr ); in Draw() 585 Polygon aPoly( Rectangle( rPt, rSz ) ); in Draw() 592 pOut->DrawBitmapEx( rPt, rSz, *mpBmpEx ); in Draw() 883 const Size aSzPixel( pOut->LogicToPixel( rSz ) ); in IsInDisplayCache() 933 pOut, rPt, rSz, rObj, rAttr, rBmpEx ); in CreateDisplayCacheObj() 967 pOut, rPt, rSz, rObj, rAttr, rMtf ); in CreateDisplayCacheObj() 992 const Size aSzPixel( pOut->LogicToPixel( rSz ) ); in DrawDisplayCacheObj() [all …]
|
H A D | grfmgr.cxx | 323 Polygon aClipPoly( Rectangle( rPt, rSz ) ); in ImplGetCropParams() 369 fScale = (double) rSz.Width() / aSize100.Width(); in ImplGetCropParams() 371 rSz.Width() = FRound( ( nNewRight - nNewLeft + 1 ) * fScale ); in ImplGetCropParams() 377 fScale = (double) rSz.Height() / aSize100.Height(); in ImplGetCropParams() 637 Size aSz( rSz ); in IsCached() 681 Size aSz( rSz ); in Draw() 764 Size aSz( rSz ); in DrawWithPDFHandling() 772 rSz.Width() > 0L && in DrawWithPDFHandling() 773 rSz.Height() > 0L && in DrawWithPDFHandling() 856 Size aSz( rSz ); in StartAnimation() [all …]
|
H A D | grfmgr2.cxx | 200 const Size& rSz, const GraphicObject& rObj, in IsInCache() argument 213 Size aSz( rSz ); in DrawObj() 411 const Size& rSz, GraphicObject& rObj, in ImplDraw() argument 479 aGraphic.Draw( pOut, rPt, rSz ); in ImplDraw() 499 Size aUnrotatedSzPix( pOut->LogicToPixel( rSz ) ); in ImplCreateOutput() 504 Polygon aPoly( Rectangle( rPt, rSz ) ); in ImplCreateOutput() 722 const Point& rPt, const Size& rSz, in ImplCreateOutput() argument 734 if( aNewSize.Width() && aNewSize.Height() && rSz.Width() && rSz.Height() ) in ImplCreateOutput() 737 const double fOutWH = (double) rSz.Width() / rSz.Height(); in ImplCreateOutput() 1012 ImplDraw( pOut, rPt, rSz, rOutMtf, rAttr ); in ImplCreateOutput() [all …]
|
H A D | grfcache.hxx | 91 sal_Bool IsDisplayCacheable( OutputDevice* pOut, const Point& rPt, const Size& rSz, 93 sal_Bool IsInDisplayCache( OutputDevice* pOut, const Point& rPt, const Size& rSz, 95 sal_Bool CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz, 98 sal_Bool CreateDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz, 101 sal_Bool DrawDisplayCacheObj( OutputDevice* pOut, const Point& rPt, const Size& rSz,
|
/aoo42x/main/svtools/inc/svtools/ |
H A D | grfmgr.hxx | 231 …sal_Bool SVT_DLLPRIVATE ImplGetCropParams( OutputDevice* pOut, Point& rPt, Size& rSz, const Gr… 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 …sal_Bool StartAnimation( OutputDevice* pOut, const Point& rPt, const Size& rSz, long nExtraDat… 517 const Size& rSz, GraphicObject& rObj, 521 sal_Bool 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 D | swrect.hxx | 99 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 D | grfatr.hxx | 114 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 D | ndgrf.hxx | 140 …rSz, 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 D | viewimp.cxx | 81 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 D | viewsh.cxx | 2318 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 D | tblrwcl.cxx | 2600 SwFmtFrmSize aNew( rSz ); in lcl_SetSelBoxWidth() 2701 SwFmtFrmSize aNew( rSz ); in lcl_SetOtherBoxWidth() 2813 SwFmtFrmSize aNew( rSz ); in lcl_InsSelBox() 2829 SwFmtFrmSize aNew( rSz ); in lcl_InsSelBox() 3002 SwFmtFrmSize aNew( rSz ); in lcl_InsOtherBox() 3230 long nWidth = rSz.GetWidth(); in lcl_DelSelBox() 3393 SwFmtFrmSize aNew( rSz ); in lcl_DelSelBox() 3608 nDistStt = rSz.GetWidth(); in SetColWidth() 3637 !rSz.GetWidthPercent() ) in SetColWidth() 3706 SwFmtFrmSize aSz( rSz ); in SetColWidth() [all …]
|
/aoo42x/main/sw/source/core/layout/ |
H A D | fly.cxx | 1092 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() 2573 Size aRet( rSz.GetSize() ); in CalcRel() 2607 if ( rSz.GetWidthPercent() && rSz.GetWidthPercent() != 0xFF ) in CalcRel() 2609 if ( rSz.GetHeightPercent() && rSz.GetHeightPercent() != 0xFF ) in CalcRel() 2612 if ( rSz.GetWidthPercent() == 0xFF ) in CalcRel() 2615 aRet.Width() /= rSz.GetHeight(); in CalcRel() 2617 else if ( rSz.GetHeightPercent() == 0xFF ) in CalcRel() [all …]
|
H A D | wsfrm.cxx | 3226 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 D | tabfrm.cxx | 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() 4039 if( !rSz.GetHeightPercent() ) in CalcHeightWidthFlys() 4181 const SwFmtFrmSize &rSz = _pRow->GetFmt()->GetFrmSize(); in lcl_CalcMinRowHeight() 4186 return rSz.GetHeight(); in lcl_CalcMinRowHeight() 4227 nHeight = Max( nHeight, rSz.GetHeight() ); in lcl_CalcMinRowHeight() 4742 const SwFmtFrmSize &rSz = GetFmt()->GetFrmSize(); in ShrinkFrm() local 4744 rSz.GetHeight() : in ShrinkFrm() [all …]
|
H A D | hffrm.cxx | 55 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 D | svborder.hxx | 36 SvBorder( const Size & rSz ) in SvBorder() argument 37 { nTop = nBottom = rSz.Height(); nRight = nLeft = rSz.Width(); } in SvBorder()
|
/aoo42x/main/vcl/inc/ |
H A D | ilstbox.hxx | 332 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 D | outlin2.cxx | 284 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 D | impedit.hxx | 684 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 D | shellio.cxx | 900 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 D | canvas.cxx | 150 const ::Size& rSz, in repaint() 155 return maCanvasHelper.repaint( rGrf, viewState, renderState, rPt, rSz, rAttr ); in repaint()
|
H A D | canvasbitmap.cxx | 120 const ::Size& rSz, in repaint() 127 return maCanvasHelper.repaint( rGrf, viewState, renderState, rPt, rSz, rAttr ); in repaint()
|
H A D | spritecanvas.cxx | 167 const ::Size& rSz, in repaint() 172 return maCanvasHelper.repaint( rGrf, viewState, renderState, rPt, rSz, rAttr ); in repaint()
|
H A D | canvascustomsprite.cxx | 189 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 D | rtfexport.cxx | 608 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()
|