LibreOffice Module vcl (master) 1
|
#include <UnoGraphic.hxx>
Public Member Functions | |
Graphic () | |
virtual | ~Graphic () noexcept override |
void | init (const ::Graphic &rGraphic) |
const ::Graphic & | GetGraphic () 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::PropertySetInfo > | createPropertySetInfo () |
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 |
Definition at line 33 of file UnoGraphic.hxx.
Graphic::Graphic | ( | ) |
Definition at line 39 of file UnoGraphic.cxx.
Referenced by applyBrightnessContrast(), applyDuotone(), and colorChange().
|
overridevirtualnoexcept |
Definition at line 43 of file UnoGraphic.cxx.
|
overridevirtualnoexcept |
Reimplemented from unographic::GraphicDescriptor.
Definition at line 68 of file UnoGraphic.cxx.
References unographic::GraphicDescriptor::acquire().
|
overrideprivatevirtual |
Definition at line 245 of file UnoGraphic.cxx.
References BitmapEx::Adjust(), Graphic::GetBitmapEx(), Graphic::getOriginURL(), Graphic::GetXGraphic(), Graphic(), and Graphic::setOriginURL().
|
overrideprivatevirtual |
Definition at line 225 of file UnoGraphic.cxx.
References ColorTransparency, BitmapFilter::Filter(), BitmapEx::GetAlphaMask(), BitmapEx::GetBitmap(), Graphic::GetBitmapEx(), Graphic::getOriginURL(), Graphic::GetXGraphic(), Graphic(), and Graphic::setOriginURL().
|
overrideprivatevirtual |
Definition at line 178 of file UnoGraphic.cxx.
References Bitmap, BitmapEx::ChangeColorAlpha(), ColorTransparency, Bitmap::CreateAlphaMask(), GdiMetafile, BitmapEx::GetBitmap(), Graphic::GetBitmapEx(), BitmapColor::GetIndex(), Graphic::getOriginURL(), Graphic::GetType(), Graphic::GetXGraphic(), Graphic(), BitmapEx::IsAlpha(), Bitmap::Replace(), BitmapEx::Replace(), and Graphic::setOriginURL().
|
overrideprivatevirtual |
Definition at line 143 of file UnoGraphic.cxx.
References SvMemoryStream::GetData(), maGraphic, SvStream::Tell(), and WriteDIB().
|
inline |
Definition at line 45 of file UnoGraphic.hxx.
References maGraphic.
Referenced by Graphic::Graphic().
|
overrideprivatevirtual |
Reimplemented from unographic::GraphicDescriptor.
Definition at line 111 of file UnoGraphic.cxx.
|
overrideprivatevirtual |
Reimplemented from unographic::GraphicDescriptor.
Definition at line 79 of file UnoGraphic.cxx.
|
overrideprivatevirtual |
Definition at line 160 of file UnoGraphic.cxx.
References SvMemoryStream::GetData(), maGraphic, SvStream::Tell(), and WriteDIB().
|
overrideprivatevirtual |
Definition at line 131 of file UnoGraphic.cxx.
References Size::Height(), maGraphic, and Size::Width().
|
overrideprivatevirtual |
Reimplemented from unographic::GraphicDescriptor.
Definition at line 89 of file UnoGraphic.cxx.
References unographic::GraphicDescriptor::getSupportedServiceNames().
|
overrideprivate |
Definition at line 116 of file UnoGraphic.cxx.
|
overrideprivatevirtual |
Reimplemented from unographic::GraphicDescriptor.
Definition at line 102 of file UnoGraphic.cxx.
References cppu::OTypeCollection::getTypes(), and unographic::GraphicDescriptor::getTypes().
void Graphic::init | ( | const ::Graphic & | rGraphic | ) |
Definition at line 47 of file UnoGraphic.cxx.
References unographic::GraphicDescriptor::init(), and maGraphic.
|
overridevirtual |
Reimplemented from unographic::GraphicDescriptor.
Definition at line 53 of file UnoGraphic.cxx.
References unographic::GraphicDescriptor::queryInterface().
|
overridevirtualnoexcept |
Reimplemented from unographic::GraphicDescriptor.
Definition at line 74 of file UnoGraphic.cxx.
References unographic::GraphicDescriptor::release().
|
overrideprivatevirtual |
Reimplemented from unographic::GraphicDescriptor.
Definition at line 84 of file UnoGraphic.cxx.
References cppu::supportsService().
|
private |
Definition at line 82 of file UnoGraphic.hxx.
Referenced by getDIB(), GetGraphic(), getMaskDIB(), getSize(), getType(), and init().