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
 
exif::Orientation getOrientation () const
 
sal_Int32 getRotation () const
 
void setOrientation (exif::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 exif::Orientation convertToOrientation (sal_Int32 value)
 

Private Attributes

exif::Orientation maOrientation
 
bool mbExifPresent
 

Detailed Description

Definition at line 42 of file Exif.hxx.

Constructor & Destructor Documentation

Exif::Exif ( )

Definition at line 27 of file Exif.cxx.

Exif::~Exif ( )

Definition at line 32 of file Exif.cxx.

Member Function Documentation

Orientation Exif::convertToOrientation ( sal_Int32  value)
staticprivate
exif::Orientation Exif::getOrientation ( ) const
inline

Definition at line 73 of file Exif.hxx.

References maOrientation.

Referenced by GraphicNativeTransform::rotateJPEG().

sal_Int32 Exif::getRotation ( ) const

Definition at line 55 of file Exif.cxx.

References exif::BOTTOM_RIGHT, exif::LEFT_BOTTOM, maOrientation, and exif::RIGHT_TOP.

bool Exif::hasExif ( ) const
inline

Definition at line 71 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 ( exif::Orientation  orientation)

Definition at line 36 of file Exif.cxx.

References maOrientation.

Referenced by GraphicNativeTransform::rotateJPEG().

void Exif::write ( SvStream rStream)

Definition at line 82 of file Exif.cxx.

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

Referenced by GraphicNativeTransform::rotateJPEG().

Member Data Documentation

exif::Orientation Exif::maOrientation
private

Definition at line 45 of file Exif.hxx.

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

bool Exif::mbExifPresent
private

Definition at line 46 of file Exif.hxx.

Referenced by hasExif(), and processExif().


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