org.pdfclown.documents.contents.layers.LayerMembership Class Reference

Optional content membership [PDF:1.7:4.10.1]. More...

Inheritance diagram for org.pdfclown.documents.contents.layers.LayerMembership:
org.pdfclown.documents.contents.layers.LayerEntity org.pdfclown.documents.contents.PropertyList org.pdfclown.objects.PdfObjectWrapper< PdfDictionary >

List of all members.

Classes

class  VisibilityLayersImpl
 Layers whose states determine the visibility of content controlled by a membership.

Public Types

enum  VisibilityPolicyEnum { AllOn, AnyOn, AnyOff, AllOff }
 

Membership visibility policy [PDF:1.7:4.10.1].

More...

Public Member Functions

virtual object Clone (Document context)
 Gets a clone of the object, registered inside the given document context.
virtual bool Delete ()
 Removes the object from its document context.
override bool Equals (object obj)
override int GetHashCode ()
 LayerMembership (Document context)

Static Public Member Functions

static PdfDirectObject GetBaseObject (PdfObjectWrapper wrapper)
 Gets the PDF object backing the specified wrapper.
static new LayerMembership Wrap (PdfDirectObject baseObject)
 Wraps the specified base object into a property list object.

Static Public Attributes

static PdfName TypeName = PdfName.OCMD

Protected Member Functions

void CheckCompatibility (object feature)
 Checks whether the specified feature is compatible with the document's conformance version.
virtual PdfString RetrieveName ()
 Retrieves the name possibly associated to this object, walking through the document's name dictionary.
PdfDirectObject RetrieveNamedBaseObject ()
 Retrieves the object name, if available; otherwise, behaves like PdfObjectWrapper.BaseObject.

Properties

virtual PdfDirectObject BaseObject [get, set]
PdfIndirectObject Container [get]
 Gets the indirect object containing the base object.
PdfIndirectObject DataContainer [get]
 Gets the indirect object containing the base data object.
Document Document [get]
 Gets the document context.
File File [get]
 Gets the file context.
override LayerMembership Membership [get]
 Gets the default membership.
override IList< LayerVisibilityLayers [get]
 Gets the layers whose states determine the visibility of content controlled by this entity.
override VisibilityPolicyEnum VisibilityPolicy [get, set]
 Gets/Sets the visibility policy of this entity.

Optional content membership [PDF:1.7:4.10.1].


Member Enumeration Documentation

Membership visibility policy [PDF:1.7:4.10.1].

Enumerator:
AllOn 

Visible only if all of the visibility layers are ON.

AnyOn 

Visible if any of the visibility layers are ON.

AnyOff 

Visible if any of the visibility layers are OFF.

AllOff 

Visible only if all of the visibility layers are OFF.


Constructor & Destructor Documentation

org.pdfclown.documents.contents.layers.LayerMembership.LayerMembership ( Document  context  ) 

Member Function Documentation

void org.pdfclown.objects.PdfObjectWrapper.CheckCompatibility ( object  feature  )  [protected, inherited]

Checks whether the specified feature is compatible with the document's conformance version.

Parameters:
feature Entity whose compatibility has to be checked. Supported types:

virtual object org.pdfclown.objects.PdfObjectWrapper.Clone ( Document  context  )  [virtual, inherited]

Gets a clone of the object, registered inside the given document context.

Parameters:
context Which document the clone has to be registered in.
virtual bool org.pdfclown.objects.PdfObjectWrapper.Delete (  )  [virtual, inherited]

Removes the object from its document context.

The object is no more usable after this method returns.

Returns:
Whether the object was actually decontextualized (only indirect objects can be decontextualize).

Reimplemented in org.pdfclown.documents.interaction.annotations.Annotation, org.pdfclown.documents.interaction.navigation.page.Article, and org.pdfclown.documents.interaction.navigation.page.ArticleElement.

override bool org.pdfclown.objects.PdfObjectWrapper.Equals ( object  obj  )  [inherited]
static PdfDirectObject org.pdfclown.objects.PdfObjectWrapper.GetBaseObject ( PdfObjectWrapper< PdfDictionary wrapper  )  [static, inherited]

Gets the PDF object backing the specified wrapper.

Parameters:
wrapper Object to extract the base from.
override int org.pdfclown.objects.PdfObjectWrapper.GetHashCode (  )  [inherited]
virtual PdfString org.pdfclown.objects.PdfObjectWrapper.RetrieveName (  )  [protected, virtual, inherited]

Retrieves the name possibly associated to this object, walking through the document's name dictionary.

Reimplemented in org.pdfclown.documents.multimedia.Rendition.

PdfDirectObject org.pdfclown.objects.PdfObjectWrapper.RetrieveNamedBaseObject (  )  [protected, inherited]

Retrieves the object name, if available; otherwise, behaves like PdfObjectWrapper.BaseObject.

static new LayerMembership org.pdfclown.documents.contents.layers.LayerMembership.Wrap ( PdfDirectObject  baseObject  )  [static]

Wraps the specified base object into a property list object.

Parameters:
baseObject Base object of a property list object.
Returns:
Property list object corresponding to the base object.

Reimplemented from org.pdfclown.documents.contents.PropertyList.


Member Data Documentation


Property Documentation

virtual PdfDirectObject org.pdfclown.objects.PdfObjectWrapper.BaseObject [get, set, inherited]

Gets the underlying reference object, if available; otherwise, gets the underlying data object.

PdfIndirectObject org.pdfclown.objects.PdfObjectWrapper.Container [get, inherited]

Gets the indirect object containing the base object.

PdfIndirectObject org.pdfclown.objects.PdfObjectWrapper.DataContainer [get, inherited]

Gets the indirect object containing the base data object.

Document org.pdfclown.objects.PdfObjectWrapper.Document [get, inherited]

Gets the document context.

File org.pdfclown.objects.PdfObjectWrapper.File [get, inherited]

Gets the file context.

override LayerMembership org.pdfclown.documents.contents.layers.LayerMembership.Membership [get]

Gets the default membership.

This collection corresponds to the hierarchical relation between this layer entity and its ascendants.

Reimplemented from org.pdfclown.documents.contents.layers.LayerEntity.

override IList<Layer> org.pdfclown.documents.contents.layers.LayerMembership.VisibilityLayers [get]

Gets the layers whose states determine the visibility of content controlled by this entity.

Reimplemented from org.pdfclown.documents.contents.layers.LayerEntity.

override VisibilityPolicyEnum org.pdfclown.documents.contents.layers.LayerMembership.VisibilityPolicy [get, set]

Gets/Sets the visibility policy of this entity.

Reimplemented from org.pdfclown.documents.contents.layers.LayerEntity.

Copyright 2006-2013 Stefano Chizzolini. For more information, please visit PDF Clown home page.

Generated on Sat Feb 9 21:08:33 2013 for PDF Clown 0.1.2 by  doxygen 1.6.3