Commit graph

5445 commits

Author SHA1 Message Date
Michel Ludwig e8e0237ca0 Add the possibility to show sources location graphically on the rendered pages.
Note that currently the rotation of pages is not taken into account as one still has
to find a unique way of handling this.
2011-10-17 20:56:45 +01:00
Michel Ludwig d29099b39c Only activate a subset of the available features when the part is launched in viewer mode.
In viewer mode the part will now use a different XML GUI file (part-viewermode.rc).
Also, some actions won't be created, e.g. those used for exporting stuff, for
launching presentation mode, or for selecting parts of the document. The captions
of the configuration dialogs also contain the word 'viewer' then.
2011-10-12 20:36:01 +01:00
Michel Ludwig 1a5f2be05c Merge branch 'master' into viewerinterface 2011-10-12 20:16:46 +01:00
Albert Astals Cid 94d4035acb Add the table selection tool to the selection toolbar icon 2011-10-12 16:35:04 +02:00
Albert Astals Cid 901abc0baf Rever addition of rectExtractText that is used only in one place 2011-10-12 16:31:21 +02:00
Albert Astals Cid 760c86642f Replace two for more with foreach 2011-10-12 16:16:50 +02:00
Albert Astals Cid 5d06d5b31e use foreach to iterate over d->tableSelectionParts 2011-10-12 16:04:23 +02:00
Albert Astals Cid 2795f61341 Make two params for TableSelectionPart const & 2011-10-12 15:59:05 +02:00
Albert Astals Cid a16aa7cff0 struct fields are already public 2011-10-12 15:57:39 +02:00
Albert Astals Cid e88f9c2915 Need to increase version number 2011-10-12 15:55:17 +02:00
Albert Astals Cid 3f34db152f We do not give Author status for small contributions 2011-10-12 15:54:09 +02:00
Jiri Baum f81a49fafa table selection tool
BUGS: 279859
REVIEW: 102358
FIXED-IN: 4.8.0
2011-10-12 15:52:24 +02:00
Albert Astals Cid 9d6926f9b8 Fix creation of the TOC tree for dvi files
The old code assumed the number of children would be
"-NUMBER "
while this file has
"-NUMBER/"
so what we do now is looping after the - until we find a non digit
All this code would better be done using a regexp and not that many section calls
but i did not want to touch it more than needed
BUGS: 283447
FIXED-IN: 4.7.3
(cherry picked from commit 83df127ac0)
2011-10-06 13:13:00 +02:00
Michel Ludwig b4206819e3 Allow to specify which config file the part uses.
This is done through a string "ConfigFileName=<file name>" which can be given to
the constructor in its argument list.

