34 , mbPrefMapModeValid(false)
35 , mbPrefSizeValid(false)
42 , maDataContainer(
std::move(aDataConainer))
44 , mbPrefMapModeValid(false)
45 , mbPrefSizeValid(false)
70 if (pSource == pDestination)
76 if (pSource && pDestination && (nSourceSize == nDestSize))
77 return memcmp(pSource, pDestination, nSourceSize) == 0;
131 if (!aShortName.isEmpty())
163 if ((pGraphicAry[0x28] == 0x20) && (pGraphicAry[0x29] == 0x45)
164 && (pGraphicAry[0x2a] == 0x4d) && (pGraphicAry[0x2b] == 0x46))
Container for the binary data, whose responsibility is to manage the make it as simple as possible to...
size_t calculateHash() const
const sal_uInt8 * getData() const
bool operator==(const GfxLink &) const
const sal_uInt8 * GetData() const
void SetPrefMapMode(const MapMode &rPrefMapMode)
sal_uInt32 GetDataSize() const
void SetPrefSize(const Size &rPrefSize)
GfxLinkType GetType() const
BinaryDataContainer maDataContainer
bool LoadNative(Graphic &rGraphic) const
bool ExportNative(SvStream &rOStream) const
Class to import and export graphic formats.
static GraphicFilter & GetGraphicFilter()
sal_uInt16 GetImportFormatNumberForShortName(std::u16string_view rShortName)
ErrCode ImportGraphic(Graphic &rGraphic, const INetURLObject &rPath, sal_uInt16 nFormat=GRFILTER_FORMAT_DONTKNOW, sal_uInt16 *pDeterminedFormat=nullptr, GraphicFilterImportFlags nImportFlags=GraphicFilterImportFlags::NONE)
std::size_t WriteBytes(const void *pData, std::size_t nSize)
GfxLinkType
GfxLink graphic types that are supported by GfxLink.
constexpr OUStringLiteral SVG_SHORTNAME
constexpr OUStringLiteral MET_SHORTNAME
constexpr OUStringLiteral PCT_SHORTNAME
constexpr OUStringLiteral GIF_SHORTNAME
constexpr OUStringLiteral WEBP_SHORTNAME
constexpr OUStringLiteral TIF_SHORTNAME
constexpr OUStringLiteral WMF_SHORTNAME
constexpr OUStringLiteral BMP_SHORTNAME
constexpr OUStringLiteral JPG_SHORTNAME
constexpr OUStringLiteral PDF_SHORTNAME
constexpr OUStringLiteral PNG_SHORTNAME
std::unique_ptr< sal_Int32[]> pData
std::enable_if_t<(sizeof(N)==4)> hash_combine(N &nSeed, T const *pValue, size_t nCount)