Commit graph

4176 commits

Author SHA1 Message Date
Pino Toscano 903956dec9 SVN_SILENT unused parameter
svn path=/trunk/KDE/kdegraphics/okular/; revision=784611
2008-03-11 21:19:25 +00:00
Pino Toscano 3dc0752a93 SVN_SILENT add the TT task ID for Brad's image loading workaround
svn path=/trunk/KDE/kdegraphics/okular/; revision=784473
2008-03-11 12:57:43 +00:00
Laurent Montel e8eb8df0f1 Not necessary
svn path=/trunk/KDE/kdegraphics/okular/; revision=784450
2008-03-11 12:06:03 +00:00
Luboš Luňák a0e0a60258 Remove usage of QWidget::show[FullScreen|Maximized|Minimized|Normal](),
they do more then just change the state of the window and all these usage
cases were wrong (that is, all their usage).
For changing the state, use something like
window->setWindowState( window->windowState() | Qt::WindowFullScreen ); // set
window->setWindowState( window->windowState() & ~Qt::WindowFullScreen ); // reset
or simply use the new KToggleFullScreenAction::setFullScreen() helper.


svn path=/trunk/KDE/kdegraphics/okular/; revision=784333
2008-03-10 23:02:01 +00:00
Script Kiddy 20edfaae91 SVN_SILENT made messages (.desktop file)
svn path=/trunk/KDE/kdegraphics/okular/; revision=784310
2008-03-10 22:14:58 +00:00
Pino Toscano 7155e212a7 One typo^W character to rule 'em all.
(aka: correctly respect the open state of the TOC branches.)

BUG: 159089

svn path=/trunk/KDE/kdegraphics/okular/; revision=784175
2008-03-10 20:21:56 +00:00
Pino Toscano 3c8f77a3ae In the annotation window, get the right anotation text using the cool function we already have;
to save it back, use a similar approach.

svn path=/trunk/KDE/kdegraphics/okular/; revision=784138
2008-03-10 18:16:23 +00:00
Pino Toscano 57cbf9fa91 add dynamic getters and setters for color, comment and line width
svn path=/trunk/KDE/kdegraphics/okular/; revision=784136
2008-03-10 18:08:21 +00:00
Pino Toscano 2f985db7d0 Store the miniexp_t for annotations in the KDjVu::Annotation object directly, and parse all the properties there.
svn path=/trunk/KDE/kdegraphics/okular/; revision=784025
2008-03-10 13:34:31 +00:00
Pino Toscano 01f82d90b6 Better try to load the relationship file for a document in the XPS archive by using the name of the document itself.
svn path=/trunk/KDE/kdegraphics/okular/; revision=783797
2008-03-09 16:09:31 +00:00
Pino Toscano 85fef2f430 simplier way to extract the resource name from a "file name"
svn path=/trunk/KDE/kdegraphics/okular/; revision=783759
2008-03-09 14:29:28 +00:00
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
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
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
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