Note that the file ui/fileinterpreterpreview.cpp currently still contains a
reference to "okularrc", which we leave for now (as it just stores the size
of a dialog in that config file).
2011-10-05 21:50:12 +01:00
Pino Toscano 5647ad5647 cmake: reenable the search of the JPEG library
there is no more a top-level CMakeLists.txt searching it;
this makes the plucker backend compilable again
(cherry picked from commit 41c572463c)
2011-10-04 15:28:54 +02:00
Albert Astals Cid 086c0dbce4 Comparing paths with strcmp is not really smart
This is "the same" commit as b932ef7e0f
but with a different patch number 08->09
2011-09-30 20:49:56 +02:00
Albert Astals Cid e0a0091d0c Update the series file 2011-09-29 12:56:02 +02:00
Albert Astals Cid 858442781e Fix cpp comments 2011-09-29 12:55:30 +02:00
Albert Astals Cid 5536d1b1aa Apply and update 07-synctex_scanner_new_with_output_file-reset-mode.diff 2011-09-29 12:52:26 +02:00
Albert Astals Cid 31326a2cac Apply and update 06-mingw-_synctex_error.diff 2011-09-29 12:50:09 +02:00
Albert Astals Cid b822617454 Apply and update 05-fix-error-formats.diff 2011-09-29 12:49:04 +02:00
Albert Astals Cid 34a2f4605a Apply and update 04-gcc-specify-printf-format.diff 2011-09-29 12:48:02 +02:00
Albert Astals Cid 5c2bb74538 03-fix-_synctex_scan_named.diff is fixed upstream 2011-09-29 12:41:40 +02:00
Albert Astals Cid c07473792a Apply and update 01-fix-win32-define.diff 2011-09-29 12:40:54 +02:00
Albert Astals Cid fd9c8580d3 This patch is upstream now 2011-09-29 12:37:23 +02:00
Albert Astals Cid c2287ecb37 Apply 00-disable-SYNCTEX_INLINE.diff
And update the diff itself to the new line location
2011-09-29 12:36:32 +02:00
Albert Astals Cid e834ec57c9 Update to synctex 1.16
Does not compile :D
2011-09-29 12:31:50 +02:00
Yuri Chornoivan 1310780cb6 fix typo 2011-09-29 07:38:05 +03:00
Albert Astals Cid 098006ef53 Seems someone decided our labels have to be right aligned 2011-09-28 23:58:40 +02:00
Albert Astals Cid 8b95b3a7a7 Set buddies 2011-09-28 23:57:08 +02:00
Albert Astals Cid 5e050a0351 No need for a variable 2011-09-28 23:55:54 +02:00
Michal Svec 2360049a64 Added configuration setting for default zoom
BUGS: 169516
FIXED-IN: 4.8.0
REVIEW: 102491
2011-09-28 23:54:03 +02:00
Albert Astals Cid 5e64f0bfa1 Revert m_fileList removal, we actually need it
I can't read :-7
2011-09-22 20:20:53 +02:00
Albert Astals Cid 62bea46f5e Do not need QMessageBox include 2011-09-22 19:31:39 +02:00
Niels Ole Salscheider 65153935d9 add LaTeX support to annotation window 2011-09-22 19:22:15 +02:00
Albert Astals Cid b7bf26207a QString() instead of QString("") 2011-09-22 19:16:03 +02:00
Albert Astals Cid 891abe2da8 zap unused member variable 2011-09-22 19:14:02 +02:00
Albert Astals Cid 27efa7a8b5 No need to empty the vector on destruction 2011-09-22 19:12:31 +02:00
Albert Astals Cid 92cc7bd66f qdebug -> kdebug 2011-09-22 19:11:55 +02:00
Albert Astals Cid 320b26d09b Do not include QtGui 2011-09-22 19:11:19 +02:00
Niels Ole Salscheider 33b9ff1a36 Add LatexRenderer class 2011-09-22 19:09:26 +02:00
Michel Ludwig ee7437eb61 Better let 'ViewerInterface' be part of the 'Okular' name space.
Also, use correct includes in 'viewerinterface.h'.
2011-09-10 20:04:44 +01:00
Michel Ludwig 0e29008150 Initial commit of the 'ViewerInterface' and of a first implementation. 2011-09-10 18:15:52 +01:00
Michel Ludwig b9da827e73 When 'closeUrl()' is complete, also clear the currently set URL.
This allows applications to detect whether a document is loaded simply by checking
whether 'url()' returns an empty URL or not.
2011-09-09 21:59:59 +01:00
Albert Astals Cid 9ed86abb6c More rewording 2011-09-08 01:06:46 +02:00
Albert Astals Cid 48fc40293c Relayouting and rewording 2011-09-08 01:02:36 +02:00
Albert Astals Cid bb5eb646e5 fix spacing 2011-09-08 00:46:03 +02:00
Albert Astals Cid 12a3fcf3b4 Add : to the label 2011-09-08 00:45:34 +02:00
Martin Ueding 5fd95a3c92 Allow setting an option so that next/prev page keys do not move really a viewport
You can set the amount of overlap in %
FIXED-IN: 4.8.0
BUGS: 152049
2011-09-08 00:43:30 +02:00
Albert Astals Cid 200215bf41 Fix KDirWatchPrivate warnings
Need to add everything we remove or otherwise it complains we are trying to remove something we did not add
BUGS: 280123
FIXED-IN: 4.7.2
(cherry picked from commit af4316a938)
2011-09-06 20:05:00 +02:00