Package | org.purepdf.pdf |
Class | public class PdfDestination |
Inheritance | PdfDestination PdfArray PdfObject it.sephiroth.utils.ObjectHash |
Property | Defined By | ||
---|---|---|---|
hasPage : Boolean [read-only] | PdfDestination | ||
isEmpty : Boolean [read-only] | PdfArray | ||
size : int [read-only] | PdfArray |
Method | Defined By | ||
---|---|---|---|
PdfDestination(object:Object = null) | PdfDestination | ||
Add a PdfObject to the end of the PdfArray
| PdfArray | ||
add2(values:Vector.<Number>):Boolean
Add an array of numbers to the end of the PdfArray
| PdfArray | ||
add3(values:Vector.<int>):Boolean
Add and array of integer to the end of the PdfArray
| PdfArray | ||
PdfArray | |||
addPage(page:PdfIndirectReference):Boolean | PdfDestination | ||
canBeInObjStm():Boolean
Whether this object can be contained in an object stream. | PdfObject | ||
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 | ||
dispose():void | PdfObject | ||
getArrayList():Vector.<PdfObject> Deprecated: Deprecated | PdfArray | ||
getAsNumber(idx:int):PdfNumber
Returns a PdfObject as a PdfNumber,
resolving indirect references. | PdfArray | ||
PdfObject | |||
getDirectObject(idx:int):PdfObject
Returns the PdfObject with the specified index, resolving
a possible indirect reference to a direct object. | PdfArray | ||
PdfObject | |||
getPdfObject(idx:int):PdfObject
Returns the PdfObject at the specified index
| PdfArray | ||
getType():int | PdfObject | ||
isArray():Boolean | PdfObject | ||
isBoolean():Boolean | PdfObject | ||
isDictionary():Boolean | PdfObject | ||
isIndirect():Boolean | PdfObject | ||
isName():Boolean | PdfObject | ||
isNull():Boolean | PdfObject | ||
isNumber():Boolean | PdfObject | ||
isStream():Boolean
Checks if this PdfObject is of the type PdfStream
| PdfObject | ||
isString():Boolean | PdfObject | ||
listIterator():Iterator
Returns the list iterator for the array. | PdfArray | ||
Remove the element at the specified position from the array. | PdfArray | ||
setIndRef(indRef:PRIndirectReference):void
Set the indirect reference
| PdfObject | ||
[override]
Writes the PDF representation of this PdfArray as an array
of byte to the specified OutputStream. | PdfArray | ||
toString():String [override] | PdfArray |
Constant | Defined By | ||
---|---|---|---|
ARRAY : int = 5 [static] | PdfObject | ||
BOOLEAN : int = 1 [static] | PdfObject | ||
DICTIONARY : 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 | ||
INDIRECT : int = 10 [static] | PdfObject | ||
NAME : int = 4 [static] | PdfObject | ||
NOTHING : String [static] | PdfObject | ||
NULL : int = 8 [static] | PdfObject | ||
NUMBER : int = 2 [static] | PdfObject | ||
STREAM : int = 7 [static] | PdfObject | ||
STRING : int = 3 [static] | PdfObject | ||
TEXT_PDFDOCENCODING : String = PDF [static] | PdfObject | ||
TEXT_UNICODE : String = UnicodeBig [static] | PdfObject | ||
XYZ : int = 0 [static] | PdfDestination |
hasPage | property |
hasPage:Boolean
[read-only] public function get hasPage():Boolean
PdfDestination | () | Constructor |
public function PdfDestination(object:Object = null)
object:Object (default = null )
|
addPage | () | method |
public function addPage(page:PdfIndirectReference):Boolean
Parameters
page:PdfIndirectReference |
Boolean |
create | () | method |
public static function create(type:int, parameter:Number):PdfDestination
Parameters
type:int | |
parameter:Number |
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
|
PdfDestination |
FIT | Constant |
public static const FIT:int = 1
FITB | Constant |
public static const FITB:int = 5
FITBH | Constant |
public static const FITBH:int = 6
FITBV | Constant |
public static const FITBV:int = 7
FITH | Constant |
public static const FITH:int = 2
FITR | Constant |
public static const FITR:int = 4
FITV | Constant |
public static const FITV:int = 3
XYZ | Constant |
public static const XYZ:int = 0