#290 Parser to return data with keys having significant names

closed
nobody
None
1
2013-09-17
2013-09-15
No

Since the creation of PDF file is done by setting values to certain properties, for example "Author", could the parser return something similar?

Now it seems to create an array with numerical index and in order to find the "Author" value, needs to loop until finds that word, then jump to next index to find its value.

I would like to use as the following:

$tcpdf = new TCPDF_PARSER($content);
$meta = $tcpdf->getMetaData();
echo $meta->Author;

Discussion

  • Nicola Asuni

    Nicola Asuni - 2013-09-17

    The parser is intented to return a structured array of the PDF content to be later reused and imported by TCPDF itself.
    In this way the imported document can be edited as if they were directly written using TCPDF.

     
  • Nicola Asuni

    Nicola Asuni - 2013-09-17
    • status: open --> closed
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks