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, OUString aStr, KernArray rDXAry, std::vector< sal_Bool > pKashidaAry, sal_Int32 nIndex, sal_Int32 nLen)
 
 MetaTextArrayAction (const Point &rStartPt, OUString aStr, KernArraySpan pDXAry, o3tl::span< const sal_Bool > pKashidaAry, sal_Int32 nIndex, sal_Int32 nLen)
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
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
 
const KernArrayGetDXArray () const
 
const std::vector< sal_Bool > & GetKashidaArray () const
 
void SetPoint (const Point &rPt)
 
void SetText (const OUString &rStr)
 
void SetIndex (sal_Int32 rIndex)
 
void SetLen (sal_Int32 rLen)
 
void SetDXArray (KernArray aArray)
 
void SetKashidaArray (std::vector< sal_Bool > aArray)
 
- 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 ~MetaTextArrayAction () override
 

Private Attributes

Point maStartPt
 
OUString maStr
 
KernArray maDXAry
 
std::vector< sal_BoolmaKashidaAry
 
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 505 of file metaact.hxx.

Constructor & Destructor Documentation

◆ ~MetaTextArrayAction()

MetaTextArrayAction::~MetaTextArrayAction ( )
overrideprivatevirtual

Definition at line 672 of file metaact.cxx.

◆ MetaTextArrayAction() [1/4]

MetaTextArrayAction::MetaTextArrayAction ( )

Definition at line 623 of file metaact.cxx.

References mnIndex, and TEXTARRAY.

Referenced by Clone().

◆ MetaTextArrayAction() [2/4]

MetaTextArrayAction::MetaTextArrayAction ( const MetaTextArrayAction rAction)

Definition at line 629 of file metaact.cxx.

References mnIndex, and TEXTARRAY.

◆ MetaTextArrayAction() [3/4]

MetaTextArrayAction::MetaTextArrayAction ( const Point rStartPt,
OUString  aStr,
KernArray  rDXAry,
std::vector< sal_Bool pKashidaAry,
sal_Int32  nIndex,
sal_Int32  nLen 
)

Definition at line 640 of file metaact.cxx.

References aStr, mnIndex, nIndex, and TEXTARRAY.

◆ MetaTextArrayAction() [4/4]

MetaTextArrayAction::MetaTextArrayAction ( const Point rStartPt,
OUString  aStr,
KernArraySpan  pDXAry,
o3tl::span< const sal_Bool pKashidaAry,
sal_Int32  nIndex,
sal_Int32  nLen 
)

Definition at line 656 of file metaact.cxx.

References KernArray::assign(), aStr, begin, end, maDXAry, mnIndex, nIndex, and TEXTARRAY.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 681 of file metaact.cxx.

References MetaTextArrayAction().

◆ Execute()

void MetaTextArrayAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 676 of file metaact.cxx.

References maDXAry, maKashidaAry, maStartPt, maStr, mnIndex, mnLen, and pOut.

◆ GetDXArray()

const KernArray & MetaTextArrayAction::GetDXArray ( ) const
inline

◆ GetIndex()

sal_Int32 MetaTextArrayAction::GetIndex ( ) const
inline

◆ GetKashidaArray()

const std::vector< sal_Bool > & MetaTextArrayAction::GetKashidaArray ( ) const
inline

◆ GetLen()

sal_Int32 MetaTextArrayAction::GetLen ( ) const
inline

◆ GetPoint()

const Point & MetaTextArrayAction::GetPoint ( ) const
inline

◆ GetText()

const OUString & MetaTextArrayAction::GetText ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 686 of file metaact.cxx.

References maStartPt, and Point::Move().

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 691 of file metaact.cxx.

References KernArray::empty(), FRound(), i, maDXAry, maStartPt, mnLen, nCount, and KernArray::set().

◆ SetDXArray()

void MetaTextArrayAction::SetDXArray ( KernArray  aArray)

Definition at line 702 of file metaact.cxx.

References maDXAry.

◆ SetIndex()

void MetaTextArrayAction::SetIndex ( sal_Int32  rIndex)
inline

Definition at line 547 of file metaact.hxx.

References mnIndex.

◆ SetKashidaArray()

void MetaTextArrayAction::SetKashidaArray ( std::vector< sal_Bool aArray)

Definition at line 707 of file metaact.cxx.

References maKashidaAry.

◆ SetLen()

void MetaTextArrayAction::SetLen ( sal_Int32  rLen)
inline

Definition at line 548 of file metaact.hxx.

◆ SetPoint()

void MetaTextArrayAction::SetPoint ( const Point rPt)
inline

Definition at line 545 of file metaact.hxx.

◆ SetText()

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

Definition at line 546 of file metaact.hxx.

Member Data Documentation

◆ maDXAry

KernArray MetaTextArrayAction::maDXAry
private

Definition at line 511 of file metaact.hxx.

Referenced by Execute(), MetaTextArrayAction(), Scale(), and SetDXArray().

◆ maKashidaAry

std::vector<sal_Bool> MetaTextArrayAction::maKashidaAry
private

Definition at line 512 of file metaact.hxx.

Referenced by Execute(), and SetKashidaArray().

◆ maStartPt

Point MetaTextArrayAction::maStartPt
private

Definition at line 509 of file metaact.hxx.

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

◆ maStr

OUString MetaTextArrayAction::maStr
private

Definition at line 510 of file metaact.hxx.

Referenced by Execute().

◆ mnIndex

sal_Int32 MetaTextArrayAction::mnIndex
private

Definition at line 513 of file metaact.hxx.

Referenced by Execute().

◆ mnLen

sal_Int32 MetaTextArrayAction::mnLen
private

Definition at line 514 of file metaact.hxx.

Referenced by Execute(), and Scale().


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