mirror of
https://invent.kde.org/graphics/okular
synced 2024-08-25 02:45:38 +00:00
![Pino Toscano](/assets/img/avatar_default.png)
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
34 lines
993 B
C++
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();
|
|
}
|
|
|