Go to the documentation of this file.
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;
Definition: libstaroffice_internal.hxx:139
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
the class to store a color
Definition: libstaroffice_internal.hxx:189
#define STOFF_N_ELEMENTS(m)
Definition: libstaroffice_internal.hxx:119
an noop deleter used to transform a libwpd pointer in a false std::shared_ptr
Definition: libstaroffice_internal.hxx:100
Generated on Mon Jan 20 2020 23:02:18 for libstaroffice by
doxygen 1.8.16