LibreOffice Module sc (master) 1
|
Provides export of bitmap data to an IMGDATA record. More...
#include <xeescher.hxx>
Public Member Functions | |
XclExpImgData (Graphic aGraphic, sal_uInt16 nRecId) | |
virtual void | Save (XclExpStream &rStrm) override |
Writes the BITMAP record. More... | |
virtual void | SaveXml (XclExpXmlStream &rStrm) override |
Public Member Functions inherited from XclExpRecordBase | |
XclExpRecordBase () | |
XclExpRecordBase (XclExpRecordBase const &) | |
XclExpRecordBase (XclExpRecordBase &&) | |
XclExpRecordBase & | operator= (XclExpRecordBase const &) |
XclExpRecordBase & | operator= (XclExpRecordBase &&) noexcept |
virtual | ~XclExpRecordBase () |
virtual void | Save (XclExpStream &rStrm) |
Overwrite this method to do any operation while saving the record. More... | |
virtual void | SaveXml (XclExpXmlStream &rStrm) |
Public Member Functions inherited from salhelper::SimpleReferenceObject | |
SimpleReferenceObject () | |
void | acquire () |
void | release () |
Private Attributes | |
Graphic | maGraphic |
sal_uInt16 | mnRecId |
The VCL graphic. More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from salhelper::SimpleReferenceObject | |
static void * | operator new (std::size_t nSize) |
static void * | operator new (std::size_t nSize, std::nothrow_t const &rNothrow) |
static void | operator delete (void *pPtr) |
static void | operator delete (void *pPtr, std::nothrow_t const &rNothrow) |
Protected Member Functions inherited from salhelper::SimpleReferenceObject | |
virtual | ~SimpleReferenceObject () COVERITY_NOEXCEPT_FALSE |
Protected Attributes inherited from salhelper::SimpleReferenceObject | |
oslInterlockedCount | m_nCount |
Provides export of bitmap data to an IMGDATA record.
Definition at line 149 of file xeescher.hxx.
|
explicit |
Definition at line 387 of file xeescher.cxx.
References maGraphic.
|
overridevirtual |
Writes the BITMAP record.
Reimplemented from XclExpRecordBase.
Definition at line 393 of file xeescher.cxx.
References Bitmap::Convert(), EXC_IMGDATA_BMP, EXC_IMGDATA_WIN, BitmapEx::GetBitmap(), Graphic::GetBitmapEx(), Bitmap::getPixelFormat(), maGraphic, mnRecId, vcl::N24_BPP, and rStrm.
Referenced by XclExpPageSettings::Save().
|
overridevirtual |
Reimplemented from XclExpRecordBase.
Definition at line 436 of file xeescher.cxx.
|
private |
Definition at line 159 of file xeescher.hxx.
|
private |