LibreOffice Module vcl (master) 1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes | List of all members
unographic::GraphicDescriptor Class Reference

#include <UnoGraphicDescriptor.hxx>

Inheritance diagram for unographic::GraphicDescriptor:
[legend]
Collaboration diagram for unographic::GraphicDescriptor:
[legend]

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::PropertySetInfocreatePropertySetInfo ()
 

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
 
GraphicDescriptoroperator= (const GraphicDescriptor &)=delete
 
void implCreate (SvStream &rIStm, const OUString *pPath)
 

Private Attributes

const ::GraphicmpGraphic
 
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
 

Detailed Description

Definition at line 64 of file UnoGraphicDescriptor.hxx.

Constructor & Destructor Documentation

◆ GraphicDescriptor() [1/2]

GraphicDescriptor::GraphicDescriptor ( )

Definition at line 59 of file UnoGraphicDescriptor.cxx.

References meType, and NONE.

◆ ~GraphicDescriptor()

GraphicDescriptor::~GraphicDescriptor ( )
overridevirtualnoexcept

Definition at line 68 of file UnoGraphicDescriptor.cxx.

◆ GraphicDescriptor() [2/2]

unographic::GraphicDescriptor::GraphicDescriptor ( const GraphicDescriptor rDescriptor)
privatedelete

Member Function Documentation

◆ _getPropertyValues()

void GraphicDescriptor::_getPropertyValues ( const comphelper::PropertyMapEntry **  ppEntries,
css::uno::Any *  pValue 
)
overrideprotectedvirtual

◆ _setPropertyValues()

void GraphicDescriptor::_setPropertyValues ( const comphelper::PropertyMapEntry **  ppEntries,
const css::uno::Any *  pValues 
)
overrideprotectedvirtual

Implements comphelper::PropertySetHelper.

Definition at line 250 of file UnoGraphicDescriptor.cxx.

◆ acquire()

void SAL_CALL GraphicDescriptor::acquire ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Reimplemented in unographic::Graphic.

Definition at line 181 of file UnoGraphicDescriptor.cxx.

Referenced by unographic::Graphic::acquire().

◆ createPropertySetInfo()

rtl::Reference<::comphelper::PropertySetInfo > GraphicDescriptor::createPropertySetInfo ( )
static

Definition at line 230 of file UnoGraphicDescriptor.cxx.

References aEntries, and cppu::UnoType< typename T >::get().

◆ getImplementationId()

uno::Sequence< sal_Int8 > SAL_CALL GraphicDescriptor::getImplementationId ( )
overrideprotectedvirtual

Reimplemented in unographic::Graphic.

Definition at line 224 of file UnoGraphicDescriptor.cxx.

◆ getImplementationName()

OUString SAL_CALL GraphicDescriptor::getImplementationName ( )
overrideprotectedvirtual

Reimplemented in unographic::Graphic.

Definition at line 195 of file UnoGraphicDescriptor.cxx.

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL GraphicDescriptor::getSupportedServiceNames ( )
overrideprotectedvirtual

Reimplemented in unographic::Graphic.

Definition at line 206 of file UnoGraphicDescriptor.cxx.

Referenced by unographic::Graphic::getSupportedServiceNames().

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL GraphicDescriptor::getTypes ( )
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().

◆ implCreate()

void GraphicDescriptor::implCreate ( SvStream rIStm,
const OUString *  pPath 
)
private

◆ init() [1/3]

void GraphicDescriptor::init ( const ::Graphic rGraphic)

Definition at line 73 of file UnoGraphicDescriptor.cxx.

References mpGraphic.

Referenced by unographic::Graphic::init().

◆ init() [2/3]

void unographic::GraphicDescriptor::init ( const css::uno::Reference< css::io::XInputStream > &  rxIStm,
const OUString &  rURL 
)

◆ init() [3/3]

void GraphicDescriptor::init ( const OUString &  rURL)

Definition at line 78 of file UnoGraphicDescriptor.cxx.

References utl::UcbStreamHelper::CreateStream(), and implCreate().

◆ operator=()

GraphicDescriptor & unographic::GraphicDescriptor::operator= ( const GraphicDescriptor )
privatedelete

◆ queryInterface()

uno::Any SAL_CALL GraphicDescriptor::queryInterface ( const css::uno::Type &  rType)
overridevirtual

Reimplemented from cppu::OWeakObject.

Reimplemented in unographic::Graphic.

Definition at line 160 of file UnoGraphicDescriptor.cxx.

Referenced by unographic::Graphic::queryInterface().

◆ release()

void SAL_CALL GraphicDescriptor::release ( )
overridevirtualnoexcept

Reimplemented from cppu::OWeakObject.

Reimplemented in unographic::Graphic.

Definition at line 188 of file UnoGraphicDescriptor.cxx.

Referenced by unographic::Graphic::release().

◆ supportsService()

sal_Bool SAL_CALL GraphicDescriptor::supportsService ( const OUString &  ServiceName)
overrideprotectedvirtual

Reimplemented in unographic::Graphic.

Definition at line 200 of file UnoGraphicDescriptor.cxx.

References ServiceName, and cppu::supportsService().

Member Data Documentation

◆ maMimeType

OUString unographic::GraphicDescriptor::maMimeType
private

Definition at line 103 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

◆ maSize100thMM

Size unographic::GraphicDescriptor::maSize100thMM
private

Definition at line 105 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

◆ maSizePixel

Size unographic::GraphicDescriptor::maSizePixel
private

Definition at line 104 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

◆ mbTransparent

bool unographic::GraphicDescriptor::mbTransparent
private

Definition at line 107 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

◆ meType

GraphicType unographic::GraphicDescriptor::meType
private

Definition at line 102 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

◆ mnBitsPerPixel

sal_uInt16 unographic::GraphicDescriptor::mnBitsPerPixel
private

Definition at line 106 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

◆ mpGraphic

const ::Graphic* unographic::GraphicDescriptor::mpGraphic
private

Definition at line 101 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), implCreate(), and init().


The documentation for this class was generated from the following files: