Commit graph

3397 commits

Author SHA1 Message Date
Pino Toscano 1248d82976 Keep it up to the recent poppler HEAD changes:
- add the title when printing
- add a print settings page for the rasterization option
both were already there in KPDF, just waiting for their counterpart in poppler.

svn path=/trunk/KDE/kdegraphics/okular/; revision=658608
2007-04-27 22:10:08 +00:00
Laurent Montel b3c76b285b Move into kdelibs
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=657254
2007-04-23 16:52:54 +00:00
Pino Toscano db817781c9 cache the font names instead of reinit them every time we want the information about fonts
svn path=/trunk/KDE/kdegraphics/okular/; revision=656936
2007-04-22 19:16:38 +00:00
Albert Astals Cid c4f3580d28 commit the code that will replace the AGG based code once QPainter works
http://www.trolltech.com/developer/task-tracker/index_html?id=158815&method=entry
for more information

svn path=/trunk/KDE/kdegraphics/okular/; revision=656841
2007-04-22 14:01:03 +00:00
Pino Toscano 7ad2256498 let poppler calculate width and height
svn path=/trunk/KDE/kdegraphics/okular/; revision=656830
2007-04-22 13:05:20 +00:00
Pino Toscano 56a44d8e25 fix off-by-one error in the rect of a thumbnail
svn path=/trunk/KDE/kdegraphics/okular/; revision=656829
2007-04-22 13:04:31 +00:00
Pino Toscano 76171e38e6 manual activate the antialiasing for both text and gfx, if using poppler HEAD
svn path=/trunk/KDE/kdegraphics/okular/; revision=656807
2007-04-22 12:17:46 +00:00
Laurent Montel c03c8f0c3c Remove not necessary include
svn path=/trunk/KDE/kdegraphics/okular/; revision=656802
2007-04-22 12:03:30 +00:00
Pino Toscano 8a216058f3 clean the headers
svn path=/trunk/KDE/kdegraphics/okular/; revision=656768
2007-04-22 10:39:31 +00:00
Pino Toscano 9bca223282 global.h must be installed as well
svn path=/trunk/KDE/kdegraphics/okular/; revision=656760
2007-04-22 10:23:59 +00:00
Laurent Montel 44fbf99be0 Remove not necessary include
svn path=/trunk/KDE/kdegraphics/okular/; revision=656728
2007-04-22 08:11:41 +00:00
Pino Toscano 13d14942e6 first step of a KPDF -> okular conversion: copy the data file for the document to be opened to the new place
svn path=/trunk/KDE/kdegraphics/okular/; revision=656648
2007-04-21 23:07:44 +00:00
Pino Toscano 2e024d6d96 generalize a bit more the way for constructing "standard" ExportFormat's
svn path=/trunk/KDE/kdegraphics/okular/; revision=656426
2007-04-21 11:09:41 +00:00
Pino Toscano 2577cf1773 convert the busyPixmap from KStaticDeleter to K_GLOBAL_STATIC
svn path=/trunk/KDE/kdegraphics/okular/; revision=656418
2007-04-21 10:44:18 +00:00
Pino Toscano 1b042d4c9f make the auto-advance timer singleshot, otherwise we can't stop it if a non-timed page follows one or more timed-one(s)
accept also 0 as page duration, meaning that we have to skip immediately to the next page
the implementation is still not perfect, we need to paint each slide even if the time set is 0, but we're improving

svn path=/trunk/KDE/kdegraphics/okular/; revision=656317
2007-04-21 00:02:12 +00:00
Pino Toscano bf9f5c6fa8 Forwardport of SVN commit 656308 by pino:
Restore the previously open pane in the side toolbox after reloading a watched document.

