34#ifndef STOFF_INPUT_STREAM_H 
   35#define STOFF_INPUT_STREAM_H 
   40#include <librevenge/librevenge.h> 
   41#include <librevenge-stream/librevenge-stream.h> 
   71  std::shared_ptr<librevenge::RVNGInputStream> 
input()
 
 
   76  static std::shared_ptr<STOFFInputStream> 
get(librevenge::RVNGBinaryData 
const &data, 
bool inverted);
 
   95  int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType);
 
  106    if (pos < 0) 
return false;
 
 
  133    res=
static_cast<int8_t
>(
readLong(1));
 
 
  145    res=
static_cast<int16_t
>(
readLong(2));
 
 
  157    res=
static_cast<int32_t
>(
readLong(4));
 
 
  166      STOFF_DEBUG_MSG((
"STOFFInputStream::operator>>: can not read a double\n"));
 
  167      seek(pos+8, librevenge::RVNG_SEEK_SET);
 
 
  194  const uint8_t *
read(
size_t numBytes, 
unsigned long &numBytesRead);
 
  198  static unsigned long readULong(librevenge::RVNGInputStream *stream, 
int num, 
unsigned long a, 
bool inverseRead);
 
  235  static uint8_t 
readU8(librevenge::RVNGInputStream *stream);
 
  243  std::shared_ptr<librevenge::RVNGInputStream> 
m_stream;
 
 
#define STOFF_DEBUG_MSG(M)
Definition libstaroffice_internal.hxx:129
the class to store a color
Definition libstaroffice_internal.hxx:189