FreeHEP API
Version v1.2

org.freehep.graphicsio.pdf
Class PDFDictionary

java.lang.Object
  |
  +--org.freehep.graphicsio.pdf.PDFDictionary
All Implemented Interfaces:
PDFConstants
Direct Known Subclasses:
PDFCatalog, PDFDocInfo, PDFOutline, PDFOutlineList, PDFPageBase, PDFStream, PDFViewerPreferences

public class PDFDictionary
extends Object
implements PDFConstants

Implements a PDF Dictionary. All PDFObjects (including java Strings and arrays) can be entered into the dictionary.

Version:
$Id: PDFDictionary.java,v 1.1 2001/11/29 01:45:29 duns Exp $
Author:
Mark Donszelmann

Field Summary
protected  PDFByteWriter out
           
protected  PDF pdf
           
 
Fields inherited from interface org.freehep.graphicsio.pdf.PDFConstants
CAP_BUTT, CAP_ROUND, CAP_SQUARE, dateFormat, EOL, JOIN_BEVEL, JOIN_MITTER, JOIN_ROUND, MODE_CLIP, MODE_FILL, MODE_FILL_CLIP, MODE_FILL_STROKE, MODE_FILL_STROKE_CLIP, MODE_INVISIBLE, MODE_STROKE, MODE_STROKE_CLIP
 
Method Summary
 void close(PDFDictionary dictionary)
           
 void entry(String key, boolean bool)
           
 void entry(String key, boolean[] bool)
           
 void entry(String key, Calendar date)
           
 void entry(String key, double number)
           
 void entry(String key, double[] numbers)
           
 void entry(String key, int number)
           
 void entry(String key, int[] numbers)
           
 void entry(String key, Object[] objs)
           
 void entry(String key, PDFName name)
           
 void entry(String key, PDFRef ref)
           
 void entry(String key, String string)
           
 PDFDictionary openDictionary(String name)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

out

protected PDFByteWriter out

pdf

protected PDF pdf
Method Detail

entry

public void entry(String key,
                  String string)
           throws IOException
IOException

entry

public void entry(String key,
                  PDFName name)
           throws IOException
IOException

entry

public void entry(String key,
                  int number)
           throws IOException
IOException

entry

public void entry(String key,
                  double number)
           throws IOException
IOException

entry

public void entry(String key,
                  boolean bool)
           throws IOException
IOException

entry

public void entry(String key,
                  PDFRef ref)
           throws IOException
IOException

entry

public void entry(String key,
                  Calendar date)
           throws IOException
IOException

entry

public void entry(String key,
                  Object[] objs)
           throws IOException
IOException

entry

public void entry(String key,
                  int[] numbers)
           throws IOException
IOException

entry

public void entry(String key,
                  double[] numbers)
           throws IOException
IOException

entry

public void entry(String key,
                  boolean[] bool)
           throws IOException
IOException

openDictionary

public PDFDictionary openDictionary(String name)
                             throws IOException
IOException

close

public void close(PDFDictionary dictionary)
           throws IOException
IOException

FreeHEP API
Version v1.2

Copyright © 2000-2003 FreeHEP, All Rights Reserved.