LibreOffice Module vcl (master)  1
Classes | Public Member Functions | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
Exif Class Referencefinal

#include <Exif.hxx>

Classes

struct  ExifIFD
 
struct  TiffHeader
 

Public Member Functions

 Exif ()
 
 ~Exif ()
 
bool hasExif () const
 
Orientation getOrientation () const
 
sal_Int32 getRotation () const
 
void setOrientation (Orientation orientation)
 
bool read (SvStream &rStream)
 
void write (SvStream &rStream)
 

Private Member Functions

bool processJpeg (SvStream &rStream, bool bSetValue)
 
bool processExif (SvStream &rStream, sal_uInt16 aLength, bool bSetValue)
 
void processIFD (sal_uInt8 *pExifData, sal_uInt16 aLength, sal_uInt16 aOffset, sal_uInt16 aNumberOfTags, bool bSetValue, bool bLittleEndian)
 

Static Private Member Functions

static Orientation convertToOrientation (sal_Int32 value)
 

Private Attributes

Orientation maOrientation
 
bool mbExifPresent
 

Detailed Description

Definition at line 40 of file Exif.hxx.

Constructor & Destructor Documentation

Exif::Exif ( )

Definition at line 25 of file Exif.cxx.

References TOP_LEFT.

Exif::~Exif ( )

Definition at line 30 of file Exif.cxx.

Member Function Documentation

Orientation Exif::convertToOrientation ( sal_Int32  value)
staticprivate

Definition at line 38 of file Exif.cxx.

References BOTTOM_LEFT, BOTTOM_RIGHT, LEFT_BOTTOM, LEFT_TOP, RIGHT_BOTTOM, RIGHT_TOP, TOP_LEFT, and TOP_RIGHT.

Referenced by processIFD().

Orientation Exif::getOrientation ( ) const
inline

Definition at line 71 of file Exif.hxx.

References maOrientation.

Referenced by GraphicNativeTransform::rotateJPEG().

sal_Int32 Exif::getRotation ( ) const

Definition at line 53 of file Exif.cxx.

References BOTTOM_RIGHT, LEFT_BOTTOM, maOrientation, RIGHT_TOP, and TOP_LEFT.

bool Exif::hasExif ( ) const
inline

Definition at line 69 of file Exif.hxx.

References mbExifPresent.

Referenced by GraphicNativeTransform::rotateJPEG().

bool Exif::processExif ( SvStream rStream,
sal_uInt16  aLength,
bool  bSetValue 
)
private
void Exif::processIFD ( sal_uInt8 pExifData,
sal_uInt16  aLength,
sal_uInt16  aOffset,
sal_uInt16  aNumberOfTags,
bool  bSetValue,
bool  bLittleEndian 
)
private
bool Exif::processJpeg ( SvStream rStream,
bool  bSetValue 
)
private
bool Exif::read ( SvStream rStream)
void Exif::setOrientation ( Orientation  orientation)

Definition at line 34 of file Exif.cxx.

References maOrientation.

Referenced by GraphicNativeTransform::rotateJPEG().

void Exif::write ( SvStream rStream)

Definition at line 80 of file Exif.cxx.

References processJpeg(), SvStream::Seek(), and SvStream::Tell().

Referenced by GraphicNativeTransform::rotateJPEG().

Member Data Documentation

Orientation Exif::maOrientation
private

Definition at line 43 of file Exif.hxx.

Referenced by getOrientation(), getRotation(), processIFD(), and setOrientation().

bool Exif::mbExifPresent
private

Definition at line 44 of file Exif.hxx.

Referenced by hasExif(), and processExif().


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