Commit graph

2187 commits

Author SHA1 Message Date
Pino Toscano 0211c662e9 now that KDjVu works nicely, reduce the debug
svn path=/trunk/playground/graphics/okular/; revision=559952
2006-07-08 17:51:25 +00:00
Pino Toscano 5ce5a5f062 no need to opaque paint event for the whole pageview, the viewport has it already
svn path=/trunk/playground/graphics/okular/; revision=559644
2006-07-07 21:56:33 +00:00
Pino Toscano 2d41c4459b clean up the CMakeLists.txt files from the auto* stuff
svn path=/trunk/playground/graphics/okular/; revision=559521
2006-07-07 15:08:46 +00:00
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
2006-07-07 14:58:12 +00:00
Pino Toscano e40af42c63 SVN_SILENT improve a bit
svn path=/trunk/playground/graphics/okular/; revision=559498
2006-07-07 14:32:09 +00:00
Pino Toscano c0d67ae2e3 sort the plugins we have for the current file by priority (more priority ... less priority)
improve a bit the message of the generator selection dialog

svn path=/trunk/playground/graphics/okular/; revision=559497
2006-07-07 14:28:21 +00:00
Albert Astals Cid 3e620c0918 the very slight gain in looks is not worth the porting cost
svn path=/trunk/playground/graphics/okular/; revision=559181
2006-07-06 18:21:35 +00:00
Laurent Montel 5262f0c13f Fix install files
svn path=/trunk/playground/graphics/okular/; revision=559162
2006-07-06 17:50:37 +00:00
Pino Toscano a73c1d14a1 don't exclude ourself when setting a new viewport
svn path=/trunk/playground/graphics/okular/; revision=558490
2006-07-05 13:34:16 +00:00
Pino Toscano aa82718199 adapt the icons to RtL layouts; use KIcon
svn path=/trunk/playground/graphics/okular/; revision=558417
2006-07-05 11:38:51 +00:00
Pino Toscano 12edea34f8 adapt to the new snapshot
svn path=/trunk/playground/graphics/okular/; revision=558247
2006-07-04 23:09:39 +00:00
Pino Toscano 87c3e54827 Forwardport of KPDF bug #105211.
svn path=/trunk/playground/graphics/okular/; revision=558208
2006-07-04 21:57:19 +00:00
Laurent Montel ba5cd44972 Fix install files
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=558145
2006-07-04 19:18:33 +00:00
Pino Toscano f516679bf6 raise to 30msecs the document rendering queue polling interval
svn path=/trunk/playground/graphics/okular/; revision=558102
2006-07-04 17:54:05 +00:00
Pino Toscano 2cc4065c3b use install instead of install_files
svn path=/trunk/playground/graphics/okular/; revision=558034
2006-07-04 15:25:27 +00:00
Pino Toscano 1285825aa5 use install instead of install_files
svn path=/trunk/playground/graphics/okular/; revision=558033
2006-07-04 15:24:52 +00:00
Pino Toscano ef9e957084 adapt to the new snapshot
svn path=/trunk/playground/graphics/cmake/modules/; revision=558003
2006-07-04 14:28:51 +00:00
Pino Toscano 12e7a137d2 Port to the new snapshot.
Quite bad that menus and icons don't work...

svn path=/trunk/playground/graphics/okular/; revision=557452
2006-07-03 10:15:55 +00:00
Pino Toscano 09f8a96671 Draw the okular icon on the top-left corner of the blank pages
svn path=/trunk/playground/graphics/okular/; revision=557176
2006-07-02 15:53:26 +00:00
Pino Toscano abdc7ba733 we're okular
svn path=/trunk/playground/graphics/okular/; revision=557128
2006-07-02 13:21:50 +00:00
Pino Toscano 317132c670 remove some unused stuff; add comments and fix include guard name
svn path=/trunk/playground/graphics/okular/; revision=556946
2006-07-01 23:47:39 +00:00
Pino Toscano f574dc37e6 Make use of the new text export function of the generator.
svn path=/trunk/playground/graphics/okular/; revision=556944
2006-07-01 23:43:35 +00:00
Pino Toscano b3a4b27956 New skeleton for giving the generators the possibility to export the document they open in some format they support.
The text exporting option is detached from that other options and always visible (disabled if not supported), so it could be easier for the user to find it out.

svn path=/trunk/playground/graphics/okular/; revision=556922
2006-07-01 22:17:53 +00:00
Pino Toscano aa109c9ef0 Port the recent changes to kdv, and remove some debug code
(Luigi Toscano)

