PDF Clown
0.0.8

it.stefanochizzolini.clown.documents.contents.xObjects
Class XObject

java.lang.Object
  extended by it.stefanochizzolini.clown.objects.PdfObjectWrapper<PdfStream>
      extended by it.stefanochizzolini.clown.documents.contents.xObjects.XObject
Direct Known Subclasses:
FormXObject, ImageXObject

public abstract class XObject
extends PdfObjectWrapper<PdfStream>

Abstract external object [PDF:1.6:4.7].

Version:
0.0.5
Author:
Stefano Chizzolini (http://www.stefanochizzolini.it)

Constructor Summary
protected XObject(Document context)
          Creates a new external object inside the document.
protected XObject(Document context, PdfStream baseDataObject)
          Creates a new external object inside the document.
protected XObject(PdfDirectObject baseObject)
          Instantiates an existing external object.
 
Method Summary
abstract  double[] getMatrix()
          Gets the mapping from external-object space to user space.
abstract  Dimension2D getSize()
          Gets the external object size.
abstract  void setSize(Dimension2D value)
          Sets the external object size.
static XObject wrap(PdfReference reference)
          Wraps an external object reference into an external object.
 
Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper
clone, delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

XObject

protected XObject(Document context)
Creates a new external object inside the document.


XObject

protected XObject(Document context,
                  PdfStream baseDataObject)
Creates a new external object inside the document.


XObject

protected XObject(PdfDirectObject baseObject)
Instantiates an existing external object.

Method Detail

wrap

public static XObject wrap(PdfReference reference)
Wraps an external object reference into an external object.

Parameters:
reference - Reference to an external object.
Returns:
External object associated to the reference.

getMatrix

public abstract double[] getMatrix()
Gets the mapping from external-object space to user space.

Since:
0.0.5

getSize

public abstract Dimension2D getSize()
Gets the external object size.

Since:
0.0.5

setSize

public abstract void setSize(Dimension2D value)
Sets the external object size.

Since:
0.0.5

PDF Clown
0.0.8

Project home page

Copyright © 2006-2010 Stefano Chizzolini. Some Rights Reserved.
This documentation is available under the terms of the GNU Free Documentation License.