summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/qpdf/QPDFObjectHandle.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/qpdf/QPDFObjectHandle.hh b/include/qpdf/QPDFObjectHandle.hh
index a2f54a73..6f78e9a9 100644
--- a/include/qpdf/QPDFObjectHandle.hh
+++ b/include/qpdf/QPDFObjectHandle.hh
@@ -830,6 +830,11 @@ class QPDFObjectHandle
QPDF_DLL
void assertNumber();
+ // The isPageObject method checks the /Type key of the object.
+ // This is not completely reliable as there are some otherwise
+ // valid files whose /Type is wrong for page objects. qpdf is
+ // slightly more accepting but may still return false here when
+ // treating the object as a page would work. Use this sparingly.
QPDF_DLL
bool isPageObject();
QPDF_DLL