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

Constructor & Destructor Documentation

◆ MetaTextLineAction() [1/4]

MetaTextLineAction::MetaTextLineAction ( )

Definition at line 759 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 767 of file metaact.cxx.

◆ MetaTextLineAction() [4/4]

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

Definition at line 770 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 787 of file metaact.cxx.

References MetaTextLineAction().

◆ Execute()

void MetaTextLineAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 782 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 792 of file metaact.cxx.

References maPos.

◆ operator=() [1/2]

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

References Clone(), Execute(), and Move.

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 797 of file metaact.cxx.

References FRound(), maPos, and mnWidth.

◆ SetOverline()

void MetaTextLineAction::SetOverline ( FontLineStyle  eOverline)
inline

Definition at line 664 of file metaact.hxx.

◆ SetStartPoint()

void MetaTextLineAction::SetStartPoint ( const Point rPos)
inline

Definition at line 660 of file metaact.hxx.

◆ SetStrikeout()

void MetaTextLineAction::SetStrikeout ( FontStrikeout  eStrikeout)
inline

Definition at line 662 of file metaact.hxx.

◆ SetUnderline()

void MetaTextLineAction::SetUnderline ( FontLineStyle  eUnderline)
inline

Definition at line 663 of file metaact.hxx.

◆ SetWidth()

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

Definition at line 661 of file metaact.hxx.

References mnWidth.

Member Data Documentation

◆ maPos

Point MetaTextLineAction::maPos
private

Definition at line 630 of file metaact.hxx.

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

◆ meOverline

FontLineStyle MetaTextLineAction::meOverline
private

Definition at line 634 of file metaact.hxx.

Referenced by Execute().

◆ meStrikeout

FontStrikeout MetaTextLineAction::meStrikeout
private

Definition at line 632 of file metaact.hxx.

Referenced by Execute().

◆ meUnderline

FontLineStyle MetaTextLineAction::meUnderline
private

Definition at line 633 of file metaact.hxx.

Referenced by Execute().

◆ mnWidth

tools::Long MetaTextLineAction::mnWidth
private

Definition at line 631 of file metaact.hxx.

Referenced by Execute(), and Scale().


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