LibreOffice Module vcl (master)  1
Public Member Functions | Private Member Functions | Private Attributes | List of all members
JPEGReader Class Reference

#include <JpegReader.hxx>

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

Public Member Functions

 JPEGReader (SvStream &rStream, GraphicFilterImportFlags nImportFlags)
 
virtual ~JPEGReader () override
 
ReadState Read (Graphic &rGraphic, GraphicFilterImportFlags nImportFlags, BitmapScopedWriteAccess *ppAccess)
 
bool CreateBitmap (JPEGCreateBitmapParam const &param)
 
BitmapGetBitmap ()
 
- Public Member Functions inherited from GraphicReader
virtual ~GraphicReader ()
 
const OUString & GetUpperFilterName () const
 
void DisablePreviewMode ()
 
void SetPreviewSize (const Size &)
 
Size GetPreviewSize () const
 

Private Member Functions

Graphic CreateIntermediateGraphic (long nLines)
 

Private Attributes

SvStreammrStream
 
std::unique_ptr< BitmapmpBitmap
 
std::unique_ptr< BitmapmpIncompleteAlpha
 
long const mnLastPos
 
long mnLastLines
 
bool const mbSetLogSize
 

Additional Inherited Members

- Protected Member Functions inherited from GraphicReader
 GraphicReader ()
 
- Protected Attributes inherited from GraphicReader
OUString maUpperName
 

Detailed Description

Definition at line 47 of file JpegReader.hxx.

Constructor & Destructor Documentation

JPEGReader::JPEGReader ( SvStream rStream,
GraphicFilterImportFlags  nImportFlags 
)
JPEGReader::~JPEGReader ( )
overridevirtual

Definition at line 187 of file JpegReader.cxx.

Member Function Documentation

bool JPEGReader::CreateBitmap ( JPEGCreateBitmapParam const &  param)
Graphic JPEGReader::CreateIntermediateGraphic ( long  nLines)
private
Bitmap& JPEGReader::GetBitmap ( )
inline

Definition at line 67 of file JpegReader.hxx.

References mpBitmap.

Referenced by ReadJPEG().

ReadState JPEGReader::Read ( Graphic rGraphic,
GraphicFilterImportFlags  nImportFlags,
BitmapScopedWriteAccess ppAccess 
)

Member Data Documentation

bool const JPEGReader::mbSetLogSize
private

Definition at line 55 of file JpegReader.hxx.

Referenced by CreateBitmap().

long JPEGReader::mnLastLines
private

Definition at line 54 of file JpegReader.hxx.

Referenced by CreateIntermediateGraphic().

long const JPEGReader::mnLastPos
private

Definition at line 53 of file JpegReader.hxx.

Referenced by Read().

std::unique_ptr<Bitmap> JPEGReader::mpBitmap
private

Definition at line 50 of file JpegReader.hxx.

Referenced by CreateBitmap(), CreateIntermediateGraphic(), GetBitmap(), JPEGReader(), and Read().

std::unique_ptr<Bitmap> JPEGReader::mpIncompleteAlpha
private

Definition at line 51 of file JpegReader.hxx.

Referenced by CreateIntermediateGraphic(), and JPEGReader().

SvStream& JPEGReader::mrStream
private

Definition at line 49 of file JpegReader.hxx.

Referenced by Read().


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