Package | org.purepdf.pdf |
Class | public class PdfObject |
Inheritance | PdfObject it.sephiroth.utils.ObjectHash |
Implements | IDisposable |
Subclasses | PdfArray, PdfBoolean, PdfDictionary, PdfIndirectReference, PdfLiteral, PdfName, PdfNull, PdfNumber, PdfString |
Property | Defined By | ||
---|---|---|---|
bytes : Bytes | PdfObject | ||
indRef : PRIndirectReference | PdfObject | ||
type : int | PdfObject |
Method | Defined By | ||
---|---|---|---|
PdfObject($type:int) | PdfObject | ||
canBeInObjStm():Boolean
Whether this object can be contained in an object stream. | PdfObject | ||
dispose():void | PdfObject | ||
PdfObject | |||
PdfObject | |||
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 | ||
setIndRef(indRef:PRIndirectReference):void
Set the indirect reference
| PdfObject | ||
PdfObject | |||
toString():String | PdfObject |
Method | Defined By | ||
---|---|---|---|
setContent(content:String):void | PdfObject |
Constant | Defined By | ||
---|---|---|---|
ARRAY : int = 5 [static] | PdfObject | ||
BOOLEAN : int = 1 [static] | PdfObject | ||
DICTIONARY : int = 6 [static] | PdfObject | ||
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 |
bytes | property |
protected var bytes:Bytes
indRef | property |
protected var indRef:PRIndirectReference
type | property |
protected var type:int
PdfObject | () | Constructor |
public function PdfObject($type:int)
$type:int |
canBeInObjStm | () | method |
public function canBeInObjStm():Boolean
Whether this object can be contained in an object stream. PdfObjects of type STREAM OR INDIRECT can not be contained in an object stream.
ReturnsBoolean — true if this object can be in an object stream.
|
dispose | () | method |
public function dispose():void
getBytes | () | method |
getIndRef | () | method |
getType | () | method |
public function getType():int
Returnsint |
isArray | () | method |
public function isArray():Boolean
ReturnsBoolean |
isBoolean | () | method |
public function isBoolean():Boolean
ReturnsBoolean |
isDictionary | () | method |
public function isDictionary():Boolean
ReturnsBoolean |
isIndirect | () | method |
public function isIndirect():Boolean
ReturnsBoolean |
isName | () | method |
public function isName():Boolean
ReturnsBoolean |
isNull | () | method |
public function isNull():Boolean
ReturnsBoolean |
isNumber | () | method |
public function isNumber():Boolean
ReturnsBoolean |
isStream | () | method |
public function isStream():Boolean
Checks if this PdfObject is of the type PdfStream
ReturnsBoolean |
isString | () | method |
public function isString():Boolean
ReturnsBoolean |
setContent | () | method |
protected function setContent(content:String):void
Parameters
content:String |
setIndRef | () | method |
public function setIndRef(indRef:PRIndirectReference):void
Set the indirect reference
Parameters
indRef:PRIndirectReference |
toPdf | () | method |
public function toPdf(writer:PdfWriter, os:IOutputStream):void
Parameters
writer:PdfWriter | |
os:IOutputStream |
toString | () | method |
public function toString():String
ReturnsString |
ARRAY | Constant |
public static const ARRAY:int = 5
BOOLEAN | Constant |
public static const BOOLEAN:int = 1
DICTIONARY | Constant |
public static const DICTIONARY:int = 6
INDIRECT | Constant |
public static const INDIRECT:int = 10
NAME | Constant |
public static const NAME:int = 4
NOTHING | Constant |
public static const NOTHING:String
NULL | Constant |
public static const NULL:int = 8
NUMBER | Constant |
public static const NUMBER:int = 2
STREAM | Constant |
public static const STREAM:int = 7
STRING | Constant |
public static const STRING:int = 3
TEXT_PDFDOCENCODING | Constant |
public static const TEXT_PDFDOCENCODING:String = PDF
TEXT_UNICODE | Constant |
public static const TEXT_UNICODE:String = UnicodeBig