Go to the documentation of this file.
77 bool readBitmap(
StarZone &zone,
bool inFileHeader,
long lastPos, librevenge::RVNGBinaryData &data, std::string &type);
79 bool getData(librevenge::RVNGBinaryData &data, std::string &type)
const;
92 std::shared_ptr<StarBitmapInternal::State>
m_state;
uint32_t m_numColors[2]
the number of used column (used, other)
Definition: StarBitmap.cxx:150
libstoff::DebugFile & ascii()
returns the ascii file
Definition: StarZone.hxx:254
std::vector< STOFFColor > m_colorsList
the bitmap color list
Definition: StarBitmap.cxx:152
#define STOFF_DEBUG_MSG(M)
Definition: libstaroffice_internal.hxx:129
bool getPPMData(librevenge::RVNGBinaryData &data) const
try to return a ppm data (without alpha)
Definition: StarBitmap.cxx:80
bool m_hasAlphaColor
a flag to know if the color has alpha component
Definition: StarBitmap.cxx:148
the class to store a color
Definition: libstaroffice_internal.hxx:189
bool readBitmap(StarZone &zone, bool inFileHeader, long lastPos, librevenge::RVNGBinaryData &data, std::string &type)
low level
Definition: StarBitmap.cxx:214
uint32_t m_pixelsPerMeter[2]
the number of x/y pixel by meters
Definition: StarBitmap.cxx:146
Bitmap()
constructor
Definition: StarBitmap.cxx:64
uint16_t m_bitCount
the bit count
Definition: StarBitmap.cxx:140
the main class to read/.
Definition: StarBitmap.hxx:62
bool readBitmapData(STOFFInputStreamPtr &input, StarBitmapInternal::Bitmap &bitmap, long lastPos)
try to read the bitmap data block
Definition: StarBitmap.cxx:511
uint32_t m_compression
related to compression
Definition: StarBitmap.cxx:142
bool dumpFile(librevenge::RVNGBinaryData &, char const *)
Definition: STOFFDebug.hxx:183
static std::string str()
Definition: STOFFDebug.hxx:203
std::vector< STOFFColor > m_colorDataList
the color bitmap data
Definition: StarBitmap.cxx:156
friend std::ostream & operator<<(std::ostream &o, Bitmap const &info)
operator<<
Definition: StarBitmap.cxx:119
uint32_t m_width
bitmap width
Definition: StarBitmap.cxx:134
Internal: the state of a StarBitmap.
Definition: StarBitmap.cxx:160
State()
constructor
Definition: StarBitmap.cxx:162
uint32_t m_sizeImage
the image size?
Definition: StarBitmap.cxx:144
std::shared_ptr< STOFFInputStream > STOFFInputStreamPtr
a smart pointer of STOFFInputStream
Definition: libstaroffice_internal.hxx:485
a zone in a StarOffice file
Definition: StarZone.hxx:56
int getRecordLevel() const
returns the record level
Definition: StarZone.hxx:195
an object corresponding to an OLE directory
Definition: StarObject.hxx:64
uint32_t m_height
bitmap height
Definition: StarBitmap.cxx:136
Definition: STOFFDebug.hxx:194
bool getData(librevenge::RVNGBinaryData &data, std::string &type) const
try to convert the read data in ppm
Definition: StarBitmap.cxx:201
std::vector< int > m_indexDataList
the index bitmap data
Definition: StarBitmap.cxx:154
std::shared_ptr< StarBitmapInternal::State > m_state
the state
Definition: StarBitmap.hxx:92
Bitmap m_bitmap
the bitmap
Definition: StarBitmap.cxx:167
internal: the bitmap information
Definition: StarBitmap.cxx:62
static void addPos(long)
Definition: STOFFDebug.hxx:223
static void addDelimiter(long, char)
Definition: STOFFDebug.hxx:225
Definition: STOFFDebug.hxx:210
bool readBitmapInformation(StarZone &zone, StarBitmapInternal::Bitmap &info, long lastPos)
try to read the bitmap information block
Definition: StarBitmap.cxx:449
StarBitmap()
constructor
Definition: StarBitmap.cxx:175
static void addNote(char const *)
Definition: STOFFDebug.hxx:224
static void skipZone(long, long)
Definition: STOFFDebug.hxx:230
STOFFInputStreamPtr input()
return the zone input
Definition: StarZone.hxx:247
virtual ~StarBitmap()
destructor
Definition: StarBitmap.cxx:180
STOFFVec2< int > STOFFVec2i
STOFFVec2 of int.
Definition: libstaroffice_internal.hxx:763
uint16_t m_planes
the number of planes
Definition: StarBitmap.cxx:138
internal class used to create a RVNGInputStream from a unsigned char's pointer
Definition: STOFFStringStream.hxx:36
STOFFVec2i getBitmapSize() const
try to return the bitmap size (in point)
Definition: StarBitmap.cxx:209
Internal: the structures of a StarBitmap.
Definition: StarBitmap.cxx:58
Generated on Mon Jan 20 2020 23:02:16 for libstaroffice by
doxygen 1.8.16