From fb16c546b50fbb7c333253fd33e725ba75e7704d Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Thu, 11 Mar 2021 12:53:09 -0500 Subject: TODO: Comment about making making indirect objects --- TODO | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/TODO b/TODO index 324aa2db..3b86e3db 100644 --- a/TODO +++ b/TODO @@ -173,6 +173,15 @@ Comments appear in the code prefixed by "ABI" commit that added this comment includes the reverting of the change. The previous commit removes the code that was calling and using handleWarning. +* Make it easier to deal with objects that should be indirect. Search + for makeIndirectObject in the code to find patterns. For example, it + would be nice to have a one-liner for the case of one or all + dictionary values or array items being replaced with an indirect + objects if direct. Maybe we want a version of copyForeignObject that + takes the foreign qpdf and converts the source object to indirect + before copying, though maybe we don't because it could cause + multiple copies to be made...usually it's better to handle that + explicitly. Page splitting/merging ====================== -- cgit v1.2.3-70-g09d2