Commit graph

3397 commits

Author SHA1 Message Date
Laurent Montel 5fbbfe0f72 Fix typo
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=664124
2007-05-13 07:42:39 +00:00
Tobias Koenig c61432ffb9 Add Find module for Okular Generator library
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=664110
2007-05-13 07:10:15 +00:00
Pino Toscano d6ac16dce7 a pair of updates
svn path=/trunk/KDE/kdegraphics/okular/; revision=664011
2007-05-12 22:33:17 +00:00
Tobias Koenig cc94bfe344 Further extension of the 'HOWTO write a plugin' document
svn path=/trunk/KDE/kdegraphics/okular/; revision=663998
2007-05-12 21:50:28 +00:00
Pino Toscano 8f03f0d0d7 try to lock the pixmap requests queue with a mutex, hoping to solve some of our problems
svn path=/trunk/KDE/kdegraphics/okular/; revision=663991
2007-05-12 21:40:38 +00:00
Tobias Koenig c667d89cc4 Started to write a 'HOWTO implement an okular plugin'
svn path=/trunk/KDE/kdegraphics/okular/; revision=663940
2007-05-12 18:20:31 +00:00
Tobias Koenig bbbbd8eda9 Fixed the 'select one line twice' bug.
It's always helpfull to talk to a koffice developer, thanks to Thomas :)

svn path=/trunk/KDE/kdegraphics/okular/; revision=663744
2007-05-12 08:17:02 +00:00
Albert Astals Cid 61b3f856d0 fordwardport SVN commit 663027 by aacid:
Improve handling of page sizes when printing. 

svn path=/trunk/KDE/kdegraphics/okular/; revision=663034
2007-05-09 21:30:33 +00:00
Script Kiddy 1d727e66f6 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=662419
2007-05-08 05:06:32 +00:00
Pino Toscano 8ccb38b9fe very small cleanup among the #include part
svn path=/trunk/KDE/kdegraphics/okular/; revision=661773
2007-05-06 15:10:16 +00:00
Pino Toscano 7c8cc68a8c Add a Reload menu item to manually reload a document.
Useful for example when not using the watching file features.
Implements KPDF bug #136820.

svn path=/trunk/KDE/kdegraphics/okular/; revision=661681
2007-05-06 11:23:26 +00:00
Pino Toscano c2b0c10222 a pair of updates
svn path=/trunk/KDE/kdegraphics/okular/; revision=661522
2007-05-05 21:55:34 +00:00
Pino Toscano 48d0f95745 delete the previous action when setting a new one
svn path=/trunk/KDE/kdegraphics/okular/; revision=661489
2007-05-05 18:22:26 +00:00
Pino Toscano 325b8711ea move the setTextSelections, setHighlight and deleteHighlights to the private class of Page, as they are private for now
svn path=/trunk/KDE/kdegraphics/okular/; revision=661486
2007-05-05 18:07:34 +00:00
Pino Toscano 1eb435cddb remove the kdebug.h inclusion in area.h
svn path=/trunk/KDE/kdegraphics/okular/; revision=661410
2007-05-05 13:50:44 +00:00
Pino Toscano 94355bce65 move the transform() hierarchy within the private class; allow AnnotationObjectRect to use the trasform() stuff
svn path=/trunk/KDE/kdegraphics/okular/; revision=661202
2007-05-04 20:45:45 +00:00
Pino Toscano bfe21b46f8 refactor the Annotation hierarchy to use a common d_ptr like Qt; move the AnnotationPrivate definition in an own header (it will be useful later...)
svn path=/trunk/KDE/kdegraphics/okular/; revision=661195
2007-05-04 20:24:12 +00:00
Dirk Mueller 43a23a2de6 the usual "daily unbreak compilation"
svn path=/trunk/KDE/kdegraphics/okular/; revision=661101
2007-05-04 15:41:04 +00:00
Pino Toscano 06411f9805 Add links and annotations when loading the pages, not during the pixmap generations.
Tobias: is the calculation of the annotations bounding rect correct?
CCMAIL: tokoe@kde.org

