Class PDFForm
java.lang.Object
com.inductiveautomation.rm.pdf.reader.PDFForm
An object which holds on to a stream of markup operations for later drawing. In PDF a form xobject is a stream.
 This object saves the stream data and when it comes time to draw, the PageParser will parse the stream. The tokens
 returned by the lexing portion of the parsing will be held on to by the PDFForm so that the markup operations can be
 executed over and over without repeating that step.
 This method can be used by form xobjects as well as pattern colorspaces.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptiongetBBox()The Form bounding box (in form space)byte[]getBytes()Returns the stream data.getResources(PDFFile srcfile) The form's resources dictionarygetTokens(PDFPageParser parser) Returns list of tokens that defines this form.The form space->user space transform, from the Form's Matrix entry.booleanAre graphics in form treated as a single group for transparency purposes?
- 
Constructor Details- 
PDFFormMain Constructor - initialize a form from the given pdf stream object
 
- 
- 
Method Details- 
getTokensReturns list of tokens that defines this form. The PDFPageParser is used to parse the stream the first time around.
- 
getBytespublic byte[] getBytes()Returns the stream data. The tokens maintain pointers into this byte array for all string storage.
- 
getTransformThe form space->user space transform, from the Form's Matrix entry.
- 
getBBoxThe Form bounding box (in form space)
- 
getResourcesThe form's resources dictionary
- 
isTransparencyGrouppublic boolean isTransparencyGroup()Are graphics in form treated as a single group for transparency purposes?
 
-