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

#include <UnoGraphic.hxx>

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

Public Member Functions

 Graphic ()
 
virtual ~Graphic () noexcept override
 
void init (const ::Graphic &rGraphic)
 
const ::GraphicGetGraphic () const
 
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 unographic::GraphicDescriptor
 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
 

Private 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 ::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 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
 

Private Attributes

::Graphic maGraphic
 

Additional Inherited Members

- Static Public Member Functions inherited from unographic::GraphicDescriptor
static rtl::Reference<::comphelper::PropertySetInfocreatePropertySetInfo ()
 
- Protected Member Functions inherited from unographic::GraphicDescriptor
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)
 
- Protected Attributes inherited from cppu::OWeakObject
oslInterlockedCount m_refCount
 

Detailed Description

Definition at line 33 of file UnoGraphic.hxx.

Constructor & Destructor Documentation

◆ Graphic()

Graphic::Graphic ( )

Definition at line 39 of file UnoGraphic.cxx.

Referenced by applyBrightnessContrast(), applyDuotone(), and colorChange().

◆ ~Graphic()

Graphic::~Graphic ( )
overridevirtualnoexcept

Definition at line 43 of file UnoGraphic.cxx.

Member Function Documentation

◆ acquire()

void SAL_CALL Graphic::acquire ( )
overridevirtualnoexcept

Reimplemented from unographic::GraphicDescriptor.

Definition at line 68 of file UnoGraphic.cxx.

References unographic::GraphicDescriptor::acquire().

◆ applyBrightnessContrast()

uno::Reference< graphic::XGraphic > SAL_CALL Graphic::applyBrightnessContrast ( const css::uno::Reference< css::graphic::XGraphic > &  rxGraphic,
sal_Int32  nBrightness,
sal_Int32  nContrast,
sal_Bool  mso 
)
overrideprivatevirtual

◆ applyDuotone()

uno::Reference< graphic::XGraphic > SAL_CALL Graphic::applyDuotone ( const css::uno::Reference< css::graphic::XGraphic > &  rGraphic,
sal_Int32  nColorOne,
sal_Int32  nColorTwo 
)
overrideprivatevirtual

◆ colorChange()

uno::Reference< graphic::XGraphic > SAL_CALL Graphic::colorChange ( const css::uno::Reference< css::graphic::XGraphic > &  rGraphic,
sal_Int32  nColorFrom,
sal_Int8  nTolerance,
sal_Int32  nColorTo,
sal_Int8  nAlphaTo 
)
overrideprivatevirtual

◆ getDIB()

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

Definition at line 143 of file UnoGraphic.cxx.

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

◆ GetGraphic()

const ::Graphic & unographic::Graphic::GetGraphic ( ) const
inline

Definition at line 45 of file UnoGraphic.hxx.

References maGraphic.

Referenced by Graphic::Graphic().

◆ getImplementationId()

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

Reimplemented from unographic::GraphicDescriptor.

Definition at line 111 of file UnoGraphic.cxx.

◆ getImplementationName()

OUString SAL_CALL Graphic::getImplementationName ( )
overrideprivatevirtual

Reimplemented from unographic::GraphicDescriptor.

Definition at line 79 of file UnoGraphic.cxx.

◆ getMaskDIB()

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

Definition at line 160 of file UnoGraphic.cxx.

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

◆ getSize()

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

Definition at line 131 of file UnoGraphic.cxx.

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

◆ getSupportedServiceNames()

uno::Sequence< OUString > SAL_CALL Graphic::getSupportedServiceNames ( )
overrideprivatevirtual

◆ getType()

sal_Int8 SAL_CALL Graphic::getType ( )
overrideprivate

Definition at line 116 of file UnoGraphic.cxx.

References Bitmap, and maGraphic.

◆ getTypes()

uno::Sequence< uno::Type > SAL_CALL Graphic::getTypes ( )
overrideprivatevirtual

◆ init()

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

Definition at line 47 of file UnoGraphic.cxx.

References unographic::GraphicDescriptor::init(), and maGraphic.

◆ queryInterface()

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

Reimplemented from unographic::GraphicDescriptor.

Definition at line 53 of file UnoGraphic.cxx.

References unographic::GraphicDescriptor::queryInterface().

◆ release()

void SAL_CALL Graphic::release ( )
overridevirtualnoexcept

Reimplemented from unographic::GraphicDescriptor.

Definition at line 74 of file UnoGraphic.cxx.

References unographic::GraphicDescriptor::release().

◆ supportsService()

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

Reimplemented from unographic::GraphicDescriptor.

Definition at line 84 of file UnoGraphic.cxx.

References cppu::supportsService().

Member Data Documentation

◆ maGraphic

::Graphic unographic::Graphic::maGraphic
private

Definition at line 82 of file UnoGraphic.hxx.

Referenced by getDIB(), GetGraphic(), getMaskDIB(), getSize(), getType(), and init().


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