Index: testing/resources/bookmarks.in |
diff --git a/testing/resources/named_dests.in b/testing/resources/bookmarks.in |
similarity index 60% |
copy from testing/resources/named_dests.in |
copy to testing/resources/bookmarks.in |
index 5309ee23aabddf4ef057fecfc07d9aa5bea429ca..dfa6e1426f6f4ceb6b9a40b5b6665ba22524fc37 100644 |
--- a/testing/resources/named_dests.in |
+++ b/testing/resources/bookmarks.in |
@@ -2,10 +2,7 @@ |
{{object 1 0}} << |
/Type /Catalog |
/Pages 2 0 R |
- /Names << |
- /Dests 10 0 R |
- >> |
- /Dests 14 0 R |
+ /Outlines 14 0 R |
>> |
endobj |
{{object 2 0}} << |
@@ -39,36 +36,28 @@ endobj |
/MediaBox [0 0 612 792] |
>> |
endobj |
-% Root of Dests NameTree |
+% First bookmark |
{{object 10 0}} << |
- /Kids [ |
- 11 0 R |
- 12 0 R |
- ] |
+ /Title (A Good Beginning) |
+ /Parent 14 0 R |
+ /Next 11 0 R |
+ /Dest (foo) |
>> |
endobj |
-% Left child for Dests NameTree |
+% Last bookmark |
{{object 11 0}} << |
- /Names [ |
- (First) [1 /XYZ 0 0 1] |
- (Next) <</D [4 0 R /Fit]>> |
- ] |
+ /Title (A Good Ending) |
+ /Parent 14 0 R |
+ /Prev 10 0 R |
+ /Dest (bar) |
>> |
endobj |
-% Right child for Dests NameTree |
-{{object 12 0}} << |
- /Names [ |
- (WrongKey) <</Fail [10 /FitH]>> |
- (WrongType) /NameNotAllowedHere |
- ] |
->> |
-endobj |
-% Old-style top-level Dests dictionary. Note that FirstAlternate |
-% intentionally references non-exisstant page 11 and LastAlternate |
-% intentionally references non-existant object 999. |
+% Root bookmark |
{{object 14 0}} << |
- /FirstAlternate [11 /XYZ 200 400 800] |
- /LastAlternate <</D [999 0 R /XYZ 0 0 -200]>> |
+ /Type /Outlines |
+ /First 10 0 R |
+ /Last 11 0 R |
+ /Count 2 |
>> |
endobj |
% Font resource. |