Uses of Class
com.pd4ml.pdf.cos.COSObjectKey
-
Packages that use COSObjectKey Package Description com.pd4ml.pdf.cos com.pd4ml.pdf.cos.path com.pd4ml.pdf.cos.util com.pd4ml.pdf.cos.writer -
-
Uses of COSObjectKey in com.pd4ml.pdf.cos
Methods in com.pd4ml.pdf.cos that return COSObjectKey Modifier and Type Method Description COSObjectKeyCOSObject. getIndirectKey()COSObjectKeyCOSBase. getKey()Methods in com.pd4ml.pdf.cos that return types with arguments of type COSObjectKey Modifier and Type Method Description java.util.Collection<COSObjectKey>COSDocument. getObjectKeys()Methods in com.pd4ml.pdf.cos with parameters of type COSObjectKey Modifier and Type Method Description intCOSObjectKey. compareTo(COSObjectKey other)COSBaseCOSDocument. getObject(COSObjectKey key)Looks up an already-registered object.booleanCOSDocument. hasObject(COSObjectKey key)voidCOSDocument. removeObject(COSObjectKey key)Deregisters the object stored underkey, if any.voidCOSBase. setKey(COSObjectKey key)Records the indirect object identity this value was parsed as, so that a document writer can later decide whether to inline it or reference it with "n g R".voidCOSDocument. setObject(COSObjectKey key, COSBase value)Registers/overwrites the object stored underkey.Constructors in com.pd4ml.pdf.cos with parameters of type COSObjectKey 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 COSObjectKey in com.pd4ml.pdf.cos.path
Methods in com.pd4ml.pdf.cos.path that return COSObjectKey Modifier and Type Method Description COSObjectKeyCOSPathSegment. getRef()COSObjectKeyCOSPath. getRootRef()Non-null only whenCOSPath.getRootKind()isCOSPath.RootKind.OBJECT_REF.Methods in com.pd4ml.pdf.cos.path with parameters of type COSObjectKey Modifier and Type Method Description static COSPathSegmentCOSPathSegment. objectRef(COSObjectKey ref) -
Uses of COSObjectKey in com.pd4ml.pdf.cos.util
Methods in com.pd4ml.pdf.cos.util with parameters of type COSObjectKey Modifier and Type Method Description COSObjectCOSObjectImporter. getImported(COSDocument sourceDoc, COSObjectKey sourceKey)The already-imported target-document reference forsourceKey, ornullif not imported yet.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. -
Uses of COSObjectKey in com.pd4ml.pdf.cos.writer
Methods in com.pd4ml.pdf.cos.writer that return COSObjectKey Modifier and Type Method Description COSObjectKeyIncrementalUpdateWriter. allocateKey()Allocates the next free object number (generation 0) for a new indirect object.Methods in com.pd4ml.pdf.cos.writer with parameters of type COSObjectKey Modifier and Type Method Description voidCOSWriter. writeIndirectObject(COSObjectKey key, COSBase value)Writes a complete indirect object:"num gen obj\n<body>\nendobj\n".voidIncrementalUpdateWriter. writeObjectCustom(COSObjectKey key, IncrementalUpdateWriter.CustomBodyWriter bodyWriter)LikeIncrementalUpdateWriter.writeObject(com.pd4ml.pdf.cos.COSBase), but the object's body is written bybodyWriterinstead of the genericCOSWritervisitor -- for the rare case where a caller needs to track exact byte offsets inside the body itself (a PDF signature's/Contentsand/ByteRangebeing the motivating example).
-