### ----------------------------------------------------
### -- PDF
### -- Licenses: Artistic-2.0
### -- Authors: David Warring
### -- File: t/pdf/samples/helloworld.json
### ----------------------------------------------------
{
  "cos": {
    "header": {
      "type": "PDF",
      "version": 1.3
    },
    "body": [
      {
        "trailer": {
          "dict": {
            "Root": {
              "ind-ref": [
                2,
                0
              ]
            },
            "Size": {
              "int": 8
            },
            "ID": {
              "array": [
                {
                  "hex-string": "×C¨üÜø{iÃeH!©A"
                },
                {
                  "hex-string": "0BD³C|N{:g\u0016l^C"
                }
              ]
            },
            "Info": {
              "ind-ref": [
                1,
                0
              ]
            }
          }
        },
        "objects": [
          {
            "ind-obj": [
              1,
              0,
              {
                "dict": {
                  "CreationDate": {
                    "literal": "D:20151225000000Z00'00'"
                  },
                  "Author": {
                    "literal": "PDF-Tools/t/cos-doc.t"
                  }
                }
              }
            ]
          },
          {
            "ind-obj": [
              2,
              0,
              {
                "dict": {
                  "Outlines": {
                    "ind-ref": [
                      3,
                      0
                    ]
                  },
                  "Type": {
                    "name": "Catalog"
                  },
                  "Pages": {
                    "ind-ref": [
                      4,
                      0
                    ]
                  }
                }
              }
            ]
          },
          {
            "ind-obj": [
              3,
              0,
              {
                "dict": {
                  "Type": {
                    "name": "Outlines"
                  },
                  "Count": {
                    "int": 0
                  }
                }
              }
            ]
          },
          {
            "ind-obj": [
              4,
              0,
              {
                "dict": {
                  "Kids": {
                    "array": [
                      {
                        "ind-ref": [
                          5,
                          0
                        ]
                      }
                    ]
                  },
                  "Type": {
                    "name": "Pages"
                  },
                  "Count": {
                    "int": 1
                  }
                }
              }
            ]
          },
          {
            "ind-obj": [
              5,
              0,
              {
                "dict": {
                  "Contents": {
                    "ind-ref": [
                      6,
                      0
                    ]
                  },
                  "Resources": {
                    "dict": {
                      "Procset": {
                        "array": [
                          {
                            "name": "PDF"
                          },
                          {
                            "name": "Text"
                          }
                        ]
                      },
                      "Font": {
                        "dict": {
                          "F1": {
                            "ind-ref": [
                              7,
                              0
                            ]
                          }
                        }
                      }
                    }
                  },
                  "MediaBox": {
                    "array": [
                      {
                        "int": 0
                      },
                      {
                        "int": 0
                      },
                      {
                        "int": 420
                      },
                      {
                        "int": 595
                      }
                    ]
                  },
                  "Type": {
                    "name": "Page"
                  },
                  "Parent": {
                    "ind-ref": [
                      4,
                      0
                    ]
                  }
                }
              }
            ]
          },
          {
            "ind-obj": [
              6,
              0,
              {
                "stream": {
                  "dict": {
                    "Length": {
                      "int": 46
                    }
                  },
                  "encoded": "BT /F1 24 Tf  100 250 Td (Hello, world!) Tj ET"
                }
              }
            ]
          },
          {
            "ind-obj": [
              7,
              0,
              {
                "dict": {
                  "Type": {
                    "name": "Font"
                  },
                  "Subtype": {
                    "name": "Type1"
                  },
                  "BaseFont": {
                    "name": "Helvetica"
                  },
                  "Encoding": {
                    "name": "MacRomanEncoding"
                  }
                }
              }
            ]
          }
        ]
      }
    ]
  }
}


