|
@@ 1925-1930 (lines=6) @@
|
| 1922 |
|
}else if(($trailer_table>0)&&((!is_null($id_def))||preg_match("/^\/(Size|Root|Info|ID|DocChecksum)/",$CurLine,$match))) {
|
| 1923 |
|
|
| 1924 |
|
//Value can be extracted using (\d+|\[[^\]]+\])
|
| 1925 |
|
if(preg_match("/\/Size (\d+)/",$CurLine,$match)) {
|
| 1926 |
|
//Seems to match with xref entries count..
|
| 1927 |
|
$size_read=$match[1];
|
| 1928 |
|
$this->info["size"]=$size_read;
|
| 1929 |
|
if($verbose_parsing) $this->dumpContent("Size read ($size_read) for pdf found.");
|
| 1930 |
|
}
|
| 1931 |
|
|
| 1932 |
|
if(preg_match("/^\/ID\s*\[\s*<([\da-fA-F]+)/",$CurLine,$match)) {
|
| 1933 |
|
$oid=$match[1];
|
|
@@ 1957-1961 (lines=5) @@
|
| 1954 |
|
$id_multi_line_def=true;
|
| 1955 |
|
}
|
| 1956 |
|
|
| 1957 |
|
if(preg_match("/^\/DocChecksum \/([\da-fA-F]+)/",$CurLine,$match)) {
|
| 1958 |
|
$checksum=$match[1];
|
| 1959 |
|
$this->info["checksum"]=$checksum;
|
| 1960 |
|
if($verbose_parsing) $this->dumpContent("Checksum read ($checksum) for pdf found.");
|
| 1961 |
|
}
|
| 1962 |
|
|
| 1963 |
|
if(preg_match("/>>/",$CurLine,$match))
|
| 1964 |
|
$trailer_table=-1;//negative value: expects startxref to follow
|