public class PDFWriter extends PDF implements PDFConstants
This class takes care of wrapping both PDFStreams and PDFDictionaries into PDFObjects.
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| Constructor and Description | 
|---|
| PDFWriter(OutputStream out) | 
| PDFWriter(OutputStream writer,
         String version) | 
public PDFWriter(OutputStream out) throws IOException
IOExceptionpublic PDFWriter(OutputStream writer, String version) throws IOException
IOExceptionpublic void close(String catalogName, String docInfoName) throws IOException
IOExceptionpublic void comment(String comment) throws IOException
IOExceptionpublic void object(String name, Object[] objs) throws IOException
IOExceptionpublic void object(String name, int number) throws IOException
IOExceptionpublic PDFObject openObject(String name) throws IOException
IOExceptionpublic void close(PDFObject object) throws IOException
IOExceptionpublic PDFDictionary openDictionary(String name) throws IOException
IOExceptionpublic void close(PDFDictionary dictionary) throws IOException
IOExceptionpublic PDFStream openStream(String name) throws IOException
IOExceptionpublic PDFStream openStream(String name, String[] encode) throws IOException
IOExceptionpublic void close(PDFStream stream) throws IOException
IOExceptionpublic void close()
           throws IOException
IOExceptionpublic PDFDocInfo openDocInfo(String name) throws IOException
IOExceptionpublic void close(PDFDocInfo info) throws IOException
IOExceptionpublic PDFCatalog openCatalog(String name, String pageTree) throws IOException
IOExceptionpublic void close(PDFCatalog catalog) throws IOException
IOExceptionpublic PDFPageTree openPageTree(String name, String parent) throws IOException
IOExceptionpublic void close(PDFPageTree tree) throws IOException
IOExceptionpublic PDFPage openPage(String name, String parent) throws IOException
IOExceptionpublic void close(PDFPage page) throws IOException
IOExceptionpublic PDFViewerPreferences openViewerPreferences(String name) throws IOException
IOExceptionpublic void close(PDFViewerPreferences prefs) throws IOException
IOExceptionpublic PDFOutlineList openOutlineList(String name, String first, String next) throws IOException
IOExceptionpublic void close(PDFOutlineList list) throws IOException
IOExceptionpublic PDFOutline openOutline(String name, String title, String parent, String prev, String next) throws IOException
IOExceptionpublic void close(PDFOutline outline) throws IOException
IOExceptionCopyright © 2014. All rights reserved.