1
/* poppler-link-extractor_p.h: qt interface to poppler
2
* Copyright (C) 2007-2008, Pino Toscano <pino@kde.org>
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2, or (at your option)
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA.
19
#ifndef _POPPLER_LINK_EXTRACTOR_H_
20
#define _POPPLER_LINK_EXTRACTOR_H_
23
#include <OutputDev.h>
25
#include <QtCore/QList>
33
class LinkExtractorOutputDev : public OutputDev
36
LinkExtractorOutputDev(PageData *data);
37
virtual ~LinkExtractorOutputDev();
39
// inherited from OutputDev
40
virtual GBool upsideDown() { return gFalse; }
41
virtual GBool useDrawChar() { return gFalse; }
42
virtual GBool interpretType3Chars() { return gFalse; }
43
virtual void processLink(::Link *link, Catalog *catalog);
46
QList< Link* > links();
50
double m_pageCropWidth;
51
double m_pageCropHeight;
52
QList< Link* > m_links;