aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--include/qpdf/QPDFObjGen.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjGen.hh b/include/qpdf/QPDFObjGen.hh
index 19158aeb..30f609a7 100644
--- a/include/qpdf/QPDFObjGen.hh
+++ b/include/qpdf/QPDFObjGen.hh
@@ -68,6 +68,12 @@ class QPDFObjGen
return gen;
}
QPDF_DLL
+ bool
+ isIndirect() const
+ {
+ return obj > 0;
+ }
+ QPDF_DLL
std::string unparse(char separator = ',') const;
QPDF_DLL
friend std::ostream& operator<<(std::ostream& os, const QPDFObjGen& og);