Appends a value to the target array.
The target value.
The value to use.
Returns a target for a nested container below target.
String components select dictionary keys without the leading /; number
components select zero-based array items. Indirect references encountered
between components are dereferenced automatically.
The target value.
The path value (string or number[]).
The resulting PdfRawTarget.
Returns a target for the document catalog (/Root) dictionary.
The resulting PdfRawTarget.
Reserves a new indirect dictionary in this batch.
The returned object is itself a target for further edits. Use its PdfRawCreatedObject.reference property when storing an indirect reference to it in another dictionary or array.
Optionalentries: Record<string, PdfRawPatchValue>
The entries value (Record).
The resulting PdfRawCreatedObject.
Returns a target for an existing indirect object.
Positive PDF object number, as returned by
PdfDocument.getRawObject or an indirect reference value.
The resulting PdfRawTarget.
Removes the value at a zero-based array index.
The target value.
The 0-based index.
Removes one dictionary entry; key omits the leading /.
The target value.
The cache key.
Replaces the value at a zero-based array index.
The target value.
The 0-based index.
The value to use.
Sets or replaces one dictionary entry; key omits the leading /.
The target value.
The cache key.
The value to use.
Replaces a stream's decoded bytes. PDFium updates the stream representation when the document is encoded.
The target value.
The input data.
Builds a batch of raw PDF-object edits for PdfDocument.editRawObjects.
Methods only record operations while the callback runs. No document mutation occurs until the callback completes. The batch is then sent in one worker command, either directly or through the temporary-copy transaction selected by PdfRawObjectEditOptions.atomic.
A target says where to edit; a patch value says what to store. Use catalog or object for a starting target and at for a nested dictionary/array container. createDictionary returns a PdfRawCreatedObject: pass it directly as a later target, or pass its reference property as a value in another object.