Packageorg.purepdf.pdf
Classpublic class PdfDestination
InheritancePdfDestination Inheritance PdfArray Inheritance PdfObject Inheritance it.sephiroth.utils.ObjectHash



Public Properties
 PropertyDefined By
  hasPage : Boolean
[read-only]
PdfDestination
 InheritedisEmpty : Boolean
[read-only]
PdfArray
 Inheritedsize : int
[read-only]
PdfArray
Protected Properties
 PropertyDefined By
 InheritedarrayList : Vector.<PdfObject>
PdfArray
 Inheritedbytes : Bytes
PdfObject
 InheritedindRef : PRIndirectReference
PdfObject
 Inheritedtype : int
PdfObject
Public Methods
 MethodDefined By
  
PdfDestination(object:Object = null)
PdfDestination
 Inherited
add(object:PdfObject):uint
Add a PdfObject to the end of the PdfArray
PdfArray
 Inherited
add2(values:Vector.<Number>):Boolean
Add an array of numbers to the end of the PdfArray
PdfArray
 Inherited
add3(values:Vector.<int>):Boolean
Add and array of integer to the end of the PdfArray
PdfArray
 Inherited
addFirst(object:PdfObject):void
PdfArray
  
PdfDestination
 Inherited
canBeInObjStm():Boolean
Whether this object can be contained in an object stream.
PdfObject
 Inherited
contains(object:PdfObject):Boolean
Check if the PdfArray already contains a certain PdfObject
PdfArray
  
create(type:int, parameter:Number):PdfDestination
[static]
PdfDestination
  
create2(left:Number, top:Number, zoom:Number):PdfDestination
[static] Constructs a new PdfDestination.
PdfDestination
 Inherited
dispose():void
PdfObject
 Inherited
Deprecated: Deprecated
PdfArray
 Inherited
Returns a PdfObject as a PdfNumber, resolving indirect references.
PdfArray
 Inherited
PdfObject
 Inherited
Returns the PdfObject with the specified index, resolving a possible indirect reference to a direct object.
PdfArray
 Inherited
PdfObject
 Inherited
Returns the PdfObject at the specified index
PdfArray
 Inherited
getType():int
PdfObject
 Inherited
isArray():Boolean
PdfObject
 Inherited
isBoolean():Boolean
PdfObject
 Inherited
isDictionary():Boolean
PdfObject
 Inherited
isIndirect():Boolean
PdfObject
 Inherited
isName():Boolean
PdfObject
 Inherited
isNull():Boolean
PdfObject
 Inherited
isNumber():Boolean
PdfObject
 Inherited
isStream():Boolean
Checks if this PdfObject is of the type PdfStream
PdfObject
 Inherited
isString():Boolean
PdfObject
 Inherited
listIterator():Iterator
Returns the list iterator for the array.
PdfArray
 Inherited
remove(idx:int):PdfObject
Remove the element at the specified position from the array.
PdfArray
 Inherited
Set the indirect reference
PdfObject
 Inherited
toPdf(writer:PdfWriter, os:IOutputStream):void
[override] Writes the PDF representation of this PdfArray as an array of byte to the specified OutputStream.
PdfArray
 Inherited
toString():String
[override]
PdfArray
Protected Methods
 MethodDefined By
 Inherited
setContent(content:String):void
PdfObject
Public Constants
 ConstantDefined By
 InheritedARRAY : int = 5
[static]
PdfObject
 InheritedBOOLEAN : int = 1
[static]
PdfObject
 InheritedDICTIONARY : int = 6
[static]
PdfObject
  FIT : int = 1
[static]
PdfDestination
  FITB : int = 5
[static]
PdfDestination
  FITBH : int = 6
[static]
PdfDestination
  FITBV : int = 7
[static]
PdfDestination
  FITH : int = 2
[static]
PdfDestination
  FITR : int = 4
[static]
PdfDestination
  FITV : int = 3
[static]
PdfDestination
 InheritedINDIRECT : int = 10
[static]
PdfObject
 InheritedNAME : int = 4
[static]
PdfObject
 InheritedNOTHING : String
[static]
PdfObject
 InheritedNULL : int = 8
[static]
PdfObject
 InheritedNUMBER : int = 2
[static]
PdfObject
 InheritedSTREAM : int = 7
[static]
PdfObject
 InheritedSTRING : int = 3
[static]
PdfObject
 InheritedTEXT_PDFDOCENCODING : String = PDF
[static]
PdfObject
 InheritedTEXT_UNICODE : String = UnicodeBig
[static]
PdfObject
  XYZ : int = 0
[static]
PdfDestination
Property Detail
hasPageproperty
hasPage:Boolean  [read-only]


Implementation
    public function get hasPage():Boolean
Constructor Detail
PdfDestination()Constructor
public function PdfDestination(object:Object = null)



Parameters
object:Object (default = null)
Method Detail
addPage()method
public function addPage(page:PdfIndirectReference):Boolean

Parameters

page:PdfIndirectReference

Returns
Boolean
create()method 
public static function create(type:int, parameter:Number):PdfDestination

Parameters

type:int
 
parameter:Number

Returns
PdfDestination
create2()method 
public static function create2(left:Number, top:Number, zoom:Number):PdfDestination

Constructs a new PdfDestination. Display the page, with the coordinates (left, top) positioned at the top-left corner of the window and the contents of the page magnified by the factor zoom. A negative value for any of the parameters left or top, or a zoom value of 0 specifies that the current value of that parameter is to be retained unchanged.

Parameters

left:Number — the left value. Negative to place a null
 
top:Number — the top value. Negative to place a null
 
zoom:Number — The zoom factor. A value of 0 keeps the current value

Returns
PdfDestination
Constant Detail
FITConstant
public static const FIT:int = 1

FITBConstant 
public static const FITB:int = 5

FITBHConstant 
public static const FITBH:int = 6

FITBVConstant 
public static const FITBV:int = 7

FITHConstant 
public static const FITH:int = 2

FITRConstant 
public static const FITR:int = 4

FITVConstant 
public static const FITV:int = 3

XYZConstant 
public static const XYZ:int = 0