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 &)
 
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 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
 
- Static Protected Member Functions inherited from MetaAction
static void ReadColor (SvStream &rIStm,::Color &rColor)
 
static void WriteColor (SvStream &rIStm,::Color aColor)
 
- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 618 of file metaact.hxx.

Constructor & Destructor Documentation

MetaTextLineAction::MetaTextLineAction ( )

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

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

Definition at line 766 of file metaact.cxx.

References mnWidth.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 783 of file metaact.cxx.

References MetaTextLineAction().

void MetaTextLineAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 778 of file metaact.cxx.

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

FontLineStyle MetaTextLineAction::GetOverline ( ) const
inline
const Point& MetaTextLineAction::GetStartPoint ( ) const
inline
FontStrikeout MetaTextLineAction::GetStrikeout ( ) const
inline
FontLineStyle MetaTextLineAction::GetUnderline ( ) const
inline
tools::Long MetaTextLineAction::GetWidth ( ) const
inline
void MetaTextLineAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 788 of file metaact.cxx.

References maPos.

MetaTextLineAction& MetaTextLineAction::operator= ( MetaTextLineAction const &  )
delete
MetaTextLineAction& MetaTextLineAction::operator= ( MetaTextLineAction &&  )
delete
void MetaTextLineAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 793 of file metaact.cxx.

References FRound(), maPos, and mnWidth.

void MetaTextLineAction::SetOverline ( FontLineStyle  eOverline)
inline

Definition at line 656 of file metaact.hxx.

void MetaTextLineAction::SetStartPoint ( const Point rPos)
inline

Definition at line 652 of file metaact.hxx.

void MetaTextLineAction::SetStrikeout ( FontStrikeout  eStrikeout)
inline

Definition at line 654 of file metaact.hxx.

void MetaTextLineAction::SetUnderline ( FontLineStyle  eUnderline)
inline

Definition at line 655 of file metaact.hxx.

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

Definition at line 653 of file metaact.hxx.

Member Data Documentation

Point MetaTextLineAction::maPos
private

Definition at line 622 of file metaact.hxx.

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

FontLineStyle MetaTextLineAction::meOverline
private

Definition at line 626 of file metaact.hxx.

Referenced by Execute().

FontStrikeout MetaTextLineAction::meStrikeout
private

Definition at line 624 of file metaact.hxx.

Referenced by Execute().

FontLineStyle MetaTextLineAction::meUnderline
private

Definition at line 625 of file metaact.hxx.

Referenced by Execute().

tools::Long MetaTextLineAction::mnWidth
private

Definition at line 623 of file metaact.hxx.

Referenced by Execute(), and Scale().


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