LibreOffice Module vcl (master)
1
|
#include <metaact.hxx>
Public Member Functions | |
MetaAction () | |
MetaAction (MetaActionType nType) | |
MetaAction (MetaAction const &) | |
virtual void | Execute (OutputDevice *pOut) |
oslInterlockedCount | GetRefCount () const |
virtual rtl::Reference< MetaAction > | Clone () |
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... | |
![]() | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Static Public Member Functions | |
static rtl::Reference< MetaAction > | ReadMetaAction (SvStream &rIStm, ImplMetaReadData *pData) |
![]() | |
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 | |
virtual | ~MetaAction () override |
![]() | |
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 | |
![]() | |
oslInterlockedCount | m_nCount |
Definition at line 65 of file metaact.hxx.
|
overrideprotectedvirtual |
Definition at line 164 of file metaact.cxx.
MetaAction::MetaAction | ( | ) |
Definition at line 149 of file metaact.cxx.
Referenced by Clone(), and ReadMetaAction().
|
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.
|
virtual |
Reimplemented in MetaCommentAction, MetaEPSAction, MetaFloatTransparentAction, MetaTransparentAction, MetaFillColorAction, MetaLineColorAction, MetaHatchAction, MetaGradientAction, MetaMaskScalePartAction, MetaMaskScaleAction, MetaMaskAction, MetaBmpExScaleAction, MetaBmpExAction, MetaBmpScaleAction, MetaBmpAction, MetaTextLineAction, MetaTextRectAction, MetaStretchTextAction, MetaTextAction, MetaRectAction, MetaLineAction, and MetaPointAction.
Definition at line 172 of file metaact.cxx.
References MetaAction().
|
virtual |
Reimplemented in MetaCommentAction, MetaEPSAction, MetaFloatTransparentAction, MetaTransparentAction, MetaFillColorAction, MetaLineColorAction, MetaHatchAction, MetaGradientAction, MetaMaskScalePartAction, MetaMaskScaleAction, MetaMaskAction, MetaBmpExScaleAction, MetaBmpExAction, MetaBmpScaleAction, MetaBmpAction, MetaTextLineAction, MetaTextRectAction, MetaStretchTextAction, MetaTextAction, MetaRectAction, MetaLineAction, and MetaPointAction.
Definition at line 168 of file metaact.cxx.
Referenced by GDIMetaFile::GetBoundRect(), GDIMetaFile::Move(), GDIMetaFile::Play(), and OutputDevice::RemoveTransparenciesFromMetaFile().
|
inline |
Definition at line 80 of file metaact.hxx.
References salhelper::SimpleReferenceObject::m_nCount.
|
inline |
Definition at line 90 of file metaact.hxx.
Referenced by WMFWriter::CountActionsAndBitmaps(), GDIMetaFile::GetBoundRect(), GDIMetaFile::GetChecksum(), GDIMetaFile::GetSizeBytes(), EMFWriter::ImplWrite(), ImpGraphic::isEPS(), vcl::PDFWriterImpl::playMetafile(), vcl::PageSyncData::PlaySyncPageAct(), OutputDevice::RemoveTransparenciesFromMetaFile(), WMFWriter::WriteRecords(), and MetafileXmlDump::writeXml().
|
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().
|
virtual |
Reimplemented in MetaCommentAction, MetaEPSAction, MetaFloatTransparentAction, MetaTransparentAction, MetaHatchAction, MetaGradientAction, MetaMaskScalePartAction, MetaMaskScaleAction, MetaMaskAction, MetaBmpExScaleAction, MetaBmpExAction, MetaBmpScaleAction, MetaBmpAction, MetaTextLineAction, MetaTextRectAction, MetaStretchTextAction, MetaTextAction, MetaRectAction, MetaLineAction, and MetaPointAction.
Definition at line 177 of file metaact.cxx.
Referenced by GDIMetaFile::Move().
|
virtual |
Reimplemented in MetaCommentAction, MetaEPSAction, MetaFloatTransparentAction, MetaTransparentAction, MetaFillColorAction, MetaLineColorAction, MetaHatchAction, MetaGradientAction, MetaMaskScalePartAction, MetaMaskScaleAction, MetaMaskAction, MetaBmpExScaleAction, MetaBmpExAction, MetaBmpScaleAction, MetaBmpAction, MetaTextLineAction, MetaTextRectAction, MetaStretchTextAction, MetaTextAction, MetaRectAction, MetaLineAction, and MetaPointAction.
Definition at line 190 of file metaact.cxx.
Definition at line 274 of file metaact.cxx.
References ColorTransparency, and SvStream::ReadUInt32().
Referenced by MetaMaskScalePartAction::Read(), MetaLineColorAction::Read(), and MetaFillColorAction::Read().
|
static |
Definition at line 195 of file metaact.cxx.
References ARC, BMP, BMPEX, BMPEXSCALE, BMPEXSCALEPART, BMPSCALE, BMPSCALEPART, CHORD, CLIPREGION, COMMENT, ELLIPSE, EPS, FILLCOLOR, FLOATTRANSPARENT, FONT, GRADIENT, GRADIENTEX, HATCH, ISECTRECTCLIPREGION, ISECTREGIONCLIPREGION, LAYOUTMODE, LINE, LINECOLOR, MAPMODE, MASK, MASKSCALE, MASKSCALEPART, MetaAction(), MOVECLIPREGION, NONE, nType, OVERLINECOLOR, PIE, PIXEL, POINT, POLYGON, POLYLINE, POLYPOLYGON, POP, PUSH, RASTEROP, SvStream::ReadUInt16(), RECT, REFPOINT, ROUNDRECT, SAL_INFO, STRETCHTEXT, TEXT, TEXTALIGN, TEXTARRAY, TEXTCOLOR, TEXTFILLCOLOR, TEXTLANGUAGE, TEXTLINE, TEXTLINECOLOR, TEXTRECT, Transparent, and WALLPAPER.
Referenced by ReadGDIMetaFile().
|
virtual |
Reimplemented in MetaCommentAction, MetaEPSAction, MetaFloatTransparentAction, MetaTransparentAction, MetaHatchAction, MetaGradientAction, MetaMaskScalePartAction, MetaMaskScaleAction, MetaMaskAction, MetaBmpExScaleAction, MetaBmpExAction, MetaBmpScaleAction, MetaBmpAction, MetaTextLineAction, MetaTextRectAction, MetaStretchTextAction, MetaTextAction, MetaRectAction, MetaLineAction, and MetaPointAction.
Definition at line 181 of file metaact.cxx.
Referenced by GDIMetaFile::Scale().
|
virtual |
Reimplemented in MetaCommentAction, MetaEPSAction, MetaFloatTransparentAction, MetaTransparentAction, MetaFillColorAction, MetaLineColorAction, MetaHatchAction, 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(), MetaHatchAction::Write(), MetaLineColorAction::Write(), MetaFillColorAction::Write(), MetaTransparentAction::Write(), MetaFloatTransparentAction::Write(), MetaEPSAction::Write(), and MetaCommentAction::Write().
Definition at line 281 of file metaact.cxx.
References SvStream::WriteUInt32().
Referenced by MetaMaskScalePartAction::Write(), MetaLineColorAction::Write(), and MetaFillColorAction::Write().
|
private |
Definition at line 68 of file metaact.hxx.
Referenced by Write().