diff options
author | m-holger <m-holger@kubitscheck.org> | 2022-09-28 13:25:52 +0200 |
---|---|---|
committer | Jay Berkenbilt <jberkenbilt@users.noreply.github.com> | 2022-10-01 17:17:39 +0200 |
commit | 5ccab4be03701744f9795b37b4e5835b1a7b1c1d (patch) | |
tree | acb1334aa85a66a03feec469707efc758fd04c6e /include/qpdf | |
parent | b94836628022cbfaf7bd76e23428c532636efc55 (diff) | |
download | qpdf-5ccab4be03701744f9795b37b4e5835b1a7b1c1d.tar.zst |
Add private methods QPDF::damagedPDF
Diffstat (limited to 'include/qpdf')
-rw-r--r-- | include/qpdf/QPDF.hh | 16 |
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( |