libpagemaker_utils.h File Reference documentation

- Main Page
- Namespaces
- Classes
- Files

- File List
- File Members

Classes | Namespaces | Macros | Typedefs | Functions
libpagemaker_utils.h File Reference
`#include <cmath>`
`#include <cstdio>`
`#include <string>`
`#include <boost/shared_ptr.hpp>`
`#include <librevenge-stream/librevenge-stream.h>`
`#include <librevenge/librevenge.h>`
`#include <stdint.h>`
`#include <inttypes.h>`

Go to the source code of this file.

## Classes
struct | libpagemaker::PMDDummyDeleter
struct | libpagemaker::PMDStreamException
struct | libpagemaker::EndOfStreamException
struct | libpagemaker::GenericException

## Namespaces
| libpagemaker

## Macros
#define | M_PI 3.14159265358979323846
#define | PMD_ATTRIBUTE_PRINTF(fmt, arg)
#define | PMD_DEBUG_MSG(M)
#define | PMD_DEBUG(M)
#define | PMD_WARN_MSG(M)
#define | PMD_ERR_MSG(M)
#define | PMD_NUM_ELEMENTS(array) sizeof(array)/sizeof(array[0])

## Typedefs
typedef librevenge::RVNGInputStream * | libpagemaker::RVNGInputStreamPtr

## Functions
uint8_t | libpagemaker::readU8 (const RVNGInputStreamPtr &input, bool)
int8_t | libpagemaker::readS8 (const RVNGInputStreamPtr &input, bool)
uint16_t | libpagemaker::readU16 (const RVNGInputStreamPtr &input, bool bigEndian)
int16_t | libpagemaker::readS16 (const RVNGInputStreamPtr &input, const bool bigEndian)
uint32_t | libpagemaker::readU32 (const RVNGInputStreamPtr &input, bool bigEndian)
int32_t | libpagemaker::readS32 (const RVNGInputStreamPtr &input, const bool bigEndian)
uint64_t | libpagemaker::readU64 (const RVNGInputStreamPtr &input, bool bigEndian)
int64_t | libpagemaker::readS64 (const RVNGInputStreamPtr &input, const bool bigEndian)
const unsigned char * | libpagemaker::readNBytes (const RVNGInputStreamPtr &input, const unsigned long numBytes)
void | libpagemaker::skip (const RVNGInputStreamPtr &input, unsigned long numBytes)
void | libpagemaker::seek (const RVNGInputStreamPtr &input, const unsigned long pos)
void | libpagemaker::seekRelative (const RVNGInputStreamPtr &input, const long pos)
unsigned long | libpagemaker::getLength (const RVNGInputStreamPtr &input)

## Macro Definition Documentation

#define M_PI 3.14159265358979323846

Referenced by libpagemaker::PMDPolygon::getRotation(), libpagemaker::PMDTextBox::getRotation(), libpagemaker::PMDRectangle::getRotation(), libpagemaker::PMDEllipse::getRotation(), libpagemaker::PMDBitmap::getRotation(), libpagemaker::PMDPolygon::getSkew(), libpagemaker::PMDTextBox::getSkew(), libpagemaker::PMDRectangle::getSkew(), libpagemaker::PMDEllipse::getSkew(), libpagemaker::PMDBitmap::getSkew(), and libpagemaker::PMDCollector::paintShape().

#define PMD_ATTRIBUTE_PRINTF | ( |  | fmt,
|  |  | arg
| ) |  |

#define PMD_DEBUG | ( |  | M | ) |

#define PMD_DEBUG_MSG | ( |  | M | ) |

Referenced by libpagemaker::PMDCollector::paintShape(), libpagemaker::PMDParser::parseHeader(), libpagemaker::PMDParser::parseTextBox(), libpagemaker::PMDParser::readNextRecordFromTableOfContents(), and libpagemaker::PMDParser::readTableOfContents().

#define PMD_ERR_MSG | ( |  | M | ) |

Referenced by libpagemaker::PMDParser::parseColors(), libpagemaker::PMDParser::parseFonts(), libpagemaker::PMDParser::parsePolygon(), libpagemaker::PMDParser::parseShapes(), libpagemaker::PMDParser::parseTableOfContents(), and libpagemaker::PMDParser::parseTextBox().

#define PMD_NUM_ELEMENTS | ( |  | array | ) | sizeof(array)/sizeof(array[0])

#define PMD_WARN_MSG | ( |  | M | ) |