libmspub_utils.h File Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Macros | Functions
libmspub_utils.h File Reference
`#include <stdio.h>`
`#include <vector>`
`#include <map>`
`#include <librevenge/librevenge.h>`
`#include <librevenge-stream/librevenge-stream.h>`
`#include "MSPUBTypes.h"`
`#include <stdint.h>`
`#include <inttypes.h>`

Go to the source code of this file.

## Classes
class | libmspub::EndOfStreamException
class | libmspub::GenericException

## Namespaces
| libmspub

## Macros
#define | MSPUB_DEBUG_MSG(M)
#define | MSPUB_DEBUG(M)

## Functions
const char * | libmspub::mimeByImgType (ImgType type)
const char * | libmspub::windowsCharsetNameByOriginalCharset (const char *name)
uint8_t | libmspub::readU8 (librevenge::RVNGInputStream *input)
uint16_t | libmspub::readU16 (librevenge::RVNGInputStream *input)
uint32_t | libmspub::readU32 (librevenge::RVNGInputStream *input)
uint64_t | libmspub::readU64 (librevenge::RVNGInputStream *input)
int8_t | libmspub::readS8 (librevenge::RVNGInputStream *input)
int16_t | libmspub::readS16 (librevenge::RVNGInputStream *input)
int32_t | libmspub::readS32 (librevenge::RVNGInputStream *input)
double | libmspub::readFixedPoint (librevenge::RVNGInputStream *input)
double | libmspub::toFixedPoint (int fp)
void | libmspub::readNBytes (librevenge::RVNGInputStream *input, unsigned long length, std::vector< unsigned char > &out)
void | libmspub::appendCharacters (librevenge::RVNGString &text, const std::vector< unsigned char > characters, const char *encoding)
bool | libmspub::stillReading (librevenge::RVNGInputStream *input, unsigned long until)
void | libmspub::rotateCounter (double &x, double &y, double centerX, double centerY, short rotation)
void | libmspub::flipIfNecessary (double &x, double &y, double centerX, double centerY, bool flipVertical, bool flipHorizontal)
unsigned | libmspub::correctModulo (int x, unsigned n)
double | libmspub::doubleModulo (double x, double y)
template<class MapT >
MapT::mapped_type * | libmspub::getIfExists (MapT &map, const typename MapT::key_type &key)
template<class MapT >
const MapT::mapped_type * | libmspub::getIfExists_const (MapT &map, const typename MapT::key_type &key)
template<class MapT >
MapT::mapped_type | libmspub::ptr_getIfExists (MapT &map, const typename MapT::key_type &key)
librevenge::RVNGBinaryData | libmspub::inflateData (librevenge::RVNGBinaryData deflated)

## Macro Definition Documentation

#define MSPUB_DEBUG | ( |  | M | ) |

#define MSPUB_DEBUG_MSG | ( |  | M | ) |

Referenced by libmspub::MSPUBCollector::addImage(), libmspub::MSPUBCollector::addPage(), libmspub::MSPUBCollector::addTextString(), libmspub::appendCharacters(), libmspub::MSPUBParser::extractEscherValues(), libmspub::MSPUBParser::findEscherContainer(), libmspub::MSPUBParser::getBlockDataLength(), libmspub::MSPUBParser::getColorIndex(), libmspub::MSPUBCollector::getColorString(), libmspub::getCommandFromBinary(), libmspub::getDash(), libmspub::MSPUBParser::getFontIndex(), libmspub::mimeByImgType(), libmspub::MSPUBParser97::parse(), libmspub::MSPUBParser2k::parse(), libmspub::MSPUBParser::parse(), libmspub::MSPUBParser::parseBlock(), libmspub::MSPUBParser::parseContentChunkReference(), libmspub::MSPUBParser2k::parseContents(), libmspub::MSPUBParser::parseContents(), libmspub::MSPUBParser::parseDocumentChunk(), libmspub::MSPUBParser::parseEscher(), libmspub::MSPUBParser::parseEscherContainer(), libmspub::MSPUBParser::parseEscherDelay(), libmspub::MSPUBParser::parseEscherShape(), libmspub::MSPUBParser::parsePageChunk(), libmspub::MSPUBParser::parsePageShapeList(), libmspub::MSPUBParser::parseQuill(), libmspub::MSPUBParser::parseShape(), libmspub::MSPUBParser::parseVertices(), libmspub::MSPUBMetaData::readCodePageString(), libmspub::readNBytes(), libmspub::readU8(), libmspub::MSPUBCollector::setShapeImgIndex(), and libmspub::writeCustomShape().