Helps identification of text forum fields by creating a file that is filled with field names. Some pdf editors show field names when you mouse over the fields as well.
idenfity_form_fields( input_filepath = NULL, output_filepath = NULL, overwrite = TRUE, convert_field_names = FALSE, encoding_warning = TRUE )
input_filepath | the path of the input PDF file. The default is set to NULL. IF NULL, it prompt the user to select the folder interactively. |
---|---|
output_filepath | the path of the output PDF file. The default is set to NULL. IF NULL, it prompt the user to select the folder interactively. |
overwrite | If a file exists in |
convert_field_names | By default |
encoding_warning | If field names include strings that look like plain text UTF-8
codes, the function will return a warning by default, suggesting setting |
if (FALSE) { pdfFile = system.file('testForm.pdf',package = 'staplr') idenfity_form_fields(pdfFile, 'testOutput.pdf') }