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
< PAGE_UNITS_PER_INCH
PMDPageUnit
typedef LengthUnit
< SHAPE_UNITS_PER_INCH
PMDShapeUnit

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)
boost::shared_ptr< OutputShapenewOutputShape (const boost::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 PAGE_UNITS_PER_INCH = 720
const unsigned SHAPE_UNITS_PER_INCH = 1440

Typedef Documentation

typedef Point<double> libpagemaker::InchPoint
typedef librevenge::RVNGInputStream* libpagemaker::RVNGInputStreamPtr

Function Documentation

std::pair< libpagemaker::InchPoint, libpagemaker::InchPoint > libpagemaker::getBoundingBox ( const PMDLineSet &  lineSet,
const TransformationMatrix &  matrix 
)
unsigned long libpagemaker::getLength ( const RVNGInputStreamPtr &  input)
boost::optional<unsigned> libpagemaker::getRecordSize ( uint16_t  recType) [inline]

Referenced by seekToRecord().

boost::shared_ptr< libpagemaker::OutputShape > libpagemaker::newOutputShape ( const boost::shared_ptr< const PMDLineSet > &  lineSet,
const InchPoint &  translate 
)
template<unsigned PER_INCH>
const LengthUnit<PER_INCH> libpagemaker::operator* ( LengthUnit< PER_INCH >  left,
int  right 
)
template<unsigned PER_INCH>
const LengthUnit<PER_INCH> libpagemaker::operator* ( int  left,
LengthUnit< PER_INCH >  right 
)
template<unsigned PER_INCH>
const LengthUnit<PER_INCH> libpagemaker::operator+ ( LengthUnit< PER_INCH >  left,
LengthUnit< PER_INCH >  right 
)
template<unsigned PER_INCH>
const LengthUnit<PER_INCH> libpagemaker::operator- ( LengthUnit< PER_INCH >  left,
LengthUnit< PER_INCH >  right 
)
const unsigned char * libpagemaker::readNBytes ( const RVNGInputStreamPtr &  input,
const unsigned long  numBytes 
)
int16_t libpagemaker::readS16 ( const RVNGInputStreamPtr &  input,
const bool  bigEndian 
)
int32_t libpagemaker::readS32 ( const RVNGInputStreamPtr &  input,
const bool  bigEndian 
)
int64_t libpagemaker::readS64 ( const RVNGInputStreamPtr &  input,
const bool  bigEndian 
)
int8_t libpagemaker::readS8 ( const RVNGInputStreamPtr &  input,
bool   
)
uint64_t libpagemaker::readU64 ( const RVNGInputStreamPtr &  input,
bool  bigEndian 
)

Referenced by readS64().

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

Referenced by skip().


Variable Documentation

const double libpagemaker::EM2PT = 11.95516799999881 [static]
const unsigned libpagemaker::PAGE_UNITS_PER_INCH = 720