Pino Toscano
1b49db09d5
be sure to delete the old pixmap before setting a new one
...
svn path=/trunk/playground/graphics/okular/; revision=621863
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
2538e1fce0
remove old enum (belongs to the external -removed- notification system)
...
svn path=/trunk/playground/graphics/okular/; revision=620790
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
d156bdf36c
give it a parent so it's automatically deleted and not leaked
...
svn path=/trunk/playground/graphics/okular/; revision=620773
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
dcd943cef7
SVN_SILENT fix #ifdef
...
svn path=/trunk/playground/graphics/okular/; revision=620441
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
edecb5b1b3
SVN_SILENT clean up
...
svn path=/trunk/playground/graphics/okular/; revision=620359
19 years ago
Pino Toscano
439d76c8f8
better icon (and with the RtL version)
...
svn path=/trunk/playground/graphics/okular/; revision=620355
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
7f9581f455
Add missing Q_DISABLE_COPY
...
svn path=/trunk/playground/graphics/okular/; revision=620303
19 years ago
Tobias Koenig
42614623e8
Rotate the highlights correctly
...
svn path=/trunk/playground/graphics/okular/; revision=620273
19 years ago
Pino Toscano
8fbebeb737
no need to pass a reference to an enum value
...
svn path=/trunk/playground/graphics/okular/; revision=620270
19 years ago
Tobias Koenig
7cff5de9ce
Coding style cleanup
...
svn path=/trunk/playground/graphics/okular/; revision=620258
19 years ago
Pino Toscano
91296b627a
SVN_SILENT no more needed
...
svn path=/trunk/playground/graphics/okular/; revision=620159
19 years ago
Pino Toscano
64769a62ce
let the Document forward the BookmarkManager signal
...
svn path=/trunk/playground/graphics/okular/; revision=620158
19 years ago
Pino Toscano
3f8d978f68
allow only the Document to construct a BookmarkManager
...
svn path=/trunk/playground/graphics/okular/; revision=620153
19 years ago
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
19 years ago
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
19 years ago
Pino Toscano
81694d6a83
donìt leak in the google-like searches
...
svn path=/trunk/playground/graphics/okular/; revision=619924
19 years ago
Pino Toscano
9f8ea8b546
don't leak when doing AllDocument/FindNext searches
...
svn path=/trunk/playground/graphics/okular/; revision=619897
19 years ago
Tobias Koenig
ac792e5c9c
Fixed krazy issues
...
svn path=/trunk/playground/graphics/okular/; revision=619843
19 years ago
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
19 years ago
Pino Toscano
6c4fac7c72
two more wishes done
...
svn path=/trunk/playground/graphics/okular/; revision=619682
19 years ago
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
19 years ago
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
19 years ago
Pino Toscano
bd14706edb
leak a bit less memory
...
svn path=/trunk/playground/graphics/okular/; revision=619558
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
ce3ff8fb78
the url can be any kind, not only browseable http
...
svn path=/trunk/playground/graphics/okular/; revision=619426
19 years ago
Pino Toscano
652787611d
make it build with the new kdelibs
...
svn path=/trunk/playground/graphics/okular/; revision=619217
19 years ago
Pino Toscano
415b63a8b8
a semicolon more
...
svn path=/trunk/playground/graphics/okular/; revision=619208
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
77efd7dcb1
Cleaned up the Document API, moved all private members/methods/slots into
...
the d class.
svn path=/trunk/playground/graphics/okular/; revision=619100
19 years ago
Pino Toscano
328958171d
use the right include
...
svn path=/trunk/playground/graphics/okular/; revision=619077
19 years ago
Tobias Koenig
2aa8a4c31b
Moved SourceReference into its own file
...
svn path=/trunk/playground/graphics/okular/; revision=619076
19 years ago
Tobias Koenig
472f4028c2
Add API documentations
...
svn path=/trunk/playground/graphics/okular/; revision=619073
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
Tobias Koenig
14ea3ab2ef
Further documentation and API cleanups
...
svn path=/trunk/playground/graphics/okular/; revision=619054
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
1633d45c4a
SVN_SILENT d'oh, typo
...
svn path=/trunk/playground/graphics/okular/; revision=619034
19 years ago
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
19 years ago
Pino Toscano
6d3cd62a11
it's no more needed to have the annotation boundary in the gui
...
svn path=/trunk/playground/graphics/okular/; revision=618240
19 years ago
Pino Toscano
d5f99995dd
add handy debug operators for NormalizedPoint and NormalizedRect
...
svn path=/trunk/playground/graphics/okular/; revision=618237
19 years ago
Pino Toscano
69cdc31727
SVN_SILENT unused parameters
...
svn path=/trunk/playground/graphics/okular/; revision=618233
19 years ago
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
19 years ago