Skip to content

validation fails #618

@arnoudo

Description

@arnoudo

Thank you for developing a shell program with form processing functionality!

The attached file testform.pdf was exported from testform.odt in LibreOffice Writer 7.5.3.2 (latest). The command "pdfcpu form list testform.pdf" returns the following error.

pdfcpu: validateNameEntry: dict=pagesDict entry=Tabs invalid type types.StringLiteral

As a sanity check, I made another file testform2.pdf by adding form fields with Adobe Acrobat Pro 9 (latest version I have). The command "pdfcpu form list testform2.pdf" succeeds. So apparently, the issue is with the PDF file exported from LibreOffice.

OS: Windows 10 Enterprise 22H2 64-bits (19045.2846)
pdfcpu: v0.4.0 dev
build : 2023-03-01T00:15:26Z
commit: 7ff654b

I hope this report may be helpful in the development of your code. Let me know if you need any other information or tests. This is the first time I submit a bug (on Github or anywhere) so apologies if this does not follow the intended format.

testform.odt
testform.pdf
testform2.pdf

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions