com.caucho.quercus.lib.pdf
Class PDFWriter
java.lang.Object
com.caucho.quercus.lib.pdf.PDFWriter
public class PDFWriter
- extends java.lang.Object
pdf object oriented API facade
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
setCreator
public void setCreator(java.lang.String creator)
setAuthor
public void setAuthor(java.lang.String author)
setTitle
public void setTitle(java.lang.String title)
beginDocument
public void beginDocument()
throws java.io.IOException
- Throws:
java.io.IOException
writeCatalog
public void writeCatalog(int catalogId,
int rootId,
int outlineId,
java.util.ArrayList<java.lang.Integer> pagesList,
int pageCount)
throws java.io.IOException
- Throws:
java.io.IOException
writeOutline
public void writeOutline(PDFOutline outline)
throws java.io.IOException
- Throws:
java.io.IOException
writePageGroup
public void writePageGroup(int id,
int parentId,
java.util.ArrayList<PDFPage> pages)
throws java.io.IOException
- Throws:
java.io.IOException
writeStream
public void writeStream(int id,
PDFStream stream)
throws java.io.IOException
- Throws:
java.io.IOException
endDocument
public void endDocument()
throws java.io.IOException
- Throws:
java.io.IOException
allocateId
public int allocateId(int count)
addPendingObject
public void addPendingObject(PDFObject obj)
throws java.io.IOException
- Throws:
java.io.IOException
beginObject
public void beginObject(int id)
throws java.io.IOException
- Throws:
java.io.IOException
endObject
public void endObject()
throws java.io.IOException
- Throws:
java.io.IOException
write
public void write(byte[] buffer,
int offset,
int length)
throws java.io.IOException
- Throws:
java.io.IOException
print
public void print(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println(java.lang.String s)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println()
throws java.io.IOException
- Throws:
java.io.IOException
print
public void print(long v)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println(long v)
throws java.io.IOException
- Throws:
java.io.IOException
print
public void print(double v)
throws java.io.IOException
- Throws:
java.io.IOException
println
public void println(double v)
throws java.io.IOException
- Throws:
java.io.IOException
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object