Java Code Examples for org.apache.pdfbox.cos.COSName#FORM

The following examples show how to use org.apache.pdfbox.cos.COSName#FORM . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: PDFormXObject.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
/**
 * Creates a Form XObject for reading.
 * @param stream The XObject stream
 */
public PDFormXObject(PDStream stream)
{
    super(stream, COSName.FORM);
    cache = null;
}
 
Example 2
Source File: PDFormXObject.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
/**
 * Creates a Form XObject for reading.
 * @param stream The XObject stream
 */
public PDFormXObject(COSStream stream)
{
    super(stream, COSName.FORM);
    cache = null;
}
 
Example 3
Source File: PDFormXObject.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
/**
 * Creates a Form XObject for reading.
 * @param stream The XObject stream
 */
public PDFormXObject(COSStream stream, ResourceCache cache)
{
    super(stream, COSName.FORM);
    this.cache = cache;
}
 
Example 4
Source File: PDFormXObject.java    From gcs with Mozilla Public License 2.0 4 votes vote down vote up
/**
 * Creates a Form Image XObject for writing, in the given document.
 * @param document The current document
 */
public PDFormXObject(PDDocument document)
{
    super(document, COSName.FORM);
    cache = null;
}