summaryrefslogtreecommitdiff
path: root/unotest
diff options
context:
space:
mode:
Diffstat (limited to 'unotest')
0 files changed, 0 insertions, 0 deletions
ighlight'> Since poppler 25.02.0, GlobalParams doesn't have a constructor that accepts a nullptr anymore, see upstream poppler b50390f748b59cb0a64b912636ecf6527bd0d12a commit. As such, the data directory location defined for SYSTEM_POPPLER needs to be updated accordingly (when SYSTEM_POPPLER >= 25.02.0), otherwise PDF imports fail with "General Error / General input/output error". Change-Id: I2a60b03a9ae20aab8d36db2a6827f1f3b9618115 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/182282 Tested-by: Jenkins Reviewed-by: Xisco Fauli <xiscofauli@libreoffice.org> 2024-04-04Related: tdf#160260 Drop xpdfimport.err.pdf, let PDF import return falseMike Kaganski The problem was, that upon any error in opening a PDF, out Poppler wrapper used another bundled document, with a single page with a static text "This PDF file is encrypted and can't be opened.". That happened regardless of the nature of the problem (it could be an IO problem, as in tdf#160260, or other things from Poppler's poppler/ErrorCodes.h). For automated import (command line or API), it meant that it was not possible to detect the failure. This replaces this strange mechanism with a normal error reporting. For now, a simple "general input/output error" will be reported; but it is possible to use interaction handler to show details (see comment in xpdf_ImportFromFile). Change-Id: I30493118fc5dd0b1c62cae7718acfe95bb4b13b5 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165771 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> 2024-04-03tdf#160260: make poppler wrapper executable Unicode-aware on WindowsMike Kaganski Change-Id: I76dc31ee14d1794fa73f990e641540ff941c7201 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/165735 Tested-by: Jenkins Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com> 2022-06-23Update for Poppler 22.06Nathan Pratta Teodosio Change-Id: I8ee9f1a53cc4389e6a4d44e9765b478b5edfffd3 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/136261 Tested-by: Jenkins Reviewed-by: Michael Stahl <michael.stahl@allotropia.de>