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

#include <metaact.hxx>

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

Public Member Functions

 MetaStretchTextAction ()
 
 MetaStretchTextAction (MetaStretchTextAction const &)=default
 
 MetaStretchTextAction (MetaStretchTextAction &&)=default
 
MetaStretchTextActionoperator= (MetaStretchTextAction const &)=delete
 
MetaStretchTextActionoperator= (MetaStretchTextAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaStretchTextAction (const Point &rPt, sal_uInt32 nWidth, 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_uInt32 GetWidth () const
 
sal_Int32 GetIndex () const
 
sal_Int32 GetLen () const
 
void SetPoint (const Point &rPt)
 
void SetText (const OUString &rStr)
 
void SetWidth (sal_uInt32 rWidth)
 
void SetIndex (sal_uInt32 rIndex)
 
void SetLen (sal_uInt32 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 ~MetaStretchTextAction () override
 

Private Attributes

Point maPt
 
OUString maStr
 
sal_uInt32 mnWidth
 
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 553 of file metaact.hxx.

Constructor & Destructor Documentation

◆ MetaStretchTextAction() [1/4]

MetaStretchTextAction::MetaStretchTextAction ( )

Definition at line 712 of file metaact.cxx.

References mnIndex, mnWidth, and STRETCHTEXT.

Referenced by Clone().

◆ MetaStretchTextAction() [2/4]

MetaStretchTextAction::MetaStretchTextAction ( MetaStretchTextAction const &  )
default

◆ MetaStretchTextAction() [3/4]

MetaStretchTextAction::MetaStretchTextAction ( MetaStretchTextAction &&  )
default

◆ ~MetaStretchTextAction()

MetaStretchTextAction::~MetaStretchTextAction ( )
overrideprivatevirtual

Definition at line 719 of file metaact.cxx.

◆ MetaStretchTextAction() [4/4]

MetaStretchTextAction::MetaStretchTextAction ( const Point rPt,
sal_uInt32  nWidth,
OUString  aStr,
sal_Int32  nIndex,
sal_Int32  nLen 
)

Definition at line 722 of file metaact.cxx.

References aStr, mnIndex, mnWidth, nIndex, and STRETCHTEXT.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 741 of file metaact.cxx.

References MetaStretchTextAction().

◆ Execute()

void MetaStretchTextAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 733 of file metaact.cxx.

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

◆ GetIndex()

sal_Int32 MetaStretchTextAction::GetIndex ( ) const
inline

◆ GetLen()

sal_Int32 MetaStretchTextAction::GetLen ( ) const
inline

◆ GetPoint()

const Point & MetaStretchTextAction::GetPoint ( ) const
inline

◆ GetText()

const OUString & MetaStretchTextAction::GetText ( ) const
inline

◆ GetWidth()

sal_uInt32 MetaStretchTextAction::GetWidth ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 746 of file metaact.cxx.

References maPt, and Point::Move().

◆ operator=() [1/2]

MetaStretchTextAction & MetaStretchTextAction::operator= ( MetaStretchTextAction &&  )
delete

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 751 of file metaact.cxx.

References FRound(), maPt, and mnWidth.

◆ SetIndex()

void MetaStretchTextAction::SetIndex ( sal_uInt32  rIndex)
inline

Definition at line 590 of file metaact.hxx.

References mnIndex.

◆ SetLen()

void MetaStretchTextAction::SetLen ( sal_uInt32  rLen)
inline

Definition at line 591 of file metaact.hxx.

◆ SetPoint()

void MetaStretchTextAction::SetPoint ( const Point rPt)
inline

Definition at line 587 of file metaact.hxx.

◆ SetText()

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

Definition at line 588 of file metaact.hxx.

◆ SetWidth()

void MetaStretchTextAction::SetWidth ( sal_uInt32  rWidth)
inline

Definition at line 589 of file metaact.hxx.

References mnWidth.

Member Data Documentation

◆ maPt

Point MetaStretchTextAction::maPt
private

Definition at line 557 of file metaact.hxx.

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

◆ maStr

OUString MetaStretchTextAction::maStr
private

Definition at line 558 of file metaact.hxx.

Referenced by Execute().

◆ mnIndex

sal_Int32 MetaStretchTextAction::mnIndex
private

Definition at line 560 of file metaact.hxx.

Referenced by Execute().

◆ mnLen

sal_Int32 MetaStretchTextAction::mnLen
private

Definition at line 561 of file metaact.hxx.

Referenced by Execute().

◆ mnWidth

sal_uInt32 MetaStretchTextAction::mnWidth
private

Definition at line 559 of file metaact.hxx.

Referenced by Execute(), and Scale().


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