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 java.lang.Object
- implements PDFConstants
Implements a PDF Dictionary. All PDFObjects (including java Strings and
arrays) can be entered into the dictionary.
- Version:
- $Id: PDFDictionary.java 8584 2006-08-10 23:06:37Z duns $
- Author:
- Mark Donszelmann
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(java.lang.String key,
boolean bool)
|
void |
entry(java.lang.String key,
boolean[] bool)
|
void |
entry(java.lang.String key,
java.util.Calendar date)
|
void |
entry(java.lang.String key,
double number)
|
void |
entry(java.lang.String key,
double[] numbers)
|
void |
entry(java.lang.String key,
int number)
|
void |
entry(java.lang.String key,
int[] numbers)
|
void |
entry(java.lang.String key,
java.lang.Object[] objs)
|
void |
entry(java.lang.String key,
PDFName name)
|
void |
entry(java.lang.String key,
PDFRef ref)
|
void |
entry(java.lang.String key,
java.lang.String string)
|
PDFDictionary |
openDictionary(java.lang.String name)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
out
protected PDFByteWriter out
pdf
protected PDF pdf
entry
public void entry(java.lang.String key,
java.lang.String string)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
PDFName name)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
int number)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
double number)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
boolean bool)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
PDFRef ref)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
java.util.Calendar date)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
java.lang.Object[] objs)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
int[] numbers)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
double[] numbers)
throws java.io.IOException
- Throws:
java.io.IOException
entry
public void entry(java.lang.String key,
boolean[] bool)
throws java.io.IOException
- Throws:
java.io.IOException
openDictionary
public PDFDictionary openDictionary(java.lang.String name)
throws java.io.IOException
- Throws:
java.io.IOException
close
public void close(PDFDictionary dictionary)
throws java.io.IOException
- Throws:
java.io.IOException
Copyright © 2000-2007 FreeHEP. All Rights Reserved.