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
Tobias Koenig
e642b97c8c
Make the generator multithreaded
...
svn path=/trunk/playground/graphics/okular/; revision=625262
19 years ago
Tobias Koenig
427325fef2
Don't print over the size of the page
...
svn path=/trunk/playground/graphics/okular/; revision=625254
19 years ago
Tobias Koenig
69557420a7
Add support for document internal links
...
svn path=/trunk/playground/graphics/okular/; revision=624979
19 years ago
Albert Astals Cid
317abde0f9
compile
...
svn path=/trunk/playground/graphics/okular/; revision=624729
19 years ago
Tobias Koenig
deabbae3bf
Say hello to the new ComicBook generator for okular.
...
Information about this format and testfiles can be found at
http://en.wikipedia.org/wiki/CDisplay_RAR_Archived_Comic_Book_File
svn path=/trunk/playground/graphics/okular/; revision=624702
19 years ago
Pino Toscano
169b752433
make it compile properly
...
svn path=/trunk/playground/graphics/okular/; revision=624689
19 years ago
Pino Toscano
4f6666d509
also the page size is a feature, so thread it as such (and remove supportsPageSizes())
...
svn path=/trunk/playground/graphics/okular/; revision=624686
19 years ago
Pino Toscano
a1b0e157c8
release the pointer of a done request
...
svn path=/trunk/playground/graphics/okular/; revision=624662
19 years ago
Pino Toscano
3a4e56015e
no need to recalculate the links for every pixmap request
...
isolate the link+objectrect and annotation conversions into own functions
svn path=/trunk/playground/graphics/okular/; revision=624659
19 years ago
Pino Toscano
135a18b407
get rid of supportsSearching() by using a proper feature
...
svn path=/trunk/playground/graphics/okular/; revision=624587
19 years ago
Pino Toscano
468a0da775
bye bye canGenerateTextPage(), unused nowadays
...
svn path=/trunk/playground/graphics/okular/; revision=624579
19 years ago
Tobias Koenig
ce289e816d
Port OOO generator to TextDocumentGenerator, so it supports text
...
extraction now as well
svn path=/trunk/playground/graphics/okular/; revision=623084
19 years ago
Tobias Koenig
e1ab8660ef
Add new TextDocumentGenerator class, which is a base class for
...
generators which work on a QTextDocument. So all the nasty calculation
for text extraction and link/annotation positions is done by the
generator.
Ported FictionBook generator to it.
svn path=/trunk/playground/graphics/okular/; revision=623071
19 years ago
Pino Toscano
5bd13f7c0e
update the keep status only when really needed
...
svn path=/trunk/playground/graphics/okular/; revision=623026
19 years ago
Albert Astals Cid
c9102c7cfd
Add loadDocumentFromData method to the pdf backend.
...
You need poppler cvs version as of a few seconds ago to make it work
svn path=/trunk/playground/graphics/okular/; revision=622998
19 years ago
Pino Toscano
4f8724b62b
Improve a bit the image generator, even if it's just a toy:
...
- use QImage instead of QPixmap, and save some QPixmap <-> QImage conversions
- make it able to read from raw data (read from stdin) as a simple example of the functionality
svn path=/trunk/playground/graphics/okular/; revision=622775
19 years ago
Pino Toscano
ba36aa3953
fix broken blind porting
...
svn path=/trunk/playground/graphics/okular/; revision=621803
19 years ago
Laurent Montel
34edbef72d
Port to new api
...
svn path=/trunk/playground/graphics/okular/; revision=621624
19 years ago
Tobias Koenig
53c97a481b
Add generator plugin for the FictionBook format ( http://en.wikipedia.org/wiki/FictionBook ),
...
you can find documents e.g. under http://www.fictionbook.ru
svn path=/trunk/playground/graphics/okular/; revision=620876
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
2d49a3c7ee
the dvi generator optionally requires freetype
...
svn path=/trunk/playground/graphics/okular/; revision=620651
19 years ago
Pino Toscano
5636ac551f
don't leak memory when loading page actions from poppler, and sound objects
...
svn path=/trunk/playground/graphics/okular/; revision=620533
19 years ago
Pino Toscano
18fab3d130
Improve the way we deal with generators that give the possibility to change the size of the pages: instead of let them destroy and recreate the pages (bad), ask them the sizes they support, then do the work ourselves and notify the generator when the work is done.
...
While I was at it, I changed from "paper size" to "page size", it should be better.
svn path=/trunk/playground/graphics/okular/; revision=620411
19 years ago
Pino Toscano
55d26ba370
no more initial rotation
...
svn path=/trunk/playground/graphics/okular/; revision=620317
19 years ago
Pino Toscano
4b922367e2
Use a proper enum to deal with orientation/rotation all around okular.
...
svn path=/trunk/playground/graphics/okular/; revision=620312
19 years ago
Tobias Koenig
ac792e5c9c
Fixed krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=619843
19 years ago
Tobias Koenig
ea51ee18f5
Do a lot of include cleanups... we install all important
...
header files now
svn path=/trunk/playground/graphics/okular/; revision=619492
19 years ago
Pino Toscano
652787611d
make it build with the new kdelibs
...
svn path=/trunk/playground/graphics/okular/; revision=619217
19 years ago
Tobias Koenig
86a1fd3b69
Big cleanup of Document API and documentation:
...
* add full API docs
* renamed getMetaData -> metaData
* removed supportsRotation in Document and Generator
* moved Permission and SearchDirection enums into separated header core/global.h
svn path=/trunk/playground/graphics/okular/; revision=619183
19 years ago
Tobias Koenig
2aa8a4c31b
Moved SourceReference into its own file
...
svn path=/trunk/playground/graphics/okular/; revision=619076
19 years ago
Pino Toscano
915a48eb4d
move the Generator configuration stuff into a new ConfigInterface
...
svn path=/trunk/playground/graphics/okular/; revision=619061
19 years ago
Pino Toscano
d9a844d67c
move the GUI stuff out of Generator in an own GuiInterface, and adapt the ghostscript generator to its usage; renamed also some methods to more Qt4-ish names.
...
svn path=/trunk/playground/graphics/okular/; revision=619044
19 years ago
Pino Toscano
69cdc31727
SVN_SILENT unused parameters
...
svn path=/trunk/playground/graphics/okular/; revision=618233
19 years ago
Pino Toscano
5083655c11
Implement the page duration in presentation mode, and read the info from PDF documents.
...
svn path=/trunk/playground/graphics/okular/; revision=618136
19 years ago
Tobias Koenig
4fe8bdce53
Fixed free text selection for rotated pages
...
svn path=/trunk/playground/graphics/okular/; revision=617621
19 years ago
Albert Astals Cid
486095425b
Master pino wants me to commit this
...
svn path=/trunk/playground/graphics/okular/; revision=617564
19 years ago
Pino Toscano
94c9ffa3d7
do not explicitely include document.h in generator.h
...
svn path=/trunk/playground/graphics/okular/; revision=617283
19 years ago
Pino Toscano
0594e78bdc
make it compile correctly everywhere
...
svn path=/trunk/playground/graphics/okular/; revision=616997
19 years ago
André Wöbbeking
6e7d98b829
adapt to Aaron's kdelibs changes
...
svn path=/trunk/playground/graphics/okular/; revision=616901
19 years ago
Pino Toscano
b7328d7234
add an handy DocumentViewport::isValid() and use it where possible instead of doing checks manually
...
svn path=/trunk/playground/graphics/okular/; revision=616667
19 years ago
Pino Toscano
536ebab639
SmallIconSet -> KIcon
...
DesktopIconSet -> KIcon
fix the #include's accordingly, where possible
svn path=/trunk/playground/graphics/okular/; revision=615251
20 years ago
Laurent Montel
06b79cdf27
Compile++
...
svn path=/trunk/playground/graphics/okular/; revision=614897
20 years ago
Tobias Koenig
6f9d0df5cd
Further annotation API cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=612395
20 years ago
Tobias Koenig
a9f58440df
First large commit for the Annotation API cleanup
...
* Moved all public member variables of Annotation to private
and add accessors
* Renamed RevScope and RevType to RevisionScope and RevisionType
* Add API documentation (@pino , please review)
svn path=/trunk/playground/graphics/okular/; revision=610749
20 years ago
Tobias Koenig
0166264223
Add patch written by Leandro Emanuel Lopez which adds master-page-support
...
svn path=/trunk/playground/graphics/okular/; revision=610404
20 years ago
Tobias Koenig
d276fc4aa1
Add support for annotations
...
@Pino : Can you write a big, green 'Yes' on the website, please? :)
svn path=/trunk/playground/graphics/okular/; revision=609168
20 years ago
Tobias Koenig
57139e3192
API cleanup (utils.h), renamed getDpiX -> dpiX() and getDpiY -> dpiY()
...
svn path=/trunk/playground/graphics/okular/; revision=608236
20 years ago
Tobias Koenig
9969547b0c
* observer API cleanup
...
* removed NotifyRequest, that looked more like a hack than a solution
(see comment in ghostscript generator)
svn path=/trunk/playground/graphics/okular/; revision=608235
20 years ago