Package | org.purepdf.pdf |
Class | public class PdfLayerMembership |
Inheritance | PdfLayerMembership PdfDictionary PdfObject it.sephiroth.utils.ObjectHash |
Implements | IPdfOCG |
Property | Defined By | ||
---|---|---|---|
layer : HashSet [read-only] | PdfLayerMembership | ||
pdfObject : PdfObject [read-only] | PdfLayerMembership | ||
ref : PdfIndirectReference [read-only] | PdfLayerMembership | ||
size : 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 |
Method | Defined By | ||
---|---|---|---|
PdfLayerMembership(writer:PdfWriter) | PdfLayerMembership | ||
Add a new member to the layer
| PdfLayerMembership | ||
canBeInObjStm():Boolean
Whether this object can be contained in an object stream. | PdfObject | ||
PdfDictionary | |||
dispose():void | PdfObject | ||
Returns a PdfObject as a PdfArray,
resolving indirect references. | PdfDictionary | ||
PdfDictionary | |||
Returns a PdfObject as a PdfNumber,
resolving indirect references. | PdfDictionary | ||
PdfObject | |||
Returns the PdfObject associated to the specified
key, resolving a possible indirect reference to a direct
object. | PdfDictionary | ||
PdfObject | |||
getKeys():KeySet | PdfDictionary | ||
getType():int | PdfObject | ||
PdfDictionary | |||
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 | ||
merge(other:PdfDictionary):void | PdfDictionary | ||
mergeDifferent(other:PdfDictionary):void | PdfDictionary | ||
PdfDictionary | |||
putAll(other:PdfDictionary):void | PdfDictionary | ||
Associates the specified PdfObject as value to the
specified PdfName as key in this map. | PdfDictionary | ||
PdfDictionary | |||
setIndRef(indRef:PRIndirectReference):void
Set the indirect reference
| PdfObject | ||
[override] | PdfDictionary | ||
toString():String [override] | PdfDictionary |
Constant | Defined 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 | ||
ARRAY : int = 5 [static] | PdfObject | ||
BOOLEAN : int = 1 [static] | PdfObject | ||
CATALOG : PdfName [static] | PdfDictionary | ||
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 | ||
OUTLINES : PdfName [static] | PdfDictionary | ||
PAGE : PdfName [static] | PdfDictionary | ||
STREAM : int = 7 [static] | PdfObject | ||
STRING : int = 3 [static] | PdfObject | ||
TEXT_PDFDOCENCODING : String = PDF [static] | PdfObject | ||
TEXT_UNICODE : String = UnicodeBig [static] | PdfObject |
layer | property |
layer:HashSet
[read-only] public function get layer():HashSet
pdfObject | property |
ref | property |
visibilityPolicy | property |
visibilityPolicy:PdfName
[write-only] Set the visibility policy for content belonging to this membership dictionary. Allowed values are:
ANYON
public function set visibilityPolicy(value:PdfName):void
See also
PdfLayerMembership | () | Constructor |
addMember | () | method |
public function addMember(layer:PdfLayer):void
Add a new member to the layer
Parameters
layer:PdfLayer |
ALLOFF | Constant |
public static const ALLOFF:PdfName
Visible only if all of the entries are OFF.
ALLON | Constant |
public static const ALLON:PdfName
Visible only if all of the entries are ON.
ANYOFF | Constant |
public static const ANYOFF:PdfName
Visible if any of the entries are OFF.
ANYON | Constant |
public static const ANYON:PdfName
Visible if any of the entries are ON.