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

#include <metaact.hxx>

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

Public Member Functions

 MetaTextArrayAction ()
 
 MetaTextArrayAction (const MetaTextArrayAction &rAction)
 
 MetaTextArrayAction (const Point &rStartPt, const OUString &rStr, const long *pDXAry, sal_Int32 nIndex, sal_Int32 nLen)
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () override
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
virtual void Write (SvStream &rOStm, ImplMetaWriteData *pData) override
 
virtual void Read (SvStream &rIStm, ImplMetaReadData *pData) override
 
const PointGetPoint () const
 
const OUString & GetText () const
 
sal_Int32 GetIndex () const
 
sal_Int32 GetLen () const
 
long * GetDXArray () 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 ~MetaTextArrayAction () override
 

Private Attributes

Point maStartPt
 
OUString maStr
 
std::unique_ptr< long[]> mpDXAry
 
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 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 495 of file metaact.hxx.

Constructor & Destructor Documentation

MetaTextArrayAction::~MetaTextArrayAction ( )
overrideprivatevirtual

Definition at line 1119 of file metaact.cxx.

MetaTextArrayAction::MetaTextArrayAction ( )

Definition at line 1079 of file metaact.cxx.

References mnIndex.

Referenced by Clone().

MetaTextArrayAction::MetaTextArrayAction ( const MetaTextArrayAction rAction)

Definition at line 1085 of file metaact.cxx.

References mnIndex, mnLen, and mpDXAry.

MetaTextArrayAction::MetaTextArrayAction ( const Point rStartPt,
const OUString &  rStr,
const long *  pDXAry,
sal_Int32  nIndex,
sal_Int32  nLen 
)

Definition at line 1099 of file metaact.cxx.

References mnIndex, mnLen, and mpDXAry.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1128 of file metaact.cxx.

References MetaTextArrayAction().

void MetaTextArrayAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1123 of file metaact.cxx.

References OutputDevice::DrawTextArray(), maStartPt, maStr, mnIndex, mnLen, and mpDXAry.

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

Reimplemented from MetaAction.

Definition at line 1133 of file metaact.cxx.

References maStartPt, and Point::Move().

void MetaTextArrayAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual
void MetaTextArrayAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1138 of file metaact.cxx.

References FRound(), i, maStartPt, mnLen, and mpDXAry.

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

Member Data Documentation

Point MetaTextArrayAction::maStartPt
private

Definition at line 499 of file metaact.hxx.

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

OUString MetaTextArrayAction::maStr
private

Definition at line 500 of file metaact.hxx.

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

sal_Int32 MetaTextArrayAction::mnIndex
private

Definition at line 503 of file metaact.hxx.

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

sal_Int32 MetaTextArrayAction::mnLen
private

Definition at line 504 of file metaact.hxx.

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

std::unique_ptr<long[]> MetaTextArrayAction::mpDXAry
private

Definition at line 502 of file metaact.hxx.

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


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