Aleix Pol
f42a3bad65
Drop libkscreen dependency
...
Drops the x11 fallback. We were falling back to QX11Extras that were in
fact using QScreen internally.
Also remove the QDesktopWidget fallbacks for the same reason.
Drops some API for fetching the dpi and unifies it with ::realDpi(QWidget).
Based on Sebas's patch.
Reviewed by Albert.
REVIEW: 126913
10 years ago
Patrick Spendrin
37d5623102
Remove kdelibs4support from the generator plugins
...
This removes kdelibs4support for all generators except the mobipocket one.
The test executable for kimgio needs some windows fixes too, so I'll try
to make a separate review for that.
REVIEW: 126375
10 years ago
Alex Richardson
2f9246ae42
Port to new JSON plugin loading system
...
This means Okular can now work without ksycoca and KDELibs4Support.
REVIEW: 126193
10 years ago
Montel Laurent
466eb79615
Use QStringLiteral
11 years ago
Lukáš Tinkl
e9ae1d99af
port away from KLocale
11 years ago
Montel Laurent
3b4ee788b8
Fix includes
12 years ago
Montel Laurent
378f6847a2
Remove some deprecated kdelibs4support
12 years ago
Frederik Gladhorn
6c602bf0e7
Use categorized logging even more
12 years ago
Frederik Gladhorn
83d3f1f6b7
Revert "Some more kDebug->qDebug"
...
Seems like kDebug doesn't spam the user, so this needs to use qCDebug.
This reverts commit 34fbdf8c85 .
12 years ago
Frederik Gladhorn
34fbdf8c85
Some more kDebug->qDebug
12 years ago
Albert Astals Cid
e9e3d4a435
Make documentInfo be Hash based instead of XML based
12 years ago
Frederik Gladhorn
7261d5d45a
Generator porting (mostly kaboutdata)
12 years ago
Mohammad Mahfuzur Rahman Mamun
57db9f4c19
textSelection according to the TextList seems to work fine -- tested with some pdfs
15 years ago
Myreal Name
2149fb46ef
Another message
15 years ago
Pino Toscano
505139af31
generators: fix core #includes removing the okular prefix
15 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
Pino Toscano
07e6cc3bb0
bump plugins versions to be in sync with kde 4.2 and, in case, consider more work being done
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=989180
17 years ago
Tobias Koenig
037034392c
Scale TIFF without RESUNIT entry correctly by using default values
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=982340
17 years ago
Pino Toscano
76126bf29a
swapping was needed... 3 years ago, but it is not anymore
...
BUG: 194572
svn path=/trunk/KDE/kdegraphics/okular/; revision=979245
17 years ago
Pino Toscano
0599270e40
take the reading of the X/Y dpi values out of the for loop
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=962293
17 years ago
Pino Toscano
e468befe0f
bump versions (sync with kde 4.2)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=907921
17 years ago
Pino Toscano
855a32c601
isolate the tiff loading in an own function
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=890978
18 years ago
Pino Toscano
a2b63a66dc
simplier way to get a file name
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=890968
18 years ago
Brad Hards
ec5589c599
Implement scale-down for images that would not otherwise fit
...
on the selected printed page format.
BUG:174447
svn path=/trunk/KDE/kdegraphics/okular/; revision=890775
18 years ago
Pino Toscano
eceb09c379
add more contexts in i18n calls
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=855876
18 years ago
Pino Toscano
085bdae8a3
specify better file names for TIFFClientOpen
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=855852
18 years ago
Pino Toscano
3709ecd71e
Consider the orientation of TIFF documents.
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=855846
18 years ago
Pino Toscano
d2fb47db86
SVN_SILENT there is new stuff, so bump the version to 0.2
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=815130
18 years ago
Pino Toscano
483a7a830f
SVN_SILENT unused var
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=815125
18 years ago
Pino Toscano
7d0c3fc516
implement the reading from raw data in a more efficient way (no temporary file)
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=815124
18 years ago
Pino Toscano
e847099817
switch from TIFFOpen to TIFFClientOpen + callbacks on QIODevice
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=815122
18 years ago
Pino Toscano
17fe071d04
If a directory in a TIFF carries information about the resolution, use them to calculate its real size.
...
And, when generating a pixmap, request the RGBA image of the original size.
BUG: 162934
svn path=/trunk/KDE/kdegraphics/okular/; revision=814835
18 years ago
Pino Toscano
eaff357e78
SVN_SILENT bump to 0.1.1
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=767254
18 years ago
Pino Toscano
fd1e5863bb
- add version of libtiff in the about data
...
- bump copyright year to 2008
svn path=/trunk/KDE/kdegraphics/okular/; revision=767231
18 years ago
Pino Toscano
e27bfaac73
Add a mapping system for pages to exclude the pages we are not able to load, avoid crashing when requesting "invalid" pages.
...
BUG: 156608
svn path=/trunk/KDE/kdegraphics/okular/; revision=765972
18 years ago
Pino Toscano
6aa123656a
Port the plugin system to the standard KDE factory and loader, getting rid of the custom system okular had so far.
...
This requires a generator to have a
MyGenerator(QObject *parent, const QVariantList &args)
constructor in order to be successfully loaded.
The OKULAR_EXPORT_PLUGIN macro was adapted, and the generators to provide it the about data; the protected Generator::setAboutData() is no more needed.
Remove the 'lib' prefix from plugins, unneeded now.
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=744169
19 years ago
John Layt
1b1ed9451b
Enable Okular printing features:
...
* Add FilePrinter class to enable printing via postscript files
* DJVU, PDF, and PS backends print FilePrinter
* All backends enable printing of bookmarked pages
* Print and Print Preview actions enabled/disabled depending on backends
printing ability
Note that FilePrinter only works on *NIX platforms with Cups, lpr, or lp.
svn path=/trunk/KDE/kdegraphics/okular/; revision=741990
19 years ago
John Layt
070285e039
Port from KPrinter to QPrinter, remove dependency on KDE4_KDEPRINT_LIBS.
...
*** Note this is not a complete port, most of the generators use the
printFiles method which Qt 4.3 does not support, these have simply
been commented out until we find a solution. At least it removes
the dependency so we can remove from kdelibs.
svn path=/trunk/KDE/kdegraphics/okular/; revision=725660
19 years ago
Pino Toscano
15155d8824
Rename the virtual closeDocument() to doCloseDocument(), and make it protected.
...
Added a non-virtual closeDocument() in the base Generator class: this way, particular closing routines can be implemented in the "low level" of a generator.
Apart the renaming, the logic of doCloseDocument() remains the same.
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=723046
19 years ago
Pino Toscano
48b2cad049
fixed wrong example in the apidox, and all the code that was done by copy&paste from it, basically...
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=705935
19 years ago
Pino Toscano
27e738f238
Start adding backend information to each generator.
...
Added them for DjVu, TIFF and XPS as a start.
Feel free to add them in the other generators, or to add your name if missing :)
CCMAIL: okular-devel@kde.org
svn path=/trunk/KDE/kdegraphics/okular/; revision=687842
19 years ago
Tobias Koenig
06e831a3c9
Add a new method DocumentInfo::set( enum, QString ) to get more
...
consistency in the documentation info.
svn path=/trunk/KDE/kdegraphics/okular/; revision=664233
19 years ago
Albert Astals Cid
0d47b62715
krazy include order issues
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=655893
19 years ago
David Jarvie
6ccde0505c
Add fancy date option to KLocale::formatDate(), KLocale::formatDateTime()
...
svn path=/trunk/KDE/kdegraphics/okular/; revision=652038
19 years ago
Pino Toscano
6068c76df6
Merge the new functions of ThreadedGenerator into the base Generator: this means that there's again only a single base Generator that can provide the multithreading for the generation of contents, just pixmaps for now.
...
svn path=/trunk/playground/graphics/okular/; revision=628853
19 years ago
Tobias Koenig
d227a94e79
First part of the porting to a threaded api for generators
...
- made comicbook, tiff and kimgio a threaded generator
svn path=/trunk/playground/graphics/okular/; revision=626761
19 years ago
Pino Toscano
55d26ba370
no more initial rotation
...
svn path=/trunk/playground/graphics/okular/; revision=620317
19 years ago
Pino Toscano
4b922367e2
Use a proper enum to deal with orientation/rotation all around okular.
...
svn path=/trunk/playground/graphics/okular/; revision=620312
19 years ago
Tobias Koenig
ea51ee18f5
Do a lot of include cleanups... we install all important
...
header files now
svn path=/trunk/playground/graphics/okular/; revision=619492
19 years ago
Pino Toscano
94c9ffa3d7
do not explicitely include document.h in generator.h
...
svn path=/trunk/playground/graphics/okular/; revision=617283
19 years ago