|
PDF Clown 0.0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectit.stefanochizzolini.clown.objects.PdfObjectWrapper<TDataObject>
it.stefanochizzolini.clown.objects.PdfNamedObjectWrapper<PdfArray>
it.stefanochizzolini.clown.documents.interaction.navigation.document.Destination
public abstract class Destination
Interaction target [PDF:1.6:8.2.1].
It represents a particular view of a document, consisting of the following items:
| Nested Class Summary | |
|---|---|
static class |
Destination.ModeEnum
Destination mode [PDF:1.6:8.2.1]. |
| Constructor Summary | |
|---|---|
protected |
Destination(Document context,
PdfDirectObject pageObject,
Destination.ModeEnum mode,
Double[] viewParams)
Creates a new destination within the given document context. |
protected |
Destination(PdfDirectObject baseObject,
PdfIndirectObject container,
PdfString name)
|
| Method Summary | |
|---|---|
Destination |
clone(Document context)
Gets a clone of the object, registered inside the given document context. |
Destination.ModeEnum |
getMode()
Gets the destination mode. |
abstract Object |
getPageRef()
Gets the target page reference. |
static Destination |
wrap(PdfDirectObject baseObject,
PdfIndirectObject container,
PdfString name)
Wraps a destination base object into a destination object. |
| Methods inherited from class it.stefanochizzolini.clown.objects.PdfNamedObjectWrapper |
|---|
getName, getNamedBaseObject |
| Methods inherited from class it.stefanochizzolini.clown.objects.PdfObjectWrapper |
|---|
delete, getBaseDataObject, getBaseObject, getContainer, getDocument, getFile, setBaseObject, setContainer, update |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
protected Destination(Document context,
PdfDirectObject pageObject,
Destination.ModeEnum mode,
Double[] viewParams)
context - Document context.pageObject - Page reference. It may be either an actual page reference (PdfReference)
or a page index (PdfInteger).mode - Destination mode.viewParams - View parameters. Their actual composition depends on the mode value
(see ModeEnum for more info).
protected Destination(PdfDirectObject baseObject,
PdfIndirectObject container,
PdfString name)
| Method Detail |
|---|
public static final Destination wrap(PdfDirectObject baseObject,
PdfIndirectObject container,
PdfString name)
baseObject - Destination base object.container - Destination base object container.name - Destination name.
public Destination clone(Document context)
PdfObjectWrapper
clone in class PdfObjectWrapper<PdfArray>context - Which document the clone has to be registered in.public Destination.ModeEnum getMode()
public abstract Object getPageRef()
|
PDF Clown 0.0.8 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||