LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Private Attributes | List of all members
MetaTextLineAction Class Reference

#include <metaact.hxx>

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

Public Member Functions

 MetaTextLineAction ()
 
 MetaTextLineAction (MetaTextLineAction const &)=default
 
 MetaTextLineAction (MetaTextLineAction &&)=default
 
MetaTextLineActionoperator= (MetaTextLineAction const &)=delete
 
MetaTextLineActionoperator= (MetaTextLineAction &&)=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
 
 MetaTextLineAction (const Point &rPos, long nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const PointGetStartPoint () const
 
long GetWidth () const
 
FontStrikeout GetStrikeout () const
 
FontLineStyle GetUnderline () const
 
FontLineStyle GetOverline () const
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount ()
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

virtual ~MetaTextLineAction () override
 
- Protected Member Functions inherited from MetaAction
virtual ~MetaAction () override
 
- Protected Member Functions inherited from salhelper::SimpleReferenceObject
virtual ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE
 

Private Attributes

Point maPos
 
long mnWidth
 
FontStrikeout meStrikeout
 
FontLineStyle meUnderline
 
FontLineStyle meOverline
 

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 Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 604 of file metaact.hxx.

Constructor & Destructor Documentation

MetaTextLineAction::MetaTextLineAction ( )

Definition at line 1339 of file metaact.cxx.

References LINESTYLE_NONE, mnWidth, and STRIKEOUT_NONE.

Referenced by Clone().

MetaTextLineAction::MetaTextLineAction ( MetaTextLineAction const &  )
default
MetaTextLineAction::MetaTextLineAction ( MetaTextLineAction &&  )
default
MetaTextLineAction::~MetaTextLineAction ( )
overrideprotectedvirtual

Definition at line 1347 of file metaact.cxx.

MetaTextLineAction::MetaTextLineAction ( const Point rPos,
long  nWidth,
FontStrikeout  eStrikeout,
FontLineStyle  eUnderline,
FontLineStyle  eOverline 
)

Definition at line 1350 of file metaact.cxx.

References mnWidth.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1367 of file metaact.cxx.

References MetaTextLineAction().

void MetaTextLineAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1362 of file metaact.cxx.

References OutputDevice::DrawTextLine(), maPos, meOverline, meStrikeout, meUnderline, and mnWidth.

FontLineStyle MetaTextLineAction::GetOverline ( ) const
inline

Definition at line 639 of file metaact.hxx.

Referenced by vcl::PDFWriterImpl::playMetafile(), and GDIMetaFile::Rotate().

const Point& MetaTextLineAction::GetStartPoint ( ) const
inline
FontStrikeout MetaTextLineAction::GetStrikeout ( ) const
inline

Definition at line 637 of file metaact.hxx.

Referenced by vcl::PDFWriterImpl::playMetafile(), and GDIMetaFile::Rotate().

FontLineStyle MetaTextLineAction::GetUnderline ( ) const
inline

Definition at line 638 of file metaact.hxx.

Referenced by vcl::PDFWriterImpl::playMetafile(), and GDIMetaFile::Rotate().

long MetaTextLineAction::GetWidth ( ) const
inline
void MetaTextLineAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1372 of file metaact.cxx.

References maPos, and Point::Move().

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

Reimplemented from MetaAction.

Definition at line 1377 of file metaact.cxx.

References FRound(), maPos, and mnWidth.

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

Member Data Documentation

Point MetaTextLineAction::maPos
private

Definition at line 608 of file metaact.hxx.

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

FontLineStyle MetaTextLineAction::meOverline
private

Definition at line 612 of file metaact.hxx.

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

FontStrikeout MetaTextLineAction::meStrikeout
private

Definition at line 610 of file metaact.hxx.

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

FontLineStyle MetaTextLineAction::meUnderline
private

Definition at line 611 of file metaact.hxx.

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

long MetaTextLineAction::mnWidth
private

Definition at line 609 of file metaact.hxx.

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


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