Michel Ludwig
872c537f44
Merge branch 'master' into viewerinterface
2011-11-01 21:12:40 +00:00
Michel Ludwig
a823df5c8f
Some more changes according to the review.
2011-10-31 21:44:21 +00:00
Jiri Baum
412e3e739e
table selection tool - semi-automatic dividers
...
BUGS: 283440
REVIEW: 102788
2011-10-31 16:33:03 +01:00
Niels Ole Salscheider
40620cb44f
fix escaping / unescaping of latex formula in html code
...
REVIEW: 102984
2011-10-29 15:03:30 +02:00
Albert Astals Cid
3b272175ea
Also add the possibility of renaming bookmarks using RMB menu
2011-10-26 00:19:58 +02:00
Albert Astals Cid
405bd75a1a
add a property with the page number
...
deliverately not documented since we don't want others to use it
2011-10-26 00:10:42 +02:00
Albert Astals Cid
880dae2e19
Add a way to rename the current page bookmark from the menu
...
Comes with some api additions to bookmarkmanager
2011-10-25 22:21:22 +02:00
Michel Ludwig
31828b4850
Move the setting of shortcuts for viewer mode to a special method 'setViewerShortcuts()'
2011-10-24 21:30:05 +01:00
Michel Ludwig
2fd4100cbd
Coding style fixes
2011-10-23 14:22:58 +01:00
Michel Ludwig
6494e071d7
Also update the state of the menu 'view_orientation' correctly.
2011-10-23 11:07:38 +01:00
Michel Ludwig
1adb8cc718
Merge branch 'master' into viewerinterface
2011-10-23 10:18:48 +01:00
Michel Ludwig
f431e98bb8
Change the action states according to whether a document is shown or not
2011-10-23 10:17:04 +01:00
Michel Ludwig
627d29bca2
Some reorganization
2011-10-22 09:30:49 +01:00
Albert Astals Cid
fc58c9824f
Do not assume pdfdoc hints won't change
...
Since sometimes we even change the pdfdoc pointer itself ;-)
This was working previously by pure luck (read bug in poppler :D)
BUGS: 284464
FIXED-IN: 4.7.3
(cherry picked from commit eb705417fa
)
2011-10-19 15:48:33 +02:00
Michel Ludwig
1bed158f68
Correctly "clear" the page view when closing a document
2011-10-18 21:36:42 +01:00
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
Albert Astals Cid
d41f230123
Move correctTextOrder to TextPagePrivate
2011-10-17 19:09:26 +02: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