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
IOException
public PDFWriter(OutputStream writer, String version) throws IOException
IOException
public void close(String catalogName, String docInfoName) throws IOException
IOException
public void comment(String comment) throws IOException
IOException
public void object(String name, Object[] objs) throws IOException
IOException
public void object(String name, int number) throws IOException
IOException
public PDFObject openObject(String name) throws IOException
IOException
public void close(PDFObject object) throws IOException
IOException
public PDFDictionary openDictionary(String name) throws IOException
IOException
public void close(PDFDictionary dictionary) throws IOException
IOException
public PDFStream openStream(String name) throws IOException
IOException
public PDFStream openStream(String name, String[] encode) throws IOException
IOException
public void close(PDFStream stream) throws IOException
IOException
public void close() throws IOException
IOException
public PDFDocInfo openDocInfo(String name) throws IOException
IOException
public void close(PDFDocInfo info) throws IOException
IOException
public PDFCatalog openCatalog(String name, String pageTree) throws IOException
IOException
public void close(PDFCatalog catalog) throws IOException
IOException
public PDFPageTree openPageTree(String name, String parent) throws IOException
IOException
public void close(PDFPageTree tree) throws IOException
IOException
public PDFPage openPage(String name, String parent) throws IOException
IOException
public void close(PDFPage page) throws IOException
IOException
public PDFViewerPreferences openViewerPreferences(String name) throws IOException
IOException
public void close(PDFViewerPreferences prefs) throws IOException
IOException
public PDFOutlineList openOutlineList(String name, String first, String next) throws IOException
IOException
public void close(PDFOutlineList list) throws IOException
IOException
public PDFOutline openOutline(String name, String title, String parent, String prev, String next) throws IOException
IOException
public void close(PDFOutline outline) throws IOException
IOException
Copyright © 2014. All rights reserved.