com.lowagie.text.pdf
Class PdfProcSet

java.lang.Object
  |
  +--com.lowagie.text.pdf.PdfProcSet
All Implemented Interfaces:
PdfResource

class PdfProcSet
extends Object
implements PdfResource

PdfProcSet is the PDF ProcSet object.

The types of instructions that may be used in a PDF marking context are grouped into independent sets of related instructions. Each of these sets, called a ProcSet, may or may not be used in a particular context. ProcSets contain implementations of the PDF operators and are used only when a page or other context is printed. The Resources Dictionary for each conext must contain a ProcSet key whose value is an array consisting of the names of the ProcSets used in that context. Each of the entries in the array must be one of the predefined names that are contained in this class as static membervariables.
This object is described in the 'Portable Document Format Reference Manual version 1.3' section 7.6 (page 198).

See Also:
PdfResource, PdfResources

Field Summary
static int IMAGEB
          This is a possible type procset
static int IMAGEC
          This is a possible type procset
static int IMAGEI
          This is a possible type procset
private static int N
          This is the number of possible procsettypes
private static PdfName[] names
          This is the array containing all the possible procsetnames
static int PDF
          This is a possible type procset
static int TEXT
          This is a possible type procset
private static int[] types
          This is the array containing all the possible procsettypes
private  PdfObject value
          This is the value of this resource
 
Constructor Summary
(package private) PdfProcSet(int procset)
          Constructs a PdfResource with the procset as a direct object.
(package private) PdfProcSet(PdfIndirectReference procset)
          Constructs a PdfResource with the procset as an indirect object.
 
Method Summary
(package private) static PdfArray getProcSet(int procset)
          Constructs a PdfArray with a number of procsettypes.
 PdfName key()
          Returns the name of a resource.
 PdfObject value()
          Returns the object that represents the resource.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PDF

public static final int PDF
This is a possible type procset

See Also:
Constant Field Values

TEXT

public static final int TEXT
This is a possible type procset

See Also:
Constant Field Values

IMAGEB

public static final int IMAGEB
This is a possible type procset

See Also:
Constant Field Values

IMAGEC

public static final int IMAGEC
This is a possible type procset

See Also:
Constant Field Values

IMAGEI

public static final int IMAGEI
This is a possible type procset

See Also:
Constant Field Values

types

private static int[] types
This is the array containing all the possible procsettypes


names

private static PdfName[] names
This is the array containing all the possible procsetnames


N

private static final int N
This is the number of possible procsettypes

See Also:
Constant Field Values

value

private PdfObject value
This is the value of this resource

Constructor Detail

PdfProcSet

PdfProcSet(int procset)
Constructs a PdfResource with the procset as a direct object.

Parameters:
procset - a number that represents the different procset-types in this resource

PdfProcSet

PdfProcSet(PdfIndirectReference procset)
Constructs a PdfResource with the procset as an indirect object.

Parameters:
procset - a PdfIndirectReference to a ProcSet
Method Detail

key

public PdfName key()
Returns the name of a resource.

Specified by:
key in interface PdfResource
Returns:
a PdfName.

value

public PdfObject value()
Returns the object that represents the resource.

Specified by:
value in interface PdfResource
Returns:
a PdfObject

getProcSet

static final PdfArray getProcSet(int procset)
Constructs a PdfArray with a number of procsettypes.

Parameters:
procset - a number that represents the different procset-types in this resource
Returns:
a PdfArray