Commit fb16c546b50fbb7c333253fd33e725ba75e7704d
1 parent
972e08af
TODO: Comment about making making indirect objects
Showing
1 changed file
with
9 additions
and
0 deletions
TODO
| @@ -173,6 +173,15 @@ Comments appear in the code prefixed by "ABI" | @@ -173,6 +173,15 @@ Comments appear in the code prefixed by "ABI" | ||
| 173 | commit that added this comment includes the reverting of the change. | 173 | commit that added this comment includes the reverting of the change. |
| 174 | The previous commit removes the code that was calling and using | 174 | The previous commit removes the code that was calling and using |
| 175 | handleWarning. | 175 | handleWarning. |
| 176 | +* Make it easier to deal with objects that should be indirect. Search | ||
| 177 | + for makeIndirectObject in the code to find patterns. For example, it | ||
| 178 | + would be nice to have a one-liner for the case of one or all | ||
| 179 | + dictionary values or array items being replaced with an indirect | ||
| 180 | + objects if direct. Maybe we want a version of copyForeignObject that | ||
| 181 | + takes the foreign qpdf and converts the source object to indirect | ||
| 182 | + before copying, though maybe we don't because it could cause | ||
| 183 | + multiple copies to be made...usually it's better to handle that | ||
| 184 | + explicitly. | ||
| 176 | 185 | ||
| 177 | Page splitting/merging | 186 | Page splitting/merging |
| 178 | ====================== | 187 | ====================== |