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

SwViewShellpSh
 
VclPtr< OutputDevicepOut
 
VclPtr< VirtualDevicepVirDev
 
SwRect aRect
 
SwRect aOrgRect
 
Size aSize
 
sal_uInt16 nCount
 

Friends

void FrameFinit ()
 

Detailed Description

Definition at line 29 of file virtoutp.hxx.

Constructor & Destructor Documentation

SwLayVout::SwLayVout ( )
inline

Definition at line 44 of file virtoutp.hxx.

SwLayVout::~SwLayVout ( )
inline

Definition at line 45 of file virtoutp.hxx.

References VclPtr< VirtualDevice >::disposeAndClear().

Member Function Documentation

bool SwLayVout::DoesFit ( const Size rOut)
private
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 118 of file virtoutp.cxx.

References aRect, DoesFit(), Flush(), OutputDevice::GetFillColor(), OutputDevice::GetMapMode(), SwViewShell::GetOut(), OutputDevice::GetOutDevType(), OutputDevice::GetOutputSizePixel(), tools::Rectangle::GetSize(), SwViewShell::GetViewOptions(), tools::Rectangle::GetWidth(), SwViewShell::GetWin(), SwRect::HasArea(), vcl::Window::IsReallyVisible(), SwViewOption::IsTest3(), OutputDevice::LogicToPixel(), nCount, OUTDEV_WINDOW, OutputDevice::PixelToLogic(), SwRect::Pos(), pOut, pSh, pVirDev, OutputDevice::SetFillColor(), OutputDevice::SetMapMode(), SetMappingForVirtDev(), SetOutDev(), and Size::Width().

Referenced by SwRootFrame::PaintSwFrame().

void SwLayVout::Flush ( void  )
inline

Definition at line 56 of file virtoutp.hxx.

References Flush_().

Referenced by Enter(), and Leave().

void SwLayVout::Flush_ ( )
const SwRect& SwLayVout::GetOrgRect ( ) const
inline

Definition at line 52 of file virtoutp.hxx.

References aOrgRect.

bool SwLayVout::IsFlushable ( ) const
inline

Definition at line 54 of file virtoutp.hxx.

void SwLayVout::Leave ( )
inline

Definition at line 49 of file virtoutp.hxx.

References Flush(), and nCount.

Referenced by SwRootFrame::PaintSwFrame().

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

Definition at line 51 of file virtoutp.hxx.

Referenced by SwRootFrame::PaintSwFrame().

Friends And Related Function Documentation

void FrameFinit ( )
friend

Definition at line 306 of file newfrm.cxx.

Member Data Documentation

SwRect SwLayVout::aOrgRect
private

Definition at line 37 of file virtoutp.hxx.

Referenced by GetOrgRect().

SwRect SwLayVout::aRect
private

Definition at line 36 of file virtoutp.hxx.

Referenced by Enter(), and Flush_().

Size SwLayVout::aSize
private

Definition at line 38 of file virtoutp.hxx.

Referenced by DoesFit().

sal_uInt16 SwLayVout::nCount
private

Definition at line 39 of file virtoutp.hxx.

Referenced by Enter(), and Leave().

VclPtr<OutputDevice> SwLayVout::pOut
private

Definition at line 34 of file virtoutp.hxx.

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

SwViewShell* SwLayVout::pSh
private

Definition at line 33 of file virtoutp.hxx.

Referenced by Enter(), and Flush_().

VclPtr<VirtualDevice> SwLayVout::pVirDev
private

Definition at line 35 of file virtoutp.hxx.

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


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