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

#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, tools::Long nWidth, FontStrikeout eStrikeout, FontLineStyle eUnderline, FontLineStyle eOverline)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const PointGetStartPoint () const
 
tools::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 () const
 
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 ~MetaTextLineAction () override
 

Private Attributes

Point maPos
 
tools::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 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 608 of file metaact.hxx.

Constructor & Destructor Documentation

MetaTextLineAction::MetaTextLineAction ( )

Definition at line 1369 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 ( )
overrideprivatevirtual

Definition at line 1377 of file metaact.cxx.

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

Definition at line 1380 of file metaact.cxx.

References mnWidth.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 1397 of file metaact.cxx.

References MetaTextLineAction().

void MetaTextLineAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 1392 of file metaact.cxx.

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

FontLineStyle MetaTextLineAction::GetOverline ( ) const
inline

Definition at line 643 of file metaact.hxx.

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

const Point& MetaTextLineAction::GetStartPoint ( ) const
inline

Definition at line 639 of file metaact.hxx.

References Point.

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

FontStrikeout MetaTextLineAction::GetStrikeout ( ) const
inline

Definition at line 641 of file metaact.hxx.

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

FontLineStyle MetaTextLineAction::GetUnderline ( ) const
inline

Definition at line 642 of file metaact.hxx.

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

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

Reimplemented from MetaAction.

Definition at line 1402 of file metaact.cxx.

References maPos.

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 1407 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 612 of file metaact.hxx.

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

FontLineStyle MetaTextLineAction::meOverline
private

Definition at line 616 of file metaact.hxx.

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

FontStrikeout MetaTextLineAction::meStrikeout
private

Definition at line 614 of file metaact.hxx.

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

FontLineStyle MetaTextLineAction::meUnderline
private

Definition at line 615 of file metaact.hxx.

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

tools::Long MetaTextLineAction::mnWidth
private

Definition at line 613 of file metaact.hxx.

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


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