Linearization.h 942 Bytes
Newer Older
Hib Eris's avatar
Hib Eris committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45
//========================================================================
//
// Linearization.h
//
// This file is licensed under the GPLv2 or later
//
// Copyright 2010 Hib Eris <hib@hiberis.nl>
//
//========================================================================

#ifndef LINEARIZATION_H
#define LINEARIZATION_H

#include "goo/gtypes.h"
#include "Object.h"
class BaseStream;

//------------------------------------------------------------------------
// Linearization
//------------------------------------------------------------------------

class Linearization {
public:

  Linearization(BaseStream *str);
  ~Linearization();

  Guint getLength();
  Guint getHintsOffset();
  Guint getHintsLength();
  Guint getHintsOffset2();
  Guint getHintsLength2();
  int getObjectNumberFirst();
  Guint getEndFirst();
  int getNumPages();
  Guint getMainXRefEntriesOffset();
  int getPageFirst();

private:

  Object linDict;

};

#endif