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

#include <metaact.hxx>

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

Public Member Functions

 MetaTextAction ()
 
 MetaTextAction (MetaTextAction const &)=default
 
 MetaTextAction (MetaTextAction &&)=default
 
MetaTextActionoperator= (MetaTextAction const &)=delete
 
MetaTextActionoperator= (MetaTextAction &&)=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
 
 MetaTextAction (const Point &rPt, const OUString &rStr, sal_Int32 nIndex, sal_Int32 nLen)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const PointGetPoint () const
 
const OUString & GetText () const
 
sal_Int32 GetIndex () const
 
sal_Int32 GetLen () 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 ~MetaTextAction () override
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

Point maPt
 
OUString maStr
 
sal_Int32 mnIndex
 
sal_Int32 mnLen
 

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 460 of file metaact.hxx.

Constructor & Destructor Documentation

MetaTextAction::MetaTextAction ( )

Definition at line 989 of file metaact.cxx.

References mnIndex, and TEXT.

Referenced by Clone().

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

Definition at line 995 of file metaact.cxx.

MetaTextAction::MetaTextAction ( const Point rPt,
const OUString &  rStr,
sal_Int32  nIndex,
sal_Int32  nLen 
)

Definition at line 998 of file metaact.cxx.

References mnIndex, and TEXT.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1012 of file metaact.cxx.

References MetaTextAction().

void MetaTextAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1007 of file metaact.cxx.

References OutputDevice::DrawText(), maPt, maStr, mnIndex, and mnLen.

sal_Int32 MetaTextAction::GetIndex ( ) const
inline
sal_Int32 MetaTextAction::GetLen ( ) const
inline
const Point& MetaTextAction::GetPoint ( ) const
inline
const OUString& MetaTextAction::GetText ( ) const
inline
void MetaTextAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1017 of file metaact.cxx.

References maPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1022 of file metaact.cxx.

References maPt.

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

Member Data Documentation

Point MetaTextAction::maPt
private

Definition at line 464 of file metaact.hxx.

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

OUString MetaTextAction::maStr
private

Definition at line 465 of file metaact.hxx.

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

sal_Int32 MetaTextAction::mnIndex
private

Definition at line 466 of file metaact.hxx.

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

sal_Int32 MetaTextAction::mnLen
private

Definition at line 467 of file metaact.hxx.

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


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