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 shared_ptr<librevenge::RVNGInputStream>
input()
76 static shared_ptr<STOFFInputStream>
get(librevenge::RVNGBinaryData
const &data,
bool inverted);
96 int seek(
long offset, librevenge::RVNG_SEEK_TYPE seekType);
107 if (pos < 0)
return false;
153 res=
static_cast<int8_t
>(
readLong(1));
165 res=
static_cast<int16_t
>(
readLong(2));
177 res=
static_cast<int32_t
>(
readLong(4));
186 STOFF_DEBUG_MSG((
"STOFFInputStream::operator>>: can not read a double\n"));
187 seek(pos+8, librevenge::RVNG_SEEK_SET);
214 const uint8_t *
read(
size_t numBytes,
unsigned long &numBytesRead);
218 static unsigned long readULong(librevenge::RVNGInputStream *stream,
int num,
unsigned long a,
bool inverseRead);
255 static uint8_t
readU8(librevenge::RVNGInputStream *stream);
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:127
the class to store a color
Definition: libstaroffice_internal.hxx:179