Pino Toscano
7ba0c4df3a
Show the title of the current document - if available - as title of the main window, as requested in comments of KPDF bug #103362 .
...
Adapted the poppler(pdf) and the chm generators to return the title of the current document.
svn path=/trunk/playground/graphics/okular/; revision=568059
20 years ago
Albert Astals Cid
d261d27274
reverting some sabotage done by montel ;-)
...
svn path=/trunk/playground/graphics/okular/; revision=566296
20 years ago
Laurent Montel
3d62f697b2
Clean up
...
svn path=/trunk/playground/graphics/okular/; revision=566117
20 years ago
Pino Toscano
e147f53ab7
make sure to really close the djvu document
...
svn path=/trunk/playground/graphics/okular/; revision=564677
20 years ago
Pino Toscano
25eb77c1de
some fixes according to EBN:
...
- fix single char addition to QString's
- some spell checking
svn path=/trunk/playground/graphics/okular/; revision=563891
20 years ago
Pino Toscano
b6d7a36eda
Small addition to the Ganarator API: bool closeDocument().
...
Now every generator has to implement this one and put (if necessary) all the code for cleaning up all the stuff related to the currently open document.
For now the return value it is not read, but generators as strongly suggested to return tru o false, whether all the operations in there went fine.
svn path=/trunk/playground/graphics/okular/; revision=562210
20 years ago
Pino Toscano
9b55ffedd4
better check case-insensitively here
...
svn path=/trunk/playground/graphics/okular/; revision=561957
20 years ago
Pino Toscano
38593f718c
delete a Link if an ObjectRect is not created; less deferences
...
svn path=/trunk/playground/graphics/okular/; revision=561949
20 years ago
Pino Toscano
2d64d446d7
Read correctly the 'poly' links for DjVu documents.
...
svn path=/trunk/playground/graphics/okular/; revision=561918
20 years ago
Pino Toscano
67fabc7659
- adapted the DjVu generators to the new ObjectRect API
...
- read also the links with an elliptic shape
- some code less
svn path=/trunk/playground/graphics/okular/; revision=561892
20 years ago
Pino Toscano
1ba01ac6f1
Refactor a bit how ObjectRect works: now it's an independent class, that keeps the shape of the "kept" object using a QPainterPath [the qreal version to QRegion].
...
Modified the constructors to specify if a rect represents a rectangular region or an elliptic one; added a new one to create a region defined using a polygon.
Adapted to the new API the generators that support links (all but the DjVu one - will be adapted and improved soon).
svn path=/trunk/playground/graphics/okular/; revision=561890
20 years ago
Pino Toscano
1154dd1c8f
read the creation date
...
svn path=/trunk/playground/graphics/okular/; revision=561551
20 years ago
Pino Toscano
9fbfc1cb39
disable the fax generator, as the tiff one seems way better
...
svn path=/trunk/playground/graphics/okular/; revision=561316
20 years ago
Pino Toscano
80b0e358c7
Start to read the EXIF fields of TIFF documents, for now Description, Software, Copyright and Artist.
...
svn path=/trunk/playground/graphics/okular/; revision=560704
20 years ago
Pino Toscano
0211c662e9
now that KDjVu works nicely, reduce the debug
...
svn path=/trunk/playground/graphics/okular/; revision=559952
20 years ago
Pino Toscano
2d41c4459b
clean up the CMakeLists.txt files from the auto* stuff
...
svn path=/trunk/playground/graphics/okular/; revision=559521
20 years ago
Pino Toscano
b43f2c4d28
A new backend: TIFF.
...
It uses directly the libTIFF, and actually can load TIFF documents even better than the fax generator (that uses libkfaximage).
The generator can also rotate the images, but it is not tested as the menus with the current kdelibs snapshot don't work.
svn path=/trunk/playground/graphics/okular/; revision=559514
20 years ago
Laurent Montel
5262f0c13f
Fix install files
...
svn path=/trunk/playground/graphics/okular/; revision=559162
20 years ago
Pino Toscano
2cc4065c3b
use install instead of install_files
...
svn path=/trunk/playground/graphics/okular/; revision=558034
20 years ago
Pino Toscano
1285825aa5
use install instead of install_files
...
svn path=/trunk/playground/graphics/okular/; revision=558033
20 years ago
Pino Toscano
317132c670
remove some unused stuff; add comments and fix include guard name
...
svn path=/trunk/playground/graphics/okular/; revision=556946
20 years ago
Pino Toscano
f574dc37e6
Make use of the new text export function of the generator.
...
svn path=/trunk/playground/graphics/okular/; revision=556944
20 years ago
Pino Toscano
aa109c9ef0
Port the recent changes to kdv, and remove some debug code
...
(Luigi Toscano)
svn path=/trunk/playground/graphics/okular/; revision=556901
20 years ago
Pino Toscano
c82fed6d75
Make use of okularUtils, and use a Center viewport position for links.
...
(Luigi Toscano)
svn path=/trunk/playground/graphics/okular/; revision=556625
20 years ago
Pino Toscano
d0b5207bce
Extract the table of contents from DVI documents.
...
svn path=/trunk/playground/graphics/okular/; revision=556622
20 years ago
Pino Toscano
a324781264
adapt the djvu generator to make use of the okularUtils namespace
...
svn path=/trunk/playground/graphics/okular/; revision=556609
20 years ago
Pino Toscano
7d26d25bd2
delete the dupe files, and now really copying the good ones
...
svn path=/trunk/playground/graphics/okular/; revision=556294
20 years ago
Pino Toscano
ca85816c4c
take correctly into account the rotation of the document, and rotate the link rects accordingly
...
svn path=/trunk/playground/graphics/okular/; revision=556019
20 years ago
Pino Toscano
c39fdf8f5c
Improve the hyperlink support, and make it less error-prone. Micro suppport for URL hyperlinks.
...
svn path=/trunk/playground/graphics/okular/; revision=555968
20 years ago
Pino Toscano
e5018d700f
Complete support for hyperlinks.
...
Cookies go to Luigi, thanks!
svn path=/trunk/playground/graphics/okular/; revision=555965
20 years ago
Pino Toscano
39e73f95f6
Read correctly the DjVu area maps (aka links) referring to local pages.
...
svn path=/trunk/playground/graphics/okular/; revision=555915
20 years ago
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
20 years ago
Pino Toscano
63c1580412
SVN_SILENT apidox
...
svn path=/trunk/playground/graphics/okular/; revision=555392
20 years ago
Pino Toscano
a5795e2726
Now the DjVu generator is able to extract the list of bookmarks (aka Table of Contents) from the DjVy document, if it has any.
...
svn path=/trunk/playground/graphics/okular/; revision=555320
20 years ago
Pino Toscano
70423d2f95
Be able to rotate fax documents.
...
svn path=/trunk/playground/graphics/okular/; revision=554987
20 years ago
Albert Astals Cid
dba404945a
Adapt to poppler cvs changes, you need to use poppler-qt4 cvs to build okular
...
CCMAIL: xiaodongchu@gmail.com
svn path=/trunk/playground/graphics/okular/; revision=554893
20 years ago
Pino Toscano
a3dc3b2646
add a desktop file so the ghostscript generator can make okular good candidate for print preview
...
svn path=/trunk/playground/graphics/okular/; revision=554320
20 years ago
Pino Toscano
cfaefdc3cb
not needed
...
svn path=/trunk/playground/graphics/okular/; revision=553841
20 years ago
Albert Astals Cid
38343cd4e1
drop .la as per dfaure's suggestion
...
svn path=/trunk/playground/graphics/okular/; revision=553685
20 years ago
Pino Toscano
e37ff4f3fe
small trick: when generating small pixmaps (ie less wide than 300px) the render it as a page wider than 800px, and then rescale it back. this way, we respect more the geometry of the page in the small pixmaps (tipically, thumbnails).
...
svn path=/trunk/playground/graphics/okular/; revision=553409
20 years ago
Pino Toscano
80a843cbed
TGenerator -> CHMGenerator
...
svn path=/trunk/playground/graphics/okular/; revision=553326
20 years ago
Pino Toscano
066beaa1dd
small changes in the Generator API:
...
- no need for a private empty constructor
- move the signalRequestDone 'signal' to a protected visibility, as it's not meant to be called from outside a generator
- KPDF_EXPORT_PLUGIN -> OKULAR_EXPORT_PLUGIN
svn path=/trunk/playground/graphics/okular/; revision=553077
20 years ago
Pino Toscano
49a5be93da
isolate the code for creating pages in an own method, should work correctly for pages with an initial rotation different than 0
...
svn path=/trunk/playground/graphics/okular/; revision=552594
20 years ago
Pino Toscano
15d8822c6f
directly convert the image into a ixmap, instead of painting the image over the pixmap
...
svn path=/trunk/playground/graphics/okular/; revision=552566
20 years ago
Pino Toscano
c2cb18a4bf
don't leak the image we get from qgs
...
svn path=/trunk/playground/graphics/okular/; revision=552376
20 years ago
Pino Toscano
ebe64cc2b7
SVN_SILENT wordings
...
svn path=/trunk/playground/graphics/okular/; revision=552294
20 years ago
Pino Toscano
b1dd2e8d04
fix layout warnings
...
svn path=/trunk/playground/graphics/okular/; revision=552292
20 years ago
Pino Toscano
6096556a6a
a bit less headers and forward declarations
...
svn path=/trunk/playground/graphics/okular/; revision=552083
20 years ago
Pino Toscano
5242e3bd7e
encode the file name correctly
...
svn path=/trunk/playground/graphics/okular/; revision=552037
20 years ago
Pino Toscano
c9b0e67148
some const's more
...
svn path=/trunk/playground/graphics/okular/; revision=552021
20 years ago