Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How to embed PDF file into a XFDF file

New Here ,
May 23, 2019 May 23, 2019

Hey Guys,

Is it possible to embed PDF (Demo.pdf) into a xfdf file (encode as base64), and then refers to the embedded file as the template for the current XFDF file?

Example XFDF file:

        <?xml version="1.0" encoding="UTF-8"?>  <xfdf xmlns="http://ns.adobe.com/xfdf/" xml:space="preserve">

<f href="\\xxxxx\xxxxx\tmp\Demo.pdf" />

<fields>

<field name="Text1"><value>Testing sample</value></field>

</fields>

</xfdf>

Since the tag <document><chunk> can be used to achieve the target for xdp format, I wonder is there any way to do it for XFDF format? Or do you have any detailed introduction on the <f> tag for xfdf format?

Any suggestion is appreciated.

Regards,

Zach

TOPICS
General troubleshooting
2.1K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
May 31, 2019 May 31, 2019
LATEST

After dig into it, I think xfdf format may not support the feature. However, fdf should has the capacity to do the task according to the "Portable Document Format" document. In the Forms Data Format (FDF) section of the documents (Page 6), it claims the following:

FDF typically encapsulates information such as X.509 certificates, request for certificates, directory setting, ,timestamps server settings, and embedded PDF files for network transmission.

https://joelaprevost.com/wp-content/uploads/2016/02/file.pdf

Unfortunately, there is no details in the document mentioned how PDF file should be embed into a FDF file. Any documents or suggestions will be much appreciated. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines