public final class Destination extends Object
Constructor and Description |
---|
Destination(PdfObject destObj,
PdfModule module,
boolean named)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
PdfSimpleObject |
getIndirectDest()
Returns the string naming the indirect destination.
|
PdfDictionary |
getPageDest()
Returns the page object dictionary if the destination
is direct.
|
int |
getPageDestObjNumber()
Returns the object number of the page object dictionary
if the destination is direct.
|
boolean |
isIndirect()
Returns
true if the destination is indirect. |
public Destination(PdfObject destObj, PdfModule module, boolean named) throws PdfException
destObj
- The destination objectmodule
- The invoking PdfModulenamed
- Flag indicating whether this object came
from a named destination.PdfException
public boolean isIndirect()
true
if the destination is indirect.public PdfSimpleObject getIndirectDest()
public PdfDictionary getPageDest()
public int getPageDestObjNumber() throws NullPointerException
NullPointerException
Copyright © 2008–2017 The Open Preservation Foundation. All rights reserved.