Packageorg.purepdf.pdf
Classpublic class PdfPage
InheritancePdfPage Inheritance PdfDictionary Inheritance PdfObject Inheritance it.sephiroth.utils.ObjectHash



Public Properties
 PropertyDefined By
 Inheritedsize : int
[read-only]
PdfDictionary
Protected Properties
 PropertyDefined By
 Inheritedbytes : Bytes
PdfObject
 InheriteddictionaryType : PdfName
PdfDictionary
 InheritedhashMap : HashMap
PdfDictionary
 InheritedindRef : PRIndirectReference
PdfObject
  mediaBox : PdfRectangle
PdfPage
 Inheritedtype : int
PdfObject
Public Methods
 MethodDefined By
  
PdfPage($mediaBox:PdfRectangle, boxSize:HashMap, resources:PdfDictionary, rotate:int)
PdfPage
  
add(contents:PdfIndirectReference):void
Adds an indirect reference pointing to a PdfContents-object.
PdfPage
 Inherited
canBeInObjStm():Boolean
Whether this object can be contained in an object stream.
PdfObject
 Inherited
contains(key:PdfName):Boolean
PdfDictionary
 Inherited
dispose():void
PdfObject
 Inherited
Returns a PdfObject as a PdfArray, resolving indirect references.
PdfDictionary
 Inherited
PdfDictionary
 Inherited
Returns a PdfObject as a PdfNumber, resolving indirect references.
PdfDictionary
 Inherited
PdfObject
 Inherited
Returns the PdfObject associated to the specified key, resolving a possible indirect reference to a direct object.
PdfDictionary
 Inherited
PdfObject
 Inherited
getKeys():KeySet
PdfDictionary
  
PdfPage
 Inherited
getType():int
PdfObject
 Inherited
PdfDictionary
 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
  
isParent():Boolean
PdfPage
 Inherited
isStream():Boolean
Checks if this PdfObject is of the type PdfStream
PdfObject
 Inherited
isString():Boolean
PdfObject
 Inherited
merge(other:PdfDictionary):void
PdfDictionary
 Inherited
PdfDictionary
 Inherited
put(key:PdfName, object:PdfObject):void
PdfDictionary
 Inherited
putAll(other:PdfDictionary):void
PdfDictionary
 Inherited
putEx(key:PdfName, value:PdfObject):void
Associates the specified PdfObject as value to the specified PdfName as key in this map.
PdfDictionary
 Inherited
remove(key:PdfName):void
PdfDictionary
  
Rotates the mediabox, but not the text in it.
PdfPage
 Inherited
Set the indirect reference
PdfObject
 Inherited
toPdf(writer:PdfWriter, os:IOutputStream):void
[override]
PdfDictionary
 Inherited
toString():String
[override]
PdfDictionary
Protected Methods
 MethodDefined By
 Inherited
setContent(content:String):void
PdfObject
Public Constants
 ConstantDefined By
 InheritedARRAY : int = 5
[static]
PdfObject
 InheritedBOOLEAN : int = 1
[static]
PdfObject
 InheritedCATALOG : PdfName
[static]
PdfDictionary
 InheritedDICTIONARY : int = 6
[static]
PdfObject
 InheritedINDIRECT : int = 10
[static]
PdfObject
  INVERTEDPORTRAIT : PdfNumber
[static]
PdfPage
  LANDSCAPE : PdfNumber
[static]
PdfPage
 InheritedNAME : int = 4
[static]
PdfObject
 InheritedNOTHING : String
[static]
PdfObject
 InheritedNULL : int = 8
[static]
PdfObject
 InheritedNUMBER : int = 2
[static]
PdfObject
 InheritedOUTLINES : PdfName
[static]
PdfDictionary
 InheritedPAGE : PdfName
[static]
PdfDictionary
  PORTRAIT : PdfNumber
[static]
PdfPage
  SEASCAPE : PdfNumber
[static]
PdfPage
 InheritedSTREAM : int = 7
[static]
PdfObject
 InheritedSTRING : int = 3
[static]
PdfObject
 InheritedTEXT_PDFDOCENCODING : String = PDF
[static]
PdfObject
 InheritedTEXT_UNICODE : String = UnicodeBig
[static]
PdfObject
Property Detail
mediaBoxproperty
protected var mediaBox:PdfRectangle

Constructor Detail
PdfPage()Constructor
public function PdfPage($mediaBox:PdfRectangle, boxSize:HashMap, resources:PdfDictionary, rotate:int)



Parameters
$mediaBox:PdfRectangle
 
boxSize:HashMap
 
resources:PdfDictionary
 
rotate:int
Method Detail
add()method
public function add(contents:PdfIndirectReference):void

Adds an indirect reference pointing to a PdfContents-object.

Parameters

contents:PdfIndirectReference — an indirect reference to a PdfContents-object

getMediaBox()method 
public function getMediaBox():PdfRectangle

Returns
PdfRectangle
isParent()method 
public function isParent():Boolean

Returns
Boolean
rotateMediaBox()method 
public function rotateMediaBox():PdfRectangle

Rotates the mediabox, but not the text in it.

Returns
PdfRectangle — a PdfRectangle
Constant Detail
INVERTEDPORTRAITConstant
public static const INVERTEDPORTRAIT:PdfNumber

LANDSCAPEConstant 
public static const LANDSCAPE:PdfNumber

PORTRAITConstant 
public static const PORTRAIT:PdfNumber

SEASCAPEConstant 
public static const SEASCAPE:PdfNumber