summaryrefslogtreecommitdiff
path: root/poppler/Linearization.h
blob: b5b366bfc34b3d951cf9fc446a13f727fd2ba489 (plain)
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
//========================================================================
//
// Linearization.h
//
// This file is licensed under the GPLv2 or later
//
// Copyright 2010 Hib Eris <hib@hiberis.nl>
// Copyright 2019, 2021 Albert Astals Cid <aacid@kde.org>
//
//========================================================================

#ifndef LINEARIZATION_H
#define LINEARIZATION_H

#include "Object.h"
class BaseStream;

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

class Linearization
{
public:
    explicit Linearization(BaseStream *str);
    ~Linearization();

    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;

private:
    Object linDict;
};

#endif