Open Bug 1722499 Opened 3 years ago Updated 3 years ago

Support saving PDF forms which contain fields with no names

Categories

(Firefox :: PDF Viewer, enhancement, P3)

enhancement

Tracking

()

People

(Reporter: marco, Unassigned)

References

(Blocks 1 open bug)

Details

(Whiteboard: [pdfjs-form-xfa])

The "Name of Issuer" or "Law governing the bonds" fields from https://bugzilla.mozilla.org/attachment.cgi?id=9228948 (attachment in bug 1718245) don't have a name property in the XML, so we don't currently support saving them (when saving the PDF and reopening it, those fields will be empty).

Adobe Reader is storing values for fields with a name in <datasets> (like we do), and it is storing values for fields without a name in an undocumented <form> XML node.

We should support the same.

AFAIK, the <form> node is undocumented.
The main problem is that this node has an attribute checksum used to check that data are valid. So to have acrobat compatibility, it means that we must reverse-engineer the way to compute it (or find some "specs" somewhere).

Blocks: 1723822
QA Whiteboard: [pdf_xfa_generic]
Severity: S3 → --
Priority: P2 → P3
Whiteboard: [pdfjs-form-xfa]
You need to log in before you can comment on or make changes to this bug.