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


Field Summary
 (package private) FopImagefopimage
           
 (package private) intXnum
           

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

Method Summary
 intgetXNumber()
           
 (package private) byte[]toPDF()
           

Methods inherited from class org.apache.fop.pdf.PDFObject
getNumber, referencePDF

Field Detail

fopimage

FopImage fopimage

Xnum

int Xnum
Constructor Detail

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
Method Detail

getXNumber

public int getXNumber()
Returns: the PDF XObject number

toPDF

byte[] toPDF()

Association Links

to Class org.apache.fop.image.FopImage