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

#include <metaact.hxx>

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

Public Member Functions

 MetaTextRectAction ()
 
 MetaTextRectAction (MetaTextRectAction const &)=default
 
 MetaTextRectAction (MetaTextRectAction &&)=default
 
MetaTextRectActionoperator= (MetaTextRectAction const &)=delete
 
MetaTextRectActionoperator= (MetaTextRectAction &&)=delete
 
virtual void Execute (OutputDevice *pOut) override
 
virtual rtl::Reference< MetaActionClone () const override
 
 MetaTextRectAction (const tools::Rectangle &rRect, const OUString &rStr, DrawTextFlags nStyle)
 
virtual void Move (tools::Long nHorzMove, tools::Long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
const tools::RectangleGetRect () const
 
const OUString & GetText () const
 
DrawTextFlags GetStyle () const
 
void SetRect (const tools::Rectangle &rRect)
 
void SetText (const OUString &rStr)
 
void SetStyle (DrawTextFlags rStyle)
 
- 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 ~MetaTextRectAction () override
 

Private Attributes

tools::Rectangle maRect
 
OUString maStr
 
DrawTextFlags mnStyle
 

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

Constructor & Destructor Documentation

MetaTextRectAction::MetaTextRectAction ( )

Definition at line 719 of file metaact.cxx.

References NONE.

Referenced by Clone().

MetaTextRectAction::MetaTextRectAction ( MetaTextRectAction const &  )
default
MetaTextRectAction::MetaTextRectAction ( MetaTextRectAction &&  )
default
MetaTextRectAction::~MetaTextRectAction ( )
overrideprivatevirtual

Definition at line 724 of file metaact.cxx.

MetaTextRectAction::MetaTextRectAction ( const tools::Rectangle rRect,
const OUString &  rStr,
DrawTextFlags  nStyle 
)

Definition at line 727 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 740 of file metaact.cxx.

References MetaTextRectAction().

void MetaTextRectAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 735 of file metaact.cxx.

References OutputDevice::DrawText(), maRect, maStr, and mnStyle.

const tools::Rectangle& MetaTextRectAction::GetRect ( ) const
inline
DrawTextFlags MetaTextRectAction::GetStyle ( ) const
inline

Definition at line 612 of file metaact.hxx.

Referenced by vcl::PDFWriterImpl::playMetafile(), and SvmWriter::TextRectHandler().

const OUString& MetaTextRectAction::GetText ( ) const
inline
void MetaTextRectAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 745 of file metaact.cxx.

References maRect, and tools::Rectangle::Move().

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

Reimplemented from MetaAction.

Definition at line 750 of file metaact.cxx.

References maRect.

void MetaTextRectAction::SetRect ( const tools::Rectangle rRect)
inline

Definition at line 613 of file metaact.hxx.

void MetaTextRectAction::SetStyle ( DrawTextFlags  rStyle)
inline

Definition at line 615 of file metaact.hxx.

void MetaTextRectAction::SetText ( const OUString &  rStr)
inline

Definition at line 614 of file metaact.hxx.

Member Data Documentation

tools::Rectangle MetaTextRectAction::maRect
private

Definition at line 588 of file metaact.hxx.

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

OUString MetaTextRectAction::maStr
private

Definition at line 589 of file metaact.hxx.

Referenced by Execute().

DrawTextFlags MetaTextRectAction::mnStyle
private

Definition at line 590 of file metaact.hxx.

Referenced by Execute().


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