aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDF.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDF.hh')
-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(