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 () const 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
 
void SetStartPoint (const Point &rPos)
 
void SetWidth (tools::Long rWidth)
 
void SetStrikeout (FontStrikeout eStrikeout)
 
void SetUnderline (FontLineStyle eUnderline)
 
void SetOverline (FontLineStyle eOverline)
 
- 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 ~MetaTextLineAction () override
 

Private Attributes

Point maPos
 
tools::Long mnWidth
 
FontStrikeout meStrikeout
 
FontLineStyle meUnderline
 
FontLineStyle meOverline
 

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

Constructor & Destructor Documentation

◆ MetaTextLineAction() [1/4]

MetaTextLineAction::MetaTextLineAction ( )

Definition at line 795 of file metaact.cxx.

References LINESTYLE_NONE, mnWidth, STRIKEOUT_NONE, and TEXTLINE.

Referenced by Clone().

◆ MetaTextLineAction() [2/4]

MetaTextLineAction::MetaTextLineAction ( MetaTextLineAction const &  )
default

◆ MetaTextLineAction() [3/4]

MetaTextLineAction::MetaTextLineAction ( MetaTextLineAction &&  )
default

◆ ~MetaTextLineAction()

MetaTextLineAction::~MetaTextLineAction ( )
overrideprivatevirtual

Definition at line 803 of file metaact.cxx.

◆ MetaTextLineAction() [4/4]

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

Definition at line 806 of file metaact.cxx.

References mnWidth, and TEXTLINE.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 823 of file metaact.cxx.

References MetaTextLineAction().

◆ Execute()

void MetaTextLineAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 818 of file metaact.cxx.

References maPos, meOverline, meStrikeout, meUnderline, mnWidth, and pOut.

◆ GetOverline()

FontLineStyle MetaTextLineAction::GetOverline ( ) const
inline

◆ GetStartPoint()

const Point & MetaTextLineAction::GetStartPoint ( ) const
inline

◆ GetStrikeout()

FontStrikeout MetaTextLineAction::GetStrikeout ( ) const
inline

◆ GetUnderline()

FontLineStyle MetaTextLineAction::GetUnderline ( ) const
inline

◆ GetWidth()

tools::Long MetaTextLineAction::GetWidth ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 828 of file metaact.cxx.

References maPos, and Point::Move().

◆ operator=() [1/2]

MetaTextLineAction & MetaTextLineAction::operator= ( MetaTextLineAction &&  )
delete

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 833 of file metaact.cxx.

References FRound(), maPos, and mnWidth.

◆ SetOverline()

void MetaTextLineAction::SetOverline ( FontLineStyle  eOverline)
inline

Definition at line 666 of file metaact.hxx.

◆ SetStartPoint()

void MetaTextLineAction::SetStartPoint ( const Point rPos)
inline

Definition at line 662 of file metaact.hxx.

◆ SetStrikeout()

void MetaTextLineAction::SetStrikeout ( FontStrikeout  eStrikeout)
inline

Definition at line 664 of file metaact.hxx.

◆ SetUnderline()

void MetaTextLineAction::SetUnderline ( FontLineStyle  eUnderline)
inline

Definition at line 665 of file metaact.hxx.

◆ SetWidth()

void MetaTextLineAction::SetWidth ( tools::Long  rWidth)
inline

Definition at line 663 of file metaact.hxx.

References mnWidth.

Member Data Documentation

◆ maPos

Point MetaTextLineAction::maPos
private

Definition at line 632 of file metaact.hxx.

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

◆ meOverline

FontLineStyle MetaTextLineAction::meOverline
private

Definition at line 636 of file metaact.hxx.

Referenced by Execute().

◆ meStrikeout

FontStrikeout MetaTextLineAction::meStrikeout
private

Definition at line 634 of file metaact.hxx.

Referenced by Execute().

◆ meUnderline

FontLineStyle MetaTextLineAction::meUnderline
private

Definition at line 635 of file metaact.hxx.

Referenced by Execute().

◆ mnWidth

tools::Long MetaTextLineAction::mnWidth
private

Definition at line 633 of file metaact.hxx.

Referenced by Execute(), and Scale().


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