I have a PDF which doesn't contain XFA data. What I want to do is, create a XFA Form template programmatically (not by using Adobe LiveCycle or similar program) and then embed it to the PDF, then fill the XFA Form.
Is this possible? Or do I have to use Adobe LiveCycle?
EDIT
http://en.wikipedia.org/wiki/XFA#Profiles in this wiki link it says following:
XFAF (XFA Foreground) subset - (introduced in XFA 2.5) - a form in which each page of the XFA form overlays a PDF background. It can be used only for static XFA forms. This architecture uses only a subset of XFA. It can be packaged inside a regular PDF document or as a standalone XDP file with embedded PDF. In XFAF each XFA field corresponds to a PDF interactive field (AcroForm field).
So I believe, what I ask is possible, but currently I don't know how...