org.apache.fop.pdf
Class PDFNavigator
java.lang.Object
org.apache.fop.pdf.PDFObject
org.apache.fop.pdf.PDFDictionary
org.apache.fop.pdf.PDFIdentifiedDictionary
org.apache.fop.pdf.PDFNavigator
- All Implemented Interfaces:
- PDFWritable
public class PDFNavigator
- extends PDFIdentifiedDictionary
Navigation Node Dictionary, which we call a 'navigator'.
This class is used to for sub-page navigation.
Fields inherited from class org.apache.fop.pdf.PDFObject |
log |
Method Summary |
int |
output(java.io.OutputStream stream)
Write the PDF represention of this object |
void |
populate(java.lang.Object nextAction,
java.lang.Object nextNode,
java.lang.Object prevAction,
java.lang.Object prevNode,
java.lang.Object duration)
|
void |
setResolver(PDFNavigator.Resolver resolver)
|
Methods inherited from class org.apache.fop.pdf.PDFObject |
contentEquals, encode, encodeBinaryToHexString, encodeString, encodeText, formatObject, getDocument, getDocumentSafely, getGeneration, getObjectID, getObjectNumber, getParent, hasObjectNumber, makeReference, outputInline, referencePDF, setDocument, setObjectNumber, setObjectNumber, setObjectNumber, setParent, toPDF, toPDFString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PDFNavigator
public PDFNavigator(java.lang.String id)
output
public int output(java.io.OutputStream stream)
throws java.io.IOException
- Description copied from class:
PDFDictionary
- Write the PDF represention of this object
- Overrides:
output
in class PDFDictionary
- Parameters:
stream
- the stream to write the PDF to
- Returns:
- the number of bytes written
- Throws:
java.io.IOException
- if there is an error writing to the stream
setResolver
public void setResolver(PDFNavigator.Resolver resolver)
populate
public void populate(java.lang.Object nextAction,
java.lang.Object nextNode,
java.lang.Object prevAction,
java.lang.Object prevNode,
java.lang.Object duration)
Copyright 1999-2018 The Apache Software Foundation. All Rights Reserved.