View Javadoc

1   package org.freehep.graphicsio.pdf;
2   
3   import java.io.IOException;
4   
5   /**
6    * Implements the Outline Dictionary (see Table 7.3).
7    * <p>
8    * 
9    * @author Mark Donszelmann
10   * @version $Id: PDFOutlineList.java 8584 2006-08-10 23:06:37Z duns $
11   */
12  public class PDFOutlineList extends PDFDictionary {
13  
14      PDFOutlineList(PDF pdf, PDFByteWriter writer, PDFObject object,
15              PDFRef first, PDFRef last) throws IOException {
16          super(pdf, writer, object);
17          entry("Type", pdf.name("Outlines"));
18          entry("First", first);
19          entry("Last", last);
20      }
21  
22      public void setCount(int count) throws IOException {
23          entry("Count", count);
24      }
25  }