Package com.pd4ml.pdf.cos.writer
-
Interface Summary Interface Description IncrementalUpdateWriter.CustomBodyWriter Callback forIncrementalUpdateWriter.writeObjectCustom(com.pd4ml.pdf.cos.COSObjectKey, com.pd4ml.pdf.cos.writer.IncrementalUpdateWriter.CustomBodyWriter): writes exactly one object's body (no header/endobj -- those are handled for you). -
Class Summary Class Description COSDocumentWriter Serializes a wholeCOSDocumentbuilt up in memory (e.g.COSWriter A from-scratch PDF-syntax serializer for the pd4ml COS object model (which, being a reader, shipsICOSVisitoras an extension point for exactly this purpose but no implementation of its own -- see the project's README).HelveticaMetrics Character advance widths (per 1000 text-space units, i.e.IncrementalUpdateWriter Appends a PDF incremental update (ISO 32000-1 §7.5.6) over an existing file's bytes: new and/or rewritten indirect objects, a classic cross-reference table covering just those objects, and a trailer whose/Prevchains back to the base file's own cross-reference section. -
Exception Summary Exception Description COSWriteException ACOSExceptionspecific to writing/updating a PDF file's COS layer -- e.g.