| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
| |
Change-Id: I96c81d486050aa2e5c6990ee4abbda070f1235e7
Reviewed-by: Sérgio Martins <sergio.martins@kdab.com>
|
|
|
|
|
| |
Change-Id: I8bc6327e86c4381966da759cbe6295b327c4d808
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
| |
Extend the QPdfDocument::render() method with a parameter of new
type QPdfDocumentRenderOptions to specify the rotation and
additional render flags.
Change-Id: I354acc7fad4d094a96cefcea4dfa3513f4955c47
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
|
|
|
|
|
|
|
|
| |
Emit the signal whenever the amount of pages changes on
loading/closing the document.
Change-Id: I0555a9cad93cb1f125ded19889eda91e08725592
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
| |
Change-Id: I2caed38ece8067ecdad877dcc278f7828a3cb0bb
Reviewed-by: Lars Knoll <lars.knoll@qt.io>
Reviewed-by: Frederik Gladhorn <frederik.gladhorn@qt.io>
|
|
|
|
|
| |
Change-Id: Icf33776f70bdde71f320de0a129361ac28fd18c8
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
|
|
|
| |
Call FPDFAvail_IsPageAvail multiple times and check return value,
otherwise the page won't be loaded completely.
Change-Id: I9a6de3443eec6819be9b6eaa2a5b054329da4f80
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
| |
Create a subclass of QMutexLocker which always acts
on the global pdfMutex instance. This way other components,
outside of qpdfdocument.cpp, can lock/unlock the mutex as well.
Change-Id: Id68abb24ac95b2f6d94b20682986a76549518495
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
Introduce a status property, which describes the current status
of the QPdfDocument during loading/closing workflow.
Change-Id: I2c095c41cfaacb4cd325682def71f80ffe6ab6d9
Reviewed-by: Shawn Rutledge <shawn.rutledge@qt.io>
|
|
|
|
|
|
|
|
| |
Guard only the FPDF_* function calls by the PDF mutex,
to make the QPdfDocument kind of reentrant.
Change-Id: I76d448dde2604bd258d140fe6bb667cdee9e93c9
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
| |
Change-Id: Ib25ae8940ff8a35627093031a82c1f25c7c940fc
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
The passwordChanged() signal is emitted whenever the password
on the document is changed.
Change-Id: I8c35274dba7160b81555eac5bbda37d47cb8c9b7
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
|
| |
The close() method will close an open document and emit
the aboutToBeClosed() signal, so that other component, which
keep a pointer to QPdfDocument, can react to it.
Change-Id: I93200eb0b4bf96479fc114b43c9f6f2af4d15ffa
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
| |
Commercial until we have figured out the licensing :)
Change-Id: Ibf60ca98cf04ee23928794a96ae33f87608c3236
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
|
|
|
|
| |
Use Q_NULLPTR and const in a couple of places and reorder includes
or remove unneeded includes.
Change-Id: Iba999759750424d0251be95badd06b54c41783fa
Reviewed-by: Simon Hausmann <simon.hausmann@qt.io>
|
|
|
|
|
|
|
|
| |
This required extending the gyp2pri "parser" to add dependencies recursively
and to have really primitive condition handling for targets.
Change-Id: Icd343ec2be492c0cf4cfd013bf2d4594fe7ba5c3
Reviewed-by: Tobias Koenig <tobias.koenig@kdab.com>
|
|
|
|
| |
Unify the load API and implementation to always go through FPDFAvail.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
The library is not thread-safe at all with plenty of global variables. The
common use-case seems to be one PDF document per process, which perfectly
matches Chromium's architecture.
|
| |
|
| |
|
|
|