boazsegev / combine_pdf

A Pure ruby library to merge PDF files, number pages and maybe more...
MIT License
734 stars 155 forks source link

add #form? and #xfa_form? methods to CombinePDF::PDF #183

Open leviwilson opened 3 years ago

leviwilson commented 3 years ago

This PR is in reference to the conversation in https://github.com/boazsegev/combine_pdf/issues/182.

It adds #form? and #xfa_form? instance methods to CombinePDF::PDF so that a consumer can ask the question about whether or not a PDF is a form? or an xfa_form? or both.