FreeHEP API
Version current

org.freehep.graphicsio.pdf
Class PDFDictionary

java.lang.Object
  extended byorg.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
Source Code:
PDFDictionary.java

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
Throws:
IOException

entry

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

entry

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

entry

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

entry

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

entry

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

entry

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

entry

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

entry

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

entry

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

entry

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

openDictionary

public PDFDictionary openDictionary(String name)
                             throws IOException
Throws:
IOException

close

public void close(PDFDictionary dictionary)
           throws IOException
Throws:
IOException

FreeHEP API
Version current

Copyright © 2000-2004 FreeHEP, All Rights Reserved.