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

#include <metaact.hxx>

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

Public Member Functions

 MetaLineColorAction ()
 
 MetaLineColorAction (MetaLineColorAction const &)=default
 
 MetaLineColorAction (MetaLineColorAction &&)=default
 
MetaLineColorActionoperator= (MetaLineColorAction const &)=delete
 
MetaLineColorActionoperator= (MetaLineColorAction &&)=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
 
 MetaLineColorAction (const Color &rColor, bool bSet)
 
const ColorGetColor () const
 
bool IsSetting () const
 
- Public Member Functions inherited from MetaAction
 MetaAction ()
 
 MetaAction (MetaActionType nType)
 
 MetaAction (MetaAction const &)
 
oslInterlockedCount GetRefCount ()
 
virtual void Move (long nHorzMove, long nVertMove)
 
virtual void Scale (double fScaleX, double fScaleY)
 
MetaActionType GetType () const
 
- Public Member Functions inherited from salhelper::SimpleReferenceObject
 SimpleReferenceObject ()
 
void acquire ()
 
void release ()
 

Protected Member Functions

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

Private Attributes

Color maColor
 
bool mbSet
 

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

Constructor & Destructor Documentation

MetaLineColorAction::MetaLineColorAction ( )

Definition at line 2350 of file metaact.cxx.

Referenced by Clone().

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

Definition at line 2355 of file metaact.cxx.

MetaLineColorAction::MetaLineColorAction ( const Color rColor,
bool  bSet 
)

Definition at line 2358 of file metaact.cxx.

Member Function Documentation

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

Reimplemented from MetaAction.

Definition at line 2372 of file metaact.cxx.

References MetaLineColorAction().

void MetaLineColorAction::Execute ( OutputDevice pOut)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2364 of file metaact.cxx.

References maColor, mbSet, and OutputDevice::SetLineColor().

const Color& MetaLineColorAction::GetColor ( ) const
inline
bool MetaLineColorAction::IsSetting ( ) const
inline
MetaLineColorAction& MetaLineColorAction::operator= ( MetaLineColorAction const &  )
delete
MetaLineColorAction& MetaLineColorAction::operator= ( MetaLineColorAction &&  )
delete
void MetaLineColorAction::Read ( SvStream rIStm,
ImplMetaReadData pData 
)
overridevirtual

Reimplemented from MetaAction.

Definition at line 2385 of file metaact.cxx.

References maColor, mbSet, Color::mValue, SvStream::ReadCharAsBool(), and SvStream::ReadUInt32().

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

Reimplemented from MetaAction.

Definition at line 2377 of file metaact.cxx.

References maColor, mbSet, Color::mValue, MetaAction::Write(), SvStream::WriteBool(), and SvStream::WriteUInt32().

Member Data Documentation

Color MetaLineColorAction::maColor
private

Definition at line 1195 of file metaact.hxx.

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

bool MetaLineColorAction::mbSet
private

Definition at line 1196 of file metaact.hxx.

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


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