org.pdfclown.objects.PdfIndirectObject Class Reference

PDF indirect object [PDF:1.6:3.2.9]. More...

Inheritance diagram for org.pdfclown.objects.PdfIndirectObject:
org.pdfclown.objects.PdfObject org.pdfclown.objects.IPdfIndirectObject org.pdfclown.objects.IVisitable

List of all members.

Public Member Functions

override PdfObject Accept (IVisitor visitor, object data)
 Accepts a visit.
PdfObject Clone (File context)
virtual PdfObject Clone (File context)
 Creates a deep copy of this object within the specified file context.
object Clone ()
 Creates a shallow copy of this object.
void Compress (ObjectStream objectStream)
 Adds the data object to the specified object stream [PDF:1.6:3.4.6].
void Delete ()
 Removes the object from its file context.
override int GetHashCode ()
bool IsCompressed ()
 Gets whether this object is compressed within an object stream [PDF:1.6:3.4.6].
bool IsInUse ()
 Gets whether this object contains a data object.
bool IsOriginal ()
 Gets whether this object comes intact from an existing file.
PdfDataObject Resolve ()
 Ensures this object to be resolved into its corresponding data object.
override PdfObject Swap (PdfObject other)
 Swaps contents between this object and the other one.
override string ToString ()
void Uncompress ()
 Removes the data object from its object stream [PDF:1.6:3.4.6].
PdfDirectObject Unresolve ()
 Ensures this object to be unresolved into its corresponding indirect reference, if available.
override void WriteTo (IOutputStream stream, File context)
 Serializes this object to the specified stream.

Static Public Member Functions

static PdfObject Clone (PdfObject @object, File context)
 Gets the clone of the specified object, registered inside the specified file context.
static PdfDataObject Resolve (PdfObject @object)
 Ensures an indirect reference to be resolved into its corresponding data object.
static PdfDirectObject Unresolve (PdfDataObject @object)
 Ensures a data object to be unresolved into its corresponding indirect reference, if available.

Protected Member Functions

internal void Update ()
 Updates the state of this object.

Properties

override PdfIndirectObject Container [get]
 Gets the indirect object containing this object.
PdfIndirectObject DataContainer [get]
 Gets the indirect object containing the data associated to this object.
PdfDataObject DataObject [get, set]
 Gets/Sets the actual data associated to the indirect reference.
override File File [get]
 Gets the file containing this object.
override PdfIndirectObject IndirectObject [get]
 Gets the indirect object associated to the indirect reference.
override PdfObject Parent [get, set]
 Gets/Sets the parent of this object.
override PdfReference Reference [get]
 Gets the indirect reference associated to the indirect object.
override bool Updateable [get, set]
 Gets/Sets whether the detection of object state changes is enabled.
override bool Updated [get, set]
 Gets/Sets whether the initial state of this object has been modified.
internal override bool Virtual [get, set]
 Gets/Sets whether this object acts like a null-object placeholder.
XRefEntry XrefEntry [get]

PDF indirect object [PDF:1.6:3.2.9].


Member Function Documentation

override PdfObject org.pdfclown.objects.PdfIndirectObject.Accept ( IVisitor  visitor,
object  data 
) [virtual]

Accepts a visit.

Parameters:
visitor Visiting object.
data Supplemental data.
Returns:
Result object.

Implements org.pdfclown.objects.PdfObject.

References org.pdfclown.objects.IVisitor.Visit().

Referenced by org.pdfclown.objects.Visitor.Visit().

PdfObject org.pdfclown.objects.IPdfIndirectObject.Clone ( File  context  )  [inherited]
virtual PdfObject org.pdfclown.objects.PdfObject.Clone ( File  context  )  [virtual, inherited]

Creates a deep copy of this object within the specified file context.

Reimplemented in org.pdfclown.objects.PdfSimpleObject< TValue >.

References org.pdfclown.files.File.Cloner.

object org.pdfclown.objects.PdfObject.Clone (  )  [inherited]

Creates a shallow copy of this object.

References org.pdfclown.objects.PdfObject.Parent.

static PdfObject org.pdfclown.objects.PdfObject.Clone ( PdfObject object,
File  context 
) [static, inherited]

Gets the clone of the specified object, registered inside the specified file context.

Parameters:
object Object to clone into the specified file context.
context File context of the cloning.

Referenced by org.pdfclown.objects.PdfObjectWrapper< PdfTextString >.Clone(), and org.pdfclown.objects.Cloner.Visit().

void org.pdfclown.objects.PdfIndirectObject.Compress ( ObjectStream  objectStream  ) 
void org.pdfclown.objects.PdfIndirectObject.Delete (  ) 

Removes the object from its file context.

The object is no more usable after this method returns.

Implements org.pdfclown.objects.IPdfIndirectObject.

References org.pdfclown.files.File.IndirectObjects, org.pdfclown.tokens.XRefEntry.Number, and org.pdfclown.files.IndirectObjects.RemoveAt().

