Pino Toscano
1b49db09d5
be sure to delete the old pixmap before setting a new one
...
svn path=/trunk/playground/graphics/okular/; revision=621863
2007-01-09 23:37:26 +00:00
Pino Toscano
ba36aa3953
fix broken blind porting
...
svn path=/trunk/playground/graphics/okular/; revision=621803
2007-01-09 20:16:04 +00:00
Laurent Montel
34edbef72d
Port to new api
...
svn path=/trunk/playground/graphics/okular/; revision=621624
2007-01-09 11:02:04 +00:00
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
2007-01-07 16:42:24 +00:00
Pino Toscano
2538e1fce0
remove old enum (belongs to the external -removed- notification system)
...
svn path=/trunk/playground/graphics/okular/; revision=620790
2007-01-07 11:46:33 +00:00
Pino Toscano
2de89d6eb8
don't leak the format mask and the (empty) kdjvu
...
svn path=/trunk/playground/graphics/okular/; revision=620781
2007-01-07 10:46:50 +00:00
Pino Toscano
d156bdf36c
give it a parent so it's automatically deleted and not leaked
...
svn path=/trunk/playground/graphics/okular/; revision=620773
2007-01-07 09:43:58 +00:00
Pino Toscano
2d49a3c7ee
the dvi generator optionally requires freetype
...
svn path=/trunk/playground/graphics/okular/; revision=620651
2007-01-06 21:14:13 +00:00
Pino Toscano
5636ac551f
don't leak memory when loading page actions from poppler, and sound objects
...
svn path=/trunk/playground/graphics/okular/; revision=620533
2007-01-06 14:25:33 +00:00
Pino Toscano
dcd943cef7
SVN_SILENT fix #ifdef
...
svn path=/trunk/playground/graphics/okular/; revision=620441
2007-01-06 01:08:05 +00:00
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
2007-01-05 23:12:06 +00:00
Pino Toscano
edecb5b1b3
SVN_SILENT clean up
...
svn path=/trunk/playground/graphics/okular/; revision=620359
2007-01-05 19:17:00 +00:00
Pino Toscano
439d76c8f8
better icon (and with the RtL version)
...
svn path=/trunk/playground/graphics/okular/; revision=620355
2007-01-05 19:02:39 +00:00
Pino Toscano
55d26ba370
no more initial rotation
...
svn path=/trunk/playground/graphics/okular/; revision=620317
2007-01-05 17:17:30 +00:00
Pino Toscano
4b922367e2
Use a proper enum to deal with orientation/rotation all around okular.
...
svn path=/trunk/playground/graphics/okular/; revision=620312
2007-01-05 17:09:47 +00:00
Tobias Koenig
7f9581f455
Add missing Q_DISABLE_COPY
...
svn path=/trunk/playground/graphics/okular/; revision=620303
2007-01-05 16:40:07 +00:00
Tobias Koenig
42614623e8
Rotate the highlights correctly
...
svn path=/trunk/playground/graphics/okular/; revision=620273
2007-01-05 15:16:36 +00:00
Pino Toscano
8fbebeb737
no need to pass a reference to an enum value
...
svn path=/trunk/playground/graphics/okular/; revision=620270
2007-01-05 15:00:12 +00:00
Tobias Koenig
7cff5de9ce
Coding style cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=620258
2007-01-05 14:40:38 +00:00
Pino Toscano
91296b627a
SVN_SILENT no more needed
...
svn path=/trunk/playground/graphics/okular/; revision=620159
2007-01-05 12:54:03 +00:00
Pino Toscano
64769a62ce
let the Document forward the BookmarkManager signal
...
svn path=/trunk/playground/graphics/okular/; revision=620158
2007-01-05 12:51:58 +00:00
Pino Toscano
3f8d978f68
allow only the Document to construct a BookmarkManager
...
svn path=/trunk/playground/graphics/okular/; revision=620153
2007-01-05 12:44:35 +00:00
Pino Toscano
46632f1f6f
As now the requests are done in the right order, request first the next and then the previous page.
...
svn path=/trunk/playground/graphics/okular/; revision=619959
2007-01-04 21:47:54 +00:00
Albert Astals Cid
9194097545
Fix strange behaviour reported by dimsuz on #kpdf regarding the rightclick event when on zoom mode
...
svn path=/trunk/playground/graphics/okular/; revision=619948
2007-01-04 21:06:44 +00:00
Pino Toscano
81694d6a83
donìt leak in the google-like searches
...
svn path=/trunk/playground/graphics/okular/; revision=619924
2007-01-04 18:59:31 +00:00
Pino Toscano
9f8ea8b546
don't leak when doing AllDocument/FindNext searches
...
svn path=/trunk/playground/graphics/okular/; revision=619897
2007-01-04 18:13:00 +00:00
Tobias Koenig
ac792e5c9c
Fixed krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=619843
2007-01-04 15:22:28 +00:00
Pino Toscano
4aa85cdb49
One single char remove to create correctly the queue of pixmap requests: new asynchronous requests goes as last one in the group of other with the same priority.
...
Thus, if an observer requests eg pixmap for pages 2 and 3, now they are generated in the correct order the observer specified, and not in the reversed one.
Then, revert part of r619673, as the order is fixed now.
svn path=/trunk/playground/graphics/okular/; revision=619810
2007-01-04 14:28:54 +00:00
Pino Toscano
6c4fac7c72
two more wishes done
...
svn path=/trunk/playground/graphics/okular/; revision=619682
2007-01-04 00:23:45 +00:00
Pino Toscano
20661ff61e
Add an interface (implemented by the Part) for controlling the really basic document viewer functionalities. This (along with a small refactor in the okular shell) gives the user the possibility to start okular with:
...
-p, --page <page> : to select the startup page
--presentation : to start directly in presentation mode
implementing also KPDF wishes #134115 and #137905 .
svn path=/trunk/playground/graphics/okular/; revision=619681
2007-01-04 00:20:50 +00:00
Pino Toscano
fa3f297b06
Fix a nasty bug that could happened in presentation mode:
...
when requestng -synchronously- a pixmap for the current page, it could be scheduled in the queue. Then, requesting the previous and next page in presentation mode -in a second request- caused the deletion of the original page request
The fix consists in requesting all the requests -at once-, so no request is lost.
Furthermore, swap the order of previous and next page request so the next page pixmap is requested before (worth touching Document directly?)
svn path=/trunk/playground/graphics/okular/; revision=619673
2007-01-04 00:02:48 +00:00
Pino Toscano
bd14706edb
leak a bit less memory
...
svn path=/trunk/playground/graphics/okular/; revision=619558
2007-01-03 17:57:03 +00:00
Tobias Koenig
ea51ee18f5
Do a lot of include cleanups... we install all important
...
header files now
svn path=/trunk/playground/graphics/okular/; revision=619492
2007-01-03 14:30:48 +00:00
Pino Toscano
ce3ff8fb78
the url can be any kind, not only browseable http
...
svn path=/trunk/playground/graphics/okular/; revision=619426
2007-01-03 11:58:36 +00:00
Pino Toscano
652787611d
make it build with the new kdelibs
...
svn path=/trunk/playground/graphics/okular/; revision=619217
2007-01-03 00:17:31 +00:00
Pino Toscano
415b63a8b8
a semicolon more
...
svn path=/trunk/playground/graphics/okular/; revision=619208
2007-01-02 23:57:21 +00:00
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
2007-01-02 22:37:55 +00:00
Tobias Koenig
77efd7dcb1
Cleaned up the Document API, moved all private members/methods/slots into
...
the d class.
svn path=/trunk/playground/graphics/okular/; revision=619100
2007-01-02 19:05:49 +00:00
Pino Toscano
328958171d
use the right include
...
svn path=/trunk/playground/graphics/okular/; revision=619077
2007-01-02 17:50:24 +00:00
Tobias Koenig
2aa8a4c31b
Moved SourceReference into its own file
...
svn path=/trunk/playground/graphics/okular/; revision=619076
2007-01-02 17:45:32 +00:00
Tobias Koenig
472f4028c2
Add API documentations
...
svn path=/trunk/playground/graphics/okular/; revision=619073
2007-01-02 17:25:26 +00:00
Pino Toscano
915a48eb4d
move the Generator configuration stuff into a new ConfigInterface
...
svn path=/trunk/playground/graphics/okular/; revision=619061
2007-01-02 17:14:37 +00:00
Tobias Koenig
14ea3ab2ef
Further documentation and API cleanups
...
svn path=/trunk/playground/graphics/okular/; revision=619054
2007-01-02 17:05:49 +00:00
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
2007-01-02 16:40:22 +00:00
Pino Toscano
1633d45c4a
SVN_SILENT d'oh, typo
...
svn path=/trunk/playground/graphics/okular/; revision=619034
2007-01-02 16:14:22 +00:00
Pino Toscano
475d000763
Improve the way a Generator can configure a printer: add an interface with the advanced printing stuff.
...
The print() method remains in Generator, as it's too basic to be moved in an interface.
svn path=/trunk/playground/graphics/okular/; revision=619033
2007-01-02 16:11:40 +00:00
Pino Toscano
6d3cd62a11
it's no more needed to have the annotation boundary in the gui
...
svn path=/trunk/playground/graphics/okular/; revision=618240
2006-12-31 18:01:15 +00:00
Pino Toscano
d5f99995dd
add handy debug operators for NormalizedPoint and NormalizedRect
...
svn path=/trunk/playground/graphics/okular/; revision=618237
2006-12-31 17:52:24 +00:00
Pino Toscano
69cdc31727
SVN_SILENT unused parameters
...
svn path=/trunk/playground/graphics/okular/; revision=618233
2006-12-31 17:44:38 +00:00
Pino Toscano
c51c412057
ok, let's sdo it seriously now: use the right precision for the page duration that a PDF can give us
...
svn path=/trunk/playground/graphics/okular/; revision=618194
2006-12-31 14:41:34 +00:00