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.
15 years ago
Jiri Baum
f81a49fafa
table selection tool
...
BUGS: 279859
REVIEW: 102358
FIXED-IN: 4.8.0
15 years ago
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).
15 years ago
Michel Ludwig
0e29008150
Initial commit of the 'ViewerInterface' and of a first implementation.
15 years ago
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.
15 years ago
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 )
15 years ago
Albert Astals Cid
604187b7a3
Ui work for Reset Form Action support
...
Heavily inspired in Guillermo Amaral patches
CCMAIL: gamaral@kde.org
15 years ago
Ralf Habacker
a69336517f
use high resolution on windows only for now to avoid problems on other os as suggest by Albert Astals Cid
15 years ago
Ralf Habacker
2f203f063b
avoid non portable resolution setting
15 years ago
Ralf Habacker
6f1a041868
use resolution from printer settings
15 years ago
Albert Astals Cid
b8870e5bb0
Stat the file before switching to it
...
This way if the document does not exist at least we do not loose the current file
FIXED-IN: 4.8.0
BUGS: 267344
15 years ago
David Faure
2c9794071a
Port away from deprecated API + from deprecated lib
15 years ago
Albert Astals Cid
9f99d536dc
Add GUI option to switch off showing the document title
...
Pleasing users is not so bad
BUGS: 158401
15 years ago
Montel Laurent
f9f65979f5
Normalize signals/slots
15 years ago
Kevin Kofler
e001fbab55
Fix landscape documents getting printed in portrait format if "Landscape" is selected in the print dialog (the default).
...
Partly based on a patch by Falk from KDE bug #181290 .
BUG: 181290
REVIEW: 101513
15 years ago
Christopher Reichert
f0bfbb4caa
Remove symlink target from m_watcher if added.
15 years ago
Christopher Reichert
752a59f5b8
Reload Document when contents of symlink target change.
...
If okular loads a symlink, watch the document the symlink
points to using readlink. Reload the symlink when the
actual document changes.
CCBUG: 186118
15 years ago
Christopher Reichert
a9354072ad
View orientation cached in memory.
...
Cache the view orientation in memory to anticipate
a document reload.
CCBUG: 184518
15 years ago
Mohammad Mahfuzur Rahman Mamun
57db9f4c19
textSelection according to the TextList seems to work fine -- tested with some pdfs
15 years ago
Mohammad Mahfuzur Rahman Mamun
3798bd7398
primary text selection for more than one columns -- have problem if start or end is in empty space
15 years ago
Myreal Name
2149fb46ef
Another message
15 years ago
Christopher Reichert
0213afca46
Page up and Page down buttons now work while focus is in the search bar
...
or in the page number line edit in the minibar.
CCBUG: 270524
CCBUG: 274887
15 years ago
David Faure
d473477a5a
Look up kttsd.desktop correctly.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1228495
15 years ago
Albert Astals Cid
50015ed233
kdelibs complains with a kError this is a QAction, move to KAction so users don't get pollution in their shells
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1225385
15 years ago
Albert Astals Cid
0071c788ff
Make 53 users happy by allowing to show or hide the bottom page bar
...
Based on a patch by kde2eran@tromer.org
BUGS: 157284
FIXED-IN: 4.6
svn path=/trunk/KDE/kdegraphics/okular/; revision=1191188
16 years ago
Albert Astals Cid
3675bc6575
restore sidebar visibility correctly
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1171494
16 years ago
Albert Astals Cid
66c5ad47b4
Make Ctrl+End/Ctrl+Home go to end up document/beginning of documents instead of lastpage/firstpage
...
BUGS: 241197
svn path=/trunk/KDE/kdegraphics/okular/; revision=1171437
16 years ago
Pino Toscano
88a6d10888
use a simple char[] for the buffer, instead of a QByteArray, and make it bigger (64K instead of 1K)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166346
16 years ago
Pino Toscano
578b535877
when the user cancels the loading of a non-local document, just show an info message in the page view instead of an error message box
...
move the generic error for local files to openUrl()
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166044
16 years ago
Pino Toscano
5d884febb0
rename slot: setMimeTypes -> slotJobStarted
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1166032
16 years ago
Pino Toscano
c20db0e025
dynamically check for the availability of the bzip2 filter
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1163613
16 years ago
Pino Toscano
14aec8a8dd
open XZ-compressed documents, if the kde filter supports such type of compression
...
CCBUG: 216635
svn path=/trunk/KDE/kdegraphics/okular/; revision=1163601
16 years ago
Mathieu Lornac
8c3fe2aa28
BUG:193132
...
Checks if a file exists before trying to open it.
Prevents from having 2 error messages when the file is an archive
acked by tsdgeos
svn path=/trunk/KDE/kdegraphics/okular/; revision=1156880
16 years ago
Albert Astals Cid
89968298a5
forwardport SVN commit 1152384 by aacid:
...
Make sure that setting the toc to be the current index does not break sidebar
visibility
Make Sidebar::isSidebarVisible symmetric with Sidebar::setSidebarVisibility
If showing the container make sure the list is also shown
svn path=/trunk/KDE/kdegraphics/okular/; revision=1152385
16 years ago
Albert Astals Cid
da58769a13
Finish the forwardport of r1146401 okular/branches/KDE/4.5/kdegraphics/okular/part.cpp:
...
Only start watching the file in case if it wasn't removed, thus was modified
Patch by Victor Blázquez
Fixes bug 234139
svn path=/trunk/KDE/kdegraphics/okular/; revision=1146408
16 years ago
Albert Astals Cid
820a4f3e9a
Backport r1146401 okular/branches/KDE/4.5/kdegraphics/okular/part.cpp:
...
Only start watching the file in case if it wasn't removed, thus was modified
Patch by Victor Blázquez
Fixes bug 234139
svn path=/trunk/KDE/kdegraphics/okular/; revision=1146404
16 years ago
Jeremy Paul Whiting
022ff70197
revert last commit, fixed the wrong way
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1138358
16 years ago
Jeremy Paul Whiting
7698d0db23
Fixed okular's speech to look for renamed kde speech application Jovie
...
Fixed okular's speech class to connect to org.kde.KSpeech endpoint
svn path=/trunk/KDE/kdegraphics/okular/; revision=1138355
16 years ago
John Layt
b30305b668
Enable Current Page option in Okular print dialog if running Qt >= 4.7
...
Changed exported api so cc: to bindings.
CCMAIL: kde-bindings@kde.org
CCBUG: 194586
svn path=/trunk/KDE/kdegraphics/okular/; revision=1134379
16 years ago
Luigi Toscano
bc6cfcd684
Pass the parameter to the proper function
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1115573
16 years ago
Albert Astals Cid
0f0cacd63a
add a way to generators give a bit more info of why printing failed
...
and implement it in the pdf generator, others welcome to implement the function
for other generators
svn path=/trunk/KDE/kdegraphics/okular/; revision=1114944
16 years ago
Albert Astals Cid
e90fa31bf9
make the iconloader in GuiUtils a stack
...
Fixes problems when the same program uses more than one okular part at once
BUGS: 231123
svn path=/trunk/KDE/kdegraphics/okular/; revision=1104494
16 years ago
Hugo Pereira Da Costa
0684d5232a
set sidebar AutoFillBackground to false in native shell mode. This fixes okular background when running as a standalone application.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1082641
16 years ago
Christian Ehrlicher
9e2f6edcf5
KUrl::path() -> KUrl::toLocalFile()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1071713
16 years ago
Pino Toscano
184deb5112
Use the KDE 4.4 way to ask for the "exists, overwite?" confirmation dialog.
...
This allows to:
a) get rid of our prompts done in two places
b) really make sure it is being asked in any saving context (eg for .okular files)
BUG: 191928
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066333
16 years ago
Pino Toscano
52ce4cc095
disable the (already unused) knewstuff2 stuff from compilation and installation
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1066279
16 years ago
Elvis Stansvik
820a667190
Save case sensitivity and regular expression search options for the Contents
...
and Reviews side panels to okularpartrc.
If these options are turned on they are now saved as:
[Contents]
ContentsSearchCaseSensitive=true
ContentsSearchRegularExpression=true
and
[Reviews]
ReviewsSearchCaseSensitive=true
ReviewsSearchRegularExpression=true
respectively.
svn path=/trunk/KDE/kdegraphics/okular/; revision=1051497
17 years ago
Albert Astals Cid
45c8faee16
using Part as class name makes it very easy to collide with other Parts out there and very ugly things will happen, add a namespace
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=1040789
17 years ago
Albert Astals Cid
10ba02cbd5
in case we have a new enough poppler give a better error message when we can't save files with /Encrypt
...
BUGS: 208119
svn path=/trunk/KDE/kdegraphics/okular/; revision=1037771
17 years ago
Albert Astals Cid
4d36e1d1ad
Remove special casing for saving local files where we don't use the temporary file, fixes saving a pdf file over itself
...
BUGS: 207214
svn path=/trunk/KDE/kdegraphics/okular/; revision=1023085
17 years ago