LibreOffice Module vcl (master) 1
|
#include <UnoGraphicDescriptor.hxx>
Public Member Functions | |
GraphicDescriptor () | |
virtual | ~GraphicDescriptor () noexcept override |
void | init (const ::Graphic &rGraphic) |
void | init (const OUString &rURL) |
void | init (const css::uno::Reference< css::io::XInputStream > &rxIStm, const OUString &rURL) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) override |
virtual void SAL_CALL | acquire () noexcept override |
virtual void SAL_CALL | release () noexcept override |
Public Member Functions inherited from cppu::OWeakObject | |
OWeakObject () | |
OWeakObject (const OWeakObject &) | |
OWeakObject &SAL_CALL | operator= (const OWeakObject &) |
virtual css::uno::Any SAL_CALL | queryInterface (const css::uno::Type &rType) SAL_OVERRIDE |
virtual void SAL_CALL | acquire () SAL_NOEXCEPT SAL_OVERRIDE |
virtual void SAL_CALL | release () SAL_NOEXCEPT SAL_OVERRIDE |
virtual css::uno::Reference< css::uno::XAdapter > SAL_CALL | queryAdapter () SAL_OVERRIDE |
SAL_CALL | operator css::uno::Reference< css::uno::XInterface > () |
Public Member Functions inherited from comphelper::PropertySetHelper | |
PropertySetHelper (rtl::Reference< comphelper::PropertySetInfo > xInfo) noexcept | |
virtual | ~PropertySetHelper () noexcept |
virtual css::uno::Reference< css::beans::XPropertySetInfo > SAL_CALL | getPropertySetInfo () override |
virtual void SAL_CALL | setPropertyValue (const OUString &aPropertyName, const css::uno::Any &aValue) override |
virtual css::uno::Any SAL_CALL | getPropertyValue (const OUString &PropertyName) override |
virtual void SAL_CALL | addPropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertyChangeListener (const OUString &aPropertyName, const css::uno::Reference< css::beans::XPropertyChangeListener > &aListener) override |
virtual void SAL_CALL | addVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | removeVetoableChangeListener (const OUString &PropertyName, const css::uno::Reference< css::beans::XVetoableChangeListener > &aListener) override |
virtual void SAL_CALL | setPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Sequence< css::uno::Any > &aValues) override |
virtual css::uno::Sequence< css::uno::Any > SAL_CALL | getPropertyValues (const css::uno::Sequence< OUString > &aPropertyNames) override |
virtual void SAL_CALL | addPropertiesChangeListener (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | removePropertiesChangeListener (const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual void SAL_CALL | firePropertiesChangeEvent (const css::uno::Sequence< OUString > &aPropertyNames, const css::uno::Reference< css::beans::XPropertiesChangeListener > &xListener) override |
virtual css::beans::PropertyState SAL_CALL | getPropertyState (const OUString &PropertyName) override |
virtual css::uno::Sequence< css::beans::PropertyState > SAL_CALL | getPropertyStates (const css::uno::Sequence< OUString > &aPropertyName) override |
virtual void SAL_CALL | setPropertyToDefault (const OUString &PropertyName) override |
virtual css::uno::Any SAL_CALL | getPropertyDefault (const OUString &aPropertyName) override |
Static Public Member Functions | |
static rtl::Reference<::comphelper::PropertySetInfo > | createPropertySetInfo () |
Protected Member Functions | |
virtual OUString SAL_CALL | getImplementationName () override |
virtual sal_Bool SAL_CALL | supportsService (const OUString &ServiceName) override |
virtual css::uno::Sequence< OUString > SAL_CALL | getSupportedServiceNames () override |
virtual css::uno::Sequence< css::uno::Type > SAL_CALL | getTypes () override |
virtual css::uno::Sequence< sal_Int8 > SAL_CALL | getImplementationId () override |
virtual void | _setPropertyValues (const comphelper::PropertyMapEntry **ppEntries, const css::uno::Any *pValues) override |
virtual void | _getPropertyValues (const comphelper::PropertyMapEntry **ppEntries, css::uno::Any *pValue) override |
Protected Member Functions inherited from cppu::OWeakObject | |
virtual | ~OWeakObject () COVERITY_NOEXCEPT_FALSE |
void | disposeWeakConnectionPoint () |
Protected Member Functions inherited from comphelper::PropertySetHelper | |
virtual void | _setPropertyValues (const comphelper::PropertyMapEntry **ppEntries, const css::uno::Any *pValues)=0 |
virtual void | _getPropertyValues (const comphelper::PropertyMapEntry **ppEntries, css::uno::Any *pValue)=0 |
virtual void | _getPropertyStates (const comphelper::PropertyMapEntry **ppEntries, css::beans::PropertyState *pStates) |
virtual void | _setPropertyToDefault (const comphelper::PropertyMapEntry *pEntry) |
virtual css::uno::Any | _getPropertyDefault (const comphelper::PropertyMapEntry *pEntry) |
Private Member Functions | |
GraphicDescriptor (const GraphicDescriptor &rDescriptor)=delete | |
GraphicDescriptor & | operator= (const GraphicDescriptor &)=delete |
void | implCreate (SvStream &rIStm, const OUString *pPath) |
Private Attributes | |
const ::Graphic * | mpGraphic |
GraphicType | meType |
OUString | maMimeType |
Size | maSizePixel |
Size | maSize100thMM |
sal_uInt16 | mnBitsPerPixel |
bool | mbTransparent |
Additional Inherited Members | |
Protected Attributes inherited from cppu::OWeakObject | |
oslInterlockedCount | m_refCount |
Definition at line 64 of file UnoGraphicDescriptor.hxx.
GraphicDescriptor::GraphicDescriptor | ( | ) |
Definition at line 59 of file UnoGraphicDescriptor.cxx.
|
overridevirtualnoexcept |
Definition at line 68 of file UnoGraphicDescriptor.cxx.
|
privatedelete |
|
overrideprotectedvirtual |
Implements comphelper::PropertySetHelper.
Definition at line 256 of file UnoGraphicDescriptor.cxx.
References aMimeType, Bitmap, eType, GdiMetafile, GfxLink::GetType(), Size::Height(), GfxLink::IsEMF(), OutputDevice::LogicToLogic(), maMimeType, maSize100thMM, maSizePixel, mbTransparent, meType, MIMETYPE_BMP, MIMETYPE_EMF, MIMETYPE_GIF, MIMETYPE_JPG, MIMETYPE_MET, MIMETYPE_PCT, MIMETYPE_PDF, MIMETYPE_PNG, MIMETYPE_SVG, MIMETYPE_TIF, MIMETYPE_VCLGRAPHIC, MIMETYPE_WEBP, MIMETYPE_WMF, mnBitsPerPixel, mpGraphic, NativeBmp, NativeGif, NativeJpg, NativeMet, NativePct, NativePdf, NativePng, NativeSvg, NativeTif, NativeWebp, NativeWmf, NONE, vcl::pixelFormatBitCount(), pValues, and Size::Width().
|
overrideprotectedvirtual |
Implements comphelper::PropertySetHelper.
Definition at line 250 of file UnoGraphicDescriptor.cxx.
|
overridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Reimplemented in unographic::Graphic.
Definition at line 181 of file UnoGraphicDescriptor.cxx.
Referenced by unographic::Graphic::acquire().
|
static |
Definition at line 230 of file UnoGraphicDescriptor.cxx.
References aEntries, and cppu::UnoType< typename T >::get().
|
overrideprotectedvirtual |
Reimplemented in unographic::Graphic.
Definition at line 224 of file UnoGraphicDescriptor.cxx.
|
overrideprotectedvirtual |
Reimplemented in unographic::Graphic.
Definition at line 195 of file UnoGraphicDescriptor.cxx.
|
overrideprotectedvirtual |
Reimplemented in unographic::Graphic.
Definition at line 206 of file UnoGraphicDescriptor.cxx.
Referenced by unographic::Graphic::getSupportedServiceNames().
|
overrideprotectedvirtual |
Reimplemented in unographic::Graphic.
Definition at line 212 of file UnoGraphicDescriptor.cxx.
References aTypes, and cppu::UnoType< typename T >::get().
Referenced by unographic::Graphic::getTypes().
|
private |
Definition at line 94 of file UnoGraphicDescriptor.cxx.
References aMimeType, aURL, Bitmap, BMP, GraphicDescriptor::Detect(), DXF, EMF, EMZ, EPS, GdiMetafile, GraphicDescriptor::GetBitsPerPixel(), GraphicDescriptor::GetFileFormat(), GraphicDescriptor::GetSize_100TH_MM(), GraphicDescriptor::GetSizePixel(), GIF, JPG, maMimeType, maSize100thMM, maSizePixel, mbTransparent, MET, meType, MIMETYPE_BMP, MIMETYPE_DXF, MIMETYPE_EMF, MIMETYPE_EPS, MIMETYPE_GIF, MIMETYPE_JPG, MIMETYPE_MET, MIMETYPE_PBM, MIMETYPE_PCD, MIMETYPE_PCT, MIMETYPE_PCX, MIMETYPE_PGM, MIMETYPE_PNG, MIMETYPE_PPM, MIMETYPE_PSD, MIMETYPE_RAS, MIMETYPE_SVG, MIMETYPE_SVM, MIMETYPE_TGA, MIMETYPE_TIF, MIMETYPE_WEBP, MIMETYPE_WMF, MIMETYPE_XBM, MIMETYPE_XPM, mnBitsPerPixel, mpGraphic, NONE, NOT, PBM, PCD, PCT, PCX, PGM, PNG, PPM, PSD, RAS, SVG, SVGZ, SVM, TGA, TIF, WEBP, WMF, WMZ, XBM, and XPM.
Referenced by init().
void GraphicDescriptor::init | ( | const ::Graphic & | rGraphic | ) |
Definition at line 73 of file UnoGraphicDescriptor.cxx.
References mpGraphic.
Referenced by unographic::Graphic::init().
void unographic::GraphicDescriptor::init | ( | const css::uno::Reference< css::io::XInputStream > & | rxIStm, |
const OUString & | rURL | ||
) |
void GraphicDescriptor::init | ( | const OUString & | rURL | ) |
Definition at line 78 of file UnoGraphicDescriptor.cxx.
References utl::UcbStreamHelper::CreateStream(), and implCreate().
|
privatedelete |
|
overridevirtual |
Reimplemented from cppu::OWeakObject.
Reimplemented in unographic::Graphic.
Definition at line 160 of file UnoGraphicDescriptor.cxx.
Referenced by unographic::Graphic::queryInterface().
|
overridevirtualnoexcept |
Reimplemented from cppu::OWeakObject.
Reimplemented in unographic::Graphic.
Definition at line 188 of file UnoGraphicDescriptor.cxx.
Referenced by unographic::Graphic::release().
|
overrideprotectedvirtual |
Reimplemented in unographic::Graphic.
Definition at line 200 of file UnoGraphicDescriptor.cxx.
References ServiceName, and cppu::supportsService().
|
private |
Definition at line 103 of file UnoGraphicDescriptor.hxx.
Referenced by _getPropertyValues(), and implCreate().
|
private |
Definition at line 105 of file UnoGraphicDescriptor.hxx.
Referenced by _getPropertyValues(), and implCreate().
|
private |
Definition at line 104 of file UnoGraphicDescriptor.hxx.
Referenced by _getPropertyValues(), and implCreate().
|
private |
Definition at line 107 of file UnoGraphicDescriptor.hxx.
Referenced by _getPropertyValues(), and implCreate().
|
private |
Definition at line 102 of file UnoGraphicDescriptor.hxx.
Referenced by _getPropertyValues(), and implCreate().
|
private |
Definition at line 106 of file UnoGraphicDescriptor.hxx.
Referenced by _getPropertyValues(), and implCreate().
|
private |
Definition at line 101 of file UnoGraphicDescriptor.hxx.
Referenced by _getPropertyValues(), implCreate(), and init().