LibreOffice Module vcl (master) 1
|
#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 |
|
staticprivate |
Definition at line 34 of file Exif.cxx.
References exif::BOTTOM_LEFT, exif::BOTTOM_RIGHT, exif::LEFT_BOTTOM, exif::LEFT_TOP, exif::RIGHT_BOTTOM, exif::RIGHT_TOP, exif::TOP_LEFT, exif::TOP_RIGHT, and value.
Referenced by processIFD().
|
inline |
Definition at line 73 of file Exif.hxx.
References maOrientation.
Degree10 Exif::getRotation | ( | ) | const |
Definition at line 49 of file Exif.cxx.
References exif::BOTTOM_RIGHT, exif::LEFT_BOTTOM, maOrientation, exif::RIGHT_TOP, and exif::TOP_LEFT.
Referenced by GraphicNativeMetadata::read().
|
inline |
Definition at line 71 of file Exif.hxx.
References mbExifPresent.
|
private |
Definition at line 214 of file Exif.cxx.
References Exif::TiffHeader::byteOrder, mbExifPresent, Exif::TiffHeader::offset, processIFD(), SvStream::ReadBytes(), SvStream::ReadUInt16(), SvStream::ReadUInt32(), SvStream::Seek(), Exif::TiffHeader::tagAlign, SvStream::Tell(), and SvStream::WriteBytes().
Referenced by processJpeg().
|
private |
Definition at line 183 of file Exif.cxx.
References convertToOrientation(), Exif::ExifIFD::count, maOrientation, Exif::ExifIFD::offset, ORIENTATION, Exif::ExifIFD::tag, and Exif::ExifIFD::type.
Referenced by processExif().
|
private |
Definition at line 82 of file Exif.cxx.
References processExif(), SvStream::ReadUChar(), SvStream::ReadUInt16(), SvStream::remainingSize(), SvStream::Seek(), SvStream::SeekRel(), SvStream::SetEndian(), STREAM_SEEK_TO_BEGIN, and SvStream::TellEnd().
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().
void Exif::setOrientation | ( | exif::Orientation | orientation | ) |
Definition at line 30 of file Exif.cxx.
References maOrientation.
void Exif::write | ( | SvStream & | rStream | ) |
Definition at line 75 of file Exif.cxx.
References processJpeg(), SvStream::Seek(), and SvStream::Tell().
|
private |
Definition at line 46 of file Exif.hxx.
Referenced by getOrientation(), getRotation(), processIFD(), and setOrientation().
|
private |
Definition at line 47 of file Exif.hxx.
Referenced by hasExif(), and processExif().