Closed tueddy closed 5 months ago
Nice! I will see how to include it to the trunk. Thanks for sharing.
How do you generate the XML? I was asked to add such native support to the library, and I guess we could do that in mORMOt 2 with the new cryptographic features.
Please try the above commit.
That was lightning fast, just tested, function is working fine! Attachment is shown in tab & preflight doesn't report any errors. Thanks!
What about the result of function? I don't need it but it would be possible to create also a visible file attachment annotaion? So first create a document attachment, then a visible file annot for a specific page and link the attachment ref to the annot? Like this https://tcpdf.org/examples/example_041/
Hi,
first thank's for the great library! Just updated from SynPdf to mormot.ui.pdf without any issues!
I want to generate a PDF invoice conforming german ZugFERD / XRechnung standard. So i have to attach XML document to PDF/A file. It's currently not possible so i have created a descandant class with this new method:
With this function i can attach a file to PDF globaly:
Hope this helps to enhance the library!