-
-
Notifications
You must be signed in to change notification settings - Fork 579
Closed
Labels
Description
❯ wget https://www.courts.ca.gov/documents/fw001.pdf
❯ pdfcpu form list fw001.pdf
Pg L Field │ Id │ Name
━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━┿━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
1 Textfield │ 176.177.302.354 │ FW-001[0].Page1[0].RightCaption[0].CourtInfo[0]
Textfield │ 176.177.302.355 │ FW-001[0].Page1[0].RightCaption[0].CaseNumber[0]
❯ qpdf --json fw001.pdf | jq '.acroform.fields | map({fullname, mappingname, alternativename}) | first'
{
"fullname": "FW-001[0].Page1[0].RightCaption[0].CourtInfo[0]",
"mappingname": "Superior Court of California County of",
"alternativename": "Superior Court of California County of"
}these come from:
- alternative field name (
/TU) - mapping field name (
/TM)