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 () override
 
virtual void Write (SvStream &rOStm, ImplMetaWriteData *pData) override
 
virtual void Read (SvStream &rIStm, ImplMetaReadData *pData) override
 
 MetaStretchTextAction (const Point &rPt, sal_uInt32 nWidth, 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_uInt32 GetWidth () const
 
sal_Int32 GetIndex () const
 
sal_Int32 GetLen () 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 ~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 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 532 of file metaact.hxx.

Constructor & Destructor Documentation

MetaStretchTextAction::MetaStretchTextAction ( )

Definition at line 1233 of file metaact.cxx.

References mnIndex, and mnWidth.

Referenced by Clone().

MetaStretchTextAction::MetaStretchTextAction ( MetaStretchTextAction const &  )
default
MetaStretchTextAction::MetaStretchTextAction ( MetaStretchTextAction &&  )
default
MetaStretchTextAction::~MetaStretchTextAction ( )
overrideprivatevirtual

Definition at line 1240 of file metaact.cxx.

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

Definition at line 1243 of file metaact.cxx.

References mnIndex, and mnWidth.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1259 of file metaact.cxx.

References MetaStretchTextAction().

void MetaStretchTextAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1254 of file metaact.cxx.

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

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

Reimplemented from MetaAction.

Definition at line 1264 of file metaact.cxx.

References maPt, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1269 of file metaact.cxx.

References FRound(), maPt, and mnWidth.

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

Member Data Documentation

Point MetaStretchTextAction::maPt
private

Definition at line 536 of file metaact.hxx.

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

OUString MetaStretchTextAction::maStr
private

Definition at line 537 of file metaact.hxx.

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

sal_Int32 MetaStretchTextAction::mnIndex
private

Definition at line 539 of file metaact.hxx.

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

sal_Int32 MetaStretchTextAction::mnLen
private

Definition at line 540 of file metaact.hxx.

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

sal_uInt32 MetaStretchTextAction::mnWidth
private

Definition at line 538 of file metaact.hxx.

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


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