svn path=/trunk/KDE/kdegraphics/okular/; revision=660831
2007-05-03 21:45:14 +00:00
Pino Toscano 6aaefb7f68 "pdf"/"pdf file" -> "document"
svn path=/trunk/KDE/kdegraphics/okular/; revision=660526
2007-05-02 23:06:38 +00:00
Pino Toscano b53ba3cd24 make widget() slightly safier, and pass it as parameter when running an url (closing a TODO item)
svn path=/trunk/KDE/kdegraphics/okular/; revision=660524
2007-05-02 22:56:51 +00:00
Pino Toscano 106e96240c rename (almost) every ActionFoo class to FooAction
exception to this is the ActionDocumentAction, renamed to DocumentAction and whose id is DocAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=660523
2007-05-02 22:50:27 +00:00
Pino Toscano 25b6b590b9 refactor the hierarchy of the provate classes to be much like Qt-ish (common d_ptr, d_func(), etc)
svn path=/trunk/KDE/kdegraphics/okular/; revision=660511
2007-05-02 21:59:44 +00:00
Pino Toscano 892df34b19 any negative page number represents an invalid viewport
svn path=/trunk/KDE/kdegraphics/okular/; revision=660436
2007-05-02 18:21:15 +00:00
Pino Toscano a9532ee414 and a static QBitmap here leaks as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=660422
2007-05-02 17:25:49 +00:00
Pino Toscano 912706a856 revert my r659797, a QButtonGroup can't help here
svn path=/trunk/KDE/kdegraphics/okular/; revision=660408
2007-05-02 16:37:59 +00:00
Pino Toscano e79cd474d9 move the Page rotating and changing page functions to the private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=660214
2007-05-01 23:36:57 +00:00
Pino Toscano 7cfa67ecf4 improve a bit the Document::setPageSize API -- better pass the size, and not an index
svn path=/trunk/KDE/kdegraphics/okular/; revision=660208
2007-05-01 23:21:29 +00:00
Pino Toscano 0f4cd40e26 slotRotation -> setRotation
svn path=/trunk/KDE/kdegraphics/okular/; revision=660207
2007-05-01 23:09:45 +00:00
Pino Toscano 1e68ded6c9 Florian is right, change also the icon of the add/remove bookmark action
svn path=/trunk/KDE/kdegraphics/okular/; revision=660124
2007-05-01 16:38:35 +00:00
Pino Toscano 0260a8f2d6 properly isolate rebuildTree() from the itemChanged() signals
svn path=/trunk/KDE/kdegraphics/okular/; revision=660102
2007-05-01 14:51:55 +00:00
Pino Toscano 8eca279375 Add an Add/Remove Bookmark to add/remove a bookmark for the current page.
svn path=/trunk/KDE/kdegraphics/okular/; revision=660097
2007-05-01 14:43:30 +00:00
Pino Toscano f8662cfa90 disconnect() the itemChanged() before rebuilding the tree and reconnect after that, otherwise we'll end up saving the bookmarks many times
svn path=/trunk/KDE/kdegraphics/okular/; revision=660050
2007-05-01 12:01:37 +00:00
Pino Toscano 859c246013 drop the idea of the static QBitmap, so it's not leaked anymore
svn path=/trunk/KDE/kdegraphics/okular/; revision=660048
2007-05-01 11:46:47 +00:00
Pino Toscano bb01aa18da this action button has to stay hidden until really needed
svn path=/trunk/KDE/kdegraphics/okular/; revision=660043
2007-05-01 11:36:25 +00:00
Pino Toscano 6d99240256 hopefully port to the new Phonon API
svn path=/trunk/KDE/kdegraphics/okular/; revision=660038
2007-05-01 11:25:32 +00:00
Pino Toscano dc4acc7b83 KLibrary::globalLibrary -> KLibrary::library
svn path=/trunk/KDE/kdegraphics/okular/; revision=660035
2007-05-01 11:22:22 +00:00
Stephan Binner d4940f5a56 fix compilation
svn path=/trunk/KDE/kdegraphics/okular/; revision=659939
2007-05-01 05:28:28 +00:00
Pino Toscano ea163815a8 hopefully make really use in presentation mode of the global shortcuts for first/last/next/prev page
svn path=/trunk/KDE/kdegraphics/okular/; revision=659849
2007-04-30 22:04:11 +00:00
Pino Toscano f9d3246141 use a button group and simplify a bit
svn path=/trunk/KDE/kdegraphics/okular/; revision=659797
2007-04-30 20:26:26 +00:00
Pino Toscano 2c1d5aa44e Refactor a bit the annotating toolbar, so it can handle better its items and cha
nges to its status. This brings us:
- less item reloading (previously done every time the toolbar is shown, now only when needed)
- the toolbar is redrawn correctly if it's shown and a new document is open
- as Albert pointed me yesterday, no need to show the annotating tools that act on text if the document does not support the extraction of text

svn path=/trunk/KDE/kdegraphics/okular/; revision=659722
2007-04-30 17:40:53 +00:00
Pino Toscano 2654c1b16b set a proper WId for KWallet -- thanks Lubos for the kind remind :)
svn path=/trunk/KDE/kdegraphics/okular/; revision=659706
2007-04-30 17:13:58 +00:00
Luboš Luňák 6843ce2916 No default window argument to kwallet calls.
svn path=/trunk/KDE/kdegraphics/okular/; revision=659643
2007-04-30 15:04:29 +00:00
Urs Wolfer 30114716c4 adopt to new API
svn path=/trunk/KDE/kdegraphics/okular/; revision=659609
2007-04-30 13:49:23 +00:00
Pino Toscano 5cd9ce1019 Master Albert is right, no need to enable the search widget over the thumbnails if the document does not support search (mainly because its backend does not support text extraction).
svn path=/trunk/KDE/kdegraphics/okular/; revision=659315
2007-04-29 22:50:32 +00:00
Script Kiddy 46781db872 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=658969
2007-04-29 05:00:55 +00:00
Pino Toscano dde7280d55 respect the DRM permissions for form filling
svn path=/trunk/KDE/kdegraphics/okular/; revision=658944
2007-04-28 23:22:20 +00:00
Albert Astals Cid 3ff1d4b9be adapt to poppler head change
svn path=/trunk/KDE/kdegraphics/okular/; revision=658743
2007-04-28 12:01:25 +00:00
Pino Toscano f61e86d542 Adapt to the recent changes in Poppler HEAD, mainly in the posibility to generate links anytime, and not just as a result of a pixmap generation.
svn path=/trunk/KDE/kdegraphics/okular/; revision=658738
2007-04-28 11:30:55 +00:00
Pino Toscano fa7ec200a4 this is no more needed
svn path=/trunk/KDE/kdegraphics/okular/; revision=658624
2007-04-27 22:57:08 +00:00