Commit graph

3285 commits

Author SHA1 Message Date
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
Pino Toscano
df5b2c3329 make ExportFormat implicitely shared, especially because it's mostly a "read-only" class
svn path=/trunk/KDE/kdegraphics/okular/; revision=653196
2007-04-12 20:43:37 +00:00
Albert Astals Cid
3f927c095a maks was right, zoom was the problem
It seems getRect returns always the rect at 100% zoom so use page->width() and not request->width() to calculate link rect positions

svn path=/trunk/KDE/kdegraphics/okular/; revision=652717
2007-04-11 21:41:33 +00:00
David Faure
728f386e95 extra ';'
svn path=/trunk/KDE/kdegraphics/okular/; revision=652580
2007-04-11 14:21:56 +00:00
Stephan Binner
1f2294387d fix icon name
svn path=/trunk/KDE/kdegraphics/okular/; revision=652392
2007-04-10 21:23:53 +00:00
Pino Toscano
f798fd8750 i want apidox
svn path=/trunk/KDE/kdegraphics/okular/; revision=652366
2007-04-10 19:56:27 +00:00
Script Kiddy
2e5b353482 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=652113
2007-04-10 05:01:48 +00:00
David Jarvie
6ccde0505c Add fancy date option to KLocale::formatDate(), KLocale::formatDateTime()
svn path=/trunk/KDE/kdegraphics/okular/; revision=652038
2007-04-09 23:36:26 +00:00
Benjamin Reed
bf5db4084b use the FindFreetype.cmake that comes with kdelibs
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=651731
2007-04-09 01:40:46 +00:00
Script Kiddy
e54cfd797f SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=651276
2007-04-07 04:57:03 +00:00
Albert Astals Cid
55a67a082e Each plugin installs a application desktop so that the supported mimetypes are exactly the ones supported by the plugins installed
svn path=/trunk/KDE/kdegraphics/okular/; revision=651194
2007-04-06 21:47:06 +00:00
Script Kiddy
e46e391e7d SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=650659
2007-04-05 04:45:45 +00:00
Pino Toscano
4b4cb7f3ac add cache and licence
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=650504
2007-04-04 18:15:48 +00:00