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

#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 () const override
 
 MetaTextAction (const Point &rPt, OUString aStr, sal_Int32 nIndex, sal_Int32 nLen)
 
virtual void Move (tools::Long nHorzMove, tools::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
 
void SetPoint (const Point &rPt)
 
void SetText (const OUString &rStr)
 
void SetIndex (sal_Int32 rIndex)
 
void SetLen (sal_Int32 rLen)
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
virtual void Execute (OutputDevice *pOut)
 
oslInterlockedCount GetRefCount () const
 
virtual rtl::Reference< MetaActionClone () const
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove)
 
virtual void Scale (double fScaleX, double fScaleY)
 
MetaActionType GetType () const
 
virtual bool IsTransparent () const
 #i10613# Extracted from Printer::GetPreparedMetaFile. More...
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

virtual ~MetaTextAction () override
 

Private Attributes

Point maPt
 
OUString maStr
 
sal_Int32 mnIndex
 
sal_Int32 mnLen
 

Additional Inherited Members

- Static Public Member Functions inherited from salhelper::SimpleReferenceObject
static void * operator new (std::size_t nSize)
 
static void * operator 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 468 of file metaact.hxx.

Constructor & Destructor Documentation

◆ MetaTextAction() [1/4]

MetaTextAction::MetaTextAction ( )

Definition at line 582 of file metaact.cxx.

References mnIndex, and TEXT.

Referenced by Clone().

◆ MetaTextAction() [2/4]

MetaTextAction::MetaTextAction ( MetaTextAction const &  )
default

◆ MetaTextAction() [3/4]

MetaTextAction::MetaTextAction ( MetaTextAction &&  )
default

◆ ~MetaTextAction()

MetaTextAction::~MetaTextAction ( )
overrideprivatevirtual

Definition at line 588 of file metaact.cxx.

◆ MetaTextAction() [4/4]

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

Definition at line 591 of file metaact.cxx.

References aStr, mnIndex, nIndex, and TEXT.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 608 of file metaact.cxx.

References MetaTextAction().

◆ Execute()

void MetaTextAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 600 of file metaact.cxx.

References AllowDim(), maPt, maStr, mnIndex, mnLen, and pOut.

◆ GetIndex()

sal_Int32 MetaTextAction::GetIndex ( ) const
inline

◆ GetLen()

sal_Int32 MetaTextAction::GetLen ( ) const
inline

◆ GetPoint()

const Point & MetaTextAction::GetPoint ( ) const
inline

◆ GetText()

const OUString & MetaTextAction::GetText ( ) const
inline

◆ Move()

void MetaTextAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 613 of file metaact.cxx.

References maPt, and Point::Move().

◆ operator=() [1/2]

MetaTextAction & MetaTextAction::operator= ( MetaTextAction &&  )
delete

◆ operator=() [2/2]

MetaTextAction & MetaTextAction::operator= ( MetaTextAction const &  )
delete

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 618 of file metaact.cxx.

References maPt.

◆ SetIndex()

void MetaTextAction::SetIndex ( sal_Int32  rIndex)
inline

Definition at line 501 of file metaact.hxx.

References mnIndex.

◆ SetLen()

void MetaTextAction::SetLen ( sal_Int32  rLen)
inline

Definition at line 502 of file metaact.hxx.

◆ SetPoint()

void MetaTextAction::SetPoint ( const Point rPt)
inline

Definition at line 499 of file metaact.hxx.

◆ SetText()

void MetaTextAction::SetText ( const OUString &  rStr)
inline

Definition at line 500 of file metaact.hxx.

Member Data Documentation

◆ maPt

Point MetaTextAction::maPt
private

Definition at line 472 of file metaact.hxx.

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

◆ maStr

OUString MetaTextAction::maStr
private

Definition at line 473 of file metaact.hxx.

Referenced by Execute().

◆ mnIndex

sal_Int32 MetaTextAction::mnIndex
private

Definition at line 474 of file metaact.hxx.

Referenced by Execute().

◆ mnLen

sal_Int32 MetaTextAction::mnLen
private

Definition at line 475 of file metaact.hxx.

Referenced by Execute().


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