API Reference

Class

PdfRewritePreservationMatrixScenario

Namespace OfficeIMO.Pdf
Assembly OfficeIMO.Pdf
Modifiers sealed

Describes one executable row in a PDF rewrite-preservation proof matrix.

Inheritance

  • Object
  • PdfRewritePreservationMatrixScenario

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Constructors

public PdfRewritePreservationMatrixScenario(String id, String operation, Byte[] sourcePdf, Func<Byte[], Byte[]> rewrite) #

Creates a rewrite-preservation matrix scenario.

Parameters

id System.String requiredposition: 0
operation System.String requiredposition: 1
sourcePdf System.Byte[] requiredposition: 2
rewrite System.Func{System.Byte[],System.Byte[]} requiredposition: 3

Methods

public PdfRewritePreservationMatrixScenario WithSourceFeatures(params String[] features) #
Returns: PdfRewritePreservationMatrixScenario

Adds source feature labels and returns this scenario for fluent setup.

Parameters

features System.String[] requiredposition: 0

Properties

public String Id { get; } #

Stable scenario id for reports and proof manifests.

public String Operation { get; } #

Human-readable operation name, such as MetadataUpdate or PageExtraction.

public Byte[] SourcePdf { get; } #

Original PDF bytes used by the scenario.

public Func<Byte[], Byte[]> Rewrite { get; } #

Rewrite operation to execute against SourcePdf.

public PdfRewritePreservationMatrixClassification ExpectedClassification { get; set; } #

Expected matrix classification. Defaults to rewrite-safe.

public PdfRewritePreservationOptions PreservationOptions { get; set; } #

Preservation options used when the rewrite completes.

public IList<String> SourceFeatures { get; } #

Feature labels describing the source fixture.