Uses of Class
com.pd4ml.pdf.cos.COSDocument
-
Packages that use COSDocument Package Description com.pd4ml.pdf.cos The PDF object model (COS): arrays, dictionaries, names, numbers, strings, streams and indirect references, andCOSDocument, the whole document.com.pd4ml.pdf.cos.parser Parses a PDF file into aCOSDocument: its objects, cross-reference tables and streams.com.pd4ml.pdf.cos.path COS paths: a compact syntax for addressing an object in a PDF document, like/Root/Pages/Kids[0], and its evaluator.com.pd4ml.pdf.cos.security Decrypting and encrypting COS documents with the PDF standard security handler.com.pd4ml.pdf.cos.util Helpers for working with COS documents: page tree and outline navigation, inheritable page attributes, number trees, PDF dates, and copying objects between documents.com.pd4ml.pdf.cos.writer Writes COS documents: complete PDF files, and incremental updates appended to an existing file.com.pd4ml.pdf.overlay Overlay and underlay: places pages of one PDF document over or under pages of another (seePdfDocumentBase).com.pd4ml.pdf.sign.pdf The low-level signing mechanics: a signature applied as an incremental update over the signed byte ranges. -
-
Uses of COSDocument in com.pd4ml.pdf.cos
Methods in com.pd4ml.pdf.cos that return COSDocument Modifier and Type Method Description COSDocumentCOSObject. getDocument()Constructors in com.pd4ml.pdf.cos with parameters of type COSDocument Constructor Description COSObject(COSDocument document, COSObjectKey key)COSObject(COSDocument document, COSObjectKey key, COSBase value)Direct constructor for an already-known target, useful when building a document in memory rather than parsing one from disk. -
Uses of COSDocument in com.pd4ml.pdf.cos.parser
Methods in com.pd4ml.pdf.cos.parser that return COSDocument Modifier and Type Method Description static COSDocumentCOSParser. load(byte[] pdfBytes)static COSDocumentCOSParser. load(byte[] pdfBytes, java.lang.String password)LikeCOSParser.load(byte[]), for a document protected by the PDF Standard security handler.COSDocumentCOSParser. parse() -
Uses of COSDocument in com.pd4ml.pdf.cos.path
Methods in com.pd4ml.pdf.cos.path with parameters of type COSDocument Modifier and Type Method Description static COSBaseCOSPathEvaluator. evaluate(COSDocument document, COSPath path)static COSBaseCOSPathEvaluator. evaluate(COSDocument document, java.lang.String pathExpression)static COSBaseCOSPathEvaluator. evaluateStrict(COSDocument document, COSPath path)static COSBaseCOSPathEvaluator. evaluateStrict(COSDocument document, java.lang.String pathExpression) -
Uses of COSDocument in com.pd4ml.pdf.cos.security
Methods in com.pd4ml.pdf.cos.security with parameters of type COSDocument Modifier and Type Method Description static voidPdfEncryptor. encrypt(COSDocument document, PdfEncryptor.Options options) -
Uses of COSDocument in com.pd4ml.pdf.cos.util
Methods in com.pd4ml.pdf.cos.util that return COSDocument Modifier and Type Method Description COSDocumentCOSObjectImporter. getTarget()Methods in com.pd4ml.pdf.cos.util with parameters of type COSDocument Modifier and Type Method Description COSObjectCOSObjectImporter. getImported(COSDocument sourceDoc, COSObjectKey sourceKey)The already-imported target-document reference forsourceKey, ornullif not imported yet.COSObjectCOSObjectImporter. importIndirect(COSDocument sourceDoc, COSObject sourceRef)LikeCOSObjectImporter.importValue(com.pd4ml.pdf.cos.COSDocument, com.pd4ml.pdf.cos.COSBase), but always returns an indirect reference in the target document.COSBaseCOSObjectImporter. importValue(COSDocument sourceDoc, COSBase value)Importsvalue(which may be a direct value or an indirectCOSObjectreference) fromsourceDoc, returning the equivalent value already registered in the target document.booleanCOSObjectImporter. isImported(COSDocument sourceDoc, COSObjectKey sourceKey)True ifsourceKeyinsourceDochas already been imported into the target document.voidCOSObjectImporter. preRegister(COSDocument sourceDoc, COSObjectKey sourceKey, COSObject targetRef)Seeds the import cache so any future reference tosourceKeyinsourceDocresolves directly totargetRefinstead of being cloned.Constructors in com.pd4ml.pdf.cos.util with parameters of type COSDocument Constructor Description COSObjectImporter(COSDocument target)Seeds the numbering counter fromtarget's own current highest object number (0 for a brand-new, still-empty target, exactly reproducing this class's old hardcoded start-at-1 behavior for every existing caller --PdfMergerand the object-graph optimizer both always hand this a fresh, empty document). -
Uses of COSDocument in com.pd4ml.pdf.cos.writer
Methods in com.pd4ml.pdf.cos.writer with parameters of type COSDocument Modifier and Type Method Description static byte[]COSDocumentWriter. write(COSDocument document)Writesdocumentas a complete PDF file.Constructors in com.pd4ml.pdf.cos.writer with parameters of type COSDocument Constructor Description IncrementalUpdateWriter(byte[] originalBytes, COSDocument document) -
Uses of COSDocument in com.pd4ml.pdf.overlay
Methods in com.pd4ml.pdf.overlay with parameters of type COSDocument Modifier and Type Method Description static voidPdfOverlay. apply(COSDocument destDoc, COSDocument srcDoc, boolean[] destScope, boolean[] srcScope, int opacity, boolean underlay) -
Uses of COSDocument in com.pd4ml.pdf.sign.pdf
Methods in com.pd4ml.pdf.sign.pdf that return COSDocument Modifier and Type Method Description COSDocumentIncrementalPdfSigner. getDocument()The parsed input document, e.g.
-