ZugFerd-Attachment withou a path?
Hi,
we are using RB 23.01 to make ZugFerd-PDF-Files. The code is simple:
The Problem is, that we can see the path of the ZugFerd-file in the PDF.
Is there any option to clear or the change this path?
Thanks in advance
Gerd Brinkmann
invent GmbH
Germany
we are using RB 23.01 to make ZugFerd-PDF-Files. The code is simple:
MyReport.DeviceType := dtPDFA3ZUGFeRD;
MyReport.PDFSettings.Attachments.Clear;
MyReport.PDFSettings.Attachments.Add(MyZugferdFile);
The Problem is, that we can see the path of the ZugFerd-file in the PDF.
Is there any option to clear or the change this path?
Thanks in advance
Gerd Brinkmann
invent GmbH
Germany
Comments
This is not a known issue. In my testing with the following code, the ZUGFeRD xml invoice was attached to the PDF as a single file as expected.
I first suggest upgrading to RB 23.03 to ensure you are using the latest release. Then, please create a simple example demonstrating this behavior and send it to support@digital-metaphors.com so we can research what is happening.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thank you for your answer. Perhaps I didn't explain that correctly. My english is not so good.
The problem is in the PDF-file. When you examine in Acrobat Reader the attachment "factur-x.xml" you can see the path "c:\Temp". And I don't want to have this path in the PDF.
Thanks in advance
Gerd Brinkmann
invent GmbH
Germany
No problem, I believe I understood you correctly. Using the code I posted, the file inside Adobe Acrobat is a single file without a path included. Below is a screen shot of the Attachments section of Acrobat on my machine.
I will need to see an example of this to track down any issues.
Nico Cizik
Digital Metaphors
http://www.digital-metaphors.com
thanks again for your support. I made a few tests. In PDF-files from Delphi 10.3 or higher there is no descricption. So you are right. Unfortunately I have several PDF-files which are created with Delphi 7. And there is a description in the file.
Same code, different behaviour.
Okay, I think there's no further support for Delphi 7. Or can you change the output with D7?
Thanks in advance
Gerd Brinkmann
invent GmbH
Germany