LibreOffice Module vcl (master) 1
|
#include "emfwr.hxx"
#include "wmfwr.hxx"
#include <vcl/wmf.hxx>
#include <vcl/gdimetafiletools.hxx>
#include <vcl/graph.hxx>
Go to the source code of this file.
Functions | |
bool | ReadWindowMetafile (SvStream &rStream, GDIMetaFile &rMTF) |
bool | ConvertGDIMetaFileToWMF (const GDIMetaFile &rMTF, SvStream &rTargetStream, FilterConfigItem const *pConfigItem, bool bPlaceable) |
bool | ConvertGraphicToWMF (const Graphic &rGraphic, SvStream &rTargetStream, FilterConfigItem const *pConfigItem, bool bPlaceable) |
bool | ConvertGDIMetaFileToEMF (const GDIMetaFile &rMTF, SvStream &rTargetStream) |
bool | WriteWindowMetafileBits (SvStream &rStream, const GDIMetaFile &rMTF) |
bool ConvertGDIMetaFileToEMF | ( | const GDIMetaFile & | rMTF, |
SvStream & | rTargetStream | ||
) |
Definition at line 111 of file wmf.cxx.
References clipMetafileContentAgainstOwnRegions(), usesClipActions(), and EMFWriter::WriteEMF().
Referenced by GraphicFilter::ExportGraphic().
bool ConvertGDIMetaFileToWMF | ( | const GDIMetaFile & | rMTF, |
SvStream & | rTargetStream, | ||
FilterConfigItem const * | pConfigItem, | ||
bool | bPlaceable | ||
) |
Definition at line 67 of file wmf.cxx.
References clipMetafileContentAgainstOwnRegions(), usesClipActions(), and WMFWriter::WriteWMF().
Referenced by ConvertGraphicToWMF(), and TransferableHelper::getTransferData2().
bool ConvertGraphicToWMF | ( | const Graphic & | rGraphic, |
SvStream & | rTargetStream, | ||
FilterConfigItem const * | pConfigItem, | ||
bool | bPlaceable | ||
) |
Definition at line 85 of file wmf.cxx.
References ConvertGDIMetaFileToWMF(), Emf, GfxLink::GetData(), GfxLink::getDataContainer(), GfxLink::GetDataSize(), Graphic::GetGDIMetaFile(), Graphic::GetGfxLink(), GfxLink::GetType(), GfxLink::IsEMF(), NativeWmf, and SvStream::WriteBytes().
Referenced by GraphicFilter::ExportGraphic().
bool ReadWindowMetafile | ( | SvStream & | rStream, |
GDIMetaFile & | rMTF | ||
) |
Definition at line 28 of file wmf.cxx.
References Emf, Graphic::GetGDIMetaFile(), SvStream::good(), SvStream::Seek(), SvStream::Tell(), and SvStream::TellEnd().
bool WriteWindowMetafileBits | ( | SvStream & | rStream, |
const GDIMetaFile & | rMTF | ||
) |
Definition at line 127 of file wmf.cxx.
References WMFWriter::WriteWMF().