Commit graph

4382 commits

Author SHA1 Message Date
Pino Toscano a68ccfb893 Add 'revision' to the list of metadata we read from a document.
svn path=/trunk/KDE/kdegraphics/okular/; revision=783704
2008-03-09 10:06:44 +00:00
Pino Toscano 3b47f0dcdb simplier way to say "white"...
svn path=/trunk/KDE/kdegraphics/okular/; revision=783665
2008-03-09 02:51:10 +00:00
Pino Toscano e66f4bb62e According to the XPS specification, section 10.1.2, an XML file in the archive can be splitted in small sub-pieces placed with sequential names in a directory called like the XML file.
Handle this case for the relation parts, the references and the documents contents.

svn path=/trunk/KDE/kdegraphics/okular/; revision=783647
2008-03-09 00:54:49 +00:00
Pino Toscano 854f506617 Do not try to load an image from a path that really is a command for reading a combined image (image + color profile):
at the moment we do not support them, so just return an empty image.

svn path=/trunk/KDE/kdegraphics/okular/; revision=783632
2008-03-08 23:45:02 +00:00
Pino Toscano 610809d54b Load the image from the absolute path.
svn path=/trunk/KDE/kdegraphics/okular/; revision=783627
2008-03-08 23:22:12 +00:00
Pino Toscano ce1b9e5bb2 When loading the entries from the ZIP archive, we need to specify the "full path" inside them.
Though, there could be non-absolute (but relative to the file where they are) references:
so make sure to always create the absolute path of the resource we are going to load.

svn path=/trunk/KDE/kdegraphics/okular/; revision=783625
2008-03-08 23:11:52 +00:00
Pino Toscano 8efe0c45c5 add few apidox for the new requestPixmaps(requests, options)
svn path=/trunk/KDE/kdegraphics/okular/; revision=783272
2008-03-07 16:12:48 +00:00
Pino Toscano 5eec89ead0 When the user changes the value of a form field, wait 1s and then refresh the interface.
svn path=/trunk/KDE/kdegraphics/okular/; revision=783268
2008-03-07 16:09:08 +00:00
Pino Toscano d647dff900 make all the form widgets emit the changes when they are changed;
in case of check/radio buttons, use the signal coming from their group, in case they belong to one

svn path=/trunk/KDE/kdegraphics/okular/; revision=783266
2008-03-07 16:07:15 +00:00
Pino Toscano e023effb15 Add a requestPixmaps() overload that takes options as flags.
This way we can tell to "merge" in a smart way the new pixmap request with the enqueued ones of the same ID.

Add a (private) slot to refresh all the pixmaps of a page.

svn path=/trunk/KDE/kdegraphics/okular/; revision=783259
2008-03-07 15:50:48 +00:00
Tobias Koenig 72b469b712 Don't set the minimumSize manually, let QLayout do the job,
now that KPageView has been fixed in kdelibs.

BUG: 158570

svn path=/trunk/KDE/kdegraphics/okular/; revision=782913
2008-03-06 13:33:17 +00:00
Tobias Koenig 14d47622d8 Add about data to my maintained generators
svn path=/trunk/KDE/kdegraphics/okular/; revision=782777
2008-03-05 22:52:54 +00:00
Pino Toscano d6c581e383 stop the talks when quitting
svn path=/trunk/KDE/kdegraphics/okular/; revision=782641
2008-03-05 15:40:36 +00:00
Pino Toscano bc9c110df0 do not leak the kspeech interface object
svn path=/trunk/KDE/kdegraphics/okular/; revision=782640
2008-03-05 15:39:26 +00:00
Burkhard Lück 5656599470 fixed wrong markup
svn path=/trunk/KDE/kdegraphics/doc/okular/; revision=782624
2008-03-05 14:38:30 +00:00
Pino Toscano a4084b8632 i can consider the TTS integration mostly complete
svn path=/trunk/KDE/kdegraphics/okular/; revision=782509
2008-03-05 12:08:30 +00:00
Pino Toscano f65c9225a9 Add an action to stop all the text speechs.
svn path=/trunk/KDE/kdegraphics/okular/; revision=782505
2008-03-05 12:05:48 +00:00
Pino Toscano 32baca8638 - keep track of the speech jobs we started
- remove each job when it's finished
- add a signal to notify whether we have jobs

svn path=/trunk/KDE/kdegraphics/okular/; revision=782504
2008-03-05 12:02:14 +00:00
Pino Toscano 69179e2505 More interaction between Okular and the KDE Text To Speech system:
a) "Speak While Document" action to speak the content of the whole document
b) "Speak Current Page" to just speak the content of the currently shown page
c) "Speak Text" action in the right click menu of the editor-like text selection

(a) also implements KPDF's bug #118872.

svn path=/trunk/KDE/kdegraphics/okular/; revision=782497
2008-03-05 11:06:55 +00:00
Pino Toscano a4da9a27dc Switch to use the generated interface from org.kde.KSpeech.xml, instead of manually call the functions.
Keep the TTS interface around (for multiple usage), and delete it when the KTTSD service goes away.

svn path=/trunk/KDE/kdegraphics/okular/; revision=782482
2008-03-05 10:18:55 +00:00
Pino Toscano f407f84d8a move in an own class (out of the page view) all the TTS related code
svn path=/trunk/KDE/kdegraphics/okular/; revision=782420
2008-03-05 02:13:09 +00:00
Pino Toscano 822fd2488d Enable again the slider in the "Go to Page" dialog.
svn path=/trunk/KDE/kdegraphics/okular/; revision=782380
2008-03-04 23:32:58 +00:00
Pino Toscano c0ba4950a3 use find_package_handle_standard_args()
svn path=/trunk/KDE/kdegraphics/cmake/modules/; revision=782059
2008-03-04 10:39:49 +00:00
Pino Toscano 21001e7dd0 Check the DRM limitations as well when copying the selection.
CCBUG: 157364

