libpagemaker Namespace Reference

Classes

struct  Point
struct  PMDXForm
class  PMDLineSet
class  PMDLine
class  PMDPolygon
class  PMDTextBox
class  PMDRectangle
class  PMDEllipse
class  PMDBitmap
class  TransformationMatrix
struct  PMDDummyDeleter
struct  PMDStreamException
struct  EndOfStreamException
struct  GenericException
class  OutputShape
class  PMDCollector
 Builder class for PMD Documents. More...
struct  PMDParseException
struct  RecordNotFoundException
struct  CorruptRecordException
struct  EmptyLineSetException
struct  UnknownRecordSizeException
class  PMDPage
class  PMDParser
struct  PMDRecordContainer
struct  PMDColor
struct  PMDFont
struct  PMDFillProperties
struct  PMDStrokeProperties
struct  PMDParaProperties
struct  PMDCharProperties
class  LengthUnit

Typedefs

typedef Point< PMDShapeUnitPMDShapePoint
typedef Point< double > InchPoint
typedef librevenge::RVNGInputStream * RVNGInputStreamPtr
typedef LengthUnit< SHAPE_UNITS_PER_INCHPMDShapeUnit

Functions

std::pair< InchPoint, InchPointgetBoundingBox (const PMDLineSet &lineSet, const TransformationMatrix &matrix)
uint8_t readU8 (const RVNGInputStreamPtr &input, bool)
int8_t readS8 (const RVNGInputStreamPtr &input, bool)
uint16_t readU16 (const RVNGInputStreamPtr &input, bool bigEndian)
int16_t readS16 (const RVNGInputStreamPtr &input, const bool bigEndian)
uint32_t readU32 (const RVNGInputStreamPtr &input, bool bigEndian)
int32_t readS32 (const RVNGInputStreamPtr &input, const bool bigEndian)
uint64_t readU64 (const RVNGInputStreamPtr &input, bool bigEndian)
int64_t readS64 (const RVNGInputStreamPtr &input, const bool bigEndian)
const unsigned char * readNBytes (const RVNGInputStreamPtr &input, const unsigned long numBytes)
void skip (const RVNGInputStreamPtr &input, unsigned long numBytes)
void seek (const RVNGInputStreamPtr &input, const unsigned long pos)
void seekRelative (const RVNGInputStreamPtr &input, const long pos)
unsigned long getLength (const RVNGInputStreamPtr &input)
std::shared_ptr< OutputShapenewOutputShape (const std::shared_ptr< const PMDLineSet > &lineSet, const InchPoint &translate)
void seekToRecord (librevenge::RVNGInputStream *const input, const PMDRecordContainer &container, const unsigned recordIndex)
PMDShapePoint readPoint (librevenge::RVNGInputStream *const input, const bool bigEndian)
boost::optional< unsigned > getRecordSize (uint16_t recType)
template<unsigned PER_INCH>
const LengthUnit< PER_INCH > operator+ (LengthUnit< PER_INCH > left, LengthUnit< PER_INCH > right)
template<unsigned PER_INCH>
const LengthUnit< PER_INCH > operator* (LengthUnit< PER_INCH > left, int right)
template<unsigned PER_INCH>
const LengthUnit< PER_INCH > operator* (int left, LengthUnit< PER_INCH > right)
template<unsigned PER_INCH>
const LengthUnit< PER_INCH > operator- (LengthUnit< PER_INCH > left, LengthUnit< PER_INCH > right)

Variables

static const double EM2PT = 11.95516799999881
const unsigned SHAPE_UNITS_PER_INCH = 1440

Typedef Documentation

◆ InchPoint

typedef Point<double> libpagemaker::InchPoint

◆ PMDShapePoint

◆ PMDShapeUnit

◆ RVNGInputStreamPtr

typedef librevenge::RVNGInputStream* libpagemaker::RVNGInputStreamPtr

Function Documentation

◆ getBoundingBox()

std::pair< libpagemaker::InchPoint, libpagemaker::InchPoint > libpagemaker::getBoundingBox ( const PMDLineSet & lineSet,
const TransformationMatrix & matrix )

◆ getLength()

unsigned long libpagemaker::getLength ( const RVNGInputStreamPtr & input)

◆ getRecordSize()

boost::optional< unsigned > libpagemaker::getRecordSize ( uint16_t recType)
inline

Referenced by seekToRecord().

◆ newOutputShape()

std::shared_ptr< libpagemaker::OutputShape > libpagemaker::newOutputShape ( const std::shared_ptr< const PMDLineSet > & lineSet,
const InchPoint & translate )

◆ operator*() [1/2]

template<unsigned PER_INCH>
const LengthUnit< PER_INCH > libpagemaker::operator* ( int left,
LengthUnit< PER_INCH > right )

◆ operator*() [2/2]

template<unsigned PER_INCH>
const LengthUnit< PER_INCH > libpagemaker::operator* ( LengthUnit< PER_INCH > left,
int right )

◆ operator+()

template<unsigned PER_INCH>
const LengthUnit< PER_INCH > libpagemaker::operator+ ( LengthUnit< PER_INCH > left,
LengthUnit< PER_INCH > right )

◆ operator-()

template<unsigned PER_INCH>
const LengthUnit< PER_INCH > libpagemaker::operator- ( LengthUnit< PER_INCH > left,
LengthUnit< PER_INCH > right )

◆ readNBytes()

const unsigned char * libpagemaker::readNBytes ( const RVNGInputStreamPtr & input,
const unsigned long numBytes )

◆ readPoint()

◆ readS16()

int16_t libpagemaker::readS16 ( const RVNGInputStreamPtr & input,
const bool bigEndian )

◆ readS32()

int32_t libpagemaker::readS32 ( const RVNGInputStreamPtr & input,
const bool bigEndian )

◆ readS64()

int64_t libpagemaker::readS64 ( const RVNGInputStreamPtr & input,
const bool bigEndian )

◆ readS8()

int8_t libpagemaker::readS8 ( const RVNGInputStreamPtr & input,
bool  )

◆ readU16()

◆ readU32()

◆ readU64()

uint64_t libpagemaker::readU64 ( const RVNGInputStreamPtr & input,
bool bigEndian )

Referenced by readS64().

◆ readU8()

◆ seek()

void libpagemaker::seek ( const RVNGInputStreamPtr & input,
const unsigned long pos )

◆ seekRelative()

void libpagemaker::seekRelative ( const RVNGInputStreamPtr & input,
const long pos )

Referenced by skip().

◆ seekToRecord()

◆ skip()

Variable Documentation

◆ EM2PT

const double libpagemaker::EM2PT = 11.95516799999881
static

◆ SHAPE_UNITS_PER_INCH

const unsigned libpagemaker::SHAPE_UNITS_PER_INCH = 1440

Generated for libpagemaker by doxygen 1.16.1