From 2118eecae7e5e84a39eb0568c60b36fd8b672461 Mon Sep 17 00:00:00 2001 From: Jay Berkenbilt Date: Sat, 4 Apr 2020 17:59:53 -0400 Subject: [PATCH] Add objectinfo to json --- ChangeLog | 6 + qpdf/qpdf.cc | 91 +- qpdf/qtest/qpdf/direct-pages-json.out | 44 + ...json-field-types---show-encryption-key.out | 1374 +++++++++++++++++ qpdf/qtest/qpdf/json-field-types.out | 1374 +++++++++++++++++ qpdf/qtest/qpdf/json-image-streams-all.out | 212 +++ qpdf/qtest/qpdf/json-image-streams-small.out | 212 +++ .../qpdf/json-image-streams-specialized.out | 212 +++ qpdf/qtest/qpdf/json-image-streams.out | 212 +++ .../qtest/qpdf/json-outlines-with-actions.out | 758 +++++++++ .../json-outlines-with-old-root-dests.out | 751 +++++++++ .../qpdf/json-page-labels-and-outlines.out | 744 +++++++++ qpdf/qtest/qpdf/json-page-labels-num-tree.out | 695 +++++++++ qpdf/qtest/qpdf/page_api_2-json.out | 72 + 14 files changed, 6742 insertions(+), 15 deletions(-) diff --git a/ChangeLog b/ChangeLog index c71dc44b..8501aaf2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,11 @@ 2020-04-04 Jay Berkenbilt + * Add "objectinfo" section to json output. In this release, + information about whether each object is a stream or not is + provided. There's otherwise no way to tell conclusively from the + json output. Over time, other computed information about objects + may be added here. + * Add new option --remove-unreferenced-resources that takes auto, yes, or no as options. This tells qpdf whether to attempt to remove unreferenced resources from pages when doing page splitting diff --git a/qpdf/qpdf.cc b/qpdf/qpdf.cc index 38aa2f4a..190491bd 100644 --- a/qpdf/qpdf.cc +++ b/qpdf/qpdf.cc @@ -382,6 +382,24 @@ static JSON json_schema(std::set* keys = 0) "dictionary of original objects;" " keys are 'trailer' or 'n n R'")); } + if (all_keys || keys->count("objectinfo")) + { + JSON objectinfo = schema.addDictionaryMember( + "objectinfo", JSON::makeDictionary()); + JSON details = objectinfo.addDictionaryMember( + "", JSON::makeDictionary()); + JSON stream = details.addDictionaryMember( + "stream", JSON::makeDictionary()); + stream.addDictionaryMember( + "is", + JSON::makeString("whether the object is a stream")); + stream.addDictionaryMember( + "length", + JSON::makeString("if stream, its length, otherwise null")); + stream.addDictionaryMember( + "filter", + JSON::makeString("if stream, its length, otherwise null")); + } if (all_keys || keys->count("pages")) { JSON page = schema.addDictionaryMember("pages", JSON::makeArray()). @@ -1020,8 +1038,8 @@ ArgParser::initOptionTable() // The list of selectable top-level keys id duplicated in three // places: json_schema, do_json, and initOptionTable. char const* json_key_choices[] = { - "objects", "pages", "pagelabels", "outlines", "acroform", - "encrypt", 0}; + "objects", "objectinfo", "pages", "pagelabels", "outlines", + "acroform", "encrypt", 0}; (*t)["json-key"] = oe_requiredChoices( &ArgParser::argJsonKey, json_key_choices); (*t)["json-object"] = oe_requiredParameter( @@ -3624,25 +3642,31 @@ static void do_show_pages(QPDF& pdf, Options& o) } } +static std::set +get_wanted_json_objects(Options& o) +{ + std::set wanted_og; + for (auto iter: o.json_objects) + { + bool trailer; + int obj = 0; + int gen = 0; + parse_object_id(iter, trailer, obj, gen); + if (obj) + { + wanted_og.insert(QPDFObjGen(obj, gen)); + } + } + return wanted_og; +} + static void do_json_objects(QPDF& pdf, Options& o, JSON& j) { // Add all objects. Do this first before other code below modifies // things by doing stuff like calling // pushInheritedAttributesToPage. bool all_objects = o.json_objects.empty(); - std::set wanted_og; - for (std::set::iterator iter = o.json_objects.begin(); - iter != o.json_objects.end(); ++iter) - { - bool trailer; - int obj = 0; - int gen = 0; - parse_object_id(*iter, trailer, obj, gen); - if (obj) - { - wanted_og.insert(QPDFObjGen(obj, gen)); - } - } + std::set wanted_og = get_wanted_json_objects(o); JSON j_objects = j.addDictionaryMember("objects", JSON::makeDictionary()); if (all_objects || o.json_objects.count("trailer")) { @@ -3661,6 +3685,39 @@ static void do_json_objects(QPDF& pdf, Options& o, JSON& j) } } +static void do_json_objectinfo(QPDF& pdf, Options& o, JSON& j) +{ + // Do this first before other code below modifies things by doing + // stuff like calling pushInheritedAttributesToPage. + bool all_objects = o.json_objects.empty(); + std::set wanted_og = get_wanted_json_objects(o); + JSON j_objectinfo = j.addDictionaryMember( + "objectinfo", JSON::makeDictionary()); + for (auto obj: pdf.getAllObjects()) + { + if (all_objects || wanted_og.count(obj.getObjGen())) + { + auto j_details = j_objectinfo.addDictionaryMember( + obj.unparse(), JSON::makeDictionary()); + auto j_stream = j_details.addDictionaryMember( + "stream", JSON::makeDictionary()); + bool is_stream = obj.isStream(); + j_stream.addDictionaryMember( + "is", JSON::makeBool(is_stream)); + j_stream.addDictionaryMember( + "length", + (is_stream + ? obj.getDict().getKey("/Length").getJSON(true) + : JSON::makeNull())); + j_stream.addDictionaryMember( + "filter", + (is_stream + ? obj.getDict().getKey("/Filter").getJSON(true) + : JSON::makeNull())); + } + } +} + static void do_json_pages(QPDF& pdf, Options& o, JSON& j) { JSON j_pages = j.addDictionaryMember("pages", JSON::makeArray()); @@ -4071,6 +4128,10 @@ static void do_json(QPDF& pdf, Options& o) { do_json_objects(pdf, o, j); } + if (all_keys || o.json_keys.count("objectinfo")) + { + do_json_objectinfo(pdf, o, j); + } if (all_keys || o.json_keys.count("pages")) { do_json_pages(pdf, o, j); diff --git a/qpdf/qtest/qpdf/direct-pages-json.out b/qpdf/qtest/qpdf/direct-pages-json.out index 9e051daf..0bd43563 100644 --- a/qpdf/qtest/qpdf/direct-pages-json.out +++ b/qpdf/qtest/qpdf/direct-pages-json.out @@ -31,6 +31,50 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/Pages": "2 0 R", diff --git a/qpdf/qtest/qpdf/json-field-types---show-encryption-key.out b/qpdf/qtest/qpdf/json-field-types---show-encryption-key.out index e324ecd6..7bc40bdb 100644 --- a/qpdf/qtest/qpdf/json-field-types---show-encryption-key.out +++ b/qpdf/qtest/qpdf/json-field-types---show-encryption-key.out @@ -412,6 +412,1380 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "100 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "101 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "102 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "103 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "104 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "105 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "106 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "107 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "108 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "109 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "110 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "111 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "112 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "113 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "114 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "115 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "116 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "117 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "118 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "119 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "120 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "121 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "122 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "123 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "124 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "125 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "126 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "127 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "128 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "129 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "130 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "131 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "132 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "133 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "134 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "135 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "136 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "137 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "138 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "139 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "140 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "141 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "142 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 702 + } + }, + "143 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "144 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "145 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "146 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 582 + } + }, + "147 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "148 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "149 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "150 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "151 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "152 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "153 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "154 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "155 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "156 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "157 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "158 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "159 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "16 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "160 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "161 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "162 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "163 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "164 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "165 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "166 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "167 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "168 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "169 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "170 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "171 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "172 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "173 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "174 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "175 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "176 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "177 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "178 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "179 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "18 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "180 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "181 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "182 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "183 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "184 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "185 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "186 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "187 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "188 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "189 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "190 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "191 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "192 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "193 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 16184 + } + }, + "194 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "195 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 11088 + } + }, + "196 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "22 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "24 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 82 + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "28 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "31 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 82 + } + }, + "32 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "33 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "34 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "35 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 82 + } + }, + "36 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "37 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "38 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "39 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "40 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "41 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "42 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "43 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "44 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "45 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "46 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "47 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "48 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "49 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "50 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 4747 + } + }, + "51 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "52 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "53 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "54 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "55 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "56 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "57 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "58 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "59 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "60 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "61 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "62 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "63 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "64 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "65 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "66 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "67 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "68 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "69 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "70 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "71 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "72 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "73 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "74 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "75 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "76 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "77 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "78 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "79 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "80 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "81 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "82 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "83 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "84 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "85 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "86 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "87 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "88 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "89 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "90 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "91 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "92 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "93 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "94 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "95 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "96 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "97 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "98 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "99 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/AcroForm": { diff --git a/qpdf/qtest/qpdf/json-field-types.out b/qpdf/qtest/qpdf/json-field-types.out index e324ecd6..7bc40bdb 100644 --- a/qpdf/qtest/qpdf/json-field-types.out +++ b/qpdf/qtest/qpdf/json-field-types.out @@ -412,6 +412,1380 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "100 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "101 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "102 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "103 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "104 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "105 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "106 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "107 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "108 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "109 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "110 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "111 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "112 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "113 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "114 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "115 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "116 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "117 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "118 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "119 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "120 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "121 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "122 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "123 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "124 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "125 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "126 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "127 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "128 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "129 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "130 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "131 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "132 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "133 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "134 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "135 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "136 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "137 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "138 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "139 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "140 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "141 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "142 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 702 + } + }, + "143 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "144 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "145 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "146 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 582 + } + }, + "147 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "148 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "149 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "150 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "151 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "152 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "153 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "154 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "155 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "156 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "157 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "158 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "159 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "16 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "160 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "161 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "162 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "163 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "164 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "165 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "166 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "167 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "168 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "169 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "170 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "171 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "172 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "173 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "174 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "175 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "176 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "177 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "178 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "179 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "18 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "180 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "181 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "182 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "183 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "184 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "185 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "186 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "187 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "188 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "189 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "190 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "191 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "192 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "193 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 16184 + } + }, + "194 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "195 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 11088 + } + }, + "196 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "22 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "24 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 82 + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "28 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "31 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 82 + } + }, + "32 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "33 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "34 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "35 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 82 + } + }, + "36 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "37 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "38 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "39 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "40 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "41 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "42 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "43 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "44 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "45 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "46 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "47 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "48 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "49 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "50 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 4747 + } + }, + "51 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "52 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "53 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "54 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "55 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "56 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "57 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "58 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "59 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "60 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "61 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "62 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "63 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "64 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "65 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "66 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "67 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "68 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "69 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "70 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "71 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "72 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "73 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "74 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "75 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "76 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "77 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "78 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 220 + } + }, + "79 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "80 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 12 + } + }, + "81 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "82 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "83 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "84 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "85 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "86 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "87 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "88 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "89 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "90 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "91 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "92 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "93 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "94 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "95 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "96 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "97 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "98 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "99 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/AcroForm": { diff --git a/qpdf/qtest/qpdf/json-image-streams-all.out b/qpdf/qtest/qpdf/json-image-streams-all.out index c454977f..8eaa4583 100644 --- a/qpdf/qtest/qpdf/json-image-streams-all.out +++ b/qpdf/qtest/qpdf/json-image-streams-all.out @@ -31,6 +31,218 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 95 + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 768000 + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 101 + } + }, + "16 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 9364 + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 107 + } + }, + "18 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 768998 + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 94 + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 576000 + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 100 + } + }, + "22 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 3650 + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 106 + } + }, + "24 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 641497 + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 95 + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 192000 + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 101 + } + }, + "28 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 2587 + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 107 + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 3001 + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/Pages": "2 0 R", diff --git a/qpdf/qtest/qpdf/json-image-streams-small.out b/qpdf/qtest/qpdf/json-image-streams-small.out index ca02590c..dd7935ee 100644 --- a/qpdf/qtest/qpdf/json-image-streams-small.out +++ b/qpdf/qtest/qpdf/json-image-streams-small.out @@ -31,6 +31,218 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 97 + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 51 + } + }, + "15 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 102 + } + }, + "16 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 454 + } + }, + "17 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 108 + } + }, + "18 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 7688 + } + }, + "19 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 96 + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 46 + } + }, + "21 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 99 + } + }, + "22 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 849 + } + }, + "23 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 106 + } + }, + "24 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 6411 + } + }, + "25 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 97 + } + }, + "26 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 36 + } + }, + "27 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 101 + } + }, + "28 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 359 + } + }, + "29 0 R": { + "stream": { + "filter": "/FlateDecode", + "is": true, + "length": 108 + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 37 + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/Pages": "2 0 R", diff --git a/qpdf/qtest/qpdf/json-image-streams-specialized.out b/qpdf/qtest/qpdf/json-image-streams-specialized.out index c3eef9a4..9c6567f5 100644 --- a/qpdf/qtest/qpdf/json-image-streams-specialized.out +++ b/qpdf/qtest/qpdf/json-image-streams-specialized.out @@ -31,6 +31,218 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 95 + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 768000 + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 101 + } + }, + "16 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 9364 + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 107 + } + }, + "18 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 768998 + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 94 + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 576000 + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 100 + } + }, + "22 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 3650 + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 106 + } + }, + "24 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 641497 + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 95 + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 192000 + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 101 + } + }, + "28 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 2587 + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 107 + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 3001 + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/Pages": "2 0 R", diff --git a/qpdf/qtest/qpdf/json-image-streams.out b/qpdf/qtest/qpdf/json-image-streams.out index 83a9fbff..734868a5 100644 --- a/qpdf/qtest/qpdf/json-image-streams.out +++ b/qpdf/qtest/qpdf/json-image-streams.out @@ -31,6 +31,218 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 95 + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 768000 + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 101 + } + }, + "16 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 9364 + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 107 + } + }, + "18 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 768998 + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 94 + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 576000 + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 100 + } + }, + "22 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 3650 + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 106 + } + }, + "24 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 641497 + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 95 + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 192000 + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 101 + } + }, + "28 0 R": { + "stream": { + "filter": "/DCTDecode", + "is": true, + "length": 2587 + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 107 + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": "/RunLengthDecode", + "is": true, + "length": 3001 + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/Pages": "2 0 R", diff --git a/qpdf/qtest/qpdf/json-outlines-with-actions.out b/qpdf/qtest/qpdf/json-outlines-with-actions.out index 8ec8b6f0..25776abe 100644 --- a/qpdf/qtest/qpdf/json-outlines-with-actions.out +++ b/qpdf/qtest/qpdf/json-outlines-with-actions.out @@ -31,6 +31,764 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "100 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "101 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "102 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "103 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "104 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "105 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "106 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "107 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "108 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "16 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "18 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "22 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "24 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "28 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "31 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "32 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "33 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "34 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "35 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "36 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "37 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "38 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "39 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "40 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "41 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "42 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "43 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "44 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "45 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "46 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "47 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "48 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "49 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "50 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "51 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "52 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "53 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "54 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "55 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "56 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "57 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "58 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "59 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "60 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "61 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "62 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "63 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "64 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "65 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "66 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "67 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "68 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "69 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "70 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "71 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "72 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "73 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "74 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "75 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "76 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "77 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "78 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "79 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "80 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "81 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "82 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "83 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "84 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "85 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "86 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "87 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "88 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "89 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "90 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "91 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "92 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "93 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "94 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "95 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "96 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "97 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "98 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "99 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/Names": { diff --git a/qpdf/qtest/qpdf/json-outlines-with-old-root-dests.out b/qpdf/qtest/qpdf/json-outlines-with-old-root-dests.out index 64ba1d37..11735197 100644 --- a/qpdf/qtest/qpdf/json-outlines-with-old-root-dests.out +++ b/qpdf/qtest/qpdf/json-outlines-with-old-root-dests.out @@ -31,6 +31,757 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "100 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "101 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "102 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "103 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "104 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "105 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "106 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "107 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "16 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "18 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "22 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "24 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "28 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "31 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "32 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "33 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "34 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "35 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "36 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "37 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "38 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "39 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "40 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "41 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "42 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "43 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "44 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "45 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "46 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "47 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "48 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "49 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "50 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "51 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "52 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "53 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "54 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "55 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "56 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "57 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "58 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 44 + } + }, + "59 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "60 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "61 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "62 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "63 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "64 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "65 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "66 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "67 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "68 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "69 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "70 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "71 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "72 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "73 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "74 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "75 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "76 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "77 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "78 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "79 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "80 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "81 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "82 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "83 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "84 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "85 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "86 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "87 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "88 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "89 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "90 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "91 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "92 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "93 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "94 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "95 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "96 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "97 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "98 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 45 + } + }, + "99 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/Dests": "107 0 R", diff --git a/qpdf/qtest/qpdf/json-page-labels-and-outlines.out b/qpdf/qtest/qpdf/json-page-labels-and-outlines.out index 696fff78..b0de1c1d 100644 --- a/qpdf/qtest/qpdf/json-page-labels-and-outlines.out +++ b/qpdf/qtest/qpdf/json-page-labels-and-outlines.out @@ -31,6 +31,750 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "100 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "101 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "102 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "103 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "104 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "105 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "106 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "16 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "18 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "22 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "24 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "28 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "31 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "32 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "33 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "34 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "35 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "36 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "37 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "38 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "39 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "40 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "41 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "42 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "43 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "44 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "45 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "46 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "47 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "48 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "49 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "50 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "51 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "52 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "53 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "54 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "55 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "56 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "57 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "58 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "59 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "60 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "61 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "62 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "63 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "64 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "65 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "66 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "67 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "68 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "69 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "70 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "71 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "72 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "73 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "74 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "75 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "76 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "77 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "78 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "79 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "80 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "81 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "82 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "83 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "84 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "85 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "86 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "87 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "88 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "89 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "90 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "91 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "92 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "93 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "94 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "95 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "96 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "97 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "98 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "99 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/Outlines": "95 0 R", diff --git a/qpdf/qtest/qpdf/json-page-labels-num-tree.out b/qpdf/qtest/qpdf/json-page-labels-num-tree.out index 6126d404..497f428c 100644 --- a/qpdf/qtest/qpdf/json-page-labels-num-tree.out +++ b/qpdf/qtest/qpdf/json-page-labels-num-tree.out @@ -31,6 +31,701 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "11 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "12 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "13 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "14 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "15 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "16 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "17 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "18 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "19 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "20 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "21 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "22 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "23 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "24 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "25 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "26 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "27 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "28 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "29 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "30 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "31 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "32 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "33 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "34 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "35 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "36 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "37 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "38 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "39 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "40 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "41 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "42 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "43 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "44 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "45 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "46 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "47 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "48 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "49 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "50 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "51 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "52 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "53 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "54 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "55 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "56 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "57 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "58 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 46 + } + }, + "59 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "60 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "61 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "62 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "63 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "64 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "65 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "66 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "67 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "68 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "69 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "70 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "71 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "72 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "73 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "74 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "75 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "76 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "77 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "78 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "79 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "80 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "81 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "82 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "83 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "84 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "85 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "86 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "87 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "88 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "89 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "90 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "91 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "92 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "93 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "94 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "95 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "96 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "97 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "98 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "99 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + } + }, "objects": { "1 0 R": { "/PageLabels": "2 0 R", diff --git a/qpdf/qtest/qpdf/page_api_2-json.out b/qpdf/qtest/qpdf/page_api_2-json.out index 0402accb..b8ce4f38 100644 --- a/qpdf/qtest/qpdf/page_api_2-json.out +++ b/qpdf/qtest/qpdf/page_api_2-json.out @@ -31,6 +31,78 @@ }, "userpasswordmatched": false }, + "objectinfo": { + "1 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "10 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "2 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "3 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "4 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "5 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "6 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + }, + "7 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "8 0 R": { + "stream": { + "filter": null, + "is": false, + "length": null + } + }, + "9 0 R": { + "stream": { + "filter": null, + "is": true, + "length": 47 + } + } + }, "objects": { "1 0 R": { "/Pages": "3 0 R",