Once you start to explore the PDF file format you will find out something called ‘ReadOnly’ Text Fields. So what exactly are they and how can they be useful within a PDF?
PDF files contain text fields which allow you to enter text into. I am sure that is not a surprise and that they can be ReadOnly, so that a user cannot edit the text field. Because they cannot be altered, they often include the details to display them as an image. This can be helpful in Java because that often means embedded fonts which can be used to generate an exact representation.
But are they really ‘readonly‘?
So a ‘ReadOnly’ text field is not truly Read Only.
Do you have any experience of these?
This post is part of our “Understanding the PDF File Format” series. In each article, we discuss a PDF feature, bug, gotcha or tip. If you wish to learn more about PDF, we have 13 years worth of PDF knowledge and tips, so click here to visit our series index!
Latest posts by Chris Wade (see all)
- Understanding PDF forms – FDF structure - July 20, 2011
- Understanding PDF Forms – introduction to XFA Forms - June 22, 2011
- Understanding PDF forms – introduction to FDF forms - May 25, 2011
- Understanding PDF forms – introduction what are PDF forms - April 20, 2011
- Writing cleaner Java code with eclipse - March 16, 2011