LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MetaTextRectAction Class Reference

#include <metaact.hxx>

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

Public Member Functions

 MetaTextRectAction ()
 
 MetaTextRectAction (MetaTextRectAction const &)=default
 
 MetaTextRectAction (MetaTextRectAction &&)=default
 
MetaTextRectActionoperator= (MetaTextRectAction const &)=delete
 
MetaTextRectActionoperator= (MetaTextRectAction &&)=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
 
 MetaTextRectAction (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::RectangleGetRect () const
 
const OUString & GetText () const
 
DrawTextFlags GetStyle () const
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount ()
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

virtual ~MetaTextRectAction () override
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

tools::Rectangle maRect
 
OUString maStr
 
DrawTextFlags mnStyle
 

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 Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 571 of file metaact.hxx.

Constructor & Destructor Documentation

MetaTextRectAction::MetaTextRectAction ( )

Definition at line 1279 of file metaact.cxx.

References NONE.

Referenced by Clone().

MetaTextRectAction::MetaTextRectAction ( MetaTextRectAction const &  )
default
MetaTextRectAction::MetaTextRectAction ( MetaTextRectAction &&  )
default
MetaTextRectAction::~MetaTextRectAction ( )
overrideprotectedvirtual

Definition at line 1284 of file metaact.cxx.

MetaTextRectAction::MetaTextRectAction ( const tools::Rectangle rRect,
const OUString &  rStr,
DrawTextFlags  nStyle 
)

Definition at line 1287 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1300 of file metaact.cxx.

References MetaTextRectAction().

void MetaTextRectAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1295 of file metaact.cxx.

References OutputDevice::DrawText(), maRect, maStr, and mnStyle.

const tools::Rectangle& MetaTextRectAction::GetRect ( ) const
inline
DrawTextFlags MetaTextRectAction::GetStyle ( ) const
inline

Definition at line 601 of file metaact.hxx.

Referenced by vcl::PDFWriterImpl::playMetafile().

const OUString& MetaTextRectAction::GetText ( ) const
inline
void MetaTextRectAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1305 of file metaact.cxx.

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

MetaTextRectAction& MetaTextRectAction::operator= ( MetaTextRectAction const &  )
delete
MetaTextRectAction& MetaTextRectAction::operator= ( MetaTextRectAction &&  )
delete
void MetaTextRectAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual
void MetaTextRectAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1310 of file metaact.cxx.

References maRect.

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

Member Data Documentation

tools::Rectangle MetaTextRectAction::maRect
private

Definition at line 575 of file metaact.hxx.

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

OUString MetaTextRectAction::maStr
private

Definition at line 576 of file metaact.hxx.

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

DrawTextFlags MetaTextRectAction::mnStyle
private

Definition at line 577 of file metaact.hxx.

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


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