LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
MetaRectAction Class Referencefinal

#include <metaact.hxx>

Inheritance diagram for MetaRectAction:
[legend]
Collaboration diagram for MetaRectAction:
[legend]

Public Member Functions

 MetaRectAction ()
 
 MetaRectAction (MetaRectAction const &)=default
 
 MetaRectAction (MetaRectAction &&)=default
 
MetaRectActionoperator= (MetaRectAction const &)=delete
 
MetaRectActionoperator= (MetaRectAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () override
 
virtual void Write (SvStream &rOStm, ImplMetaWriteData *pData) override
 
virtual void Read (SvStream &rIStm, ImplMetaReadData *pData) override
 
 MetaRectAction (const tools::Rectangle &)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::RectangleGetRect () const
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount () const
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual ~MetaRectAction () override
 

Private Attributes

tools::Rectangle maRect
 

Additional Inherited Members

- Static Public Member Functions inherited from MetaAction
static MetaActionReadMetaAction (SvStream &rIStm, ImplMetaReadData *pData)
 
- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static voidoperator new (std::size_t nSize)
 
static voidoperator new (std::size_t nSize, std::nothrow_t const &rNothrow)
 
static void operator delete (void *pPtr)
 
static void operator delete (void *pPtr, std::nothrow_t const &rNothrow)
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 185 of file metaact.hxx.

Constructor & Destructor Documentation

MetaRectAction::MetaRectAction ( )

Definition at line 447 of file metaact.cxx.

Referenced by Clone().

MetaRectAction::MetaRectAction ( MetaRectAction const &  )
default
MetaRectAction::MetaRectAction ( MetaRectAction &&  )
default
MetaRectAction::~MetaRectAction ( )
overrideprivatevirtual

Definition at line 451 of file metaact.cxx.

MetaRectAction::MetaRectAction ( const tools::Rectangle rRect)
explicit

Definition at line 454 of file metaact.cxx.

Member Function Documentation

rtl::Reference< MetaAction > MetaRectAction::Clone ( )
overridevirtual

Reimplemented from MetaAction.

Definition at line 464 of file metaact.cxx.

References MetaRectAction().

void MetaRectAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 459 of file metaact.cxx.

References OutputDevice::DrawRect(), and maRect.

const tools::Rectangle& MetaRectAction::GetRect ( ) const
inline
void MetaRectAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 469 of file metaact.cxx.

References maRect, and tools::Rectangle::Move().

MetaRectAction& MetaRectAction::operator= ( MetaRectAction const &  )
delete
MetaRectAction& MetaRectAction::operator= ( MetaRectAction &&  )
delete
void MetaRectAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 487 of file metaact.cxx.

References maRect, and tools::GenericTypeSerializer::readRectangle().

void MetaRectAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 474 of file metaact.cxx.

References maRect.

void MetaRectAction::Write ( SvStream rOStm,
ImplMetaWriteData pData 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 479 of file metaact.cxx.

References maRect, MetaAction::Write(), and tools::GenericTypeSerializer::writeRectangle().

Member Data Documentation

tools::Rectangle MetaRectAction::maRect
private

Definition at line 189 of file metaact.hxx.

Referenced by Execute(), Move(), Read(), Scale(), and Write().


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