aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorm-holger <m-holger@kubitscheck.org>2022-09-28 13:25:52 +0200
committerJay Berkenbilt <jberkenbilt@users.noreply.github.com>2022-10-01 17:17:39 +0200
commit5ccab4be03701744f9795b37b4e5835b1a7b1c1d (patch)
treeacb1334aa85a66a03feec469707efc758fd04c6e /include
parentb94836628022cbfaf7bd76e23428c532636efc55 (diff)
downloadqpdf-5ccab4be03701744f9795b37b4e5835b1a7b1c1d.tar.zst
Add private methods QPDF::damagedPDF
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDF.hh16
1 files changed, 16 insertions, 0 deletions
diff --git a/include/qpdf/QPDF.hh b/include/qpdf/QPDF.hh
index 0156a7a2..3bda477f 100644
--- a/include/qpdf/QPDF.hh
+++ b/include/qpdf/QPDF.hh
@@ -1194,6 +1194,22 @@ class QPDF
std::shared_ptr<QPDFObject> const& object,
qpdf_offset_t end_before_space,
qpdf_offset_t end_after_space);
+ static QPDFExc damagedPDF(
+ std::shared_ptr<InputSource> const& input,
+ std::string const& object,
+ qpdf_offset_t offset,
+ std::string const& message);
+ QPDFExc damagedPDF(
+ std::shared_ptr<InputSource> const& input,
+ qpdf_offset_t offset,
+ std::string const& message);
+ QPDFExc damagedPDF(
+ std::string const& object,
+ qpdf_offset_t offset,
+ std::string const& message);
+ QPDFExc damagedPDF(std::string const& object, std::string const& message);
+ QPDFExc damagedPDF(qpdf_offset_t offset, std::string const& message);
+ QPDFExc damagedPDF(std::string const& message);
// Calls finish() on the pipeline when done but does not delete it
bool pipeStreamData(