LibreOffice Module sw (master) 1
Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
SwLayVout Class Reference

#include <virtoutp.hxx>

Collaboration diagram for SwLayVout:
[legend]

Public Member Functions

 SwLayVout ()
 
 ~SwLayVout ()
 
void Enter (SwViewShell *pShell, SwRect &rRect, bool bOn)
 OD 27.09.2002 #103636# - change 2nd parameter <rRect> - no longer <const> More...
 
void Leave ()
 
void SetOrgRect (SwRect const &rRect)
 
const SwRectGetOrgRect () const
 
bool IsFlushable () const
 
void Flush_ ()
 
void Flush ()
 

Private Member Functions

bool DoesFit (const Size &rOut)
 

Private Attributes

SwViewShellm_pShell
 
VclPtr< OutputDevicem_pOut
 
VclPtr< VirtualDevicem_pVirDev
 
SwRect m_aRect
 
SwRect m_aOrgRect
 
Size m_aSize
 
sal_uInt16 m_nCount
 

Friends

void FrameFinit ()
 

Detailed Description

Definition at line 29 of file virtoutp.hxx.

Constructor & Destructor Documentation

◆ SwLayVout()

SwLayVout::SwLayVout ( )
inline

Definition at line 44 of file virtoutp.hxx.

◆ ~SwLayVout()

SwLayVout::~SwLayVout ( )
inline

Definition at line 45 of file virtoutp.hxx.

References VclPtr< class reference_type >::disposeAndClear(), and m_pVirDev.

Member Function Documentation

◆ DoesFit()

bool SwLayVout::DoesFit ( const Size rOut)
private

◆ Enter()

void SwLayVout::Enter ( SwViewShell pShell,
SwRect rRect,
bool  bOn 
)

OD 27.09.2002 #103636# - change 2nd parameter <rRect> - no longer <const>

change 2nd parameter <rRect> - no longer <const> in order to return value of class member variable <aRect>, if virtual output is used.

<aRect> contains the rectangle that represents the area the virtual output device is used for and that is flushed at the end.

Definition at line 119 of file virtoutp.cxx.

References SwRect::AddHeight(), SwRect::AddWidth(), DoesFit(), Flush(), SwViewShell::GetOut(), OutputDevice::GetOutDevType(), vcl::Window::GetOutputSizePixel(), tools::Rectangle::GetSize(), SwViewShell::GetViewOptions(), tools::Rectangle::GetWidth(), SwViewShell::GetWin(), SwRect::HasArea(), Size::Height(), vcl::Window::IsReallyVisible(), SwViewOption::IsTest3(), OutputDevice::LogicToPixel(), m_aRect, m_nCount, m_pOut, m_pShell, m_pVirDev, OUTDEV_WINDOW, OutputDevice::PixelToLogic(), SwRect::Pos(), SetMappingForVirtDev(), SetOutDev(), SwRect::SVRect(), and Size::Width().

Referenced by SwRootFrame::PaintSwFrame().

◆ Flush()

void SwLayVout::Flush ( void  )
inline

Definition at line 56 of file virtoutp.hxx.

References Flush_(), and m_pOut.

Referenced by Enter(), and Leave().

◆ Flush_()

void SwLayVout::Flush_ ( )

Definition at line 180 of file virtoutp.cxx.

References m_aRect, m_pOut, m_pShell, m_pVirDev, SwRect::Pos(), SetOutDev(), and SwRect::SSize().

Referenced by Flush(), and SwRootFrame::FlushVout().

◆ GetOrgRect()

const SwRect & SwLayVout::GetOrgRect ( ) const
inline

Definition at line 52 of file virtoutp.hxx.

References m_aOrgRect.

◆ IsFlushable()

bool SwLayVout::IsFlushable ( ) const
inline

Definition at line 54 of file virtoutp.hxx.

References m_pOut.

◆ Leave()

void SwLayVout::Leave ( )
inline

Definition at line 49 of file virtoutp.hxx.

References Flush(), and m_nCount.

Referenced by SwRootFrame::PaintSwFrame().

◆ SetOrgRect()

void SwLayVout::SetOrgRect ( SwRect const &  rRect)
inline

Definition at line 51 of file virtoutp.hxx.

References m_aOrgRect.

Referenced by SwRootFrame::PaintSwFrame().

Friends And Related Function Documentation

◆ FrameFinit

void FrameFinit ( )
friend

Definition at line 307 of file newfrm.cxx.

Member Data Documentation

◆ m_aOrgRect

SwRect SwLayVout::m_aOrgRect
private

Definition at line 37 of file virtoutp.hxx.

Referenced by GetOrgRect(), and SetOrgRect().

◆ m_aRect

SwRect SwLayVout::m_aRect
private

Definition at line 36 of file virtoutp.hxx.

Referenced by Enter(), and Flush_().

◆ m_aSize

Size SwLayVout::m_aSize
private

Definition at line 38 of file virtoutp.hxx.

Referenced by DoesFit().

◆ m_nCount

sal_uInt16 SwLayVout::m_nCount
private

Definition at line 39 of file virtoutp.hxx.

Referenced by Enter(), and Leave().

◆ m_pOut

VclPtr<OutputDevice> SwLayVout::m_pOut
private

Definition at line 34 of file virtoutp.hxx.

Referenced by DoesFit(), Enter(), Flush(), Flush_(), and IsFlushable().

◆ m_pShell

SwViewShell* SwLayVout::m_pShell
private

Definition at line 33 of file virtoutp.hxx.

Referenced by Enter(), and Flush_().

◆ m_pVirDev

VclPtr<VirtualDevice> SwLayVout::m_pVirDev
private

Definition at line 35 of file virtoutp.hxx.

Referenced by DoesFit(), Enter(), Flush_(), and ~SwLayVout().


The documentation for this class was generated from the following files: