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

#include <metaact.hxx>

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

Public Member Functions

 MetaCommentAction ()
 
 MetaCommentAction (const MetaCommentAction &rAct)
 
 MetaCommentAction (const OString &rComment, sal_Int32 nValue=0, const sal_uInt8 *pData=nullptr, sal_uInt32 nDataSize=0)
 
virtual void Move (long nHorzMove, long nVertMove) override
 
virtual void Scale (double fScaleX, double fScaleY) override
 
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
 
const OString & GetComment () const
 
sal_Int32 GetValue () const
 
sal_uInt32 GetDataSize () const
 
const sal_uInt8GetData () const
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount () const
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Private Member Functions

SAL_DLLPRIVATE void ImplInitDynamicData (const sal_uInt8 *pData, sal_uInt32 nDataSize)
 
virtual ~MetaCommentAction () override
 

Private Attributes

OString maComment
 
sal_Int32 mnValue
 
sal_uInt32 mnDataSize
 
std::unique_ptr< sal_uInt8[]> mpData
 

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

Constructor & Destructor Documentation

MetaCommentAction::~MetaCommentAction ( )
overrideprivatevirtual

Definition at line 3152 of file metaact.cxx.

MetaCommentAction::MetaCommentAction ( )
explicit

Definition at line 3129 of file metaact.cxx.

References COMMENT, ImplInitDynamicData(), and mnValue.

Referenced by Clone().

MetaCommentAction::MetaCommentAction ( const MetaCommentAction rAct)
explicit

Definition at line 3136 of file metaact.cxx.

References COMMENT, ImplInitDynamicData(), maComment, mnDataSize, mnValue, and mpData.

MetaCommentAction::MetaCommentAction ( const OString &  rComment,
sal_Int32  nValue = 0,
const sal_uInt8 pData = nullptr,
sal_uInt32  nDataSize = 0 
)
explicit

Definition at line 3144 of file metaact.cxx.

References COMMENT, ImplInitDynamicData(), maComment, and mnValue.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 3179 of file metaact.cxx.

References MetaCommentAction().

void MetaCommentAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 3171 of file metaact.cxx.

References GDIMetaFile::AddAction(), and OutputDevice::GetConnectMetaFile().

const OString& MetaCommentAction::GetComment ( ) const
inline
const sal_uInt8* MetaCommentAction::GetData ( ) const
inline
sal_uInt32 MetaCommentAction::GetDataSize ( ) const
inline
sal_Int32 MetaCommentAction::GetValue ( ) const
inline

Definition at line 1653 of file metaact.hxx.

void MetaCommentAction::ImplInitDynamicData ( const sal_uInt8 pData,
sal_uInt32  nDataSize 
)
private

Definition at line 3156 of file metaact.cxx.

References mnDataSize, and mpData.

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

void MetaCommentAction::Move ( long  nHorzMove,
long  nVertMove 
)
overridevirtual
void MetaCommentAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual
void MetaCommentAction::Scale ( double  fScaleX,
double  fScaleY 
)
overridevirtual
void MetaCommentAction::Write ( SvStream rOStm,
ImplMetaWriteData pData 
)
overridevirtual

Member Data Documentation

OString MetaCommentAction::maComment
private

Definition at line 1628 of file metaact.hxx.

Referenced by Move(), Read(), Scale(), and Write().

sal_uInt32 MetaCommentAction::mnDataSize
private

Definition at line 1630 of file metaact.hxx.

Referenced by ImplInitDynamicData(), MetaCommentAction(), Move(), Read(), Scale(), and Write().

sal_Int32 MetaCommentAction::mnValue
private

Definition at line 1629 of file metaact.hxx.

Referenced by Read(), and Write().

std::unique_ptr<sal_uInt8[]> MetaCommentAction::mpData
private

Definition at line 1632 of file metaact.hxx.

Referenced by ImplInitDynamicData(), MetaCommentAction(), Move(), Read(), Scale(), and Write().


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