org.apache.fop.pdf
Class PDFXObject
org.apache.fop.pdf.PDFObject
|
+--org.apache.fop.pdf.PDFXObject
- public class PDFXObject
- extends PDFObject
PDF XObject
A derivative of the PDF Object, is a PDF Stream that has not only a
dictionary but a stream of image data.
the dictionary just provides information like the stream length
Constructor Summary |
PDFXObject(int number, int Xnumber, FopImage img) create an Xobject with the given number and name and load the
image in the object |
fopimage
FopImage fopimage
Xnum
int Xnum
PDFXObject
public PDFXObject(int number, int Xnumber, FopImage img)
- create an Xobject with the given number and name and load the
image in the object
getXNumber
public int getXNumber()
- Returns: the PDF XObject number
toPDF
byte[] toPDF()
to Class org.apache.fop.image.FopImage