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

#include <metaact.hxx>

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

Public Member Functions

 MetaFontAction ()
 
 MetaFontAction (MetaFontAction const &)=default
 
 MetaFontAction (MetaFontAction &&)=default
 
MetaFontActionoperator= (MetaFontAction const &)=delete
 
MetaFontActionoperator= (MetaFontAction &&)=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
 
 MetaFontAction (const vcl::Font &)
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const vcl::FontGetFont () const
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount ()
 
virtual void Move (long nHorzMove, long nVertMove)
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

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

Private Attributes

vcl::Font maFont
 

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

Constructor & Destructor Documentation

MetaFontAction::MetaFontAction ( )

Definition at line 2676 of file metaact.cxx.

References FONT.

Referenced by Clone().

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

Definition at line 2680 of file metaact.cxx.

MetaFontAction::MetaFontAction ( const vcl::Font rFont)
explicit

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 2703 of file metaact.cxx.

References MetaFontAction().

void MetaFontAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2698 of file metaact.cxx.

References maFont, and OutputDevice::SetFont().

const vcl::Font& MetaFontAction::GetFont ( ) const
inline
MetaFontAction& MetaFontAction::operator= ( MetaFontAction const &  )
delete
MetaFontAction& MetaFontAction::operator= ( MetaFontAction &&  )
delete
void MetaFontAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2726 of file metaact.cxx.

References vcl::Font::GetCharSet(), maFont, ImplMetaReadData::meActualCharSet, and ReadFont().

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

Reimplemented from MetaAction.

Definition at line 2708 of file metaact.cxx.

References FRound(), vcl::Font::GetFontSize(), Size::Height(), maFont, vcl::Font::SetFontSize(), and Size::Width().

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

Member Data Documentation

vcl::Font MetaFontAction::maFont
private

Definition at line 1407 of file metaact.hxx.

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


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