35 const sal_uInt32 nStreamStart(rStream.
Tell());
36 const sal_uInt32 nStreamEnd(rStream.
TellEnd());
38 if (nStreamStart >= nStreamEnd)
44 const sal_uInt32 nStreamLength(nStreamEnd - nStreamStart);
46 rStream.
Seek(nStreamStart);
53 auto aVectorGraphicDataPtr =
57 const Graphic aGraphic(aVectorGraphicDataPtr);
64 return rStream.
good();
81 bool bRet = aWMFWriter.
WriteWMF(aGdiMetaFile, rTargetStream, pConfigItem, bPlaceable);
97 auto aVectorGraphicData
99 aVectorGraphicData->setEnableEMFPlus(
false);
100 Graphic aGraphic(aVectorGraphicData);
124 return aEMFWriter.
WriteEMF(aGdiMetaFile);
Container for the binary data, whose responsibility is to manage the make it as simple as possible to...
bool WriteEMF(const GDIMetaFile &rMtf)
const sal_uInt8 * GetData() const
const BinaryDataContainer & getDataContainer() const
sal_uInt32 GetDataSize() const
GfxLinkType GetType() const
const GDIMetaFile & GetGDIMetaFile() const
GfxLink GetGfxLink() const
virtual sal_uInt64 TellEnd()
std::size_t WriteBytes(const void *pData, std::size_t nSize)
sal_uInt64 Seek(sal_uInt64 nPos)
bool WriteWMF(const GDIMetaFile &rMTF, SvStream &rTargetStream, FilterConfigItem const *pFilterConfigItem, bool bPlaceable)
bool ReadWindowMetafile(SvStream &rStream, GDIMetaFile &rMTF)
bool WriteWindowMetafileBits(SvStream &rStream, const 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)