mirror of
https://invent.kde.org/graphics/okular
synced 2024-11-05 18:34:53 +00:00
2bfdb0f319
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
33 lines
993 B
C++
33 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();
|
|
}
|
|
|