Linearization.h 1.05 KB
Newer Older
Hib Eris's avatar
Hib Eris committed
1 2 3 4 5 6 7
//========================================================================
//
// Linearization.h
//
// This file is licensed under the GPLv2 or later
//
// Copyright 2010 Hib Eris <hib@hiberis.nl>
8
// Copyright 2019 Albert Astals Cid <aacid@kde.org>
Hib Eris's avatar
Hib Eris committed
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
//
//========================================================================

#ifndef LINEARIZATION_H
#define LINEARIZATION_H

#include "Object.h"
class BaseStream;

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

class Linearization {
public:

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

28 29 30 31 32 33 34 35 36 37
  unsigned int getLength() const;
  unsigned int getHintsOffset() const;
  unsigned int getHintsLength() const;
  unsigned int getHintsOffset2() const;
  unsigned int getHintsLength2() const;
  int getObjectNumberFirst() const;
  unsigned int getEndFirst() const;
  int getNumPages() const;
  unsigned int getMainXRefEntriesOffset() const;
  int getPageFirst() const;
Hib Eris's avatar
Hib Eris committed
38 39 40 41 42 43 44 45

private:

  Object linDict;

};

#endif