Pino Toscano
825c725eaf
change the internal KDjVu data storage to an hash of variants
...
svn path=/trunk/playground/graphics/okular/; revision=604173
20 years ago
Pino Toscano
132daba86a
update with some annotation stuff
...
svn path=/trunk/playground/graphics/okular/; revision=604168
20 years ago
Pino Toscano
0c4a081174
Add preliminary support for DjVu Text and Line annotations.
...
This means we can read them almost correctly, but there are some problems with placements and colors.
svn path=/trunk/playground/graphics/okular/; revision=604165
20 years ago
Pino Toscano
a29cbda39e
The DjVu backend can now read hyperlinks whose url is decoded as "(url href target)".
...
svn path=/trunk/playground/graphics/okular/; revision=604073
20 years ago
Pino Toscano
5adbe4c66f
there's no more need for libtool files
...
svn path=/trunk/playground/graphics/okular/; revision=603923
20 years ago
Tobias Koenig
16ca81993f
Applyed patch written by Leandro Emanuel Lopez which adds plain text and
...
pdf export to ooo generator.
CCMAIL:okular-devel@kde.org
svn path=/trunk/playground/graphics/okular/; revision=602249
20 years ago
Tobias Koenig
bea71df6e0
* Made image rotation asynchronous
...
* Changed Page API and PagePainter to work only with QImage
svn path=/trunk/playground/graphics/okular/; revision=601581
20 years ago
Albert Astals Cid
e113d48bf3
I need this so that print and print preview of a landscape pdf work
...
wonder why the orientation-request thing does not work anymore
svn path=/trunk/playground/graphics/okular/; revision=601061
20 years ago
Albert Astals Cid
46ac215751
Now that i fixed kdeprint i can ensure that Pino's change was wrong and PageSize is what we want
...
svn path=/trunk/playground/graphics/okular/; revision=600500
20 years ago
Pino Toscano
e43d62afff
old, limited and replaced by the tiff one (was already disabled since some time)
...
svn path=/trunk/playground/graphics/okular/; revision=600116
20 years ago
Pino Toscano
0a2d8a0d65
use Utils::getDpi(X|Y), less header include
...
svn path=/trunk/playground/graphics/okular/; revision=600110
20 years ago
Pino Toscano
1b501cd8d2
add missing copyright statement
...
svn path=/trunk/playground/graphics/okular/; revision=600108
20 years ago
Holger Freyther
569e93b929
oKular: Add method(s) to get the DPI of the primary screen
...
some generators use QX11Info to get the DPI of the display.
Obviously this is not portable, add a getDpi? method to utils
which can be used by generators.
Currently only the DVI converter is converted.
The CMakeLists.txt change assumes that non existing variables
gets expanded to empty strings.
svn path=/trunk/playground/graphics/okular/; revision=600099
20 years ago
Pino Toscano
a49e75edeb
const
...
svn path=/trunk/playground/graphics/okular/; revision=600089
20 years ago
Pino Toscano
51dd1dc328
this should be more correct, although not working either
...
svn path=/trunk/playground/graphics/okular/; revision=599984
20 years ago
Pino Toscano
c89e93c974
the clear button is no more needed
...
svn path=/trunk/playground/graphics/okular/; revision=599856
20 years ago
Pino Toscano
8def2109ec
change the metaData() function of the Generator to use QVariant as type for the returned value and for the 'option' parameter, this gives more flexibility
...
svn path=/trunk/playground/graphics/okular/; revision=599847
20 years ago
Pino Toscano
9a2b938431
Add support for the directive to open the table of contents when opening a document, used in PDFs.
...
svn path=/trunk/playground/graphics/okular/; revision=599835
20 years ago
Pino Toscano
4c3d96c193
make the rotation working almost again
...
svn path=/trunk/playground/graphics/okular/; revision=599808
20 years ago
Pino Toscano
a3667a7202
make the rotation work again
...
svn path=/trunk/playground/graphics/okular/; revision=599799
20 years ago
Pino Toscano
9b5a184aa3
delete the old rotation code and make this generator working again
...
svn path=/trunk/playground/graphics/okular/; revision=599791
20 years ago
Pino Toscano
90ee1a0547
convert to generate page images and not pixmaps
...
svn path=/trunk/playground/graphics/okular/; revision=599786
20 years ago
Albert Astals Cid
d6c251a752
setPixmap -> setImage
...
svn path=/trunk/playground/graphics/okular/; revision=599765
20 years ago
Pino Toscano
66b5ef51f3
show a 'keep password' checkbox when using a wallet so the user ca decide if he wants the password saved in the wallet.
...
Implements KPDF wish #122605 .
svn path=/trunk/playground/graphics/okular/; revision=599715
20 years ago
Pino Toscano
eb83fc5d27
adapt the djvu generator (and kdjvu) to handle images instead of pixmaps
...
add a basic TODO
svn path=/trunk/playground/graphics/okular/; revision=599108
20 years ago
Tobias Koenig
a375953402
Adapt ghostview, kimgio, pdf, dvi, chm, xps and ooo generators to setImage()
...
svn path=/trunk/playground/graphics/okular/; revision=599090
20 years ago
Tobias Koenig
d22b2f1892
A rather big change:
...
* Hide as much private API as possible in Generator, PixmapRequest and ExportEntry/Format
* Renamed ExportEntry to ExportFormat and made it value based
* Removed canExportToText() and exportToText() from Generator API and implemented this
functionality in exportFormats()/exportTo() in the generators
* Removed the orientation parameter from PixmapRequest and let the Document handle the rotation
of the page (pixmap) instead
CCMAIL:okular-devel@kde.org
svn path=/trunk/playground/graphics/okular/; revision=599058
20 years ago
Pino Toscano
a62cd3aa2f
The internal search is a pretty bad concept, as the Document provides it for free
...
svn path=/trunk/playground/graphics/okular/; revision=598553
20 years ago
Pino Toscano
de3d0468ab
use the new kdelibs (adding a caption)
...
svn path=/trunk/playground/graphics/okular/; revision=598477
20 years ago
Laurent Montel
acb44a49d5
Apply Alex patch (now we can use enable-final argument
...
some module compiles with enable-final now)
As discussed with Alex it's not necessary to have program name
into automoc macro
svn path=/trunk/playground/graphics/okular/; revision=598341
20 years ago
Tobias Koenig
65eae2664a
Fixed generation of 'table of contents'
...
svn path=/trunk/playground/graphics/okular/; revision=598329
20 years ago
Pino Toscano
4c0808fabf
a bit less of #include's
...
svn path=/trunk/playground/graphics/okular/; revision=598229
20 years ago
Pino Toscano
18028a8a2c
API change in the Generator: use an empty construct, and set the document for the generator right after its construction.
...
Add a protected method to get the document, and hide the real document pointer as private, so the generators can't redefine it.
svn path=/trunk/playground/graphics/okular/; revision=598025
20 years ago
Pino Toscano
cc3de8c899
fix typo in license
...
svn path=/trunk/playground/graphics/okular/; revision=597879
20 years ago
Pino Toscano
ed84916c0d
spell checking
...
svn path=/trunk/playground/graphics/okular/; revision=597875
20 years ago
Pino Toscano
bbcb217a19
foo(QString) -> foo(const QString&)
...
svn path=/trunk/playground/graphics/okular/; revision=597872
20 years ago
Pino Toscano
300d2a19d1
less includes
...
svn path=/trunk/playground/graphics/okular/; revision=597871
20 years ago
Pino Toscano
9093fb49ac
forward declaration
...
svn path=/trunk/playground/graphics/okular/; revision=597779
20 years ago
Albert Astals Cid
47423021dc
fix my broken fix to tokoe's change
...
svn path=/trunk/playground/graphics/okular/; revision=597679
20 years ago
Albert Astals Cid
9bcad073c7
remove spanish debug message
...
svn path=/trunk/playground/graphics/okular/; revision=597675
20 years ago
Pino Toscano
2fdca9ed0e
old stuff
...
svn path=/trunk/playground/graphics/okular/; revision=597610
20 years ago
Albert Astals Cid
f6fc0a8944
tokoe messed up this, fix it
...
svn path=/trunk/playground/graphics/okular/; revision=597536
20 years ago
Tobias Koenig
fccd412d69
* Added documentation to Generator API
...
* Moved all implementations to generator.cpp
* Added 'const' where it make sense
* Adapted all generators (except gs)
svn path=/trunk/playground/graphics/okular/; revision=597525
20 years ago
Pino Toscano
78809ba627
use better a regexp
...
svn path=/trunk/playground/graphics/okular/; revision=597319
20 years ago
Albert Astals Cid
fe0e06e54c
There is no need to load all text at the beginning as okular does the text extraction on-demand
...
svn path=/trunk/playground/graphics/okular/; revision=597226
20 years ago
Laurent Montel
de4760de6e
Fix enable-final
...
svn path=/trunk/playground/graphics/okular/; revision=597046
20 years ago
Albert Astals Cid
0353fb4c37
Don't crash when the user clicks cancel when beign asked for the password
...
svn path=/trunk/playground/graphics/okular/; revision=596903
20 years ago
Pino Toscano
e7bbe08957
trying to port to KTemporaryFile where possible, and still rely on K3TempFile where it needs more work
...
svn path=/trunk/playground/graphics/okular/; revision=596083
20 years ago
Albert Astals Cid
5143cd2512
Report page size
...
It's only reported in case it makes sense for the format
Only implemented for pdf atm
If all pages have the same size it's reported on document properties
else there's a label shown in the new bottom bar with the size of the current page
svn path=/trunk/playground/graphics/okular/; revision=595822
20 years ago
Albert Astals Cid
0d942a0cce
fordward port r595680
...
*******
When reloading a document because it changed still be in presentation mode after the reload
*******
and while at it make the document reloading work again
svn path=/trunk/playground/graphics/okular/; revision=595690
20 years ago