(closed KPDF #116771)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656309
2007-04-20 23:22:56 +00:00
Pino Toscano 6cf46e9160 make the D-Bus call for the search have effect also when in presentation mode;
give focus to the presentation search toolbar when showing it

svn path=/trunk/KDE/kdegraphics/okular/; revision=656256
2007-04-20 19:45:33 +00:00
Pino Toscano 7e3b7236fb fix sillyness happened when renaming ;(
svn path=/trunk/KDE/kdegraphics/okular/; revision=656251
2007-04-20 19:32:09 +00:00
Pino Toscano fc97f3b23b on demand creation of the auxiliary threads
svn path=/trunk/KDE/kdegraphics/okular/; revision=656230
2007-04-20 17:59:12 +00:00
Pino Toscano 9134ad4669 make the Document access to the private class of Generator, so we can get rid of the public setDocument
svn path=/trunk/KDE/kdegraphics/okular/; revision=656222
2007-04-20 17:26:04 +00:00
Pino Toscano 166ba5b87a move the Generator::Private to a GeneratorPrivate, and move the implementations of the provate threads to a cpp
svn path=/trunk/KDE/kdegraphics/okular/; revision=656221
2007-04-20 17:17:44 +00:00
Pino Toscano 214883d582 free the resources when we close the document
svn path=/trunk/KDE/kdegraphics/okular/; revision=656214
2007-04-20 16:17:12 +00:00
Laurent Montel 60054621c8 Add version (not install all develop package when
we install it on distro)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656213
2007-04-20 16:12:05 +00:00
Pino Toscano fd6ed8e1c5 SVN_SILENT i18n fix
svn path=/trunk/KDE/kdegraphics/okular/; revision=656175
2007-04-20 13:53:01 +00:00
Pino Toscano 84f7c0a6e3 own header first
svn path=/trunk/KDE/kdegraphics/okular/; revision=656162
2007-04-20 13:41:42 +00:00
Pino Toscano 8793883d32 Link -> Action renaming.
Step #5: update TODO.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656151
2007-04-20 13:07:53 +00:00
Pino Toscano 656736c1af Link -> Action renaming.
Step #4a: more apidox fixes.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656149
2007-04-20 13:02:45 +00:00
Pino Toscano 444b1a3f84 SVN_SILENT unused forward declaration
svn path=/trunk/KDE/kdegraphics/okular/; revision=656147
2007-04-20 12:59:23 +00:00
Pino Toscano 8a84833504 Link -> Action renaming.
Step #4: apidox fixes.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656146
2007-04-20 12:58:15 +00:00
Pino Toscano 0e12746a92 Link -> Action renaming.
TextDocumentConverter::addLink -> addAction
Document::processLink -> processAction

svn path=/trunk/KDE/kdegraphics/okular/; revision=656145
2007-04-20 12:49:17 +00:00
Pino Toscano 5f21b15d99 Link -> Action renaming.
Step #2: Link -> Action for the action hierarchy, and for the ObjectRect type.

svn path=/trunk/KDE/kdegraphics/okular/; revision=656140
2007-04-20 12:37:12 +00:00
Pino Toscano f3e484082d Link -> Action renaming.
Step #1: link.(cpp|h) -> action.(cpp|h)

svn path=/trunk/KDE/kdegraphics/okular/; revision=656123
2007-04-20 11:26:05 +00:00
Jiri Klement afa1902c78 Fixed wrong rendering size of images which don't have dpi specified. I had to use workaround described in loadImageFromFile method
svn path=/trunk/KDE/kdegraphics/okular/; revision=656095
2007-04-20 09:15:00 +00:00
Pino Toscano a114192823 SVN_SILENT exclude the 'unpluck' subdir of plucker backend, it should be an external library
svn path=/trunk/KDE/kdegraphics/okular/; revision=655943
2007-04-19 19:55:09 +00:00
Albert Astals Cid 0d47b62715 krazy include order issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
2007-04-19 18:30:20 +00:00
Jiri Klement 6147136895 Unpack page source completely before rendering. It's possible that another file from zip will be required during rendering (font, image, ...), but KZip doesn't allow simuntanelous reading of more than one file.
svn path=/trunk/KDE/kdegraphics/okular/; revision=655840
2007-04-19 14:38:03 +00:00
Chusslove Illich 120e3a6d79 i18n fixes.
svn path=/trunk/KDE/kdegraphics/okular/; revision=655194
2007-04-17 22:05:28 +00:00
Pino Toscano 40a99f75ed make PageSize implicitely shared
svn path=/trunk/KDE/kdegraphics/okular/; revision=655185
2007-04-17 21:20:35 +00:00
Pino Toscano e61f5d393a SVN_SILENT forgot this
svn path=/trunk/KDE/kdegraphics/okular/; revision=655136
2007-04-17 20:01:42 +00:00
Pino Toscano 3f84c8ccad move modifyAnnotation to the private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=655132
2007-04-17 19:55:18 +00:00
Pino Toscano 55a06c9b00 read the Open attribute from the poppler toc
the attribute is in poppler HEAD (future 0.6), but it's not incompatible with the 0.5.x serie

svn path=/trunk/KDE/kdegraphics/okular/; revision=654773
2007-04-16 21:35:34 +00:00
Jiri Klement 0b77d7011c Fixed parsing of abbreviated data - now it don't freeze in case of wrong data in xps
svn path=/trunk/KDE/kdegraphics/okular/; revision=654647
2007-04-16 17:53:15 +00:00
Urs Wolfer 989ed1ac23 fix icon names
svn path=/trunk/KDE/kdegraphics/okular/; revision=654591
2007-04-16 15:47:46 +00:00
Pino Toscano 4a166a0d70 SVN_SILENT fix copy-paste error
svn path=/trunk/KDE/kdegraphics/okular/; revision=654331
2007-04-15 20:00:43 +00:00
Albert Astals Cid b0339a4e40 fix some easy krazy issues
svn path=/trunk/KDE/kdegraphics/okular/; revision=654317
2007-04-15 19:11:10 +00:00
Pino Toscano 29e8bbc50f make it possible for generators to decide the initial open/close state for the items of a TOC
svn path=/trunk/KDE/kdegraphics/okular/; revision=654247
2007-04-15 15:48:39 +00:00
Pino Toscano 9fd1c51ca5 update here and there
svn path=/trunk/KDE/kdegraphics/okular/; revision=654232
2007-04-15 14:48:12 +00:00
Pino Toscano 92b8e8bf1a in the top bar, add a label with the number of pages
svn path=/trunk/KDE/kdegraphics/okular/; revision=654187
2007-04-15 11:10:21 +00:00
Pino Toscano acd19bc8f7 move the Page serialization functions to the private class, and make Document access to them
svn path=/trunk/KDE/kdegraphics/okular/; revision=653988
2007-04-14 19:58:17 +00:00
Pino Toscano efb6a5bcc6 rename Document::Private to DocumentPrivate
svn path=/trunk/KDE/kdegraphics/okular/; revision=653987
2007-04-14 19:44:07 +00:00