Fdf file format example




















Basically, this function takes a PDF document with a form, fetches all data from this form and exports them to the FDF file. Content property of FdfDocument class. Such a string can be easily processed in any way you need.

Together these three functions create a base for all manipulations with FDF required in the above scenarios. After that you can send the data to the server, or process locally. In many practical applications, though, you may also need the fourth: PathToPdf property. This property of the FdfDocument class holds the path where the original PDF file containing the form is located.

Why should you bother? Therefore, every time you manipulate with an FDF file, you should make sure it contains a correct path to the parent PDF document and that document does exist at that path. Email this topic Watch this topic Print this topic. NET 2. NET This page was generated in 0.

The value of a name-value pair should be on a single line. Special characters can be entered directly into the FDF file, or they can be represented by octal characters. XFDF files have an element called fields that contain field and value.

An example of an XFDF file which shows this simple structure follows. To manually insert a line break in form field text, type a carriage return directly into the value in the XFDF file. The only place double-byte characters can be used is in the value parameter of a text form field. In order to use Acrobat to view and print Asian text, you must have Asian language support files installed for both the Operating System OS and Acrobat. The table below shows whether Asian font support is automatically installed for your combination of OS and Acrobat, or whether you have to manually install it.

To install Asian font support, open Regional Options in the Control Panel, and add the fonts you want. You may need your original installation disk. Refer to the Windows on-line help for more information. You can also install keyboard support. For all other versions, you will need to do a custom installation, and choose to install Asian font support.

Refer to the Acrobat on-line help for more information. Download and install the Asian Font Pack. Reader components can be updated in a variety of ways. Some updates are available when you open a PDF that triggers the updating process automatically.

For example, if you open a form that uses Asian language fonts, Reader asks whether you want to download the fonts. Other updates are available only from the Help menu, and you must install them manually. The objects of importance to us are:. If there is more data than can fit on one page, create a new page using the same template, and continue to populate the fields on the new page.

The following example shows the FDF template file, template. You can create a simple FDF file by copying the sections marked to add pages and fields. The actual process to generate an FDF file varies depending on which platform and coding language you are using, but the general process goes like this:.

Always set bNewPage to true.



0コメント

  • 1000 / 1000