Commit 11b194a1d0b02e5964359510ab4e914c16c0c50c
1 parent
e7b8f297
Update getPageImages() comment to mention pushInheritedAttributesToPage()
Showing
1 changed file
with
6 additions
and
3 deletions
include/qpdf/QPDFObjectHandle.hh
| @@ -360,9 +360,12 @@ class QPDFObjectHandle | @@ -360,9 +360,12 @@ class QPDFObjectHandle | ||
| 360 | 360 | ||
| 361 | // Throws an exception if this is not a Page object. Returns an | 361 | // Throws an exception if this is not a Page object. Returns an |
| 362 | // empty map if there are no images or no resources. This | 362 | // empty map if there are no images or no resources. This |
| 363 | - // function does not presently support inherited resources. See | ||
| 364 | - // comment in the source for details. Return value is a map from | ||
| 365 | - // XObject name to the image object, which is always a stream. | 363 | + // function does not presently support inherited resources. If |
| 364 | + // this is a significant concern, call | ||
| 365 | + // pushInheritedAttributesToPage() on the QPDF object that owns | ||
| 366 | + // this page. See comment in the source for details. Return | ||
| 367 | + // value is a map from XObject name to the image object, which is | ||
| 368 | + // always a stream. | ||
| 366 | QPDF_DLL | 369 | QPDF_DLL |
| 367 | std::map<std::string, QPDFObjectHandle> getPageImages(); | 370 | std::map<std::string, QPDFObjectHandle> getPageImages(); |
| 368 | 371 |