DynamicPDF by ceTe Software

com.cete.dynamicpdf.io
Class PageXObjectList

java.lang.Object
  extended by com.cete.dynamicpdf.io.PageXObjectList

public class PageXObjectList
extends java.lang.Object

Class represents a collection of XObjects for a page.

Licensing:
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:


Method Summary
 int add(Resource resource)
           
 void add(Resource resource, OperatorWriter writer)
          Writes the PDF name for the Resource to the page and adds it to the pages resource list if it has not previously been added.
 void drawEntries(DocumentWriter writer)
          Draws the XObject's dictionary entries to the given DocumentWriter object.
 void setStartingNameNumber(int startingNameNumber)
          Sets the starting Name Number.
 int size()
          Returns the number of XObjects in the list.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setStartingNameNumber

public void setStartingNameNumber(int startingNameNumber)
Sets the starting Name Number.

Parameters:
startingNameNumber - the starting Name Number.

add

public void add(Resource resource,
                OperatorWriter writer)
Writes the PDF name for the Resource to the page and adds it to the pages resource list if it has not previously been added.

Parameters:
resource - Resource to add to the page.
writer - The writer for the current page.

add

public int add(Resource resource)

size

public int size()
Returns the number of XObjects in the list.

Returns:
the size of the list.

drawEntries

public void drawEntries(DocumentWriter writer)
Draws the XObject's dictionary entries to the given DocumentWriter object.

Parameters:
writer - DocumentWriter to receive the output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software