kspread
KSpread::EmbeddedPictureObject Class Reference
#include <kspread_object.h>
Inheritance diagram for KSpread::EmbeddedPictureObject:

Detailed Description
Holds a picture object.Definition at line 314 of file kspread_object.h.
Public Member Functions | |
| EmbeddedPictureObject (Sheet *_sheet, const KoRect &_geometry, KoPictureCollection *_imageCollection) | |
| EmbeddedPictureObject (Sheet *_sheet, const KoRect &_geometry, KoPictureCollection *_imageCollection, const KoPictureKey &key) | |
| EmbeddedPictureObject (Sheet *_sheet, KoPictureCollection *_imageCollection) | |
| EmbeddedPictureObject & | operator= (const EmbeddedPictureObject &) |
| virtual ObjType | getType () const |
| virtual QString | getTypeString () const |
| bool | load (const QDomElement &element) |
| virtual void | loadOasis (const QDomElement &element, KoOasisLoadingContext &context) |
| QDomElement | save (QDomDocument &doc) |
| virtual void | draw (QPainter *_painter) |
| virtual QPixmap | toPixmap (double xZoom, double yZoom) |
| QString | getFileName () const |
| KoPictureKey | getKey () const |
| QSize | originalSize () const |
| void | setPicture (const KoPictureKey &key) |
| void | reload (void) |
| QPixmap | getOriginalPixmap () |
| PictureMirrorType | getPictureMirrorType () const |
| int | getPictureDepth () const |
| bool | getPictureSwapRGB () const |
| bool | getPictureGrayscal () const |
| int | getPictureBright () const |
| ImageEffect | getImageEffect () const |
| QVariant | getIEParam1 () const |
| QVariant | getIEParam2 () const |
| QVariant | getIEParam3 () const |
| void | setImageEffect (ImageEffect eff) |
| void | setIEParams (QVariant p1, QVariant p2, QVariant p3) |
| void | setPictureMirrorType (const PictureMirrorType &_mirrorType) |
| void | setPictureDepth (int _depth) |
| void | setPictureSwapRGB (bool _swapRGB) |
| void | setPictureGrayscal (bool _grayscal) |
| void | setPictureBright (int _bright) |
| KoPicture | picture () const |
| void | loadPicture (const QString &fileName) |
| virtual void | flip (bool horizontal) |
Protected Member Functions | |
| virtual const char * | getOasisElementName () const |
| virtual bool | saveOasisObjectAttributes (KSpreadOasisSaveContext &sc) const |
| QPixmap | changePictureSettings (QPixmap _tmpPixmap) |
| virtual void | saveOasisPictureElement (KoGenStyle &styleobjectauto) const |
| void | loadOasisPictureEffect (KoOasisLoadingContext &context) |
| virtual void | fillStyle (KoGenStyle &styleObjectAuto, KoGenStyles &mainStyles) const |
| void | drawShadow (QPainter *_painter, KoZoomHandler *_zoomHandler) |
| QPixmap | generatePixmap (KoZoomHandler *_zoomHandler) |
| QString | convertValueToPercent (int val) const |
Protected Attributes | |
| KoPictureCollection * | imageCollection |
| KoPicture | image |
| PictureMirrorType | mirrorType |
| PictureMirrorType | m_cachedMirrorType |
| int | depth |
| int | m_cachedDepth |
| bool | swapRGB |
| bool | m_cachedSwapRGB |
| bool | grayscal |
| bool | m_cachedGrayscal |
| int | bright |
| int | m_cachedBright |
| ImageEffect | m_effect |
| ImageEffect | m_cachedEffect |
| QVariant | m_ie_par1 |
| QVariant | m_cachedPar1 |
| QVariant | m_ie_par2 |
| QVariant | m_cachedPar2 |
| QVariant | m_ie_par3 |
| QVariant | m_cachedPar3 |
| QPixmap | m_cachedPixmap |
| QRect | m_cachedRect |
Member Function Documentation
| QPixmap EmbeddedPictureObject::toPixmap | ( | double | xZoom, | |
| double | yZoom | |||
| ) | [virtual] |
See EmbeddedObject::toPixmap(double,double).
Reimplemented from KSpread::EmbeddedObject.
Definition at line 1200 of file kspread_object.cc.
| QString KSpread::EmbeddedPictureObject::getFileName | ( | ) | const [inline] |
Only used as a default value in the filedialog, in changePicture.
- Warning:
- Do not use for anything else
Definition at line 340 of file kspread_object.h.
| const char * EmbeddedPictureObject::getOasisElementName | ( | ) | const [protected, virtual] |
Get the element name for saving the object.
Implements KSpread::EmbeddedObject.
Definition at line 883 of file kspread_object.cc.
The documentation for this class was generated from the following files:

