DavBfr / dart_pdf

Pdf creation module for dart/flutter
https://pub.dev/packages/pdf
Apache License 2.0
1.41k stars 629 forks source link

Pdf/A compliency + embedded XML invoices #1582

Open ilaurillard opened 9 months ago

ilaurillard commented 9 months ago

Hello, i made some progress creating PDF/A 3b complient documents using your library and so far i can validate against Mustang and Vera (mainly its about a metadata xml and a colorprofile).

Also i added support for adding Attachments so we can embed Invoice-XML for electroning billing systems.

If you are interested, please contact me

DavBfr commented 9 months ago

Yes, that would be a nice addition to the library.

ilaurillard commented 9 months ago

Ok, we need to have 3 changes to the low level pdf creation.

the attached files are using the /Names directive - i dont know what happens if you mix it with annotations that are alos using /Names ... this has to be examined

If you want i can show you my additions or if you like i could prepare an merge request..

DavBfr commented 9 months ago

Yes, a Merge request works, it'll be easier to see and test.

I thought PDF/A needed a specific order in which the objects are in the file, with a specific TOC at the beginning.

bobosette commented 6 months ago

Hi. Some news about the pdf/a feature??

CLNMR commented 1 month ago

Hi @ilaurillard, did you get around to creating the pull request? I would love to check out the embedding functionality!