com.crionics.jpdf.outline
Class OutlineItemDestination

java.lang.Object
  extended by PdfObjectContainer
      extended by com.crionics.jpdf.outline.AbstractOutlineItem
          extended by com.crionics.jpdf.outline.OutlineItemDestination

public class OutlineItemDestination
extends AbstractOutlineItem


Method Summary
static OutlineItemDestination createInstance(PdfDocument doc)
           
 LocalPageDestination getDestination()
          Internal method used to determine if a page has been registered with the outline item or not.
 void setDestination(LocalPageDestination destination)
           
 
Methods inherited from class com.crionics.jpdf.outline.AbstractOutlineItem
addAfter, addBelow, addChild, addNext, equals, equals, getChild, getFirst, getLast, getNext, getPageIndex, getPageIndex, getParent, getPrev, getTitle, hasChild, hasNext, removeFromTree, setTitle
 
Methods inherited from class java.lang.Object
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

createInstance

public static OutlineItemDestination createInstance(PdfDocument doc)
                                             throws PdfException,
                                                    java.io.IOException
Throws:
PdfException
java.io.IOException

getDestination

public LocalPageDestination getDestination()
                                    throws PdfException,
                                           java.io.IOException
Internal method used to determine if a page has been registered with the outline item or not.

Returns:
true if this is the case, false otherwise.
Throws:
PdfException - If a problem occured while parsing the document.
java.io.IOException - If a problem occured while parsing the file.

setDestination

public void setDestination(LocalPageDestination destination)
                    throws PdfException,
                           java.io.IOException
Throws:
PdfException
java.io.IOException


Copyright © 1999-2007 Crionics. All Rights Reserved.