LibreOffice Module vcl (master) 1
|
#include <metaact.hxx>
Public Member Functions | |
MetaCommentAction () | |
MetaCommentAction (const MetaCommentAction &rAct) | |
MetaCommentAction (OString aComment, sal_Int32 nValue=0, const sal_uInt8 *pData=nullptr, sal_uInt32 nDataSize=0) | |
virtual void | Move (tools::Long nHorzMove, tools::Long nVertMove) override |
virtual void | Scale (double fScaleX, double fScaleY) override |
virtual void | Execute (OutputDevice *pOut) override |
virtual rtl::Reference< MetaAction > | Clone () const override |
const OString & | GetComment () const |
sal_Int32 | GetValue () const |
sal_uInt32 | GetDataSize () const |
const sal_uInt8 * | GetData () const |
void | SetComment (const OString &rComment) |
void | SetValue (const sal_Int32 nValue) |
void | SetDataSize (const sal_Int32 nDataSize) |
void | SetData (const sal_uInt8 *pData, const sal_uInt32 nDataSize) |
Public Member Functions inherited from MetaAction | |
MetaAction () | |
MetaAction (MetaActionType nType) | |
MetaAction (MetaAction const &) | |
virtual void | Execute (OutputDevice *pOut) |
oslInterlockedCount | GetRefCount () const |
virtual rtl::Reference< MetaAction > | Clone () 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 | |
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 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 |
Definition at line 1683 of file metaact.hxx.
|
overrideprivatevirtual |
Definition at line 2005 of file metaact.cxx.
|
explicit |
Definition at line 1982 of file metaact.cxx.
References COMMENT, ImplInitDynamicData(), mnValue, and UL.
Referenced by Clone().
|
explicit |
Definition at line 1989 of file metaact.cxx.
References COMMENT, ImplInitDynamicData(), maComment, mnDataSize, mnValue, and mpData.
|
explicit |
Definition at line 1997 of file metaact.cxx.
References COMMENT, ImplInitDynamicData(), maComment, mnValue, nValue, and pData.
|
overridevirtual |
Reimplemented from MetaAction.
Definition at line 2032 of file metaact.cxx.
References MetaCommentAction().
|
overridevirtual |
|
inline |
Definition at line 1709 of file metaact.hxx.
References maComment.
Referenced by clipMetafileContentAgainstOwnRegions(), SvmWriter::CommentHandler(), EMFWriter::ImplWrite(), vcl::PDFWriterImpl::playMetafile(), SvmReader::Read(), GDIMetaFile::Rotate(), and MetafileXmlDump::writeXml().
|
inline |
Definition at line 1712 of file metaact.hxx.
Referenced by clipMetafileContentAgainstOwnRegions(), SvmWriter::CommentHandler(), EMFWriter::ImplWrite(), vcl::PDFWriterImpl::playMetafile(), GDIMetaFile::Rotate(), and MetafileXmlDump::writeXml().
|
inline |
Definition at line 1711 of file metaact.hxx.
Referenced by clipMetafileContentAgainstOwnRegions(), SvmWriter::CommentHandler(), EMFWriter::ImplWrite(), vcl::PDFWriterImpl::playMetafile(), GDIMetaFile::Rotate(), and MetafileXmlDump::writeXml().
|
inline |
Definition at line 1710 of file metaact.hxx.
References mnValue.
Referenced by SvmWriter::CommentHandler(), and MetafileXmlDump::writeXml().
|
private |
Definition at line 2009 of file metaact.cxx.
References mnDataSize, mpData, and pData.
Referenced by MetaCommentAction(), Move(), and Scale().
|
overridevirtual |
Reimplemented from MetaAction.
Definition at line 2037 of file metaact.cxx.
References SvMemoryStream::GetData(), SvtGraphicStroke::getEndArrow(), SvtGraphicStroke::getPath(), SvtGraphicFill::getPath(), SvtGraphicStroke::getStartArrow(), ImplInitDynamicData(), maComment, mnDataSize, tools::Polygon::Move(), tools::PolyPolygon::Move(), mpData, ReadSvtGraphicFill(), ReadSvtGraphicStroke(), SvtGraphicStroke::setEndArrow(), SvtGraphicStroke::setPath(), SvtGraphicFill::setPath(), SvtGraphicStroke::setStartArrow(), SvStream::Tell(), WriteSvtGraphicFill(), and WriteSvtGraphicStroke().
|
overridevirtual |
Reimplemented from MetaAction.
Definition at line 2093 of file metaact.cxx.
References SvMemoryStream::GetData(), SvtGraphicFill::getPath(), ImplInitDynamicData(), maComment, mnDataSize, mpData, SvStream::ReadFloat(), SvStream::ReadInt32(), ReadSvtGraphicFill(), ReadSvtGraphicStroke(), tools::PolyPolygon::Scale(), SvtGraphicStroke::scale(), SvtGraphicFill::setPath(), SvStream::Tell(), SvStream::WriteFloat(), SvStream::WriteInt32(), WriteSvtGraphicFill(), and WriteSvtGraphicStroke().
|
inline |
Definition at line 1713 of file metaact.hxx.
References maComment.
|
inline |
Definition at line 1716 of file metaact.hxx.
References pData.
|
inline |
Definition at line 1715 of file metaact.hxx.
|
inline |
Definition at line 1714 of file metaact.hxx.
|
private |
Definition at line 1687 of file metaact.hxx.
|
private |
Definition at line 1689 of file metaact.hxx.
Referenced by ImplInitDynamicData(), MetaCommentAction(), Move(), and Scale().
|
private |
Definition at line 1688 of file metaact.hxx.
|
private |
Definition at line 1691 of file metaact.hxx.
Referenced by ImplInitDynamicData(), MetaCommentAction(), Move(), and Scale().