Package com.ribs.pdf
Class PDFForm
java.lang.Object
com.ribs.pdf.PDFForm
-
Constructor Summary
Constructors -
Method Summary
Modifier 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 the list of tokens that defines this form.The form space->user space transform, from the Form's Matrix entry.boolean
Are graphics in form treated as a single group for transparency purposes?
-
Constructor Details
-
PDFForm
Main Constructor - initialize a form from the given pdf stream object
-
-
Method Details
-
getTokens
Returns the list of tokens that defines this form. The PDFPageParser is used to parse the stream the first time around. -
getBytes
public byte[] getBytes()Returns the stream data. The tokens maintain pointers into this byte array for all string storage. -
getTransform
The form space->user space transform, from the Form's Matrix entry. -
getBBox
The Form bounding box (in form space) -
getResources
The form's resources dictionary -
isTransparencyGroup
public boolean isTransparencyGroup()Are graphics in form treated as a single group for transparency purposes?
-