public class PDFWriter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
addPendingObject(PDFObject obj) |
int |
allocateId(int count) |
void |
beginDocument() |
void |
beginObject(int id) |
void |
endDocument() |
void |
endObject() |
void |
print(double v) |
void |
print(long v) |
void |
print(java.lang.String s) |
void |
println() |
void |
println(double v) |
void |
println(long v) |
void |
println(java.lang.String s) |
void |
setAuthor(java.lang.String author) |
void |
setCreator(java.lang.String creator) |
void |
setTitle(java.lang.String title) |
java.lang.String |
toString() |
void |
write(byte[] buffer,
int offset,
int length) |
void |
writeCatalog(int catalogId,
int rootId,
int outlineId,
java.util.ArrayList<java.lang.Integer> pagesList,
int pageCount) |
void |
writeOutline(PDFOutline outline) |
void |
writePageGroup(int id,
int parentId,
java.util.ArrayList<PDFPage> pages) |
void |
writeStream(int id,
PDFStream stream) |
public void setCreator(java.lang.String creator)
public void setAuthor(java.lang.String author)
public void setTitle(java.lang.String title)
public void beginDocument() throws java.io.IOException
java.io.IOException
public void writeCatalog(int catalogId, int rootId, int outlineId, java.util.ArrayList<java.lang.Integer> pagesList, int pageCount) throws java.io.IOException
java.io.IOException
public void writeOutline(PDFOutline outline) throws java.io.IOException
java.io.IOException
public void writePageGroup(int id, int parentId, java.util.ArrayList<PDFPage> pages) throws java.io.IOException
java.io.IOException
public void writeStream(int id, PDFStream stream) throws java.io.IOException
java.io.IOException
public void endDocument() throws java.io.IOException
java.io.IOException
public int allocateId(int count)
public void addPendingObject(PDFObject obj) throws java.io.IOException
java.io.IOException
public void beginObject(int id) throws java.io.IOException
java.io.IOException
public void endObject() throws java.io.IOException
java.io.IOException
public void write(byte[] buffer, int offset, int length) throws java.io.IOException
java.io.IOException
public void print(java.lang.String s) throws java.io.IOException
java.io.IOException
public void println(java.lang.String s) throws java.io.IOException
java.io.IOException
public void println() throws java.io.IOException
java.io.IOException
public void print(long v) throws java.io.IOException
java.io.IOException
public void println(long v) throws java.io.IOException
java.io.IOException
public void print(double v) throws java.io.IOException
java.io.IOException
public void println(double v) throws java.io.IOException
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object