ZF-9725: Problem to load PDF File

Issue Type: Bug Created: 2010-04-21T06:38:54.000+0000 Last Updated: 2010-10-21T02:01:03.000+0000 Status: Resolved Fix version(s): Reporter: ZEMZEMI (mimosa803) Assignee: Alexander Veremyev (alexander) Tags: - Zend_Pdf

Related issues: - ZF-9101

Attachments: - EDT_INFO2-Sem2-22032010.pdf



I'm using Zend_pdf framework to retrieve metadata from pdf file. But I have an error when I try to load my file. In deed, I tested my program with two files but it doesn't work with all pdf I think.

This is my code and the error message is "Outline childs load error"



                $pdf = Zend_Pdf::load($pdfPath,1);
                                      echo count($pdf->properties);
                foreach ($pdf->properties as $cle=>$valeur) {
                    echo $cle.''.$valeur;


Posted by Shaun Farrell (farrelley) on 2010-05-18T03:32:42.000+0000

I am unable to reproduce this issue.

$pdfPath= APPLICATION_PATH . "/../public/EDT_INFO2-Sem2-22032010.pdf"; $pdf = Zend_Pdf::load($pdfPath, 1); echo "# of Props: " . count($pdf->properties) . "
"; foreach ($pdf->properties as $cle => $valeur) { echo $cle . ': ' . $valeur . "
"; }

Gives me the following data. (needs to be converted but I get data back)

of Props: 3

Creator: þÿ�C�a�l�c Producer: þÿ�O�p�e�n�O�f�f�i�c�e�.�o�r�g� �2�.�4 CreationDate: D:20100322123632+01'00'

Posted by Shaun Farrell (farrelley) on 2010-05-20T03:56:51.000+0000

unable to reproduce this error.

Have you found an issue?

See the Overview section for more details.


© 2006-2016 by Zend, a Rogue Wave Company. Made with by awesome contributors.

This website is built using zend-expressive and it runs on PHP 7.