Packageorg.purepdf.pdf
Classpublic class PdfLayerMembership
InheritancePdfLayerMembership Inheritance PdfDictionary Inheritance PdfObject Inheritance it.sephiroth.utils.ObjectHash
Implements IPdfOCG



Public Properties
 PropertyDefined By
  layer : HashSet
[read-only]
PdfLayerMembership
  pdfObject : PdfObject
[read-only]
PdfLayerMembership
  ref : PdfIndirectReference
[read-only]
PdfLayerMembership
 Inheritedsize : int
[read-only]
PdfDictionary
  visibilityPolicy : PdfName
[write-only] Set the visibility policy for content belonging to this membership dictionary. Allowed values are: ALLON ANYON ANYOFF ALLOFF The default value is ANYON
PdfLayerMembership
Protected Properties
 PropertyDefined By
 Inheritedbytes : Bytes
PdfObject
 InheriteddictionaryType : PdfName
PdfDictionary
 InheritedhashMap : HashMap
PdfDictionary
 InheritedindRef : PRIndirectReference
PdfObject
 Inheritedtype : int
PdfObject
Public Methods
 MethodDefined By
  
PdfLayerMembership
  
addMember(layer:PdfLayer):void
Add a new member to the layer
PdfLayerMembership
 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
 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
 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
 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
  ALLOFF : PdfName
[static] Visible only if all of the entries are OFF.
PdfLayerMembership
  ALLON : PdfName
[static] Visible only if all of the entries are ON.
PdfLayerMembership
  ANYOFF : PdfName
[static] Visible if any of the entries are OFF.
PdfLayerMembership
  ANYON : PdfName
[static] Visible if any of the entries are ON.
PdfLayerMembership
 InheritedARRAY : int = 5
[static]
PdfObject
 InheritedBOOLEAN : int = 1
[static]
PdfObject
 InheritedCATALOG : PdfName
[static]
PdfDictionary
 InheritedDICTIONARY : int = 6
[static]
PdfObject
 InheritedINDIRECT : int = 10
[static]
PdfObject
 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
 InheritedSTREAM : int = 7
[static]
PdfObject
 InheritedSTRING : int = 3
[static]
PdfObject
 InheritedTEXT_PDFDOCENCODING : String = PDF
[static]
PdfObject
 InheritedTEXT_UNICODE : String = UnicodeBig
[static]
PdfObject
Property Detail
layerproperty
layer:HashSet  [read-only]


Implementation
    public function get layer():HashSet
pdfObjectproperty 
pdfObject:PdfObject  [read-only]


Implementation
    public function get pdfObject():PdfObject
refproperty 
ref:PdfIndirectReference  [read-only]


Implementation
    public function get ref():PdfIndirectReference
visibilityPolicyproperty 
visibilityPolicy:PdfName  [write-only]

Set the visibility policy for content belonging to this membership dictionary. Allowed values are:

The default value is ANYON


Implementation
    public function set visibilityPolicy(value:PdfName):void

See also

Constructor Detail
PdfLayerMembership()Constructor
public function PdfLayerMembership(writer:PdfWriter)



Parameters
writer:PdfWriter
Method Detail
addMember()method
public function addMember(layer:PdfLayer):void

Add a new member to the layer

Parameters

layer:PdfLayer

Constant Detail
ALLOFFConstant
public static const ALLOFF:PdfName

Visible only if all of the entries are OFF.

ALLONConstant 
public static const ALLON:PdfName

Visible only if all of the entries are ON.

ANYOFFConstant 
public static const ANYOFF:PdfName

Visible if any of the entries are OFF.

ANYONConstant 
public static const ANYON:PdfName

Visible if any of the entries are ON.