diff options
author | Jay Berkenbilt <ejb@ql.org> | 2020-12-27 01:45:01 +0100 |
---|---|---|
committer | Jay Berkenbilt <ejb@ql.org> | 2020-12-28 18:58:19 +0100 |
commit | 12ecd2019a3186d11ebb6083b3813ce722fb2329 (patch) | |
tree | cce0595cc82bef7a66c2b8ed6d0e9bf726334500 /libqpdf/qpdf/QPDF_Stream.hh | |
parent | 3f9191a34456e79ec6d98bfe46546d9df9abdcba (diff) | |
download | qpdf-12ecd2019a3186d11ebb6083b3813ce722fb2329.tar.zst |
Add QPDFObjectHandle::setFilterOnWrite
Diffstat (limited to 'libqpdf/qpdf/QPDF_Stream.hh')
-rw-r--r-- | libqpdf/qpdf/QPDF_Stream.hh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libqpdf/qpdf/QPDF_Stream.hh b/libqpdf/qpdf/QPDF_Stream.hh index b11de6a2..c4fdd379 100644 --- a/libqpdf/qpdf/QPDF_Stream.hh +++ b/libqpdf/qpdf/QPDF_Stream.hh @@ -27,6 +27,8 @@ class QPDF_Stream: public QPDFObject virtual void setDescription(QPDF*, std::string const&); QPDFObjectHandle getDict() const; bool isDataModified() const; + void setFilterOnWrite(bool); + bool getFilterOnWrite() const; // Methods to help QPDF copy foreign streams qpdf_offset_t getOffset() const; @@ -83,6 +85,7 @@ class QPDF_Stream: public QPDFObject QPDF* qpdf; int objid; int generation; + bool filter_on_write; QPDFObjectHandle stream_dict; qpdf_offset_t offset; size_t length; |