FreeHEP API
Version v1.2

org.freehep.graphicsio.pdf
Class PDFImageDelayQueue

java.lang.Object
  |
  +--org.freehep.graphicsio.pdf.PDFImageDelayQueue

public class PDFImageDelayQueue
extends Object

Delay Image objects for writing XObjects to the pdf file when the pageStream is complete.

Version:
$Id: PDFImageDelayQueue.java,v 1.5 2003/05/07 21:23:10 duns Exp $
Author:
Simon Fischer

Constructor Summary
PDFImageDelayQueue(PDFWriter pdf)
           
 
Method Summary
 int addXObjects()
          Adds all names to the dictionary which should be the value of the resources dicionrary's /XObject entry.
 PDFName delayImage(RenderedImage image, Color bkg)
           
 void processAll()
          Creates a stream for every delayed image that is not written yet.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PDFImageDelayQueue

public PDFImageDelayQueue(PDFWriter pdf)
Method Detail

delayImage

public PDFName delayImage(RenderedImage image,
                          Color bkg)

processAll

public void processAll()
                throws IOException
Creates a stream for every delayed image that is not written yet.

IOException

addXObjects

public int addXObjects()
                throws IOException
Adds all names to the dictionary which should be the value of the resources dicionrary's /XObject entry.

IOException

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.