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, OUString aStr, 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 &)
 
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 ~MetaTextRectAction () override
 

Private Attributes

tools::Rectangle maRect
 
OUString maStr
 
DrawTextFlags mnStyle
 

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

Constructor & Destructor Documentation

◆ MetaTextRectAction() [1/4]

MetaTextRectAction::MetaTextRectAction ( )

Definition at line 723 of file metaact.cxx.

References NONE, and TEXTRECT.

Referenced by Clone().

◆ MetaTextRectAction() [2/4]

MetaTextRectAction::MetaTextRectAction ( MetaTextRectAction const &  )
default

◆ MetaTextRectAction() [3/4]

MetaTextRectAction::MetaTextRectAction ( MetaTextRectAction &&  )
default

◆ ~MetaTextRectAction()

MetaTextRectAction::~MetaTextRectAction ( )
overrideprivatevirtual

Definition at line 728 of file metaact.cxx.

◆ MetaTextRectAction() [4/4]

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

Definition at line 731 of file metaact.cxx.

References aStr, and TEXTRECT.

Member Function Documentation

◆ Clone()

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

Reimplemented from MetaAction.

Definition at line 761 of file metaact.cxx.

References MetaTextRectAction().

◆ Execute()

void MetaTextRectAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 753 of file metaact.cxx.

References AllowRect(), maRect, maStr, mnStyle, and pOut.

◆ GetRect()

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

◆ GetStyle()

DrawTextFlags MetaTextRectAction::GetStyle ( ) const
inline

Definition at line 620 of file metaact.hxx.

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

◆ GetText()

const OUString & MetaTextRectAction::GetText ( ) const
inline

◆ Move()

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

Reimplemented from MetaAction.

Definition at line 766 of file metaact.cxx.

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

◆ operator=() [1/2]

MetaTextRectAction & MetaTextRectAction::operator= ( MetaTextRectAction &&  )
delete

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

◆ operator=() [2/2]

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

◆ Scale()

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

Reimplemented from MetaAction.

Definition at line 771 of file metaact.cxx.

References maRect.

◆ SetRect()

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

Definition at line 621 of file metaact.hxx.

◆ SetStyle()

void MetaTextRectAction::SetStyle ( DrawTextFlags  rStyle)
inline

Definition at line 623 of file metaact.hxx.

◆ SetText()

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

Definition at line 622 of file metaact.hxx.

Member Data Documentation

◆ maRect

tools::Rectangle MetaTextRectAction::maRect
private

Definition at line 596 of file metaact.hxx.

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

◆ maStr

OUString MetaTextRectAction::maStr
private

Definition at line 597 of file metaact.hxx.

Referenced by Execute().

◆ mnStyle

DrawTextFlags MetaTextRectAction::mnStyle
private

Definition at line 598 of file metaact.hxx.

Referenced by Execute().


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