LibreOffice Module svx (master)  1
Public Member Functions | Private Member Functions | List of all members
SgaObjectBmp Class Reference

#include <galobj.hxx>

Inheritance diagram for SgaObjectBmp:
[legend]
Collaboration diagram for SgaObjectBmp:
[legend]

Public Member Functions

 SgaObjectBmp ()
 
 SgaObjectBmp (const INetURLObject &rURL)
 
 SgaObjectBmp (const Graphic &rGraphic, const INetURLObject &rURL)
 
virtual SgaObjKind GetObjKind () const override
 
- Public Member Functions inherited from SgaObject
 SgaObject ()
 
virtual ~SgaObject ()
 
virtual BitmapEx GetThumbBmp () const
 
const GDIMetaFileGetThumbMtf () const
 
const INetURLObjectGetURL () const
 
bool IsValid () const
 
bool IsThumbBitmap () const
 
OUString const & GetTitle () const
 
void SetTitle (const OUString &rTitle)
 
BitmapEx createPreviewBitmapEx (const Size &rSizePixel) const
 

Private Member Functions

void Init (const Graphic &rGraphic, const INetURLObject &rURL)
 
virtual void WriteData (SvStream &rOut, const OUString &rDestDir) const override
 
virtual void ReadData (SvStream &rIn, sal_uInt16 &rReadVersion) override
 
virtual sal_uInt16 GetVersion () const override
 

Additional Inherited Members

- Protected Member Functions inherited from SgaObject
bool CreateThumb (const Graphic &rGraphic)
 
- Protected Attributes inherited from SgaObject
BitmapEx aThumbBmp
 
GDIMetaFile aThumbMtf
 
INetURLObject aURL
 
OUString aTitle
 
bool bIsValid
 
bool bIsThumbBmp
 

Detailed Description

Definition at line 132 of file galobj.hxx.

Constructor & Destructor Documentation

SgaObjectBmp::SgaObjectBmp ( )

Definition at line 244 of file galobj.cxx.

SgaObjectBmp::SgaObjectBmp ( const INetURLObject rURL)

Definition at line 248 of file galobj.cxx.

References GalleryGraphicImport(), IMPORT_NONE, and Init().

SgaObjectBmp::SgaObjectBmp ( const Graphic rGraphic,
const INetURLObject rURL 
)

Definition at line 257 of file galobj.cxx.

References FileExists(), and Init().

Member Function Documentation

virtual SgaObjKind SgaObjectBmp::GetObjKind ( ) const
inlineoverridevirtual

Implements SgaObject.

Reimplemented in SgaObjectINet, and SgaObjectAnim.

Definition at line 149 of file galobj.hxx.

References Bitmap.

virtual sal_uInt16 SgaObjectBmp::GetVersion ( ) const
inlineoverrideprivatevirtual

Implements SgaObject.

Definition at line 141 of file galobj.hxx.

void SgaObjectBmp::Init ( const Graphic rGraphic,
const INetURLObject rURL 
)
private

Definition at line 263 of file galobj.cxx.

References SgaObject::aURL, SgaObject::bIsValid, and SgaObject::CreateThumb().

Referenced by SgaObjectBmp().

void SgaObjectBmp::ReadData ( SvStream rIn,
sal_uInt16 &  rReadVersion 
)
overrideprivatevirtual
void SgaObjectBmp::WriteData ( SvStream rOut,
const OUString &  rDestDir 
) const
overrideprivatevirtual

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