Referenced by org.pdfclown.objects.PdfObjectWrapper< PdfTextString >.Delete().

override int org.pdfclown.objects.PdfIndirectObject.GetHashCode (  ) 
bool org.pdfclown.objects.PdfIndirectObject.IsCompressed (  ) 

Gets whether this object is compressed within an object stream [PDF:1.6:3.4.6].

References org.pdfclown.tokens.XRefEntry.Usage.

bool org.pdfclown.objects.PdfIndirectObject.IsInUse (  ) 

Gets whether this object contains a data object.

References org.pdfclown.tokens.XRefEntry.Usage.

Referenced by org.pdfclown.files.IndirectObjects.IsEmpty(), and org.pdfclown.tokens.PlainWriter.WriteStandard().

bool org.pdfclown.objects.PdfIndirectObject.IsOriginal (  ) 

Gets whether this object comes intact from an existing file.

PdfDataObject org.pdfclown.objects.PdfObject.Resolve (  )  [inherited]

Ensures this object to be resolved into its corresponding data object.

See also:
Unresolve()

References org.pdfclown.objects.PdfReference.DataObject.

static PdfDataObject org.pdfclown.objects.PdfObject.Resolve ( PdfObject object  )  [static, inherited]
override PdfObject org.pdfclown.objects.PdfIndirectObject.Swap ( PdfObject  other  )  [virtual]

Swaps contents between this object and the other one.

Parameters:
other Object whose contents have to be swapped with this one's.
Returns:
This object.

Implements org.pdfclown.objects.PdfObject.

References org.pdfclown.objects.PdfIndirectObject.DataObject.

override string org.pdfclown.objects.PdfIndirectObject.ToString (  ) 
void org.pdfclown.objects.PdfIndirectObject.Uncompress (  ) 
PdfDirectObject org.pdfclown.objects.PdfObject.Unresolve (  )  [inherited]

Ensures this object to be unresolved into its corresponding indirect reference, if available.

Returns:
PdfReference, if available;
this
, otherwise.
See also:
Resolve()
static PdfDirectObject org.pdfclown.objects.PdfObject.Unresolve ( PdfDataObject object  )  [static, inherited]

Ensures a data object to be unresolved into its corresponding indirect reference, if available.

Parameters:
object Object to unresolve.
Returns:
PdfReference, if available;
object
, otherwise.
internal void org.pdfclown.objects.PdfObject.Update (  )  [protected, inherited]
override void org.pdfclown.objects.PdfIndirectObject.WriteTo ( IOutputStream  stream,
File  context 
) [virtual]

Serializes this object to the specified stream.

Parameters:
stream Target stream.
context File context.

Implements org.pdfclown.objects.PdfObject.

References org.pdfclown.bytes.IOutputStream.Write().

Referenced by org.pdfclown.tokens.PlainWriter.WriteStandard().


Property Documentation

override PdfIndirectObject org.pdfclown.objects.PdfIndirectObject.Container [get]

Gets the indirect object containing this object.

See also:
DataContainer, IndirectObject

Reimplemented from org.pdfclown.objects.PdfObject.

PdfIndirectObject org.pdfclown.objects.PdfObject.DataContainer [get, inherited]

Gets the indirect object containing the data associated to this object.

See also:
Container, IndirectObject
PdfDataObject org.pdfclown.objects.PdfIndirectObject.DataObject [get, set]
override File org.pdfclown.objects.PdfIndirectObject.File [get]

Gets the file containing this object.

Reimplemented from org.pdfclown.objects.PdfObject.

Referenced by org.pdfclown.files.IndirectObjects.IndexOf(), and org.pdfclown.documents.contents.fonts.Font.Wrap().

override PdfIndirectObject org.pdfclown.objects.PdfIndirectObject.IndirectObject [get]

Gets the indirect object associated to the indirect reference.

Implements org.pdfclown.objects.IPdfIndirectObject.

override PdfObject org.pdfclown.objects.PdfIndirectObject.Parent [get, set]

Gets/Sets the parent of this object.

See also:
Container

Reimplemented from org.pdfclown.objects.PdfObject.

override PdfReference org.pdfclown.objects.PdfIndirectObject.Reference [get]
override bool org.pdfclown.objects.PdfIndirectObject.Updateable [get, set]

Gets/Sets whether the detection of object state changes is enabled.

Reimplemented from org.pdfclown.objects.PdfObject.

override bool org.pdfclown.objects.PdfIndirectObject.Updated [get, set]

Gets/Sets whether the initial state of this object has been modified.

Reimplemented from org.pdfclown.objects.PdfObject.

internal override bool org.pdfclown.objects.PdfIndirectObject.Virtual [get, set, protected]

Gets/Sets whether this object acts like a null-object placeholder.

Reimplemented from org.pdfclown.objects.PdfObject.

XRefEntry org.pdfclown.objects.PdfIndirectObject.XrefEntry [get]

Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.

Generated on Sat Feb 9 21:08:40 2013 for PDF Clown 0.1.2 by  doxygen 1.6.3