|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.DocWriter
com.itextpdf.text.pdf.PdfWriter
com.itextpdf.text.pdf.PdfCopy
com.itextpdf.text.pdf.PdfACopy
public class PdfACopy
Extension of PdfCopy that will attempt to keep a file in conformance with the PDF/A standard.
PdfCopy| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.itextpdf.text.pdf.PdfCopy |
|---|
PdfCopy.ImportedPage, PdfCopy.PageStamp, PdfCopy.StampContent |
| Nested classes/interfaces inherited from class com.itextpdf.text.pdf.PdfWriter |
|---|
PdfWriter.PdfBody, PdfWriter.PdfTrailer |
| Field Summary | |
|---|---|
protected Counter |
COUNTER
|
| Fields inherited from class com.itextpdf.text.pdf.PdfCopy |
|---|
disableIndirects, fieldArray, fieldKeys, fields, fieldTemplates, importedPages, indirectMap, indirectObjects, indirects, mergeFields, namePtr, parentObjects, reader, savedObjects, structTreeRootReference, updateRootKids, widgetKeys |
| Fields inherited from class com.itextpdf.text.DocWriter |
|---|
closeStream, document, EQUALS, FORWARD, GT, LT, NEWLINE, open, os, pageSize, pause, QUOTE, SPACE, TAB |
| Constructor Summary | |
|---|---|
PdfACopy(Document document,
OutputStream os,
PdfAConformanceLevel conformanceLevel)
Constructor |
|
| Method Summary | |
|---|---|
void |
addDocument(PdfReader reader)
|
void |
addPage(PdfImportedPage iPage)
|
protected void |
cacheObject(PdfIndirectObject iobj)
|
void |
close()
|
PdfCopy.PageStamp |
createPageStamp(PdfImportedPage iPage)
|
protected XmpWriter |
createXmpWriter(ByteArrayOutputStream baos,
HashMap<String,String> info)
|
protected XmpWriter |
createXmpWriter(ByteArrayOutputStream baos,
PdfDictionary info)
|
protected Counter |
getCounter()
|
protected TtfUnicodeWriter |
getTtfUnicodeWriter()
|
protected PdfIsoConformance |
initPdfIsoConformance()
|
void |
setOutputIntents(String outputConditionIdentifier,
String outputCondition,
String registryName,
String info,
ICC_Profile colorProfile)
|
| Methods inherited from class com.itextpdf.text.DocWriter |
|---|
add, addTabs, flush, getISOBytes, isCloseStream, isPaused, newPage, pause, resetPageCount, resume, setCloseStream, setMarginMirroring, setMarginMirroringTopBottom, setMargins, setPageCount, setPageSize, write, write, writeEnd, writeEnd, writeMarkupAttributes, writeStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Counter COUNTER
| Constructor Detail |
|---|
public PdfACopy(Document document,
OutputStream os,
PdfAConformanceLevel conformanceLevel)
throws DocumentException
document - documentos - outputstream
DocumentException| Method Detail |
|---|
protected Counter getCounter()
getCounter in class PdfCopyprotected PdfIsoConformance initPdfIsoConformance()
initPdfIsoConformance in class PdfWriterprotected void cacheObject(PdfIndirectObject iobj)
cacheObject in class PdfCopy
public void addDocument(PdfReader reader)
throws DocumentException,
IOException
addDocument in class PdfCopyDocumentException
IOException
public void addPage(PdfImportedPage iPage)
throws IOException,
BadPdfFormatException
addPage in class PdfCopyIOException
BadPdfFormatExceptionpublic PdfCopy.PageStamp createPageStamp(PdfImportedPage iPage)
createPageStamp in class PdfCopy
public void setOutputIntents(String outputConditionIdentifier,
String outputCondition,
String registryName,
String info,
ICC_Profile colorProfile)
throws IOException
setOutputIntents in class PdfWriterIOException
protected XmpWriter createXmpWriter(ByteArrayOutputStream baos,
PdfDictionary info)
throws IOException
createXmpWriter in class PdfWriterIOException
protected XmpWriter createXmpWriter(ByteArrayOutputStream baos,
HashMap<String,String> info)
throws IOException
createXmpWriter in class PdfWriterIOExceptionprotected TtfUnicodeWriter getTtfUnicodeWriter()
getTtfUnicodeWriter in class PdfWriterPdfWriter.getTtfUnicodeWriter()public void close()
close in interface DocListenerclose in class PdfCopy
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||