JClass DesktopViews 6.3.0 API
Documentation

com.klg.jclass.page.adobe.pdf
Class JCPDFPrinter.StreamInfo

java.lang.Object
  |
  +--com.klg.jclass.page.adobe.pdf.JCPDFPrinter.StreamInfo
Enclosing class:
JCPDFPrinter

public class JCPDFPrinter.StreamInfo
extends Object

Information related to PDF 'stream' object which can be used for current page body but also for form and image XObjects.


Field Summary
protected  ByteArrayOutputStream collectedStream
          contents of current collected stream
protected  boolean collectStream
          true if currently collecting output for later use in compressed stream
protected  Vector colorSpaceList
          A List of ColorSpaces for the current Page
protected  long contentsStart
          The byte offset of the start of a contents stream
protected  long fileOffset
          Current byte offset into the file or stream
protected  Hashtable fontList
          A Set of Fonts which have been used by this stream
protected  Vector imageList
          List of Images and Component ID #'s referenced by this stream.
protected  boolean imagePresent
          Records if the current page has any Image objects
protected  boolean indexImage
          Records if the current page has any Index Image objects
protected  int lengthObjectNumber
          object number of collected stream length
protected  boolean maskPresent
          Records if the current page has any Mask objects
protected  int objectNumber
          object number of current stream
protected  OutputStream os
          Output stream
protected  Vector patternList
          A List of Patterns referenced by this stream.
protected  Vector referenceList
          A List of object references and offsets
protected  boolean textPresent
          Records if the current page has any Text objects
protected  Vector xObjectList
          A List of XObjects (images and components) object numbers referenced by this stream.
 
Constructor Summary
JCPDFPrinter.StreamInfo()
          Constructor.
 
Method Summary
 void beginPage()
          Reset necessary properties during begin page operation.
 void openDocument()
          Reset necessary properties during open document operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

os

protected OutputStream os
Output stream


imageList

protected Vector imageList
List of Images and Component ID #'s referenced by this stream.


xObjectList

protected Vector xObjectList
A List of XObjects (images and components) object numbers referenced by this stream.


fontList

protected Hashtable fontList
A Set of Fonts which have been used by this stream


patternList

protected Vector patternList
A List of Patterns referenced by this stream.


fileOffset

protected long fileOffset
Current byte offset into the file or stream


contentsStart

protected long contentsStart
The byte offset of the start of a contents stream


referenceList

protected Vector referenceList
A List of object references and offsets


objectNumber

protected int objectNumber
object number of current stream


lengthObjectNumber

protected int lengthObjectNumber
object number of collected stream length


textPresent

protected boolean textPresent
Records if the current page has any Text objects


imagePresent

protected boolean imagePresent
Records if the current page has any Image objects


maskPresent

protected boolean maskPresent
Records if the current page has any Mask objects


indexImage

protected boolean indexImage
Records if the current page has any Index Image objects


colorSpaceList

protected Vector colorSpaceList
A List of ColorSpaces for the current Page


collectStream

protected boolean collectStream
true if currently collecting output for later use in compressed stream


collectedStream

protected ByteArrayOutputStream collectedStream
contents of current collected stream

Constructor Detail

JCPDFPrinter.StreamInfo

public JCPDFPrinter.StreamInfo()
Constructor.

Method Detail

openDocument

public void openDocument()
Reset necessary properties during open document operation.


beginPage

public void beginPage()
Reset necessary properties during begin page operation.


Copyright © 2004 Quest Software Inc..
All rights reserved.