svn path=/trunk/KDE/kdegraphics/okular/; revision=781952
2008-03-04 00:01:46 +00:00
Ely Levy dabb8b3360 moved cleanup to the epubdocument ~
svn path=/trunk/playground/graphics/okular/epub/; revision=780191
2008-02-28 09:35:04 +00:00
Ely Levy 1198c3e6ce more code cleanp
svn path=/trunk/playground/graphics/okular/epub/; revision=780187
2008-02-28 09:17:17 +00:00
Tobias Koenig 7f5e24af52 Improved the presentation of nested lists, the structure is
shown correctly, just the enumeration doesn't equal the oowriter
representation.

BUG: 157452

svn path=/trunk/KDE/kdegraphics/okular/; revision=780109
2008-02-28 01:27:23 +00:00
Tobias Koenig eb25ad0f18 First part of fixing representation of lists
svn path=/trunk/KDE/kdegraphics/okular/; revision=780098
2008-02-28 00:17:34 +00:00
Ely Levy da500bb118 indentation fixes
svn path=/trunk/playground/graphics/okular/epub/; revision=780034
2008-02-27 21:15:45 +00:00
Pino Toscano a0ffddf5ab Make sure to unload the fonts before unloading freetype. Otherwise the freetype fonts can use the (unloaded in the meanwhile) freetype, and bad things happen.
BUG: 155317

svn path=/trunk/KDE/kdegraphics/okular/; revision=779799
2008-02-27 00:41:39 +00:00
Pino Toscano b30d3ab3a6 make the internal bookmark search method part of the private class
svn path=/trunk/KDE/kdegraphics/okular/; revision=779730
2008-02-26 21:27:19 +00:00
Pino Toscano 39c2d29ac2 Do not copy to the selection the text when selecting "Copy text" in the RMB menu, but after releasing the LMB when "visually" selecting text.
BUG: 157364

svn path=/trunk/KDE/kdegraphics/okular/; revision=779710
2008-02-26 20:54:31 +00:00
Pino Toscano cea186978f Add a tooltip with the embedded status of the font, and the visual preview of it if it is not embedded.
(Columns were simplified by a previous commit.)

BUG: 155568

svn path=/trunk/KDE/kdegraphics/okular/; revision=779697
2008-02-26 20:16:25 +00:00
Pino Toscano 4622f7df85 Font information view:
- merge the Embedded and the File columns, showing the file name of the font if not embedded, or the kind of embedding
- add a better placeholder string for empty font names

svn path=/trunk/KDE/kdegraphics/okular/; revision=779695
2008-02-26 20:08:36 +00:00
Pino Toscano d6b22c270d reindent and add a switch for the role
svn path=/trunk/KDE/kdegraphics/okular/; revision=779693
2008-02-26 20:03:22 +00:00
Pino Toscano 3004d81bd8 Add a tooltip for the bookmark name.
BUG: 158219

svn path=/trunk/KDE/kdegraphics/okular/; revision=779636
2008-02-26 18:00:35 +00:00
Pino Toscano e3a29cb93e add author info
svn path=/trunk/KDE/kdegraphics/okular/; revision=779564
2008-02-26 13:53:02 +00:00
Pino Toscano 5e691f9dee link to less libraries
svn path=/trunk/KDE/kdegraphics/okular/; revision=779543
2008-02-26 13:03:03 +00:00
Patrick Spendrin 8de31796b1 install okularcore and kolourpaint_lgpl to the now correct places.
svn path=/trunk/KDE/kdegraphics/okular/; revision=779538
2008-02-26 12:56:08 +00:00
Ely Levy 2d327c0920 Change link pass
svn path=/trunk/playground/graphics/okular/epub/; revision=779322
2008-02-25 21:44:11 +00:00
Ely Levy e03c9611b7 add some comment
svn path=/trunk/playground/graphics/okular/epub/; revision=779314
2008-02-25 21:05:39 +00:00
Ely Levy 5ffb78a744 changed namespace to Epub
moved code ro epubdocument.cpp
added about information

svn path=/trunk/playground/graphics/okular/epub/; revision=779313
2008-02-25 21:00:23 +00:00
Ely Levy 182226bd21 add link support
svn path=/trunk/playground/graphics/okular/epub/; revision=779013
2008-02-25 09:22:17 +00:00
Script Kiddy 51244e469c SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=778798
2008-02-24 16:38:47 +00:00
Patrick Spendrin c96ec3acf7 compile++ - Apply the same as in dviRenderer.cpp:383/:384
svn path=/trunk/KDE/kdegraphics/okular/; revision=778538
2008-02-23 21:32:17 +00:00
Patrick Spendrin d11b124e63 remove linkage to not existing libm
svn path=/trunk/KDE/kdegraphics/okular/; revision=778207
2008-02-22 21:19:30 +00:00
Ely Levy f4b3155de3 fixed image/css loading by overriding loadResources
svn path=/trunk/playground/graphics/okular/epub/; revision=777690
2008-02-21 09:25:53 +00:00
Ely Levy 3d2802aae7 new spine ref starts on new page
svn path=/trunk/playground/graphics/okular/epub/; revision=777210
2008-02-19 23:50:39 +00:00
Script Kiddy 81bea38964 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=776785
2008-02-18 20:28:23 +00:00
Ely Levy ba22f1d527 revert reading order to by spine
svn path=/trunk/playground/graphics/okular/epub/; revision=775987
2008-02-16 23:06:23 +00:00