list embedded files of PDF/A()
This function creates/fills a list b with the names of all files embedded in a PDF/A3 file a.
The return value is the number of embedded files found, or 0 if an error occurred.
Parameters
Parameter |
Description |
a |
Path to the PDF/A3 file. |
b |
Name of the list in which the names of the embedded files are written. Important note: The list is emptied before that, if it already exists. |
Example
We assume that the PDF/A3 file mya3.pdf contains two embedded files.
Parameter a |
Parameter b |
Result |
./conf/myfiles/mya3.pdf |
mylist |
2 (and the list mylist contains the names of the two embedded files ) |