okular/generators/dvi/dviPageInfo.cpp
Pino Toscano 2bfdb0f319 New backend: DVI.
Adapted from the DVI plugin of KViewShell.
It can:
- load documents
- generate correctly the pixmaps for the images
- rotate the pages
- extract the text from the pages (thus search and text selection are possible)
- extract the URL hyperlinks from the documents

Credits for this work goes to Luigi Toscano, thanks Luigi!

CCMAIL: Luigi Toscano <luigi.toscano@tiscali.it>

svn path=/trunk/playground/graphics/okular/; revision=555582
2006-06-27 22:17:35 +00:00

34 lines
993 B
C++

/***************************************************************************
* Copyright (C) 2006 by Luigi Toscano <luigi.toscano@tiscali.it> *
* *
* This program is free software; you can redistribute it and/or modify *
* it under the terms of the GNU General Public License as published by *
* the Free Software Foundation; either version 2 of the License, or *
* (at your option) any later version. *
***************************************************************************/
#include "dviPageInfo.h"
dviPageInfo::dviPageInfo( const dviPageInfo &dvipi )
{
width = dvipi.width;
height = dvipi.height;
resolution = dvipi.resolution;
pageNumber = dvipi.pageNumber;
}
dviPageInfo::dviPageInfo()
{
sourceHyperLinkList.reserve(200);
}
dviPageInfo::~dviPageInfo()
{
}
void dviPageInfo::clear()
{
sourceHyperLinkList.clear();
}