Albert Astals Cid
19a216a275
Don't ask for link annotations, they are slow and we don't use them
...
Needs poppler 0.28 that is yet to be released
BUGS: 317891
12 years ago
Albert Astals Cid
e93d5bda01
Move KWallet code from pdf backend to ui
...
This helps with the widget dependency removal in the core/backends
12 years ago
Albert Astals Cid
6112a79765
Minor version updates to generators with changes since 4.12
12 years ago
Eugene Shalygin
ed35594627
Use DPI of current screen for PDF rendering
...
Includes some fixes from Albert:
* kscreen cmake fixes
Don't make libkscreen mandatory, give the proper version we need
* Fix the @since
* Kill Resolution and use a QSizeF
I first thought QSizeF didn't make sense, but well what's a dpi if not a number of pixels in width and some others in height?
* Remove unwanted const
* Remove unneeded utils.h includes
* Fix comments on realDPIXY()
* Make it compile in non X11
REVIEW: 111829
12 years ago
Albert Astals Cid
0aec32fc7d
Don't try to print something with invalid sizes
...
Unfortunately as we can't add new strings to stable versions it'd say "unwnown error" if that happens
Don't think it's too bad since this shouldn't be happening much
BUGS: 329562
12 years ago
Albert Astals Cid
c324c532d1
Don't try to print something with invalid sizes
...
Unfortunately as we can't add new strings to stable versions it'd say "unwnown error" if that happens
Don't think it's too bad since this shouldn't be happening much
BUGS: 329562
12 years ago
Albert Astals Cid
48e0477a67
numPages returns int, account for < 0 numPages
...
If numPages < 0 it's an error
13 years ago
Fabio D'Urso
a768dc69ad
Remove z-order annotation hack in poppler generator
...
It was wrong: it didn't make poppler and okular's z-order match. Quite
the opposite: it actually reversed it.
13 years ago
Yury G. Kudryashov
3e976b620f
Fixup for e37c43b189
...
Use QFile::decodeName() instead of QString::fromLocal8Bit() as suggested by
André Wöbbeking a couple of days after commit.
13 years ago
Albert Astals Cid
3f3f82afa1
Fix my email address
13 years ago
Albert Astals Cid
69f683b9a4
Expose the thin line support of poppler 0.24
...
Based on a patch by Thomas Freitag - Thomas.Freitag@alfa.de
13 years ago
Albert Astals Cid
2cab1c0a42
Update versions for 4.10.0
13 years ago
Albert Astals Cid
00cbba3ece
Propertly encode the filename
...
BUGS: 313700
FIXED-IN: 4.10.0
13 years ago
Albert Astals Cid
17b93c0872
Proper way of checking the flags
13 years ago
Fabio D'Urso
2b4de7c934
Generator interface: Use the existing setFeature method to report tiled rendering capability
...
instead of adding a new supportsTiles() virtual method
14 years ago
Fabio D'Urso
9f19fc3daa
PDF documents: Tell the user that XFA forms are not supported yet
14 years ago
Tobias Koenig
77ccbbcbaa
Create proper ScreenAnnotations in poppler generator
...
REVIEW: 106605
14 years ago
Tobias Koenig
83167d7688
Fix a crash when loading documents with Screen/MediaRendition annotations.
...
To fix this issue the right way we need some more extensions to poppler and
Okular, so disable the code for the moment until this work is done.
14 years ago
Tobias Koenig
770e2818bb
Evaluate additional actions of screen and widget annotations
...
This fixes the auto-start feature of PDFs generated with the LaTeX movie
package, which uses the additional action of a widget annotation to start
the movie when entering the page.
BUG: 300051
REVIEW: 106430
FIXED-IN: 4.10
14 years ago
Fabio D'Urso
6082396d3b
Poppler 0.22 can save encrypted documents
14 years ago
Albert Astals Cid
7407ccb80a
Update versions
14 years ago
Mailson Menezes
96f325896e
Keep track of visible region even when not using tiles
...
The visible region was set in the PixmapRequest only a tiles manager was
available. Because of that the generator could check if it was supposed
to used tiles by simply checking if its normalized rect was null.
However is good to know the visible region even when a tiles manager is
not present. This way if the request is big enough to start a tiles
manager we already know the visible region and can change the
PixmapRequest accordingly.
14 years ago
Mailson Menezes
11b848cad9
Only use tiles if the generator supports it
...
Add the new virtual method Generator::supportsTiles (defaults to false)
14 years ago
Tobias Koenig
8dbd83ab2a
Implement support for poster image of videos in PDF documents
...
With this commit Okular will show a so called poster image for PDF documents
containing movie annotations. The image will be a screenshot of the first frame
of the video.
BUGS: 301603
REVIEW: 105890
FIXED-IN: 4.10.0
14 years ago
Yury G. Kudryashov
e04ba6827d
Explicitly decode filename using QString::fromLocal8Bit()
...
This fixes inverse search for TeX files having non-ASCII chars in their path.
14 years ago
Yury G. Kudryashov
e37c43b189
Explicitly decode filename using QString::fromLocal8Bit()
...
This fixes inverse search for TeX files having non-ASCII chars in their path.
14 years ago
Mailson Menezes
48d105672f
Use NormalizedRect instead of VisiblePageRect on PixmapRequest
14 years ago
Albert Astals Cid
9cb9e4e017
Do not use deprecated API to get the pdf version
14 years ago
Albert Astals Cid
2c3b98a8a7
Normalize ligatures on text export too
...
BUGS: 302634
FIXED-IN: 4.9.0
(cherry picked from commit 98a073558a )
14 years ago
Albert Astals Cid
98a073558a
Normalize ligatures on text export too
...
BUGS: 302634
FIXED-IN: 4.9.0
14 years ago
Mailson Menezes
a405c079f4
Rendered image is at the same size of viewport
...
Previously we were rendering the current viewport but the image provided
by poppler was as big as the scaled page.
14 years ago
Albert Astals Cid
07495549bb
Bump versions
14 years ago
Fabio D'Urso
7087f20f23
poppler gen: Removed block of old debug and TODO comments
14 years ago
Fabio D'Urso
8ce3978caa
poppler gen: Show inplace text annotations' contents with poppler 0.18
14 years ago
Fabio D'Urso
d0a05bc301
poppler gen: The "Hide annotations" print option has no effect on windows. Don't show it
14 years ago
Mailson Menezes
453761772a
Make PDF generator render only the current viewport
14 years ago
Albert Astals Cid
0fc1883eb1
New pdf generator version
14 years ago
Fabio D'Urso
d916c1e6cd
poppler gen: Added mutex protection to PopplerAnnotationProxy
14 years ago
Fabio D'Urso
cb1968383f
poppler gen: don't lie ;) We can't save changes if the document has /Encrypt
14 years ago
Fabio D'Urso
80c26f5bb9
poppler gen: Put new annotation features between #ifdef HAVE_POPPLER_0_20
14 years ago
Fabio D'Urso
65d59f2a3e
poppler gen: AnnotationProxy implementation
14 years ago
Fabio D'Urso
d06c17d451
poppler gen: Moved PDFDebug constant into PDFGenerator class
14 years ago
Fabio D'Urso
a76e328dd6
poppler gen: Added checkbox to print/hide annotations in PDFOptionsPage
14 years ago
Fabio D'Urso
ec9f068d77
Added AnnotationProxy to SaveInterface
...
Based on Pino Toscano's earlier work
14 years ago
Tobias Koenig
fd03f48bd7
Fix z-order handling of annotations in PDFs
...
REVIEW: 104576
14 years ago
Tobias Koenig
40dd53e5de
Be explicit about auto-play for movie annotations
14 years ago
Tobias Koenig
802020b5a9
Use embedded ctor of Movie only if media rendition has embedded stream
14 years ago
Albert Astals Cid
0ccf769bbe
Comment this since we don't use it for anything and the window field will be going away in the future
...
(cherry picked from commit 4681d01e5a )
14 years ago
Albert Astals Cid
4681d01e5a
Comment this since we don't use it for anything and the window field will be going away in the future
14 years ago
Tobias Koenig
63547acd52
Fix compilation for older poppler versions
14 years ago