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

#include <UnoGraphic.hxx>

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

Public Member Functions

 Graphic ()
 
virtual ~Graphic () override throw ()
 
void init (const ::Graphic &rGraphic) throw ()
 
- Public Member Functions inherited from unographic::GraphicDescriptor
 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
 
- Public Member Functions inherited from unographic::GraphicTransformer
 GraphicTransformer ()
 
virtual ~GraphicTransformer () override
 
virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL colorChange (const css::uno::Reference< css::graphic::XGraphic > &rGraphic, sal_Int32 nColorFrom, sal_Int8 nTolerance, sal_Int32 nColorTo, sal_Int8 nAlphaTo) override
 
virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL applyDuotone (const css::uno::Reference< css::graphic::XGraphic > &rGraphic, sal_Int32 nColorOne, sal_Int32 nColorTwo) override
 
virtual css::uno::Reference< css::graphic::XGraphic > SAL_CALL applyBrightnessContrast (const css::uno::Reference< css::graphic::XGraphic > &rxGraphic, sal_Int32 nBrightness, sal_Int32 nContrast, sal_Bool mso) override
 
- Public Member Functions inherited from cppu::WeakAggImplHelper1< class >
virtual css::uno::Any SAL_CALL queryInterface (css::uno::Type const &rType) SAL_OVERRIDE
 
virtual css::uno::Any SAL_CALL queryAggregation (css::uno::Type const &rType) SAL_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 ::sal_Int8 SAL_CALL getType () override
 
virtual css::awt::Size SAL_CALL getSize () override
 
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getDIB () override
 
virtual css::uno::Sequence< ::sal_Int8 > SAL_CALL getMaskDIB () override
 
virtual sal_Int64 SAL_CALL getSomething (const css::uno::Sequence< sal_Int8 > &rId) override
 
- Protected Member Functions inherited from unographic::GraphicDescriptor
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)
 

Private Attributes

::Graphic maGraphic
 

Additional Inherited Members

- Static Protected Member Functions inherited from unographic::GraphicDescriptor
static rtl::Reference<::comphelper::PropertySetInfocreatePropertySetInfo ()
 
- Protected Attributes inherited from cppu::OWeakAggObject
css::uno::WeakReferenceHelper xDelegator
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 34 of file UnoGraphic.hxx.

Constructor & Destructor Documentation

Graphic::Graphic ( )

Definition at line 36 of file UnoGraphic.cxx.

Graphic::~Graphic ( )
throw (
)
overridevirtual

Definition at line 41 of file UnoGraphic.cxx.

Member Function Documentation

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

Reimplemented from unographic::GraphicDescriptor.

Definition at line 75 of file UnoGraphic.cxx.

References unographic::GraphicDescriptor::acquire().

uno::Sequence< sal_Int8 > SAL_CALL Graphic::getDIB ( )
overrideprotectedvirtual

Definition at line 150 of file UnoGraphic.cxx.

References SvMemoryStream::GetData(), maGraphic, SvStream::Tell(), and WriteDIB().

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

Reimplemented from unographic::GraphicDescriptor.

Definition at line 118 of file UnoGraphic.cxx.

OUString SAL_CALL Graphic::getImplementationName ( )
overrideprotectedvirtual

Reimplemented from unographic::GraphicDescriptor.

Definition at line 86 of file UnoGraphic.cxx.

uno::Sequence< sal_Int8 > SAL_CALL Graphic::getMaskDIB ( )
overrideprotectedvirtual

Definition at line 167 of file UnoGraphic.cxx.

References SvMemoryStream::GetData(), maGraphic, SvStream::Tell(), and WriteDIB().

awt::Size SAL_CALL Graphic::getSize ( )
overrideprotectedvirtual

Definition at line 138 of file UnoGraphic.cxx.

References Size::Height(), maGraphic, and Size::Width().

sal_Int64 SAL_CALL Graphic::getSomething ( const css::uno::Sequence< sal_Int8 > &  rId)
overrideprotectedvirtual

Definition at line 184 of file UnoGraphic.cxx.

References maGraphic.

uno::Sequence< OUString > SAL_CALL Graphic::getSupportedServiceNames ( )
overrideprotectedvirtual
sal_Int8 SAL_CALL Graphic::getType ( )
overrideprotected

Definition at line 123 of file UnoGraphic.cxx.

References Bitmap, and maGraphic.

uno::Sequence< uno::Type > SAL_CALL Graphic::getTypes ( )
overrideprotectedvirtual
void Graphic::init ( const ::Graphic rGraphic)
throw (
)

Definition at line 45 of file UnoGraphic.cxx.

References unographic::GraphicDescriptor::init().

Referenced by Graphic::GetXGraphic().

uno::Any SAL_CALL Graphic::queryAggregation ( const css::uno::Type &  rType)
overrideprotectedvirtual

Reimplemented from unographic::GraphicDescriptor.

Definition at line 52 of file UnoGraphic.cxx.

References unographic::GraphicDescriptor::queryAggregation().

uno::Any SAL_CALL Graphic::queryInterface ( const css::uno::Type &  rType)
overrideprotectedvirtual
void SAL_CALL Graphic::release ( )
throw (
)
overrideprotectedvirtual

Reimplemented from unographic::GraphicDescriptor.

Definition at line 81 of file UnoGraphic.cxx.

References unographic::GraphicDescriptor::release().

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

Reimplemented from unographic::GraphicDescriptor.

Definition at line 91 of file UnoGraphic.cxx.

References cppu::supportsService().

Member Data Documentation

::Graphic unographic::Graphic::maGraphic
private

Definition at line 77 of file UnoGraphic.hxx.

Referenced by getDIB(), getMaskDIB(), getSize(), getSomething(), and getType().


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