svn path=/trunk/playground/graphics/okular/; revision=556901
2006-07-01 21:17:42 +00:00
Pino Toscano 0a9a730f9d const
svn path=/trunk/playground/graphics/okular/; revision=556728
2006-07-01 12:47:48 +00:00
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
2006-06-30 22:52:54 +00:00
Pino Toscano d0b5207bce Extract the table of contents from DVI documents.
svn path=/trunk/playground/graphics/okular/; revision=556622
2006-06-30 22:35:48 +00:00
Pino Toscano a324781264 adapt the djvu generator to make use of the okularUtils namespace
svn path=/trunk/playground/graphics/okular/; revision=556609
2006-06-30 21:43:40 +00:00
Pino Toscano bca4b9eb77 Create a okularUtils namespace with utility functions for generators (and maybe not only for them).
svn path=/trunk/playground/graphics/okular/; revision=556608
2006-06-30 21:42:41 +00:00
Pino Toscano 378fa13c90 bitBlt -> QPainter::drawPixmap
svn path=/trunk/playground/graphics/okular/; revision=556580
2006-06-30 18:36:41 +00:00
Pino Toscano 9385667f6c now, really copy (hope so) the strictly necessary files from the dvi plugin of kviewshell, and applying our work to make it work
svn path=/trunk/playground/graphics/okular/; revision=556303
2006-06-29 21:12:47 +00:00
Pino Toscano 7d26d25bd2 delete the dupe files, and now really copying the good ones
svn path=/trunk/playground/graphics/okular/; revision=556294
2006-06-29 20:43:50 +00:00
Pino Toscano 15ab36aac4 Add a small line edit in the top bar o the presentation mode to manually jump to any page of the current presentation.
svn path=/trunk/playground/graphics/okular/; revision=556253
2006-06-29 18:12:12 +00:00
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
2006-06-28 22:57:01 +00:00
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
2006-06-28 20:44:12 +00:00
Pino Toscano e5018d700f Complete support for hyperlinks.
Cookies go to Luigi, thanks!

svn path=/trunk/playground/graphics/okular/; revision=555965
2006-06-28 20:40:47 +00:00
Pino Toscano 39e73f95f6 Read correctly the DjVu area maps (aka links) referring to local pages.
svn path=/trunk/playground/graphics/okular/; revision=555915
2006-06-28 17:52:00 +00:00
Pino Toscano 0b5aae86ab remove old warnings, the colors seem to have been fixed correctly; less deprecated
svn path=/trunk/playground/graphics/okular/; revision=555714
2006-06-28 11:49:01 +00:00
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
Pino Toscano 63c1580412 SVN_SILENT apidox
svn path=/trunk/playground/graphics/okular/; revision=555392
2006-06-27 09:33:43 +00:00
Pino Toscano a9c32d88fc slightly improve
svn path=/trunk/playground/graphics/okular/; revision=555381
2006-06-27 09:15:34 +00:00
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
2006-06-27 00:08:42 +00:00
Pino Toscano 70423d2f95 Be able to rotate fax documents.
svn path=/trunk/playground/graphics/okular/; revision=554987
2006-06-25 22:20:11 +00:00
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
2006-06-25 17:02:34 +00:00
Pino Toscano 840a526be7 Use the configured shortcuts for the PrevPage/NextPage/FirstPage/LastPage actions in the presentation mode, and for the FindNext in the find ahead of the main view.
svn path=/trunk/playground/graphics/okular/; revision=554883
2006-06-25 16:34:11 +00:00
Pino Toscano 7e412556db give back the old cool look to the wheel progress overlay of the presentation mode
svn path=/trunk/playground/graphics/okular/; revision=554869
2006-06-25 15:50:35 +00:00
Pino Toscano e8312ef996 SVN_SILENT
KPDF -> okular
indent

svn path=/trunk/playground/graphics/okular/; revision=554817
2006-06-25 12:53:35 +00:00
Wilfried Huss 0294a6d248 port of commit 554782:
Use antialiasing and 32bit images for embedded postscript.

svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=554783
2006-06-25 10:31:39 +00:00
Wilfried Huss 227296e610 qt3support--
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=554697
2006-06-24 20:16:37 +00:00
Wilfried Huss 3ff70516f8 Fix my last commit.
svn path=/trunk/KDE/kdegraphics/kviewshell/plugins/dvi/; revision=554696
2006-06-24 20:13:51 +00:00