20#ifndef INCLUDED_VCL_SOURCE_GRAPHIC_DESCRIPTOR_HXX
21#define INCLUDED_VCL_SOURCE_GRAPHIC_DESCRIPTOR_HXX
24#include <com/sun/star/lang/XServiceInfo.hpp>
39inline constexpr OUStringLiteral
MIMETYPE_PBM =
u"image/x-portable-bitmap";
40inline constexpr OUStringLiteral
MIMETYPE_PGM =
u"image/x-portable-graymap";
41inline constexpr OUStringLiteral
MIMETYPE_PPM =
u"image/x-portable-pixmap";
44inline constexpr OUStringLiteral
MIMETYPE_PSD =
u"image/vnd.adobe.photoshop";
65 public css::lang::XServiceInfo,
66 public css::lang::XTypeProvider,
74 void init( const ::Graphic& rGraphic );
75 void init(
const OUString& rURL );
76 void init(
const css::uno::Reference< css::io::XInputStream >& rxIStm,
const OUString& rURL );
81 virtual css::uno::Any SAL_CALL
queryInterface(
const css::uno::Type & rType )
override;
82 virtual void SAL_CALL
acquire() noexcept override;
83 virtual
void SAL_CALL
release() noexcept override;
constexpr OUStringLiteral MIMETYPE_MET
constexpr OUStringLiteral MIMETYPE_TIF
constexpr OUStringLiteral MIMETYPE_EPS
constexpr OUStringLiteral MIMETYPE_JPG
constexpr OUStringLiteral MIMETYPE_XPM
constexpr OUStringLiteral MIMETYPE_PDF
constexpr OUStringLiteral MIMETYPE_DXF
constexpr OUStringLiteral MIMETYPE_SVG
constexpr OUStringLiteral MIMETYPE_WMF
constexpr OUStringLiteral MIMETYPE_WEBP
constexpr OUStringLiteral MIMETYPE_TGA
constexpr OUStringLiteral MIMETYPE_RAS
constexpr OUStringLiteral MIMETYPE_PNG
constexpr OUStringLiteral MIMETYPE_XBM
constexpr OUStringLiteral MIMETYPE_VCLGRAPHIC
constexpr OUStringLiteral MIMETYPE_PCX
constexpr OUStringLiteral MIMETYPE_PBM
constexpr OUStringLiteral MIMETYPE_PSD
constexpr OUStringLiteral MIMETYPE_PGM
constexpr OUStringLiteral MIMETYPE_EMF
constexpr OUStringLiteral MIMETYPE_PCD
constexpr OUStringLiteral MIMETYPE_PPM
constexpr OUStringLiteral MIMETYPE_BMP
constexpr OUStringLiteral MIMETYPE_GIF
constexpr OUStringLiteral MIMETYPE_PCT
constexpr OUStringLiteral MIMETYPE_SVM
virtual void _setPropertyValues(const comphelper::PropertyMapEntry **ppEntries, const css::uno::Any *pValues) override
static rtl::Reference<::comphelper::PropertySetInfo > createPropertySetInfo()
virtual css::uno::Sequence< sal_Int8 > SAL_CALL getImplementationId() override
void init(const css::uno::Reference< css::io::XInputStream > &rxIStm, const OUString &rURL)
virtual void SAL_CALL release() noexcept override
virtual sal_Bool SAL_CALL supportsService(const OUString &ServiceName) override
const ::Graphic * mpGraphic
virtual css::uno::Sequence< css::uno::Type > SAL_CALL getTypes() override
sal_uInt16 mnBitsPerPixel
virtual ~GraphicDescriptor() noexcept override
void init(const ::Graphic &rGraphic)
virtual void _getPropertyValues(const comphelper::PropertyMapEntry **ppEntries, css::uno::Any *pValue) override
virtual OUString SAL_CALL getImplementationName() override
virtual css::uno::Any SAL_CALL queryInterface(const css::uno::Type &rType) override
virtual void SAL_CALL acquire() noexcept override
void implCreate(SvStream &rIStm, const OUString *pPath)
virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() override
std::pair< OUString const, DataAccessDescriptorProperty > PropertyMapEntry