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 ()
 
bool hasExif () const
 
exif::Orientation getOrientation () const
 
Degree10 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 43 of file Exif.hxx.

Constructor & Destructor Documentation

◆ Exif()

Exif::Exif ( )

Definition at line 25 of file Exif.cxx.

Member Function Documentation

◆ convertToOrientation()

exif::Orientation Exif::convertToOrientation ( sal_Int32  value)
staticprivate

◆ getOrientation()

exif::Orientation Exif::getOrientation ( ) const
inline

Definition at line 73 of file Exif.hxx.

References maOrientation.

◆ getRotation()

Degree10 Exif::getRotation ( ) const

◆ hasExif()

bool Exif::hasExif ( ) const
inline

Definition at line 71 of file Exif.hxx.

References mbExifPresent.

◆ processExif()

bool Exif::processExif ( SvStream rStream,
sal_uInt16  aLength,
bool  bSetValue 
)
private

◆ processIFD()

void Exif::processIFD ( sal_uInt8 pExifData,
sal_uInt16  aLength,
sal_uInt16  aOffset,
sal_uInt16  aNumberOfTags,
bool  bSetValue,
bool  bLittleEndian 
)
private

◆ processJpeg()

bool Exif::processJpeg ( SvStream rStream,
bool  bSetValue 
)
private

◆ read()

bool Exif::read ( SvStream rStream)

Definition at line 66 of file Exif.cxx.

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

Referenced by GraphicNativeMetadata::read().

◆ setOrientation()

void Exif::setOrientation ( exif::Orientation  orientation)

Definition at line 30 of file Exif.cxx.

References maOrientation.

◆ write()

void Exif::write ( SvStream rStream)

Definition at line 75 of file Exif.cxx.

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

Member Data Documentation

◆ maOrientation

exif::Orientation Exif::maOrientation
private

Definition at line 46 of file Exif.hxx.

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

◆ mbExifPresent

bool Exif::mbExifPresent
private

Definition at line 47 of file Exif.hxx.

Referenced by hasExif(), and processExif().


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