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

#include <metaact.hxx>

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

Public Member Functions

 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)
 
virtual void Write (SvStream &rOStm, ImplMetaWriteData *pData)
 
virtual void Read (SvStream &rIStm, ImplMetaReadData *pData)
 
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 ()
 

Static Public Member Functions

static rtl::Reference< 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

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

Static Protected Member Functions

static void ReadColor (SvStream &rIStm,::Color &rColor)
 
static void WriteColor (SvStream &rIStm,::Color aColor)
 

Private Attributes

MetaActionType mnType
 

Additional Inherited Members

- Protected Attributes inherited from salhelper::SimpleReferenceObject
oslInterlockedCount m_nCount
 

Detailed Description

Definition at line 65 of file metaact.hxx.

Constructor & Destructor Documentation

MetaAction::~MetaAction ( )
overrideprotectedvirtual

Definition at line 164 of file metaact.cxx.

MetaAction::MetaAction ( )

Definition at line 149 of file metaact.cxx.

References mnType, and NONE.

Referenced by Clone(), and ReadMetaAction().

MetaAction::MetaAction ( MetaActionType  nType)
explicit

Definition at line 154 of file metaact.cxx.

References mnType.

MetaAction::MetaAction ( MetaAction const &  rOther)

Definition at line 159 of file metaact.cxx.

References mnType.

Member Function Documentation

rtl::Reference< MetaAction > MetaAction::Clone ( ) const
virtual
void MetaAction::Execute ( OutputDevice pOut)
virtual
oslInterlockedCount MetaAction::GetRefCount ( ) const
inline

Definition at line 80 of file metaact.hxx.

References salhelper::SimpleReferenceObject::m_nCount.

MetaActionType MetaAction::GetType ( ) const
inline
virtual bool MetaAction::IsTransparent ( ) const
inlinevirtual

#i10613# Extracted from Printer::GetPreparedMetaFile.

Returns true if given action requires special transparency handling

Reimplemented in MetaFloatTransparentAction, MetaTransparentAction, MetaBmpExScaleAction, and MetaBmpExAction.

Definition at line 94 of file metaact.hxx.

Referenced by GDIMetaFile::HasTransparentActions(), and OutputDevice::RemoveTransparenciesFromMetaFile().

void MetaAction::Move ( tools::Long  nHorzMove,
tools::Long  nVertMove 
)
virtual
void MetaAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
virtual
void MetaAction::ReadColor ( SvStream rIStm,
::Color rColor 
)
staticprotected
rtl::Reference< MetaAction > MetaAction::ReadMetaAction ( SvStream rIStm,
ImplMetaReadData pData 
)
static
void MetaAction::Scale ( double  fScaleX,
double  fScaleY 
)
virtual
void MetaAction::Write ( SvStream rOStm,
ImplMetaWriteData pData 
)
virtual

Reimplemented in MetaTextLanguageAction, MetaLayoutModeAction, MetaCommentAction, MetaRefPointAction, MetaEPSAction, MetaFloatTransparentAction, MetaTransparentAction, MetaRasterOpAction, MetaPopAction, MetaPushAction, MetaFontAction, MetaMapModeAction, MetaTextAlignAction, MetaOverlineColorAction, MetaTextLineColorAction, MetaTextFillColorAction, MetaTextColorAction, MetaFillColorAction, MetaLineColorAction, MetaMoveClipRegionAction, MetaISectRegionClipRegionAction, MetaISectRectClipRegionAction, MetaClipRegionAction, MetaHatchAction, MetaGradientExAction, MetaGradientAction, MetaMaskScalePartAction, MetaMaskScaleAction, MetaMaskAction, MetaBmpExScaleAction, MetaBmpExAction, MetaBmpScaleAction, MetaBmpAction, MetaTextLineAction, MetaTextRectAction, MetaStretchTextAction, MetaTextAction, MetaRectAction, MetaLineAction, and MetaPointAction.

Definition at line 185 of file metaact.cxx.

References mnType, and SvStream::WriteUInt16().

Referenced by GDIMetaFile::GetChecksum(), MetaPointAction::Write(), MetaLineAction::Write(), GDIMetaFile::Write(), MetaRectAction::Write(), MetaTextAction::Write(), MetaStretchTextAction::Write(), MetaTextRectAction::Write(), MetaTextLineAction::Write(), MetaBmpAction::Write(), MetaBmpScaleAction::Write(), MetaBmpExAction::Write(), MetaBmpExScaleAction::Write(), MetaMaskAction::Write(), MetaMaskScaleAction::Write(), MetaMaskScalePartAction::Write(), MetaGradientAction::Write(), MetaGradientExAction::Write(), MetaHatchAction::Write(), MetaClipRegionAction::Write(), MetaISectRectClipRegionAction::Write(), MetaISectRegionClipRegionAction::Write(), MetaMoveClipRegionAction::Write(), MetaLineColorAction::Write(), MetaFillColorAction::Write(), MetaTextColorAction::Write(), MetaTextFillColorAction::Write(), MetaTextLineColorAction::Write(), MetaOverlineColorAction::Write(), MetaTextAlignAction::Write(), MetaMapModeAction::Write(), MetaFontAction::Write(), MetaPushAction::Write(), MetaPopAction::Write(), MetaRasterOpAction::Write(), MetaTransparentAction::Write(), MetaFloatTransparentAction::Write(), MetaEPSAction::Write(), MetaRefPointAction::Write(), MetaCommentAction::Write(), MetaLayoutModeAction::Write(), and MetaTextLanguageAction::Write().

void MetaAction::WriteColor ( SvStream rIStm,
::Color  aColor 
)
staticprotected

Member Data Documentation

MetaActionType MetaAction::mnType
private

Definition at line 68 of file metaact.hxx.

Referenced by Write().


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