LibreOffice Module vcl (master)  1
Public Member Functions | Protected Member Functions | Static 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 () override throw ()
 
void init (const ::Graphic &rGraphic)
 
void init (const OUString &rURL)
 
void init (const css::uno::Reference< css::io::XInputStream > &rxIStm, const OUString &rURL)
 
- Public Member Functions inherited from cppu::OWeakAggObject
 OWeakAggObject ()
 
virtual void SAL_CALL setDelegator (const css::uno::Reference< css::uno::XInterface > &Delegator) SAL_OVERRIDE
 
- Public Member Functions inherited from cppu::OWeakObject
 OWeakObject ()
 
 OWeakObject (const OWeakObject &)
 
OWeakObject &SAL_CALL operator= (const OWeakObject &)
 
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 > const &xInfo)
 
virtual ~PropertySetHelper ()
 
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
 

Protected Member Functions

virtual css::uno::Any SAL_CALL queryAggregation (const css::uno::Type &rType) override
 
virtual css::uno::Any SAL_CALL queryInterface (const css::uno::Type &rType) override
 
virtual void SAL_CALL acquire () override throw ()
 
virtual void SAL_CALL release () override throw ()
 
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::OWeakAggObject
virtual ~OWeakAggObject () SAL_OVERRIDE
 
- Protected Member Functions inherited from cppu::OWeakObject
virtual ~OWeakObject () COVERITY_NOEXCEPT_FALSE
 
void disposeWeakConnectionPoint ()
 
- Protected Member Functions inherited from comphelper::PropertySetHelper
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)
 

Static Protected Member Functions

static rtl::Reference<::comphelper::PropertySetInfocreatePropertySetInfo ()
 

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::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 63 of file UnoGraphicDescriptor.hxx.

Constructor & Destructor Documentation

GraphicDescriptor::GraphicDescriptor ( )

Definition at line 55 of file UnoGraphicDescriptor.cxx.

References meType, and NONE.

GraphicDescriptor::~GraphicDescriptor ( )
throw (
)
overridevirtual

Definition at line 64 of file UnoGraphicDescriptor.cxx.

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

Member Function Documentation

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

Implements comphelper::PropertySetHelper.

Definition at line 250 of file UnoGraphicDescriptor.cxx.

void SAL_CALL GraphicDescriptor::acquire ( )
throw (
)
overrideprotectedvirtual

Reimplemented from cppu::OWeakAggObject.

Reimplemented in unographic::Graphic.

Definition at line 179 of file UnoGraphicDescriptor.cxx.

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

rtl::Reference<::comphelper::PropertySetInfo > GraphicDescriptor::createPropertySetInfo ( )
staticprotected
uno::Sequence< sal_Int8 > SAL_CALL GraphicDescriptor::getImplementationId ( )
overrideprotectedvirtual

Reimplemented in unographic::Graphic.

Definition at line 222 of file UnoGraphicDescriptor.cxx.

OUString SAL_CALL GraphicDescriptor::getImplementationName ( )
overrideprotectedvirtual

Reimplemented in unographic::Graphic.

Definition at line 193 of file UnoGraphicDescriptor.cxx.

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

Reimplemented in unographic::Graphic.

Definition at line 204 of file UnoGraphicDescriptor.cxx.

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

uno::Sequence< uno::Type > SAL_CALL GraphicDescriptor::getTypes ( )
overrideprotectedvirtual

Reimplemented in unographic::Graphic.

Definition at line 210 of file UnoGraphicDescriptor.cxx.

References cppu::UnoType< class >::get().

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

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

Definition at line 69 of file UnoGraphicDescriptor.cxx.

References mpGraphic.

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

void GraphicDescriptor::init ( const OUString &  rURL)

Definition at line 74 of file UnoGraphicDescriptor.cxx.

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

void unographic::GraphicDescriptor::init ( const css::uno::Reference< css::io::XInputStream > &  rxIStm,
const OUString &  rURL 
)
GraphicDescriptor& unographic::GraphicDescriptor::operator= ( const GraphicDescriptor )
privatedelete
uno::Any SAL_CALL GraphicDescriptor::queryAggregation ( const css::uno::Type &  rType)
overrideprotectedvirtual

Reimplemented from cppu::OWeakAggObject.

Reimplemented in unographic::Graphic.

Definition at line 152 of file UnoGraphicDescriptor.cxx.

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

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

Reimplemented from cppu::OWeakAggObject.

Reimplemented in unographic::Graphic.

Definition at line 173 of file UnoGraphicDescriptor.cxx.

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

void SAL_CALL GraphicDescriptor::release ( )
throw (
)
overrideprotectedvirtual

Reimplemented from cppu::OWeakAggObject.

Reimplemented in unographic::Graphic.

Definition at line 186 of file UnoGraphicDescriptor.cxx.

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

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

Reimplemented in unographic::Graphic.

Definition at line 198 of file UnoGraphicDescriptor.cxx.

References cppu::supportsService().

Member Data Documentation

OUString unographic::GraphicDescriptor::maMimeType
private

Definition at line 104 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

Size unographic::GraphicDescriptor::maSize100thMM
private

Definition at line 106 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

Size unographic::GraphicDescriptor::maSizePixel
private

Definition at line 105 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

bool unographic::GraphicDescriptor::mbTransparent
private

Definition at line 108 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

GraphicType unographic::GraphicDescriptor::meType
private

Definition at line 103 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

sal_uInt16 unographic::GraphicDescriptor::mnBitsPerPixel
private

Definition at line 107 of file UnoGraphicDescriptor.hxx.

Referenced by _getPropertyValues(), and implCreate().

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

Definition at line 102 of file UnoGraphicDescriptor.hxx.

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


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