Pino Toscano
d0744fa204
use a feature from v18 only if we have it
...
svn path=/trunk/playground/graphics/okular/; revision=625656
19 years ago
Pino Toscano
f0a80b14fc
Take a bit less time to load a DjVu document: instead of decoding all the pages during the loading to get their info, just decode their status, doing the real page loading when needed (usually when generating their pixmaps).
...
svn path=/trunk/playground/graphics/okular/; revision=625636
19 years ago
Pino Toscano
2de89d6eb8
don't leak the format mask and the (empty) kdjvu
...
svn path=/trunk/playground/graphics/okular/; revision=620781
19 years ago
Pino Toscano
5c0de8b638
Add printing support for DjVu files. (It is also PostScript exporting, as you can print to file to get a PS document.)
...
svn path=/trunk/playground/graphics/okular/; revision=606585
20 years ago
Pino Toscano
4f305424bc
read the annotations only once, ie when loading the pages
...
svn path=/trunk/playground/graphics/okular/; revision=605455
20 years ago
Pino Toscano
cb414fbf1d
remember, pino, remember: djvu coordinates refer to the lower-left corner of a page.
...
fix the coordinate loading for the annotations
svn path=/trunk/playground/graphics/okular/; revision=604204
20 years ago
Pino Toscano
28c63b44e8
read the 'width' info for lines
...
svn path=/trunk/playground/graphics/okular/; revision=604196
20 years ago
Pino Toscano
825c725eaf
change the internal KDjVu data storage to an hash of variants
...
svn path=/trunk/playground/graphics/okular/; revision=604173
20 years ago
Pino Toscano
0c4a081174
Add preliminary support for DjVu Text and Line annotations.
...
This means we can read them almost correctly, but there are some problems with placements and colors.
svn path=/trunk/playground/graphics/okular/; revision=604165
20 years ago
Pino Toscano
a29cbda39e
The DjVu backend can now read hyperlinks whose url is decoded as "(url href target)".
...
svn path=/trunk/playground/graphics/okular/; revision=604073
20 years ago
Pino Toscano
eb83fc5d27
adapt the djvu generator (and kdjvu) to handle images instead of pixmaps
...
add a basic TODO
svn path=/trunk/playground/graphics/okular/; revision=599108
20 years ago
Tobias Koenig
fccd412d69
* Added documentation to Generator API
...
* Moved all implementations to generator.cpp
* Added 'const' where it make sense
* Adapted all generators (except gs)
svn path=/trunk/playground/graphics/okular/; revision=597525
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
0211c662e9
now that KDjVu works nicely, reduce the debug
...
svn path=/trunk/playground/graphics/okular/; revision=559952
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
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
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
5242e3bd7e
encode the file name correctly
...
svn path=/trunk/playground/graphics/okular/; revision=552037
20 years ago
Pino Toscano
dc0168a8f4
add the info about the number of components of the current document
...
svn path=/branches/work/kde4/playground/graphics/okular/; revision=550300
20 years ago
Pino Toscano
d0ac95dafd
A new backend for oKular: DjVu:
...
* uses the DjVuLibre for loading the DjVu files
* can rotate the pages
* has a cache (with few elements) with the most recently used generated pixmaps,
to reduce a bit the number of pixmap generation
There could be some issues, but mainly it works nicely.
svn path=/branches/work/kde4/playground/graphics/cmake/; revision=549184
20 years ago