-
Notifications
You must be signed in to change notification settings - Fork 10k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
XFA - Save filled data in the pdf when downloading the file (Bug 1716288) #13627
Conversation
calixteman
commented
Jun 25, 2021
•
edited
Loading
edited
- when binding (after parsing) we get a map between some template nodes and some data nodes;
- so set user data in input handlers in using data node uids in the annotation storage;
- to save the form, just put the value we have in the storage in the correct data nodes, serialize the xml as a string and then write the string at the end of the pdf using src/core/writer.js;
- fix few bugs around data bindings:
- the "Off" issue in Bug 1716288.
/botio test |
From: Bot.io (Linux m4)ReceivedCommand cmd_test from @calixteman received. Current queue size: 1 Live output at: http://54.67.70.0:8877/f803b21e90e2163/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_test from @calixteman received. Current queue size: 1 Live output at: http://3.101.106.178:8877/220326690260060/output.txt |
From: Bot.io (Linux m4)FailedFull output at http://54.67.70.0:8877/f803b21e90e2163/output.txt Total script time: 28.69 mins
Image differences available at: http://54.67.70.0:8877/f803b21e90e2163/reftest-analyzer.html#web=eq.log |
From: Bot.io (Windows)FailedFull output at http://3.101.106.178:8877/220326690260060/output.txt Total script time: 32.20 mins
Image differences available at: http://3.101.106.178:8877/220326690260060/reftest-analyzer.html#web=eq.log |
…288) - when binding (after parsing) we get a map between some template nodes and some data nodes; - so set user data in input handlers in using data node uids in the annotation storage; - to save the form, just put the value we have in the storage in the correct data nodes, serialize the xml as a string and then write the string at the end of the pdf using src/core/writer.js; - fix few bugs around data bindings: - the "Off" issue in Bug 1716980.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
escaping fixes look good thx
/botio makeref |
From: Bot.io (Linux m4)ReceivedCommand cmd_makeref from @calixteman received. Current queue size: 0 Live output at: http://54.67.70.0:8877/6a5373e9b84dd8a/output.txt |
From: Bot.io (Windows)ReceivedCommand cmd_makeref from @calixteman received. Current queue size: 1 Live output at: http://3.101.106.178:8877/bc2a4d077f0d2ac/output.txt |
From: Bot.io (Linux m4)SuccessFull output at http://54.67.70.0:8877/6a5373e9b84dd8a/output.txt Total script time: 25.30 mins
|
From: Bot.io (Windows)SuccessFull output at http://3.101.106.178:8877/bc2a4d077f0d2ac/output.txt Total script time: 29.98 mins
|